[go: up one dir, main page]

CN110858336A - An article assembly method and device - Google Patents

An article assembly method and device Download PDF

Info

Publication number
CN110858336A
CN110858336A CN201810971776.6A CN201810971776A CN110858336A CN 110858336 A CN110858336 A CN 110858336A CN 201810971776 A CN201810971776 A CN 201810971776A CN 110858336 A CN110858336 A CN 110858336A
Authority
CN
China
Prior art keywords
items
predetermined
volume
price
threshold
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810971776.6A
Other languages
Chinese (zh)
Other versions
CN110858336B (en
Inventor
刘宁
宋磊
董伟
王媛
杨冬越
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201810971776.6A priority Critical patent/CN110858336B/en
Publication of CN110858336A publication Critical patent/CN110858336A/en
Application granted granted Critical
Publication of CN110858336B publication Critical patent/CN110858336B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Quality & Reliability (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Development Economics (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Game Theory and Decision Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Container Filling Or Packaging Operations (AREA)

Abstract

The invention discloses an article assembling method and device, and relates to the field of warehouse logistics. One embodiment of the method comprises: receiving an article assembly request, acquiring characteristic values of articles to be assembled, and determining total characteristic values of all the articles to be assembled; and when the total characteristic value exceeds a preset characteristic value threshold value, grouping all the articles according to the preset characteristic value threshold value and the characteristic values of the articles to obtain a corresponding article combination mode. This embodiment can use as few boxes as possible to accomplish the packing to can synthesize the price of considering article in the box, characteristics such as weight and final cost, with each packing scheme of effective evaluation, realize the optimum packing, and effectively reduce operation cost and risk.

Description

一种物品组装方法和装置An article assembly method and device

技术领域technical field

本发明涉及仓储物流领域,尤其涉及一种物品组装方法和装置。The invention relates to the field of warehousing and logistics, in particular to an article assembly method and device.

背景技术Background technique

电商领域特别是跨境电商中,用户下单可能会购买多个物品。但海关规定,每次进入海关的物品总额不能超出一定值(例如2000元),否则不能进关。所以,若用户下单总金额超出该值,就必须要使用多个箱子分开进行包装运输。In the field of e-commerce, especially in cross-border e-commerce, users may purchase multiple items when placing an order. However, the customs stipulates that the total amount of items entering the customs cannot exceed a certain value (for example, 2,000 yuan), otherwise it cannot enter the customs. Therefore, if the total amount of the order placed by the user exceeds this value, multiple boxes must be used for packaging and transportation.

现有打包方式,主要是将物品按其体积包装到合适尺寸的箱子中。但在实现本发明的过程中,发明人发现现有技术至少存在如下问题:The existing packaging methods are mainly to pack items into boxes of suitable size according to their volume. But in the process of realizing the present invention, the inventor found that the prior art has at least the following problems:

现有打包方式侧重点在于打包速度,没有在满足海关的要求下,使用尽可能少的箱子,以节约运输成本;且没有针对同时将多个物品以高安全性和低成本的方式打包到同一个箱子的解决方案,特别是跨境电商。The existing packaging methods focus on the speed of packaging, and do not use as few boxes as possible to save transportation costs while meeting the requirements of the customs; and they do not aim to pack multiple items into the same package in a high-security and low-cost way at the same time. A box solution, especially for cross-border e-commerce.

发明内容SUMMARY OF THE INVENTION

有鉴于此,本发明实施例提供一种物品组装方法和装置,至少能够解决现有技术针对跨境电商,没有将多个物品以高安全性和低成本的方式打包到同一个箱子的解决方案。In view of this, the embodiments of the present invention provide an article assembly method and device, which can at least solve the problem that the prior art is aimed at cross-border e-commerce, and there is no solution to packing multiple articles into the same box in a high-security and low-cost manner. Program.

为实现上述目的,根据本发明实施例的一个方面,提供了一种物品组装方法,包括:接收物品组装请求,获取待组装物品的特征值,确定所有待组装物品的总特征值;当总特征值超出预定特征值阈值时,根据预定特征值阈值以及物品的特征值,对所有物品进行分组处理,得到相应的物品组合方式。In order to achieve the above object, according to an aspect of the embodiments of the present invention, an article assembly method is provided, comprising: receiving an article assembly request, obtaining characteristic values of the articles to be assembled, and determining the total characteristic value of all the articles to be assembled; When the value exceeds the predetermined characteristic value threshold, according to the predetermined characteristic value threshold and the characteristic value of the article, all articles are grouped to obtain the corresponding article combination mode.

可选的,所述特征值包括价格以及体积;Optionally, the characteristic value includes price and volume;

当总特征值超出预定特征值阈值时,根据预定特征值阈值以及物品的特征值,对所有物品进行分组处理,包括:When the total feature value exceeds the predetermined feature value threshold, all items are grouped according to the predetermined feature value threshold and the feature value of the item, including:

当所有物品的总价格超出预定价格阈值时,根据价格对物品进行排序,并按序提取价格之和不超出预定价格阈值的物品组合为一组;或When the total price of all items exceeds the predetermined price threshold, sort the items according to the price, and sequentially extract the items whose sum of prices does not exceed the predetermined price threshold as a group; or

当所有物品的总体积超出预定体积阈值时,根据体积对物品进行排序,并按序提取体积之和不超出预定体积阈值的物品组合为一组;或When the total volume of all items exceeds the predetermined volume threshold, sort the items according to the volume, and sequentially extract the items whose sum of volumes does not exceed the predetermined volume threshold to form a group; or

当所有物品的总价格超出预定价格阈值、且总体积超出预定体积阈值时,根据价格以及体积对物品进行排序,并按序提取价格之和不超出预定价格阈值、且体积之和不超出预定体积阈值的物品组合为一组。When the total price of all items exceeds the predetermined price threshold and the total volume exceeds the predetermined volume threshold, sort the items according to price and volume, and extract in order that the sum of the prices does not exceed the predetermined price threshold, and the sum of the volumes does not exceed the predetermined volume Threshold items are combined into a group.

可选的,还包括:Optionally, also include:

移动所得价格排序中的第一个物品至队列末端,得到移动后的排序,按序提取价格之和不超出预定价格阈值的物品组合为一组;或Move the first item in the obtained price sort to the end of the queue, get the moved sort, and sequentially extract items whose sum of prices does not exceed the predetermined price threshold to form a group; or

移动所得体积排序中的第一个物品至队列末端,得到移动后的排序,并按序提取体积之和不超出预定体积阈值的物品组合为一组;或Move the first item in the resulting volume sort to the end of the queue to obtain the moved sort, and sequentially extract items whose sum of volumes does not exceed the predetermined volume threshold to form a group; or

移动所得价格和体积排序中的第一个物品至队列末端,得到移动后的排序,并按序提取价格之和不超出预定价格阈值、且体积之和不超出预定体积阈值的物品组合为一组;Move the first item in the obtained price and volume sorting to the end of the queue, get the moved sorting, and sequentially extract the items whose sum of prices does not exceed the predetermined price threshold and the sum of volumes does not exceed the predetermined volume threshold and combine them into a group ;

重复上述过程,将每次所得排序中的第一个物品移动至队列末端,得到与每个排序相应的物品组合方式,直至移动后的排序与未移动时的排序相同为止。Repeat the above process, move the first item in each obtained order to the end of the queue, and obtain the combination of items corresponding to each order, until the moved order is the same as the unmoved order.

可选的,在得到与每个排序相应的物品组合方式,直至移动后的排序与未移动时的排序相同为止之后,还包括:根据物品的特征值以及预定相似度确定方式,分析与每个排序相应的物品组合方式之间的相似度;统计与每个排序中相应的所有物品组合方式的总相似度,提取总相似度最小的排序,并将与所提取的排序相应的物品组合方式确定为物品组合执行方式。Optionally, after obtaining the item combination mode corresponding to each sorting until the sorting after moving is the same as the sorting when not moving, it also includes: according to the characteristic value of the item and the predetermined similarity determination method, analyzing the sorting with each item. Sort the similarity between the corresponding item combinations; count the total similarity with all the corresponding item combinations in each sorting, extract the sorting with the smallest total similarity, and determine the item combination corresponding to the extracted sorting. Execute method for item combination.

可选的,当总特征值超出预定特征值阈值时,根据预定特征值阈值以及物品的特征值,对所有物品进行分组处理,包括:Optionally, when the total feature value exceeds the predetermined feature value threshold, all items are grouped according to the predetermined feature value threshold and the feature value of the item, including:

将同一价格的物品归为一类,从每个类中提取物品进行组合,且所提取的物品价格之和不超出预定价格阈值、且体积之和不超出预定装箱体积;或Classify items of the same price into one category, and extract items from each category to combine, and the sum of the prices of the extracted items does not exceed a predetermined price threshold and the sum of the volumes does not exceed a predetermined box volume; or

将同一体积的物品归为一类,从每个类中提取物品进行组合,且所提取的物品价格之和不超出预定价格阈值、且体积之和不超出预定装箱体积。Items of the same volume are classified into one category, and items from each category are extracted and combined, and the sum of the prices of the extracted items does not exceed a predetermined price threshold and the sum of the volumes does not exceed a predetermined packing volume.

为实现上述目的,根据本发明实施例的另一方面,提供了一种物品组装装置,包括:To achieve the above object, according to another aspect of the embodiments of the present invention, an article assembling device is provided, comprising:

特征值获取模块,用于接收物品组装请求,获取待组装物品的特征值,确定所有待组装物品的总特征值;The feature value acquisition module is used to receive the item assembly request, obtain the feature value of the item to be assembled, and determine the total feature value of all the items to be assembled;

物品组装模块,用于当总特征值超出预定特征值阈值时,根据预定特征值阈值以及物品的特征值,对所有物品进行分组处理,得到相应的物品组合方式。The article assembly module is used for grouping all articles according to the predetermined characteristic value threshold and the characteristic value of the article when the total characteristic value exceeds the predetermined characteristic value threshold to obtain the corresponding article combination mode.

可选的,特征值包括价格以及体积;Optionally, feature values include price and volume;

物品组装模块,用于:Item assembly module for:

当所有物品的总价格超出预定价格阈值时,根据价格对物品进行排序,并按序提取价格之和不超出预定价格阈值的物品组合为一组;或When the total price of all items exceeds the predetermined price threshold, sort the items according to the price, and sequentially extract the items whose sum of prices does not exceed the predetermined price threshold as a group; or

当所有物品的总体积超出预定体积阈值时,根据体积对物品进行排序,并按序提取体积之和不超出预定体积阈值的物品组合为一组;或When the total volume of all items exceeds the predetermined volume threshold, sort the items according to the volume, and sequentially extract the items whose sum of volumes does not exceed the predetermined volume threshold to form a group; or

当所有物品的总价格超出预定价格阈值、且总体积超出预定体积阈值时,根据价格以及体积对物品进行排序,并按序提取价格之和不超出预定价格阈值、且体积之和不超出预定体积阈值的物品组合为一组。When the total price of all items exceeds the predetermined price threshold and the total volume exceeds the predetermined volume threshold, sort the items according to price and volume, and extract in order that the sum of the prices does not exceed the predetermined price threshold, and the sum of the volumes does not exceed the predetermined volume Threshold items are combined into a group.

可选的,所述物品组装模块,还用于:Optionally, the article assembly module is also used for:

移动所得价格排序中的第一个物品至队列末端,得到移动后的排序,按序提取价格之和不超出预定价格阈值的物品组合为一组;或Move the first item in the obtained price sort to the end of the queue, get the moved sort, and sequentially extract items whose sum of prices does not exceed the predetermined price threshold to form a group; or

移动所得体积排序中的第一个物品至队列末端,得到移动后的排序,并按序提取体积之和不超出预定体积阈值的物品组合为一组;或Move the first item in the resulting volume sort to the end of the queue to obtain the moved sort, and sequentially extract items whose sum of volumes does not exceed the predetermined volume threshold to form a group; or

移动所得价格和体积排序中的第一个物品至队列末端,得到移动后的排序,并按序提取价格之和不超出预定价格阈值、且体积之和不超出预定体积阈值的物品组合为一组;Move the first item in the obtained price and volume sorting to the end of the queue, get the moved sorting, and sequentially extract the items whose sum of prices does not exceed the predetermined price threshold and the sum of volumes does not exceed the predetermined volume threshold and combine them into a group ;

重复上述过程,将每次所得排序中的第一个物品移动至队列末端,得到与每个排序相应的物品组合方式,直至移动后的排序与未移动时的排序相同为止。Repeat the above process, move the first item in each obtained order to the end of the queue, and obtain the combination of items corresponding to each order, until the moved order is the same as the unmoved order.

可选的,所述物品组装模块,还用于:根据物品的特征值以及预定相似度确定方式,分析与每个排序相应的物品组合方式之间的相似度;统计与每个排序中相应的所有物品组合方式的总相似度,提取总相似度最小的排序,并将与所提取的排序相应的物品组合方式确定为物品组合执行方式。Optionally, the article assembly module is further configured to: analyze the similarity between the article combination methods corresponding to each order according to the characteristic value of the article and the predetermined similarity determination method; The total similarity of all item combination modes is extracted, and the sorting with the smallest total similarity is extracted, and the item combination mode corresponding to the extracted sorting is determined as the item combination execution mode.

可选的,所述物品组装模块,用于:Optionally, the article assembly module is used for:

将同一价格的物品归为一类,从每个类中提取物品进行组合,且所提取的物品价格之和不超出预定价格阈值、且体积之和不超出预定装箱体积;或Classify items of the same price into one category, and extract items from each category to combine, and the sum of the prices of the extracted items does not exceed a predetermined price threshold and the sum of the volumes does not exceed a predetermined box volume; or

将同一体积的物品归为一类,从每个类中提取物品进行组合,且所提取的物品价格之和不超出预定价格阈值、且体积之和不超出预定装箱体积。Items of the same volume are classified into one category, and items from each category are extracted and combined, and the sum of the prices of the extracted items does not exceed a predetermined price threshold and the sum of the volumes does not exceed a predetermined packing volume.

为实现上述目的,根据本发明实施例的再一方面,提供了一种物品组装电子设备。To achieve the above object, according to yet another aspect of the embodiments of the present invention, an electronic device for assembling articles is provided.

本发明实施例的电子设备包括:一个或多个处理器;存储装置,用于存储一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现上述任一所述的物品组装方法。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, when the one or more programs are executed by the one or more processors, the one or more programs cause the One or more processors implement any of the above-described methods of assembling articles.

为实现上述目的,根据本发明实施例的再一方面,提供了一种计算机可读介质,其上存储有计算机程序,所述程序被处理器执行时实现上述任一所述的物品组装方法。To achieve the above object, according to yet another aspect of the embodiments of the present invention, a computer-readable medium is provided, on which a computer program is stored, and when the program is executed by a processor, any one of the above-mentioned methods for assembling an article is implemented.

根据本发明所述提供的方案,上述发明中的一个实施例具有如下优点或有益效果:利用“分裂”的方式,将多个物品打包到一个箱子中,以减少箱子数量;并考虑重量、成本、价格等因素,选取最优惠的打包方案,以降低运输成本以及运输风险。According to the solution provided by the present invention, one embodiment of the above-mentioned invention has the following advantages or beneficial effects: using a "split" method to pack a plurality of items into a box to reduce the number of boxes; and considering weight and cost , price and other factors, choose the most favorable packaging plan to reduce transportation costs and transportation risks.

上述的非惯用的可选方式所具有的进一步效果将在下文中结合具体实施方式加以说明。Further effects of the above non-conventional alternatives will be described below in conjunction with specific embodiments.

附图说明Description of drawings

附图用于更好地理解本发明,不构成对本发明的不当限定。其中:The accompanying drawings are used for better understanding of the present invention and do not constitute an improper limitation of the present invention. in:

图1是根据本发明实施例的一种物品组装方法的主要流程示意图;FIG. 1 is a schematic diagram of the main flow of an article assembling method according to an embodiment of the present invention;

图2是本发明实施例提供的一种物品分裂过程以及打包过程;Fig. 2 is a kind of article splitting process and packing process provided by the embodiment of the present invention;

图3是本发明实施例提供的另一种物品分裂过程以及打包过程;Fig. 3 is another kind of article splitting process and packing process provided by the embodiment of the present invention;

图4是根据本发明实施例的一种物品组装装置的主要模块示意图;4 is a schematic diagram of main modules of an article assembling device according to an embodiment of the present invention;

图5是本发明实施例可以应用于其中的示例性系统架构图;5 is an exemplary system architecture diagram to which an embodiment of the present invention may be applied;

图6是适于用来实现本发明实施例的移动设备或服务器的计算机系统的结构示意图。FIG. 6 is a schematic structural diagram of a computer system suitable for implementing a mobile device or a server according to an embodiment of the present invention.

具体实施方式Detailed ways

以下结合附图对本发明的示范性实施例做出说明,其中包括本发明实施例的各种细节以助于理解,应当将它们认为仅仅是示范性的。因此,本领域普通技术人员应当认识到,可以对这里描述的实施例做出各种改变和修改,而不会背离本发明的范围和精神。同样,为了清楚和简明,以下的描述中省略了对公知功能和结构的描述。Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding and should be considered as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted from the following description for clarity and conciseness.

传统的电商,其交易买卖双方一般属于一个国家,即国内的商家卖家在线销售给国内的买家;而跨境电商是不同国别或关境地区间的买卖双方进行的交易,从业务模式上简单来看,多了国际物流、出入境清关、国际结算等业务。In traditional e-commerce, the buyers and sellers of transactions generally belong to the same country, that is, domestic merchants and sellers sell online to domestic buyers; while cross-border e-commerce is a transaction between buyers and sellers in different countries or customs areas, from the business model. From a simple point of view, there are more international logistics, entry and exit customs clearance, international settlement and other services.

需要说明的是,因为跨境是从国外到国内的,一个包裹可能包含不同用户的物品,到国内后再拆包邮寄给用户,而国内不存在这种情况,因此本发明主要考虑跨境电商,所涉及的物品均为跨境物品。It should be noted that, because cross-border travel is from abroad to home, a package may contain items of different users, which will be unpacked and mailed to users after arriving at home, but there is no such situation in China. Therefore, the present invention mainly considers cross-border electricity. The items involved are all cross-border items.

参见图1,示出的是本发明实施例提供的一种物品组装方法的主要流程图,包括如下步骤:Referring to FIG. 1, it shows a main flowchart of an article assembling method provided by an embodiment of the present invention, including the following steps:

S101:接收物品组装请求,获取待组装物品的特征值,确定所有待组装物品的总特征值;S101: Receive an item assembly request, obtain characteristic values of the items to be assembled, and determine the total characteristic values of all the items to be assembled;

S102:当总特征值超出预定特征值阈值时,根据预定特征值阈值以及物品的特征值,对所有物品进行分组处理,得到相应的物品组合方式。S102: When the total feature value exceeds the predetermined feature value threshold, perform grouping processing on all the items according to the predetermined feature value threshold and the feature values of the items to obtain a corresponding item combination mode.

上述实施方式中,对于步骤S101,海关对于过境物品价格有所限制,而装箱对物品又有体积限制,因此,本发明主要考虑物品价格以及体积(即长宽高)两个因素。In the above embodiment, for step S101, the customs has restrictions on the price of transit items, and packing has a volume limit on the items. Therefore, the present invention mainly considers two factors of item price and volume (ie length, width and height).

对于步骤S102,设定每个跨境的箱子中物品总额不能超过ap元,本发明以2000元为例进行说明(这里的价钱也可以是其他单位,例如美元,本发明以人民币为例进行说明);电商所采用的箱子体积,其长宽高用[boxwidth,boxpepth,boxhigh]来表示,本发明以[2,2,3]为例进行说明。For step S102, it is set that the total amount of items in each cross-border box cannot exceed ap yuan, and the present invention takes 2,000 yuan as an example to illustrate (the price here can also be in other units, such as US dollars, and the present invention takes RMB as an example to illustrate ); the volume of the box used by the e-commerce business, and its length, width, and height are represented by [boxwidth, boxpepth, boxhigh], and the present invention is described by taking [2, 2, 3] as an example.

对于用户所购买的跨境物品goods,用数组[price,width,depth,hight]表示其价格和体积,并且假设都是正整数。需要说明的是,这里的用户不限于是一个用户,因为可以将多个用户所购买的物品一起运输,入关后再拆箱分发邮寄。For the cross-border goods goods purchased by the user, the array [price, width, depth, hight] is used to represent the price and volume, and it is assumed that they are all positive integers. It should be noted that the user here is not limited to one user, because the items purchased by multiple users can be transported together, and then unpacked and distributed after entering the customs.

若用户一次购买了n个物品,可以用如下矩阵表示:If the user buys n items at a time, it can be represented by the following matrix:

Figure BDA0001776382740000071
Figure BDA0001776382740000071

若所有物品的总价格小于等于海关所设定的价格、且总体积小于等于装箱体积时,那么只需要一个箱子装箱即可。例如,用户购买4件物品为:If the total price of all items is less than or equal to the price set by the customs, and the total volume is less than or equal to the packing volume, then only one box is required for packing. For example, a user purchases 4 items as:

Figure BDA0001776382740000072
Figure BDA0001776382740000072

但若所有物品的总体积超过箱子的体积、和/或总价格超出海关设定的总价格时,是需要对物品进行“分裂”操作的,即需要用多个箱子进行组装的。例如,用户所购买的4件物品为:However, if the total volume of all items exceeds the volume of the box, and/or the total price exceeds the total price set by the customs, it is necessary to "split" the items, that is, multiple boxes need to be assembled. For example, the 4 items purchased by the user are:

Figure BDA0001776382740000073
或者
Figure BDA0001776382740000074
Figure BDA0001776382740000073
or
Figure BDA0001776382740000074

或者 or

需要两个箱子,对于物品g4需单独装箱,其余三个物品一起装箱。Two boxes are required, for item g4, it needs to be boxed separately, and the other three items are boxed together.

极端情况,需要每件单独包装,例如:In extreme cases, each piece needs to be individually packaged, such as:

对于超限的跨境物品,可以按照其体积和价格进行排序,具体地,先按照物品价格进行排序,然后再根据物品体积对同一价格的物品进行排序。For over-limited cross-border items, you can sort by their volume and price, specifically, sort by item price first, and then sort items with the same price based on item volume.

需要说明的是,这里的排序是必须过程,以能够尽快找到哪些物品能够放置于同一箱子。排序可以是降序,也可以是升序。It should be noted that the sorting here is a necessary process to be able to find out which items can be placed in the same box as soon as possible. Sorting can be descending or ascending.

生活中,通常会将极端的物品单独处理,所谓极端就是过大或过小的物品,可以优先处理也可以最后处理,这样就无需考虑物品在一起的所有组合,只要能有效利用箱子空间,使用尽量少的箱子即可。例如:In life, extreme items are usually dealt with separately. The so-called extremes are items that are too large or too small, which can be dealt with first or last, so that you don’t need to consider all the combinations of items together, as long as you can effectively use the box space, use Use as few boxes as possible. E.g:

1)装箱前有个过滤机制,将形状超出装箱规格的物品过滤出来,进行单独装箱;例如体积为[5,5,1]的物品;1) Before packing, there is a filtering mechanism to filter out items whose shape exceeds the packing specification and pack them separately; for example, items with a volume of [5,5,1];

2)对于体积特别小的物品,可以放置于最后处理;例如体积为[1,0.5,0.5]的物品,最后再安置即可。2) For items with a particularly small volume, they can be placed in the final processing; for example, items with a volume of [1, 0.5, 0.5] can be placed at the end.

对于物品的“分裂”过程,可以采用“二叉树”的方式处理。在二叉树中,每个节点最多有两个子树,即“左子树”和“右子树”。对应于本发明中,即每个箱子中的物品至多可分裂至两个箱子中,不断进行这个操作,直到所有物品都能放到箱子中为止。For the "split" process of items, the "binary tree" method can be used. In a binary tree, each node has at most two subtrees, a "left subtree" and a "right subtree". Corresponding to the present invention, that is, the items in each box can be split into two boxes at most, and this operation is performed continuously until all the items can be put into the boxes.

参见图2,演示了物品的“分裂”过程与打包结果,其中,“Spliting”表示分裂过程,“Create New Box”表示创建新箱子,后面输出的是箱子里面的物品;另外,“PRI”表示物品价格;“WDH”表示物品长宽高;“VOL”表示物品体积。See Figure 2, which demonstrates the "split" process and packaging results of items, where "Spliting" means the splitting process, "Create New Box" means creating a new box, and the items in the box are output later; in addition, "PRI" means The price of the item; "WDH" means the length, width and height of the item; "VOL" means the volume of the item.

1)初始时刻,假设所有物品都放在一个箱子里,若当前物品的总体积和总价格不满足箱子体积或跨境规定价格中的任意一个时,就需要“分裂”;1) At the initial moment, assuming that all items are placed in a box, if the total volume and total price of the current items do not meet either the box volume or the cross-border specified price, it needs to be "split";

2)对物品按照体积和价格进行降序排序,并根据排序顺序,对物品设定标识;例如,排序第一的物品设定ID为1;2) Sort the items in descending order by volume and price, and set the ID for the item according to the sorting order; for example, set the ID of the item that is ranked first as 1;

3)根据所得排序,按序提取物品进行组合,例如ID1物品单独装箱,剩余物品组装为一箱,共需要两个箱子。3) According to the obtained sorting, extract the items in order and combine them. For example, the ID1 item is packed in a separate box, and the remaining items are assembled into one box, which requires a total of two boxes.

参见图3,示出的是另一个分裂过程和打包过程,较之图2示例稍微复杂些,虽每个物品的体积都小于箱子体积,但每个物品的价格均等于跨境价格设定值,此时需要四个箱子进行打包。See Figure 3, which shows another splitting process and packaging process, which is slightly more complicated than the example in Figure 2. Although the volume of each item is smaller than the box volume, the price of each item is equal to the cross-border price set value , four boxes are required for packing at this time.

需要说明的是,箱子标识均是唯一的,也可以自定义,仅仅是为了区别作用,且是内部使用、用户不可见。箱子标识同理,且标识不会重复,当一个箱子分裂为两个时,可以采用左减一、右加一的方式生成,例如,原1000变为左999、右1001。It should be noted that the box logos are unique and can also be customized, just for the purpose of distinguishing, and they are used internally and not visible to users. The box logo is the same, and the logo will not be repeated. When a box is split into two, it can be generated by subtracting one from the left and adding one to the right. For example, the original 1000 becomes left 999 and right 1001.

除二叉树方式分组物品之外,还可以有其他分组方式:In addition to grouping items in a binary tree manner, there are other grouping methods:

假定现有4个价格为1000元的物品、4个价格为900元的物品、3个价格为100元的物品以及1个价格为10元的物品,且假定单个物品的体积都小于装箱体积:Assume that there are 4 items with a price of 1000 yuan, 4 items with a price of 900 yuan, 3 items with a price of 100 yuan and 1 item with a price of 10 yuan, and it is assumed that the volume of a single item is smaller than the packing volume :

1)基于物品价格以及体积对物品进行降序排列,得到集合{1000,1000,1000,1000,900,900,900,900,100,100,100,10},按序提取价格之和不超过2000元、且体积之和不超过装箱体积[2,2,3]的物品进行组合,例如,2*(1000+1000)、900+900、2*900+2*100、100+10;1) Arrange the items in descending order based on the item price and volume to get the set {1000, 1000, 1000, 1000, 900, 900, 900, 900, 100, 100, 100, 10}, and the sum of the extracted prices in order does not exceed 2000 yuan, and the sum of the volumes does not exceed the packing volume [ 2,2,3] items are combined, for example, 2*(1000+1000), 900+900, 2*900+2*100, 100+10;

2)基于物品价格以及体积对物品进行升序排列,得到集合{10,100,100,100,900,900,900,900,1000,1000,1000,1000},然后顺序提取价格之和以及体积之和均不超限的物品进行组合,例如,10+3*100+900、900+900、900+1000、1000+1000、1000;2) Arrange the items in ascending order based on the item price and volume to get the set {10, 100, 100, 100, 900, 900, 900, 900, 1000, 1000, 1000, 1000}, and then sequentially extract the items whose sum of price and volume does not exceed the limit, for example, 10+ 3*100+900, 900+900, 900+1000, 1000+1000, 1000;

鉴于通常先处理大件物品,之后再处理小件物品的思路,本发明主要采用降序方式,以减少遍历物品的次数,最快发现体积或价格超限的物品。In view of the idea that large items are usually processed first, and then small items are processed later, the present invention mainly adopts a descending order method to reduce the number of times of traversing the items, and find the items whose volume or price exceeds the limit as soon as possible.

3)根据物品价格对物品进行分组,从价格最高的组开始,按序在每组中抽取一个物品进行组合,且组合的物品总价格以及总体积均不超限,例如,3*(1000+900+100)、1000+900+10;该方式,可以均衡各箱中的物品价格比例。3) Group the items according to the item price, start from the group with the highest price, and select an item from each group to combine in sequence, and the total price and total volume of the combined items do not exceed the limit, for example, 3*(1000+ 900+100), 1000+900+10; this method can balance the price ratio of items in each box.

另外,还可以针对每组中物品的体积进行选择,例如,1000(体积最大)+900(体积最小)+100(体积最大),或是1000(体积最小)+900(体积最大)+100(体积最小)、或是1000(体积最大)+900(体积最小)+100(体积最小),以均衡各箱中的物品体积比例,不会出现一个箱子过挤、另一个过松的情况。In addition, you can also choose the volume of the items in each group, for example, 1000 (largest) + 900 (smallest) + 100 (largest), or 1000 (smallest) + 900 (largest) + 100 ( The smallest volume), or 1000 (the largest volume) + 900 (the smallest volume) + 100 (the smallest volume), in order to balance the volume ratio of the items in each box, there will be no situation where one box is too crowded and the other is too loose.

除上述方式外,也可以在每组中提取部分物品进行组合打包,例如,提取2个1000元的物品组合为一组进行打包。In addition to the above methods, some items can also be extracted from each group for combined packaging. For example, two items of 1,000 yuan can be extracted and combined into a group for packaging.

4)根据物品体积对物品进行分组,从体积最大的组开始,按序在每组中提取一个物品进行组合,且组合的物品价格以及体积均不超限;4) Items are grouped according to their volume, starting from the group with the largest volume, extracting an item from each group in order to combine, and the combined item price and volume do not exceed the limit;

但该方式中,无法确定每组中物品价格都较为均衡,可能出现一个组中都是贵重物品的情况,因此上述3)4)方式,主要选择方式3)进行。However, in this method, it is impossible to determine that the prices of the items in each group are relatively balanced, and there may be a situation where all the valuables are in a group. Therefore, methods 3) and 4) above are mainly selected for method 3).

另外,还存在所有物品的总价格未超限,但是总体积超限;或者总体积未超限、但是总价格超限的情况,此时可以只考虑超限的特征(价格或体积),对于未超限的因素随机分配即可,例如:In addition, there are also cases where the total price of all items does not exceed the limit, but the total volume exceeds the limit; or the total volume does not exceed the limit, but the total price exceeds the limit. At this time, only the characteristics of the limit (price or volume) can be considered. The factors that do not exceed the limit can be randomly assigned, for example:

1)4件物品价值分别为900、900、100以及100元;但是体积为[2,3,2]、[1,2,1]、[2,1,1]以及[1,1,2],排序后体积[2,3,3]最大且超限,故可以将体积[2,3,3]价值900元的物品单独装箱,其余物品装在一箱中;1) The 4 items are worth 900, 900, 100 and 100 yuan respectively; but the volumes are [2,3,2], [1,2,1], [2,1,1] and [1,1,2 ], the volume [2,3,3] is the largest and exceeds the limit after sorting, so the items with the volume [2,3,3] worth 900 yuan can be packed separately, and the rest of the items can be packed in one box;

2)4件物品价值分别为1000、1000、100、100,体积分别为[1,2,1]、[2,1,1]、[1,1,2]和[1,1,2],根据价格排序后,可以将价值均为1000元的物品组装为一箱,剩余物品组为一箱;或者是分配式将1000+100的物品进行组装,总共两箱子。2) The values of the 4 items are 1000, 1000, 100, 100, respectively, and the volumes are [1,2,1], [2,1,1], [1,1,2] and [1,1,2] , after sorting by price, you can assemble items with a value of 1,000 yuan into a box, and the remaining items into a box; or assemble 1,000+100 items in a distributed manner, a total of two boxes.

以上实施例对于物品的组合分析,可以将多个物品打包至同一个箱子中,以有效减少了箱子数量。但箱子用的少未必最优,不仅要尽量少用箱子,还要考虑相关运营成本和风险。因为在运输过程中难免会出现各种各样的问题,因此,需将高价格、低体积的物品分散到不同的箱子中进行组装。For the combined analysis of items in the above embodiments, multiple items can be packed into the same box, so as to effectively reduce the number of boxes. However, using less boxes may not be optimal. Not only should you use as few boxes as possible, but also consider the relevant operating costs and risks. Because various problems will inevitably occur during transportation, high-priced, low-volume items need to be scattered into different boxes for assembly.

按照图1所示流程,在分析需要多少箱子、得到打包方案后,可以整理订单中的物品,重新生成打包方案。According to the process shown in Figure 1, after analyzing how many boxes are needed and obtaining the packaging plan, the items in the order can be sorted out and the packaging plan can be regenerated.

例如,原物品排序结果为{g1,g2,g3…gn},得到一个打包方案;然后将物品g1移动到最后,即{g2,g3…,gn,g1},重新得到一个打包方案,重复该过程,直至原第n个物品移动到第一个时停止,即:For example, the sorting result of the original item is {g1,g2,g3...gn}, and a packing scheme is obtained; then the item g1 is moved to the end, namely {g2,g3...,gn,g1}, and a packing scheme is obtained again, repeating the The process stops when the original nth item moves to the first one, that is:

Figure BDA0001776382740000111
Figure BDA0001776382740000111

这里主要针对“其他分组方式”中的方式1)2)进行。组装方式中,相邻的物品,若超过总价格和总体积任意一个时才会分裂。同样以上述举例为例,这里均采用的是降序描述:This is mainly carried out for methods 1) and 2) in "Other grouping methods". In the assembly method, adjacent items will only be split if they exceed either the total price or the total volume. Also taking the above example as an example, all descriptions are in descending order:

1)首次排序{1000,1000,1000,1000,900,900,900,900,100,100,100,10},所得组合结果为2*(1000+1000)、900+900、2*900+2*100、100+10;1) Sort {1000, 1000, 1000, 1000, 900, 900, 900, 900, 100, 100, 100, 10} for the first time, and the combined result is 2*(1000+1000), 900+900, 2*900+2*100, 100+10;

2)将排序第一的物品移动至队列末端,此时的排序结果为{1000,1000,1000,900,900,900,900,100,100,100,10,1000},所得组合结果为1000+1000、1000+900、900+900、900+100*3+10、1000;2) Move the item ranked first to the end of the queue, the sorting result at this time is {1000, 1000, 1000, 900, 900, 900, 900, 100, 100, 100, 10, 1000}, and the combined result is 1000+1000, 1000+900, 900+900, 900 +100*3+10, 1000;

3)再次将排序第一的物品移动至队列末端,此时的排序结果为{1000,1000,900,900,900,900,100,100,100,10,1000,1000},所得组合结果为1000+1000、900+900、2*900+2*100、100+10+1000、1000;3) Move the item ranked first to the end of the queue again, the sorting result is {1000, 1000, 900, 900, 900, 900, 100, 100, 100, 10, 1000, 1000}, and the combined result is 1000+1000, 900+900, 2*900+ 2*100, 100+10+1000, 1000;

……...

12)当原排序中的最后一个物品移动至队列首端时,所得排序结果为{10,1000,1000,1000,1000,900,900,900,900,100,100,100},所得组合结果为10+1000、1000+1000、1000+900、900+900、900+100*3。12) When the last item in the original sorting is moved to the head of the queue, the sorting result is {10, 1000, 1000, 1000, 1000, 900, 900, 900, 900, 100, 100, 100}, and the combined result is 10+1000, 1000+1000, 1000+900 , 900+900, 900+100*3.

需要说明的是,上述方式也可以采用将队列最后一个物品移动至队列首端,以确定多样组合方式,例如,移动后的排序{10,1000,1000,1000,1000,900,900,900,900,100,100,100},其结果与上述12)一致。It should be noted that, in the above method, the last item in the queue can also be moved to the head of the queue to determine various combination methods. 12) above are the same.

由上可知,针对不同的排序结果,所得打包方案是不同的。排序是为了快速寻找方案,而将物品依次放至队列末端是避免漏掉最优的方案。It can be seen from the above that for different sorting results, the obtained packing schemes are different. Sorting is to quickly find solutions, and placing items in sequence at the end of the queue is to avoid missing the best solution.

针对不同排序所得的打包方案,需要从中选取最优的那个。本发明采用评估各个打包方式的价格进行确定,具体地,可以计算每个方案中每个箱子之间的相似性,再把所得相似性的值进行累加,就得到该方案的评估值。For the packaging schemes obtained by different sorting, the optimal one needs to be selected. The present invention determines by evaluating the price of each packaging method. Specifically, the similarity between each box in each scheme can be calculated, and then the obtained similarity values are accumulated to obtain the evaluation value of the scheme.

计算相似性的方法很多,包括,欧几里得距离、曼哈顿距离、闵可夫斯基距离、余弦相似度、杰卡德相关系数、皮尔逊相关系数等,本发明采用曼哈顿距离计算方式,因为它的计算效率较高。There are many methods for calculating similarity, including Euclidean distance, Manhattan distance, Minkowski distance, cosine similarity, Jaccard correlation coefficient, Pearson correlation coefficient, etc. The present invention adopts the Manhattan distance calculation method because its Computational efficiency is high.

假设某个方案pl用了m个箱子,若只考虑物品价格因素,对于第i个和第j个箱子(i,j≤m)之间的曼哈顿距离d为:Assuming that a scheme pl uses m boxes, if only the item price factor is considered, the Manhattan distance d between the i-th and j-th boxes (i, j≤m) is:

di,j=|pi-pj|d i,j =|pi -p j |

该方案中共有

Figure BDA0001776382740000121
个曼哈顿距离,累加所有曼哈顿距离得到该方案pl的评估值:There are a total of
Figure BDA0001776382740000121
A Manhattan distance is accumulated, and all Manhattan distances are accumulated to obtain the evaluation value of the scheme pl:

Figure BDA0001776382740000122
Figure BDA0001776382740000122

当这m个箱子内的物品总价格越接近越好。例如,需要两个箱子,同样一个物品放在哪个箱子都可以,但唯一的差别可能是两个箱子的总价格不同。因此,不会同一箱子全放贵重物品,若有丢失,损失较大。When the total price of the items in the m boxes is as close as possible. For example, if two chests are needed, the same item can be placed in either chest, but the only difference may be the total price of the two chests. Therefore, all valuables will not be placed in the same box, and if they are lost, the loss will be greater.

最终选取所有方案中距离最小的那个:p=minplk,作为最终的打包执行方案。Finally, the one with the smallest distance among all the schemes is selected: p=minpl k , as the final package execution scheme.

除价格以外,箱子重量和最终成本对于打包也较为重要。其中,装箱重量可以有箱子中所承载的物品重量以及箱子重量确定,成本这里指的是物流成本,由物流公司提供。In addition to price, box weight and final cost are also important for packing. Among them, the packing weight can be determined by the weight of the items carried in the box and the weight of the box, and the cost here refers to the logistics cost, which is provided by the logistics company.

同时考虑重量、价格和成本(weight、price、cost),第i个和第j个箱子(i,j≤m)之间的曼哈顿距离d更改为:Considering the weight, price, and cost (weight, price, cost) simultaneously, the Manhattan distance d between the ith and jth bins (i, j≤m) is changed to:

di,j=|pi-pj|+|wi-wj|+|ci-cj d i,j = |pi -p j |+|w i -w j |+|c i -c j

上述价格、重量,成本都可以看成是特征,进一步的,还可以推广到其他特征,例如是否易碎、是否加急等,所得特征集合可以是(a1,a2...,at),箱子之间的相似度为:The above price, weight, and cost can all be regarded as features. Further, it can also be extended to other features, such as whether it is fragile, whether it is urgent, etc. The resulting feature set can be (a 1 , a 2 ..., at t ), the similarity between the boxes is:

Figure BDA0001776382740000131
Figure BDA0001776382740000131

本发明实施例所提供的方法,可以使用尽可能少的箱子完成打包,并能够综合考虑箱子内物品的价格、重量和最终成本等特征,以有效评价各个打包方案,实现最优打包,并有效减少运营成本和风险。The method provided by the embodiment of the present invention can use as few boxes as possible to complete the packaging, and can comprehensively consider the price, weight and final cost of the items in the box, so as to effectively evaluate each packaging scheme, achieve optimal packaging, and effectively Reduce operating costs and risks.

参见图4,示出了本发明实施例提供的一种物品组装装置400的主要模块示意图,包括:Referring to FIG. 4 , a schematic diagram of main modules of an article assembling device 400 provided by an embodiment of the present invention is shown, including:

特征值获取模块401,用于接收物品组装请求,获取待组装物品的特征值,确定所有待组装物品的总特征值;The feature value acquisition module 401 is configured to receive an item assembly request, obtain the feature value of the item to be assembled, and determine the total feature value of all the items to be assembled;

物品组装模块402,用于当总特征值超出预定特征值阈值时,根据预定特征值阈值以及物品的特征值,对所有物品进行分组处理,得到相应的物品组合方式。The article assembling module 402 is configured to perform grouping processing on all articles according to the predetermined characteristic value threshold and the characteristic value of the article when the total characteristic value exceeds the predetermined characteristic value threshold to obtain the corresponding article combination mode.

本发明实施装置中,特征值包括价格以及体积;In the implementation device of the present invention, the characteristic value includes price and volume;

物品组装模块402,用于:Item assembly module 402 for:

当所有物品的总价格超出预定价格阈值时,根据价格对物品进行排序,并按序提取价格之和不超出预定价格阈值的物品组合为一组;或When the total price of all items exceeds the predetermined price threshold, sort the items according to the price, and sequentially extract the items whose sum of prices does not exceed the predetermined price threshold as a group; or

当所有物品的总体积超出预定体积阈值时,根据体积对物品进行排序,并按序提取体积之和不超出预定体积阈值的物品组合为一组;或When the total volume of all items exceeds the predetermined volume threshold, sort the items according to the volume, and sequentially extract the items whose sum of volumes does not exceed the predetermined volume threshold to form a group; or

当所有物品的总价格超出预定价格阈值、且总体积超出预定体积阈值时,根据价格以及体积对物品进行排序,并按序提取价格之和不超出预定价格阈值、且体积之和不超出预定体积阈值的物品组合为一组。When the total price of all items exceeds the predetermined price threshold and the total volume exceeds the predetermined volume threshold, sort the items according to price and volume, and extract in order that the sum of the prices does not exceed the predetermined price threshold, and the sum of the volumes does not exceed the predetermined volume Threshold items are combined into a group.

本发明实施装置中,物品组装模块402,还用于:In the implementation device of the present invention, the article assembly module 402 is also used for:

移动所得价格排序中的第一个物品至队列末端,得到移动后的排序,按序提取价格之和不超出预定价格阈值的物品组合为一组;或Move the first item in the obtained price sort to the end of the queue, get the moved sort, and sequentially extract items whose sum of prices does not exceed the predetermined price threshold to form a group; or

移动所得体积排序中的第一个物品至队列末端,得到移动后的排序,并按序提取体积之和不超出预定体积阈值的物品组合为一组;或Move the first item in the resulting volume sort to the end of the queue to obtain the moved sort, and sequentially extract items whose sum of volumes does not exceed the predetermined volume threshold to form a group; or

移动所得价格和体积排序中的第一个物品至队列末端,得到移动后的排序,并按序提取价格之和不超出预定价格阈值、且体积之和不超出预定体积阈值的物品组合为一组;Move the first item in the obtained price and volume sorting to the end of the queue, get the moved sorting, and sequentially extract the items whose sum of prices does not exceed the predetermined price threshold and the sum of volumes does not exceed the predetermined volume threshold and combine them into a group ;

重复上述过程,将每次所得排序中的第一个物品移动至队列末端,得到与每个排序相应的物品组合方式,直至移动后的排序与未移动时的排序相同为止。Repeat the above process, move the first item in each obtained order to the end of the queue, and obtain the combination of items corresponding to each order, until the moved order is the same as the unmoved order.

本发明实施装置中,物品组装模块402,还用于:In the implementation device of the present invention, the article assembly module 402 is also used for:

根据物品的特征值以及预定相似度确定方式,分析与每个排序相应的物品组合方式之间的相似度;统计与每个排序中相应的所有物品组合方式的总相似度,提取总相似度最小的排序,并将与所提取的排序相应的物品组合方式确定为物品组合执行方式。According to the eigenvalues of the items and the predetermined similarity determination method, analyze the similarity between the item combinations corresponding to each order; count the total similarity with all the item combinations corresponding to each order, and extract the minimum total similarity , and determine the item combination mode corresponding to the extracted sequence as the item combination execution mode.

本发明实施装置中,物品组装模块402,用于:In the implementation device of the present invention, the article assembly module 402 is used for:

将同一价格的物品归为一类,从每个类中提取物品进行组合,且所提取的物品价格之和不超出预定价格阈值、且体积之和不超出预定装箱体积;或Classify items of the same price into one category, and extract items from each category to combine, and the sum of the prices of the extracted items does not exceed a predetermined price threshold and the sum of the volumes does not exceed a predetermined box volume; or

将同一体积的物品归为一类,从每个类中提取物品进行组合,且所提取的物品价格之和不超出预定价格阈值、且体积之和不超出预定装箱体积。Items of the same volume are classified into one category, and items from each category are extracted and combined, and the sum of the prices of the extracted items does not exceed a predetermined price threshold and the sum of the volumes does not exceed a predetermined packing volume.

另外,在本发明实施例中所述的物品组装装置的具体实施内容,在上面所述物品组装方法中已经详细说明了,故在此重复内容不再说明。In addition, the specific implementation content of the article assembling device described in the embodiments of the present invention has been described in detail in the article assembling method described above, so the repeated content will not be described here.

本发明实施例所提供的装置,可以使用尽可能少的箱子完成打包,并能够综合考虑箱子内物品的价格、重量和最终成本等特征,以有效评价各个打包方案,实现最优打包,并有效减少运营成本和风险。The device provided by the embodiment of the present invention can use as few boxes as possible to complete packaging, and can comprehensively consider the price, weight and final cost of the items in the box, so as to effectively evaluate each packaging scheme, achieve optimal packaging, and effectively Reduce operating costs and risks.

图5示出了可以应用本发明实施例的物品组装方法或物品组装装置的示例性系统架构500。FIG. 5 illustrates an exemplary system architecture 500 of an article assembly method or article assembly apparatus to which embodiments of the present invention may be applied.

如图5所示,系统架构500可以包括终端设备501、502、503,网络504和服务器505(仅仅是示例)。网络504用以在终端设备501、502、503和服务器505之间提供通信链路的介质。网络504可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。As shown in Figure 5, the system architecture 500 may include end devices 501, 502, 503, a network 504, and a server 505 (just an example). The network 504 is a medium used to provide a communication link between the terminal devices 501 , 502 , 503 and the server 505 . Network 504 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.

用户可以使用终端设备501、502、503通过网络504与服务器505交互,以接收或发送消息等。终端设备501、502、503上可以安装有各种通讯客户端应用,例如购物类应用、网页浏览器应用、搜索类应用、即时通信工具、邮箱客户端、社交平台软件等(仅为示例)。The user can use the terminal devices 501, 502, 503 to interact with the server 505 through the network 504 to receive or send messages and the like. Various communication client applications may be installed on the terminal devices 501 , 502 and 503 , such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only examples).

终端设备501、502、503可以是具有显示屏并且支持网页浏览的各种电子设备,包括但不限于智能手机、平板电脑、膝上型便携计算机和台式计算机等等。The terminal devices 501, 502, 503 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.

服务器505可以是提供各种服务的服务器,例如对用户利用终端设备501、502、503所浏览的购物类网站提供支持的后台管理服务器(仅为示例)。后台管理服务器可以对接收到的产品信息查询请求等数据进行分析等处理,并将处理结果(例如目标推送信息、产品信息--仅为示例)反馈给终端设备。The server 505 may be a server that provides various services, for example, a background management server that provides support for shopping websites browsed by the terminal devices 501 , 502 , and 503 (just an example). The background management server can analyze and process the received product information query request and other data, and feed back the processing results (such as target push information, product information—just an example) to the terminal device.

需要说明的是,本发明实施例所提供的物品组装方法一般由服务器505执行,相应地,物品组装装置一般设置于服务器505中。It should be noted that the article assembling method provided by the embodiment of the present invention is generally performed by the server 505 , and accordingly, the article assembling device is generally arranged in the server 505 .

应该理解,图5中的终端设备、网络和服务器的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、网络和服务器。It should be understood that the numbers of terminal devices, networks and servers in FIG. 5 are only illustrative. There can be any number of terminal devices, networks and servers according to implementation needs.

下面参考图6,其示出了适于用来实现本发明实施例的终端设备的计算机系统600的结构示意图。图6示出的终端设备仅仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。Referring to FIG. 6 below, it shows a schematic structural diagram of a computer system 600 suitable for implementing a terminal device according to an embodiment of the present invention. The terminal device shown in FIG. 6 is only an example, and should not impose any limitations on the functions and scope of use of the embodiments of the present invention.

如图6所示,计算机系统600包括中央处理单元(CPU)601,其可以根据存储在只读存储器(ROM)602中的程序或者从存储部分608加载到随机访问存储器(RAM)603中的程序而执行各种适当的动作和处理。在RAM 603中,还存储有系统600操作所需的各种程序和数据。CPU 601、ROM 602以及RAM 603通过总线604彼此相连。输入/输出(I/O)接口605也连接至总线604。As shown in FIG. 6, a computer system 600 includes a central processing unit (CPU) 601, which can be loaded into a random access memory (RAM) 603 according to a program stored in a read only memory (ROM) 602 or a program from a storage section 608 Instead, various appropriate actions and processes are performed. In the RAM 603, various programs and data necessary for the operation of the system 600 are also stored. The CPU 601 , the ROM 602 , and the RAM 603 are connected to each other through a bus 604 . An input/output (I/O) interface 605 is also connected to bus 604 .

以下部件连接至I/O接口605:包括键盘、鼠标等的输入部分606;包括诸如阴极射线管(CRT)、液晶显示器(LCD)等以及扬声器等的输出部分607;包括硬盘等的存储部分608;以及包括诸如LAN卡、调制解调器等的网络接口卡的通信部分609。通信部分609经由诸如因特网的网络执行通信处理。驱动器610也根据需要连接至I/O接口605。可拆卸介质611,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器610上,以便于从其上读出的计算机程序根据需要被安装入存储部分608。The following components are connected to the I/O interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 608 including a hard disk, etc. ; and a communication section 609 including a network interface card such as a LAN card, a modem, and the like. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I/O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is mounted on the drive 610 as needed so that a computer program read therefrom is installed into the storage section 608 as needed.

特别地,根据本发明公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本发明公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分609从网络上被下载和安装,和/或从可拆卸介质611被安装。在该计算机程序被中央处理单元(CPU)601执行时,执行本发明的系统中限定的上述功能。In particular, the processes described above with reference to the flowcharts may be implemented as computer software programs in accordance with the disclosed embodiments of the present invention. For example, embodiments disclosed herein include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the method illustrated in the flowchart. In such an embodiment, the computer program may be downloaded and installed from the network via the communication portion 609 and/or installed from the removable medium 611 . When the computer program is executed by the central processing unit (CPU) 601, the above-described functions defined in the system of the present invention are performed.

需要说明的是,本发明所示的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本发明中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本发明中,计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:无线、电线、光缆、RF等等,或者上述的任意合适的组合。It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two. The 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 a combination of any of the above. More specific examples of computer readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), fiber optics, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing. In the present invention, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In the present invention, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code therein. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device . Program code embodied on a computer readable medium may be transmitted using any suitable medium including, but not limited to, wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

附图中的流程图和框图,图示了按照本发明各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,上述模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图或流程图中的每个方框、以及框图或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures 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 the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more logical functions for implementing the specified functions executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams or flowchart illustrations, and combinations of blocks in the block diagrams or flowchart illustrations, can be implemented in special purpose hardware-based systems that perform the specified functions or operations, or can be implemented using A combination of dedicated hardware and computer instructions is implemented.

描述于本发明实施例中所涉及到的模块可以通过软件的方式实现,也可以通过硬件的方式来实现。所描述的模块也可以设置在处理器中,例如,可以描述为:一种处理器包括特征值获取模块、物品组装模块、获取模块。其中,这些模块的名称在某种情况下并不构成对该模块本身的限定,例如,特征值获取模块还可以被描述为“单个物品的特征值以及所有物品的总特征值获取模块”。The modules involved in the embodiments of the present invention may be implemented in a software manner, and may also be implemented in a hardware manner. The described modules can also be set in the processor, for example, it can be described as: a processor includes a feature value acquisition module, an item assembly module, and an acquisition module. Among them, the names of these modules do not constitute a limitation of the module itself under certain circumstances. For example, the feature value acquisition module can also be described as "the feature value of a single item and the total feature value acquisition module of all items".

作为另一方面,本发明还提供了一种计算机可读介质,该计算机可读介质可以是上述实施例中描述的设备中所包含的;也可以是单独存在,而未装配入该设备中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被一个该设备执行时,使得该设备包括:As another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiments; or may exist alone without being assembled into the device. The above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by a device, the device includes:

接收物品组装请求,获取待组装物品的特征值,确定所有待组装物品的总特征值;Receive an item assembly request, obtain the characteristic value of the item to be assembled, and determine the total characteristic value of all the items to be assembled;

当总特征值超出预定特征值阈值时,根据预定特征值阈值以及物品的特征值,对所有物品进行分组处理,得到相应的物品组合方式。When the total eigenvalue exceeds the predetermined eigenvalue threshold, all items are grouped according to the predetermined eigenvalue threshold and the eigenvalues of the items to obtain the corresponding item combination mode.

根据本发明实施例的技术方案,可以使用尽可能少的箱子完成打包,并能够综合考虑箱子内物品的价格、重量和最终成本等特征,以有效评价各个打包方案,实现最优打包,并有效减少运营成本和风险。According to the technical solutions of the embodiments of the present invention, the packaging can be completed using as few boxes as possible, and the price, weight, and final cost of the items in the boxes can be comprehensively considered, so as to effectively evaluate each packaging solution, achieve optimal packaging, and effectively Reduce operating costs and risks.

上述具体实施方式,并不构成对本发明保护范围的限制。本领域技术人员应该明白的是,取决于设计要求和其他因素,可以发生各种各样的修改、组合、子组合和替代。任何在本发明的精神和原则之内所作的修改、等同替换和改进等,均应包含在本发明保护范围之内。The above-mentioned specific embodiments do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modifications, equivalent replacements and improvements made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.

Claims (12)

1.一种物品组装方法,其特征在于,包括:1. A method for assembling an article, comprising: 接收物品组装请求,获取待组装物品的特征值,确定所有待组装物品的总特征值;Receive an item assembly request, obtain the characteristic value of the item to be assembled, and determine the total characteristic value of all the items to be assembled; 当所述总特征值超出预定特征值阈值时,根据所述预定特征值阈值以及物品的特征值,对所有物品进行分组处理,得到相应的物品组合方式。When the total eigenvalue exceeds the predetermined eigenvalue threshold, all items are grouped according to the predetermined eigenvalue threshold and the eigenvalues of the items to obtain a corresponding item combination mode. 2.根据权利要求1所述的方法,其特征在于,所述特征值包括价格以及体积;2. The method according to claim 1, wherein the characteristic value comprises price and volume; 所述当所述总特征值超出预定特征值阈值时,根据所述预定特征值阈值以及物品的特征值,对所有物品进行分组处理,包括:When the total feature value exceeds the predetermined feature value threshold, grouping processing is performed on all items according to the predetermined feature value threshold and the feature value of the item, including: 当所有物品的总价格超出预定价格阈值时,根据价格对物品进行排序,并按序提取价格之和不超出所述预定价格阈值的物品组合为一组;或When the total price of all items exceeds the predetermined price threshold, sort the items according to the price, and sequentially extract the items whose sum of prices does not exceed the predetermined price threshold to form a group; or 当所有物品的总体积超出预定体积阈值时,根据体积对物品进行排序,并按序提取体积之和不超出所述预定体积阈值的物品组合为一组;或When the total volume of all the items exceeds the predetermined volume threshold, sort the items according to the volume, and sequentially extract the items whose sum of volumes does not exceed the predetermined volume threshold to form a group; or 当所有物品的总价格超出所述预定价格阈值、且总体积超出所述预定体积阈值时,根据价格以及体积对物品进行排序,并按序提取价格之和不超出所述预定价格阈值、且体积之和不超出所述预定体积阈值的物品组合为一组。When the total price of all items exceeds the predetermined price threshold and the total volume exceeds the predetermined volume threshold, the items are sorted according to price and volume, and the sum of prices is extracted in order that does not exceed the predetermined price threshold, and the volume Items whose sum does not exceed the predetermined volume threshold are combined into a group. 3.根据权利要求2所述的方法,其特征在于,还包括:3. The method of claim 2, further comprising: 移动所得价格排序中的第一个物品至队列末端,得到移动后的排序,按序提取价格之和不超出所述预定价格阈值的物品组合为一组;或Move the first item in the obtained price sort to the end of the queue to obtain the moved sort, and sequentially extract items whose sum of prices does not exceed the predetermined price threshold to form a group; or 移动所得体积排序中的第一个物品至队列末端,得到移动后的排序,并按序提取体积之和不超出所述预定体积阈值的物品组合为一组;或Move the first item in the obtained volume sort to the end of the queue to obtain the moved sort, and sequentially extract items whose sum of volumes does not exceed the predetermined volume threshold to form a group; or 移动所得价格和体积排序中的第一个物品至队列末端,得到移动后的排序,并按序提取价格之和不超出所述预定价格阈值、且体积之和不超出所述预定体积阈值的物品组合为一组;Move the first item in the obtained price and volume sorting to the end of the queue, obtain the moved sorting, and sequentially extract the items whose price sum does not exceed the predetermined price threshold and whose volume sum does not exceed the predetermined volume threshold combined into a group; 重复上述过程,将每次所得排序中的第一个物品移动至队列末端,得到与每个排序相应的物品组合方式,直至移动后的排序与未移动时的排序相同为止。Repeat the above process, move the first item in each obtained order to the end of the queue, and obtain the combination of items corresponding to each order, until the moved order is the same as the unmoved order. 4.根据权利要求3所述的方法,其特征在于,在所述得到与每个排序相应的物品组合方式,直至移动后的排序与未移动时的排序相同为止之后,还包括:4. The method according to claim 3, characterized in that, after obtaining the combination of items corresponding to each order, until the order after moving is the same as the order when not moving, the method further comprises: 根据物品的特征值以及预定相似度确定方式,分析与每个排序相应的物品组合方式之间的相似度;According to the characteristic value of the item and the predetermined similarity determination method, analyze the similarity between the item combination modes corresponding to each order; 统计与每个排序中相应的所有物品组合方式的总相似度,提取总相似度最小的排序,并将与所提取的排序相应的物品组合方式确定为物品组合执行方式。The total similarity of all item combinations corresponding to each ranking is counted, the ranking with the smallest total similarity is extracted, and the item combination corresponding to the extracted ranking is determined as the item combination execution mode. 5.根据权利要求2所述的方法,其特征在于,所述当所述总特征值超出预定特征值阈值时,根据所述预定特征值阈值以及物品的特征值,对所有物品进行分组处理,包括:5. The method according to claim 2, wherein when the total feature value exceeds a predetermined feature value threshold, all items are grouped according to the predetermined feature value threshold and the feature values of the items, include: 将同一价格的物品归为一类,从每个类中提取物品进行组合,且所提取的物品价格之和不超出所述预定价格阈值、且体积之和不超出所述预定装箱体积;或Classify items of the same price into one class, and extract items from each class for combination, and the sum of the prices of the extracted items does not exceed said predetermined price threshold and the sum of volumes does not exceed said predetermined packing volume; or 将同一体积的物品归为一类,从每个类中提取物品进行组合,且所提取的物品价格之和不超出所述预定价格阈值、且体积之和不超出所述预定装箱体积。Items of the same volume are grouped into one class, and items from each class are extracted and combined, and the sum of the prices of the extracted items does not exceed the predetermined price threshold and the sum of the volumes does not exceed the predetermined boxed volume. 6.一种物品组装装置,其特征在于,包括:6. An article assembling device, characterized in that, comprising: 特征值获取模块,用于接收物品组装请求,获取待组装物品的特征值,确定所有待组装物品的总特征值;The feature value acquisition module is used to receive the item assembly request, obtain the feature value of the item to be assembled, and determine the total feature value of all the items to be assembled; 物品组装模块,用于当所述总特征值超出预定特征值阈值时,根据所述预定特征值阈值以及物品的特征值,对所有物品进行分组处理,得到相应的物品组合方式。The article assembling module is used for grouping all articles according to the predetermined characteristic value threshold and the characteristic value of the article when the total characteristic value exceeds the predetermined characteristic value threshold to obtain the corresponding article combination mode. 7.根据权利要求6所述的装置,其特征在于,所述特征值包括价格以及体积;7. The device according to claim 6, wherein the characteristic value comprises price and volume; 所述物品组装模块,用于:The article assembly module is used for: 当所有物品的总价格超出预定价格阈值时,根据价格对物品进行排序,并按序提取价格之和不超出所述预定价格阈值的物品组合为一组;或When the total price of all items exceeds the predetermined price threshold, sort the items according to the price, and sequentially extract the items whose sum of prices does not exceed the predetermined price threshold to form a group; or 当所有物品的总体积超出预定体积阈值时,根据体积对物品进行排序,并按序提取体积之和不超出所述预定体积阈值的物品组合为一组;或When the total volume of all the items exceeds the predetermined volume threshold, sort the items according to the volume, and sequentially extract the items whose sum of volumes does not exceed the predetermined volume threshold to form a group; or 当所有物品的总价格超出所述预定价格阈值、且总体积超出所述预定体积阈值时,根据价格以及体积对物品进行排序,并按序提取价格之和不超出所述预定价格阈值、且体积之和不超出所述预定体积阈值的物品组合为一组。When the total price of all items exceeds the predetermined price threshold and the total volume exceeds the predetermined volume threshold, the items are sorted according to price and volume, and the sum of prices is extracted in order that does not exceed the predetermined price threshold, and the volume Items whose sum does not exceed the predetermined volume threshold are combined into a group. 8.根据权利要求7所述的装置,其特征在于,所述物品组装模块,还用于:8. The device according to claim 7, wherein the article assembly module is further used for: 移动所得价格排序中的第一个物品至队列末端,得到移动后的排序,按序提取价格之和不超出所述预定价格阈值的物品组合为一组;或Move the first item in the obtained price sort to the end of the queue to obtain the moved sort, and sequentially extract items whose sum of prices does not exceed the predetermined price threshold to form a group; or 移动所得体积排序中的第一个物品至队列末端,得到移动后的排序,并按序提取体积之和不超出所述预定体积阈值的物品组合为一组;或Move the first item in the obtained volume sort to the end of the queue to obtain the moved sort, and sequentially extract items whose sum of volumes does not exceed the predetermined volume threshold to form a group; or 移动所得价格和体积排序中的第一个物品至队列末端,得到移动后的排序,并按序提取价格之和不超出所述预定价格阈值、且体积之和不超出所述预定体积阈值的物品组合为一组;Move the first item in the obtained price and volume sorting to the end of the queue, obtain the moved sorting, and sequentially extract the items whose price sum does not exceed the predetermined price threshold and whose volume sum does not exceed the predetermined volume threshold combined into a group; 重复上述过程,将每次所得排序中的第一个物品移动至队列末端,得到与每个排序相应的物品组合方式,直至移动后的排序与未移动时的排序相同为止。Repeat the above process, move the first item in each obtained order to the end of the queue, and obtain the combination of items corresponding to each order, until the moved order is the same as the unmoved order. 9.根据权利要求8所述的装置,其特征在于,所述物品组装模块,还用于:9. The device according to claim 8, wherein the article assembly module is further used for: 根据物品的特征值以及预定相似度确定方式,分析与每个排序相应的物品组合方式之间的相似度;According to the characteristic value of the item and the predetermined similarity determination method, analyze the similarity between the item combination modes corresponding to each order; 统计与每个排序中相应的所有物品组合方式的总相似度,提取总相似度最小的排序,并将与所提取的排序相应的物品组合方式确定为物品组合执行方式。The total similarity of all item combinations corresponding to each ranking is counted, the ranking with the smallest total similarity is extracted, and the item combination corresponding to the extracted ranking is determined as the item combination execution mode. 10.根据权利要求7所述的装置,其特征在于,所述物品组装模块,用于:10. The device according to claim 7, wherein the article assembly module is used for: 将同一价格的物品归为一类,从每个类中提取物品进行组合,且所提取的物品价格之和不超出所述预定价格阈值、且体积之和不超出所述预定装箱体积;或Classify items of the same price into one class, and extract items from each class for combination, and the sum of the prices of the extracted items does not exceed said predetermined price threshold and the sum of volumes does not exceed said predetermined packing volume; or 将同一体积的物品归为一类,从每个类中提取物品进行组合,且所提取的物品价格之和不超出所述预定价格阈值、且体积之和不超出所述预定装箱体积。Items of the same volume are grouped into one class, and items from each class are extracted and combined, and the sum of the prices of the extracted items does not exceed the predetermined price threshold and the sum of the volumes does not exceed the predetermined boxed volume. 11.一种电子设备,其特征在于,包括:11. An electronic device, characterized in that, comprising: 一个或多个处理器;one or more processors; 存储装置,用于存储一个或多个程序,storage means for storing one or more programs, 当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-5中任一所述的方法。The one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-5. 12.一种计算机可读介质,其上存储有计算机程序,其特征在于,所述程序被处理器执行时实现如权利要求1-5中任一所述的方法。12. A computer-readable medium on which a computer program is stored, characterized in that, when the program is executed by a processor, the method according to any one of claims 1-5 is implemented.
CN201810971776.6A 2018-08-24 2018-08-24 Method and device for assembling articles Active CN110858336B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810971776.6A CN110858336B (en) 2018-08-24 2018-08-24 Method and device for assembling articles

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810971776.6A CN110858336B (en) 2018-08-24 2018-08-24 Method and device for assembling articles

Publications (2)

Publication Number Publication Date
CN110858336A true CN110858336A (en) 2020-03-03
CN110858336B CN110858336B (en) 2024-05-24

Family

ID=69635438

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810971776.6A Active CN110858336B (en) 2018-08-24 2018-08-24 Method and device for assembling articles

Country Status (1)

Country Link
CN (1) CN110858336B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120158627A1 (en) * 2010-12-17 2012-06-21 Oracle International Corporation Framework for optimized packing of items into a container
US8560461B1 (en) * 2008-03-31 2013-10-15 Amazon Technologies, Inc. Shipment splitting analyzer
US20180174226A1 (en) * 2013-09-19 2018-06-21 Amazon Technologies, Inc. Pre-emptive item packaging

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8560461B1 (en) * 2008-03-31 2013-10-15 Amazon Technologies, Inc. Shipment splitting analyzer
US20120158627A1 (en) * 2010-12-17 2012-06-21 Oracle International Corporation Framework for optimized packing of items into a container
US20180174226A1 (en) * 2013-09-19 2018-06-21 Amazon Technologies, Inc. Pre-emptive item packaging

Also Published As

Publication number Publication date
CN110858336B (en) 2024-05-24

Similar Documents

Publication Publication Date Title
CN110348771B (en) Method and device for order grouping of orders
CN107330752B (en) Method and device for identifying brand words
CN110751497A (en) A kind of commodity replenishment method and device
CN110766486B (en) Method and device for determining item category
CN106875148A (en) Method and apparatus for determining deposit position for article
CN110880084A (en) Method and device for warehouse replenishment
CN107967284A (en) Method and apparatus for storing, inquiring about sequence information
CN110304385B (en) Method and device for putting on shelves in a warehouse
CN110428118A (en) Order processing method and device, warehousing system and computer storage medium
CN112784212A (en) Method and device for optimizing inventory
CN110717697A (en) Warehouse-out positioning method and device
WO2021008147A1 (en) Method and device for determining warehouse inventory
CN110427546A (en) A method and device for displaying information
CN110766349A (en) Tallying method and device
CN111612385B (en) Method and device for clustering articles to be distributed
CN110189065A (en) A kind of method and apparatus of determining seed order
WO2021143510A1 (en) Task determination method and device
CN110827101A (en) Method and device for store recommendation
CN111858917A (en) Text classification method and device
CN110766431A (en) Method and device for judging whether a user is sensitive to coupons
CN110069510A (en) Method and apparatus for exporting bit information
CN111667208B (en) A method, device, equipment and medium for article storage control
CN111260269A (en) Method and device for store order processing to improve delivery efficiency
CN110858336A (en) An article assembly method and device
CN112784861A (en) Similarity determination method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant