Movatterモバイル変換


[0]ホーム

URL:


CN110222860A - A kind of method and apparatus for the dispatching storehouse list generating order - Google Patents

A kind of method and apparatus for the dispatching storehouse list generating order
Download PDF

Info

Publication number
CN110222860A
CN110222860ACN201810170824.1ACN201810170824ACN110222860ACN 110222860 ACN110222860 ACN 110222860ACN 201810170824 ACN201810170824 ACN 201810170824ACN 110222860 ACN110222860 ACN 110222860A
Authority
CN
China
Prior art keywords
order
warehouse
list
delivery
warehouses
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
CN201810170824.1A
Other languages
Chinese (zh)
Other versions
CN110222860B (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 LtdfiledCriticalBeijing Jingdong Century Trading Co Ltd
Priority to CN201810170824.1ApriorityCriticalpatent/CN110222860B/en
Publication of CN110222860ApublicationCriticalpatent/CN110222860A/en
Application grantedgrantedCritical
Publication of CN110222860BpublicationCriticalpatent/CN110222860B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本发明公开了一种生成订单的配送库房列表的方法和装置,涉及计算机技术领域。该方法的一具体实施方式包括:获取订单的优先级信息;根据所述优先级信息确定出库房选择半径;根据所述订单的配送地址、所述库房选择半径以及所述订单中包括的物品生成所述订单的配送库房列表。本发明实施例能够根据获取到的订单的优先级信息,自适应动态确定出该订单的库房选择半径,并且根据该库房选择半径确定出订单的配送库房列表。提高了部分订单的可得性,降低订单缺货率,减少转移环节的暂停订单数,从而提高客户满意度。

The invention discloses a method and a device for generating a delivery warehouse list of an order, and relates to the technical field of computers. A specific implementation of the method includes: obtaining priority information of an order; determining a warehouse selection radius according to the priority information; Generate a list of shipping warehouses for the order. The embodiment of the present invention can adaptively and dynamically determine the warehouse selection radius of the order according to the acquired priority information of the order, and determine the distribution warehouse list of the order according to the warehouse selection radius. Improve the availability of some orders, reduce the order out-of-stock rate, and reduce the number of suspended orders in the transfer link, thereby improving customer satisfaction.

Description

Translated fromChinese
一种生成订单的配送库房列表的方法和装置A method and device for generating a distribution warehouse list for an order

技术领域technical field

本发明涉及计算机技术领域,尤其涉及一种生成订单的配送库房列表的方法和装置。The invention relates to the field of computer technology, in particular to a method and a device for generating a list of delivery warehouses for orders.

背景技术Background technique

目前,随着电子商务的发展,通过互联网购物已成为大家日常生活消费中必不可少的部分。在互联网购物的过程中,用户下单之后系统生成订单,并且根据该订单的配送库房列表确定出该订单的配送中心或者配送库房,进而完成该订单的商品配送。其中,该订单的配送库房列表中包括所有可以为该订单进行商品配送的库房的信息。现有技术中,在生成订单的配送库房列表的过程中,根据该订单的配送地址确定出该订单所属的省市区,并且进一步根据该订单中包括的所有商品以及该订单所属的省市区内包括的所有库房,确定出能够为该订单进行备货的库房,则这些确定出的库房组成的配送库房列表。At present, with the development of e-commerce, shopping through the Internet has become an indispensable part of our daily consumption. In the process of Internet shopping, after the user places an order, the system generates an order, and determines the distribution center or distribution warehouse of the order according to the distribution warehouse list of the order, and then completes the delivery of the goods of the order. Wherein, the distribution warehouse list of the order includes information of all warehouses that can deliver goods for the order. In the prior art, in the process of generating the list of delivery warehouses for an order, the province, city, or city to which the order belongs is determined according to the delivery address of the order, and further according to all the commodities included in the order and the province, city, or city to which the order belongs All the warehouses included in the order are determined, and the warehouses that can be stocked for the order are determined, and then these determined warehouses form a list of distribution warehouses.

上述生成订单的配送库房列表的技术在实施的过程中存在以下问题:仅通过订单所属的省市区内包括的库房确定该订单的配送库房列表,其考虑的范围比较小,该范围内的库房可能不能配送该订单中的部分商品,或者确定出的配送库房列表为空,导致该订单无法完成配送;面对海量的订单,在生成订单的配送库房列表时,不能根据订单的优先级动态调整配送库房列表所涵盖的范围,影响用户体验。The above-mentioned technology for generating the list of delivery warehouses for an order has the following problems in the implementation process: the list of delivery warehouses for the order is determined only by the warehouses included in the province, city, and city to which the order belongs, and the scope of consideration is relatively small. The warehouses within this range Some of the products in the order may not be delivered, or the determined delivery warehouse list is empty, resulting in the failure to complete the delivery of the order; in the face of a large number of orders, when generating the delivery warehouse list of the order, it cannot be dynamically adjusted according to the priority of the order The range covered by the distribution warehouse list affects user experience.

发明内容Contents of the invention

有鉴于此,本发明实施例提供一种生成订单的配送库房列表的方法和装置,能够根据获取到的订单的优先级信息,自适应动态确定出该订单的库房选择半径,并且根据该库房选择半径确定出订单的配送库房列表。后续可基于配送库房列表再次进行订单中物品在可配送库房中的库存计算,如果在配送库房列表中显示有货表示可生产,则转去生产。提高了部分订单的可得性,降低订单缺货率,减少转移环节的暂停订单数,从而提高客户满意度。In view of this, the embodiments of the present invention provide a method and device for generating a delivery warehouse list for an order, which can adaptively and dynamically determine the warehouse selection radius of the order according to the acquired priority information of the order, and select according to the warehouse The radius determines the list of delivery warehouses for the order. In the follow-up, the inventory calculation of the items in the order in the distributable warehouse can be performed again based on the distribution warehouse list. If the inventory in the distribution warehouse list shows that it can be produced, it will be transferred to production. Improve the availability of some orders, reduce the order out-of-stock rate, and reduce the number of suspended orders in the transfer link, thereby improving customer satisfaction.

本发明实施例的生成订单的配送库房列表的方法包括:获取订单的优先级信息;根据所述优先级信息确定出库房选择半径;根据所述订单的配送地址、所述库房选择半径以及所述订单中包括的物品生成所述订单的配送库房列表。The method for generating a delivery warehouse list of an order in an embodiment of the present invention includes: obtaining priority information of an order; determining a warehouse selection radius according to the priority information; A list of delivery warehouses for the order is generated for the items included in the order.

可选地,所述订单的优先级信息包括订单的用户等级、用户信用、用户历史下单数据和订单利润中的至少一种。Optionally, the order priority information includes at least one of order user level, user credit, user historical order data and order profit.

可选地,根据所述优先级信息确定出库房选择半径的步骤包括:根据第一公式处理获取到的优先级信息xi,对应得到优先级数据di,i≡1,2,...,m,m为获取到的优先级信息的个数;根据第二公式以及所有的优先级数据确定出综合优先级数据d;根据第三公式以及所述综合优先级数据d确定出库房选择半径R;Optionally, the step of determining the warehouse selection radius according to the priority information includes: processing the acquired priority information xi according to the first formula, and correspondingly obtaining priority data di , i≡1,2,.. ., m, m is the number of acquired priority information; determine the comprehensive priority data d according to the second formula and all priority data; determine the warehouse according to the third formula and the comprehensive priority data d Select radius R;

其中,所述第一公式为:i≡1,2,...,m,x1为预设的常数;Wherein, the first formula is: i≡1,2,...,m, x1 is a preset constant;

所述第二公式为:The second formula is:

所述第三公式为:d1,d2,k为预设的常数。The third formula is: d1 , d2 , k are preset constants.

可选地,根据所述订单的配送地址、所述库房选择半径以及所述订单中包括的物品生成所述订单的配送库房列表的步骤包括:根据所述订单的配送地址、所述库房选择半径以及所述订单中包括的物品生成候选配送库房列表;对于所述候选配送库房列表中的每个库房,根据该库房的地址信息和所述订单的配送地址,确定出该库房到达所述配送地址的配送路线;根据每个配送路线相应地确定出所述候选配送库房列表中的每个库房的单位利润;基于所述候选配送库房列表,根据确定出的每个库房的单位利润和预设阈值生成所述订单的配送库房列表。Optionally, the step of generating the list of delivery warehouses for the order according to the delivery address of the order, the selection radius of the warehouse, and the items included in the order includes: according to the delivery address of the order, the selection radius of the warehouse and generating a list of candidate delivery warehouses for the items included in the order; for each warehouse in the list of candidate delivery warehouses, according to the address information of the warehouse and the delivery address of the order, it is determined that the warehouse arrives at the delivery address according to each delivery route, correspondingly determine the unit profit of each warehouse in the list of candidate delivery warehouses; based on the list of candidate delivery warehouses, according to the determined unit profit of each warehouse and the preset threshold Generate a list of shipping warehouses for the order.

可选地,根据每个配送路线相应地确定出所述候选配送库房列表中的每个库房的单位利润的步骤包括:对于每个配送路线,获取该配送路线的途经点的位置信息;根据所述途径点的位置信息确定出该配送路线的仓储成本、运营成本和运输成本,将仓储成本、运营成本和运输成本的总和作为该配送路线对应的库房的单位成本;确定所述订单中每个物品的价值数据;根据所述库房的单位成本以及所述价值数据,确定出该库房单位利润。Optionally, the step of correspondingly determining the unit profit of each warehouse in the candidate delivery warehouse list according to each delivery route includes: for each delivery route, obtaining the location information of the passing point of the delivery route; The storage cost, operating cost and transportation cost of the distribution route are determined based on the location information of the route point, and the sum of the storage cost, operation cost and transportation cost is taken as the unit cost of the warehouse corresponding to the distribution route; The value data of the item; according to the unit cost of the warehouse and the value data, the unit profit of the warehouse is determined.

可选地,基于所述候选配送库房列表,根据确定出的每个库房的单位利润和预设阈值生成所述订单的配送库房列表的步骤包括:根据确定出的每个库房的单位利润对所述候选配送库房列表进行排序;根据所述排序的结果和预设阈值对所述候选配送库房列表中的库房进行筛选处理,以得到所述订单的配送库房列表。Optionally, based on the list of candidate delivery warehouses, the step of generating the list of delivery warehouses for the order according to the determined unit profit of each warehouse and a preset threshold includes: The list of candidate delivery warehouses is sorted; and the warehouses in the list of candidate delivery warehouses are screened according to the sorting result and a preset threshold to obtain a list of delivery warehouses for the order.

为实现上述目的,根据本发明实施例的另一个方面,提供了一种生成订单的配送库房列表的装置。To achieve the above purpose, according to another aspect of the embodiments of the present invention, an apparatus for generating a delivery warehouse list for an order is provided.

本发明实施例的生成订单的配送库房列表的装置包括:获取模块,用于获取订单的优先级信息;确定模块,用于根据所述优先级信息确定出库房选择半径;生成模块,用于根据所述订单的配送地址、所述库房选择半径以及所述订单中包括的物品生成所述订单的配送库房列表。The device for generating the delivery warehouse list of the order in the embodiment of the present invention includes: an acquisition module, used to acquire the priority information of the order; a determination module, used to determine the warehouse selection radius according to the priority information; a generation module, used for A list of delivery warehouses for the order is generated according to the delivery address of the order, the selection radius of the warehouse, and the items included in the order.

可选地,所述确定模块还用于,根据第一公式处理获取到的优先级信息xi,对应得到优先级数据di,i≡1,2,...,m,m为获取到的优先级信息的个数;根据第二公式以及所有的优先级数据确定出综合优先级数据d;根据第三公式以及所述综合优先级数据d确定出库房选择半径R;Optionally, the determining module is further configured to process the acquired priority information xi according to the first formula, and obtain corresponding priority data di , i≡1,2,...,m, where m is the acquired The number of priority information; determine the comprehensive priority data d according to the second formula and all the priority data; determine the warehouse selection radius R according to the third formula and the comprehensive priority data d;

其中,所述第一公式为:i≡1,2,...,m,x1为预设的常数;Wherein, the first formula is: i≡1,2,...,m, x1 is a preset constant;

所述第二公式为:The second formula is:

所述第三公式为:d1,d2,k为预设的常数。The third formula is: d1 , d2 , k are preset constants.

可选地,所述生成模块还用于,根据所述订单的配送地址、所述库房选择半径以及所述订单中包括的物品生成候选配送库房列表;对于所述候选配送库房列表中的每个库房,根据该库房的地址信息和所述订单的配送地址,确定出该库房到达所述配送地址的配送路线;根据每个配送路线相应地确定出所述候选配送库房列表中的每个库房的单位利润;基于所述候选配送库房列表,根据确定出的每个库房的单位利润和预设阈值生成所述订单的配送库房列表。Optionally, the generation module is further configured to generate a list of candidate delivery warehouses according to the delivery address of the order, the selection radius of the warehouse, and the items included in the order; for each of the list of candidate delivery warehouses The warehouse, according to the address information of the warehouse and the delivery address of the order, determine the delivery route from the warehouse to the delivery address; Unit profit: based on the list of candidate delivery warehouses, generating a list of delivery warehouses for the order according to the determined unit profit of each warehouse and a preset threshold.

可选地,所述生成模块还用于,对于每个配送路线,获取该配送路线的途经点的位置信息;根据所述途径点的位置信息确定出该配送路线的仓储成本、运营成本和运输成本,将仓储成本、运营成本和运输成本的总和作为该配送路线对应的库房的单位成本;确定所述订单中每个物品的价值数据;根据所述库房的单位成本以及所述价值数据,确定出该库房单位利润。Optionally, the generating module is further configured to, for each delivery route, obtain the location information of the passing points of the delivery route; determine the storage cost, operating cost and transportation cost of the delivery route according to the location information of the passing points. Cost, taking the sum of storage cost, operating cost and transportation cost as the unit cost of the warehouse corresponding to the delivery route; determining the value data of each item in the order; according to the unit cost of the warehouse and the value data, determine The unit profit of the warehouse is paid out.

可选地,所述生成模块还用于,根据确定出的每个库房的单位利润对所述候选配送库房列表进行排序;根据所述排序的结果和预设阈值对所述候选配送库房列表中的库房进行筛选处理,以得到所述订单的配送库房列表。Optionally, the generating module is further configured to sort the list of candidate distribution warehouses according to the determined unit profit of each warehouse; The warehouses of the order are screened to obtain a list of distribution warehouses for the order.

为实现上述目的,根据本发明实施例的再一个方面,提供了一种生成订单的配送库房列表的电子设备。To achieve the above object, according to still another aspect of the embodiments of the present invention, an electronic device for generating a delivery warehouse list for an order is provided.

本发明实施例的生成订单的配送库房列表的电子设备包括:一个或多个处理器;存储装置,用于存储一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现上述任一项的生成订单的配送库房列表的方法。The electronic device for generating the delivery warehouse list of the order in the embodiment of the present invention includes: one or more processors; a storage device for storing one or more programs, when the one or more programs are used by the one or more The processor executes, so that the one or more processors implement any one of the above methods for generating a delivery warehouse list for an order.

为实现上述目的,根据本发明实施例的再一个方面,提供了一种计算机可读介质,其上存储有计算机程序,其特征在于,所述程序被处理器执行时实现上述任一项的生成订单的配送库房列表的方法。In order to achieve the above object, according to another aspect of the embodiment of the present invention, there is provided a computer-readable medium on which a computer program is stored, and it is characterized in that, when the program is executed by a processor, the generation of any of the above-mentioned Method for the list of shipping warehouses for the order.

上述发明中的一个实施例具有如下优点或有益效果:可根据订单的优先级信息,自适应动态地确定出库房选择半径,并基于该选择半径生成该订单的配送库房列表。同时,该优先级信息为现有系统已有的一些信息(用户等级、用户历史下单数据或者订单利润),有便于该技术方案的实施。并且,能够在控制成本的前提下,结合订单的用户等级和订单利润值等优先级信息,综合计算出订单的配送库房列表。后续可基于配送库房列表再次进行订单中物品在可配送库房中的库存计算,如果在配送库房列表中显示有货表示可生产,则转去生产。提高了部分订单(优先级比较高的订单)的可得性,降低订单缺货率,减少转移环节的暂停订单数,从而提高客户满意度,特别是高等级或高消费用户的消费体验。An embodiment of the above invention has the following advantages or beneficial effects: the warehouse selection radius can be adaptively and dynamically determined according to the priority information of the order, and a distribution warehouse list for the order can be generated based on the selection radius. At the same time, the priority information is some information (user level, user historical order data or order profit) existing in the existing system, which is convenient for the implementation of the technical solution. Moreover, under the premise of cost control, combined with priority information such as the user level of the order and the profit value of the order, the list of delivery warehouses for the order can be comprehensively calculated. In the follow-up, the inventory calculation of the items in the order in the distributable warehouse can be performed again based on the distribution warehouse list. If the inventory in the distribution warehouse list shows that it can be produced, it will be transferred to production. Improve the availability of some orders (orders with relatively high priority), reduce the order out-of-stock rate, and reduce the number of suspended orders in the transfer process, thereby improving customer satisfaction, especially the consumption experience of high-level or high-spending users.

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

附图说明Description of drawings

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

图1是根据本发明实施例的生成订单的配送库房列表的方法的主要流程的示意图;FIG. 1 is a schematic diagram of the main flow of a method for generating a delivery warehouse list for an order according to an embodiment of the present invention;

图2是根据本发明实施例的生成订单的配送库房列表的方法的示意图;Fig. 2 is a schematic diagram of a method for generating a delivery warehouse list for an order according to an embodiment of the present invention;

图3是根据本发明实施例生成订单的配送库房列表的装置的主要模块的示意图;Fig. 3 is a schematic diagram of main modules of a device for generating a list of delivery warehouses for an order according to an embodiment of the present invention;

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

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

具体实施方式Detailed ways

以下结合附图对本发明的示范性实施例做出说明,其中包括本发明实施例的各种细节以助于理解,应当将它们认为仅仅是示范性的。因此,本领域普通技术人员应当认识到,可以对这里描述的实施例做出各种改变和修改,而不会背离本发明的范围和精神。同样,为了清楚和简明,以下的描述中省略了对公知功能和结构的描述。Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded 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 in the following description for clarity and conciseness.

图1是根据本发明实施例的生成订单的配送库房列表的方法的主要流程的示意图,如图1所示,本发明实施例的生成订单的配送库房列表的方法主要包括:Fig. 1 is a schematic diagram of the main flow of a method for generating a list of delivery warehouses for an order according to an embodiment of the present invention. As shown in Fig. 1 , the method for generating a list of delivery warehouses for an order according to an embodiment of the present invention mainly includes:

步骤S101:获取订单的优先级信息。订单的优先级信息用于判断订单处理的优先级,订单的优先级越高则该订单的库房选择半径越大,则一般生成的该订单的配送库房列表中包括的库房越多,进而能够配送该订单中包括的商品的可可能性就越大。其中,订单的优先级信息包括订单的用户等级、用户信用、用户历史下单数据和订单利润中的至少一种。所以,通过订单的优先级信息的不同,可自适应动态调整该订单的库房选择半径。并且,该优先级信息为现有系统中已有的一些信息,有便于本发明实施例的实施。Step S101: Obtain priority information of an order. The priority information of the order is used to determine the priority of order processing. The higher the priority of the order, the larger the selection radius of the warehouse for the order, and the more warehouses are included in the distribution warehouse list of the order generated generally, so that it can be delivered The more likely the items included in the order are. Wherein, the order priority information includes at least one of order user level, user credit, user historical order data and order profit. Therefore, according to the difference in priority information of the order, the warehouse selection radius of the order can be adaptively and dynamically adjusted. Moreover, the priority information is some existing information in the existing system, which facilitates the implementation of the embodiment of the present invention.

步骤S102:根据优先级信息确定出库房选择半径。具体地,根据第一公式处理获取到的优先级信息xi,对应得到优先级数据di,i≡1,2,...,m,m为获取到的优先级信息的个数;根据第二公式以及所有的优先级数据确定出综合优先级数据d;根据第三公式以及综合优先级数据d确定出库房选择半径R。Step S102: Determine the warehouse selection radius according to the priority information. Specifically, the obtained priority information xi is processed according to the first formula, and the corresponding priority data di is obtained, where i≡1,2,...,m, m is the number of obtained priority information; according to The second formula and all the priority data determine the comprehensive priority data d; the warehouse selection radius R is determined according to the third formula and the comprehensive priority data d.

其中,第一公式为:i≡1,2,...,m,x1为预设的常数。第二公式为:第三公式为:d1,d2,k为预设的常数。预设的常数x1和d1,k可根据经验值进行设置,或者根据用户的需求对其进行调整。针对每个订单,通过上述过程,可根据该订单的优先级信息精确并且自适应动态的确定出该订单的库房选择半径。Among them, the first formula is: i≡1,2,...,m, x1 is a preset constant. The second formula is: The third formula is: d1 , d2 , k are preset constants. The preset constants x1 and d1 ,k can be set according to empirical values, or adjusted according to user requirements. For each order, through the above process, the warehouse selection radius of the order can be accurately and adaptively and dynamically determined according to the priority information of the order.

在本发明实施例中,该第一公式、第二公式和第三公式也可根据实际需求进行变更,本发明在确定库房选择半径过程中不局限于这三个公式,也可通过其他公式自动确定出该选择半径,或者通过人工计算并输入计算结果确定该选择半径。只要通过订单的优先级信息动态确定出库房选择半径的技术特征,均应包含在本发明保护范围之内。In the embodiment of the present invention, the first formula, the second formula, and the third formula can also be changed according to actual needs. The present invention is not limited to these three formulas in the process of determining the warehouse selection radius, and can also be automatically determined by other formulas. Determine the selection radius, or determine the selection radius through manual calculation and input calculation results. As long as the technical characteristics of the warehouse selection radius are dynamically determined through the priority information of the order, it should be included in the protection scope of the present invention.

步骤S103:根据订单的配送地址、库房选择半径以及订单中包括的物品生成订单的配送库房列表。Step S103: Generate a list of delivery warehouses for the order according to the delivery address of the order, the selection radius of the warehouse, and the items included in the order.

具体地,根据订单的配送地址、库房选择半径以及订单中包括的物品生成候选配送库房列表;对于候选配送库房列表中的每个库房,根据该库房的地址信息和订单的配送地址,确定出该库房到达配送地址的配送路线;根据每个配送路线相应地确定出候选配送库房列表中的每个库房的单位利润;基于候选配送库房列表,根据确定出的每个库房的单位利润和预设阈值生成订单的配送库房列表。根据每个配送路线相应地确定出候选配送库房列表中的每个库房的单位利润的步骤包括:对于每个配送路线,获取该配送路线的途经点的位置信息;根据途径点的位置信息确定出该配送路线的仓储成本、运营成本和运输成本,将仓储成本、运营成本和运输成本的总和作为该配送路线对应的库房的单位成本;确定订单中每个物品的价值数据;根据库房的单位成本以及价值数据,确定出该库房单位利润。基于候选配送库房列表,根据确定出的每个库房的单位利润和预设阈值生成订单的配送库房列表的步骤包括:根据确定出的每个库房的单位利润对候选配送库房列表进行排序;根据排序的结果和预设阈值对候选配送库房列表中的库房进行筛选处理,以得到订单的配送库房列表。在该筛选的过程中,将单位成本比较高的库房从候选配送库房列表中删除,可能会导致无法基于最后生成的配送库房列表完成该订单的配送,但是,该生成的列表可对暂停订单(该订单中存在一个或者几个不能配送的商品)具有指向性的作用,使得在处理有些订单(已经确认该订单中的一些商品可以配送,只需再次判断之前确定无法配送的商品现阶段是否可以配送)时,能够筛选出成本较低、所获利润较高的库房配送该订单中的商品。Specifically, a list of candidate delivery warehouses is generated according to the delivery address of the order, the selection radius of the warehouse, and the items included in the order; for each warehouse in the list of candidate delivery warehouses, the address information of the warehouse and the delivery address of the order are determined. The delivery route from the warehouse to the delivery address; correspondingly determine the unit profit of each warehouse in the candidate delivery warehouse list according to each delivery route; based on the candidate delivery warehouse list, according to the determined unit profit of each warehouse and the preset threshold Generate a list of shipping warehouses for the order. According to each delivery route, the step of correspondingly determining the unit profit of each warehouse in the list of candidate delivery warehouses includes: for each delivery route, obtaining the position information of the passing point of the delivery route; For the storage cost, operating cost and transportation cost of the distribution route, the sum of storage cost, operating cost and transportation cost is taken as the unit cost of the warehouse corresponding to the distribution route; determine the value data of each item in the order; according to the unit cost of the warehouse And value data to determine the warehouse unit profit. Based on the list of candidate delivery warehouses, the step of generating the list of delivery warehouses for the order according to the determined unit profit of each warehouse and the preset threshold includes: sorting the list of candidate delivery warehouses according to the determined unit profit of each warehouse; The result and the preset threshold are used to filter the warehouses in the list of candidate delivery warehouses to obtain the list of delivery warehouses for the order. During the screening process, deleting warehouses with relatively high unit costs from the list of candidate delivery warehouses may result in the inability to complete the delivery of the order based on the last generated list of delivery warehouses. However, the generated list can be used to suspend orders ( There are one or several undeliverable items in the order) which has a directional effect, so that when processing some orders (it has been confirmed that some items in the order can be delivered, it is only necessary to judge again whether the items that cannot be delivered are available at this stage. delivery), it is possible to filter out the warehouses with lower costs and higher profits to deliver the goods in the order.

现有技术中,从库存接口获取订单下所有sku的库房属性,通过该库房属性可知具有该sku备货资格的库房,以及该库房的存货情况和存货记录数据,这些库房中不一定是该sku的现货,但具有备货资格。然后调用配送中心配置接口获取订单可生产的配送库房列表,根据获取的库房属性和订单的三级地址(省市区)获取订单的配送库房列表。循环订单可生产的配送库房列表,计算各sku在库房下的库存状态,接着计算sku在各配送中心下的库存状态,然后计算订单在各配送中心下的库存状态,最后定位出最终配送的配送中心或者库房,并且得出订单在最终停的配送中心或者库房的库存状态。例如,在定位库房的过程中,根据订单在配送中心下的库房中的库存状态进行计算。如果订单在该配送中心的某个或者某些库房中为现货、在途(也就是类现货),则直接定位在该配送中心,并且跳出循环。如果循环完所有可生产配送中心后,在订单可生产的配送中心的库房列表中的配送中心下都不是现货并且都不是类现货,则定位在第一个有备货属性的配送中心。In the existing technology, the warehouse attributes of all skus under the order are obtained from the inventory interface. Through the warehouse attributes, the warehouses that have the qualifications for stocking the sku, as well as the inventory status and inventory record data of the warehouses, are not necessarily the warehouses of the sku. In stock, but qualified for stocking. Then call the distribution center configuration interface to obtain the list of distribution warehouses that can produce the order, and obtain the list of distribution warehouses for the order according to the obtained warehouse attributes and the third-level address (province, city) of the order. The distribution warehouse list that can be produced by the cycle order, calculate the inventory status of each sku in the warehouse, then calculate the inventory status of the sku in each distribution center, then calculate the inventory status of the order in each distribution center, and finally locate the distribution of the final distribution Center or warehouse, and obtain the inventory status of the order at the final distribution center or warehouse. For example, in the process of locating a warehouse, calculations are made based on the inventory status of the order in the warehouse under the distribution center. If the order is in stock or in transit (that is, similar to spot stock) in one or some warehouses of the distribution center, it is directly positioned at the distribution center and jumps out of the loop. If after all the distribution centers that can be produced are cycled, none of the distribution centers under the warehouse list of the distribution center that can produce the order is in stock and none of them are in stock, then locate the first distribution center with the stocking attribute.

上述现有技术在实施的过程中,存在调配送中心配置接口获取可生产的配送库房列表为空,导致无法生产的情况。进而导致订单因为无货一直暂停在转移,无法下传库房生产,导致用户投诉。上述配送库房列表为空的原因为:因为配送中心配置会根据线上情况时不时变动,可能下单时,该订单存在可生产的配送中心库房列表,但是在转移系统暂停一段时间,配送中心配置变化了,随之覆盖的配送中心库房有可能就没有了;因为可生产的配送中心库房列表是根据订单的三级地址和订单下的商品sku的库房属性确定出,比如下单时订单的skuA在库房1下有备货属性,并且是在途的类现货,从而下单进入转移系统。但是在转移系统暂停时,skuA在库房1下架,导致skuA在库房1下无备货属性,从而后续转移处理该订单,调接口获取不到可生产的配送中心库房列表。During the implementation of the above-mentioned prior art, there is a situation that the list of productionable distribution warehouses obtained by adjusting the configuration interface of the distribution center is empty, resulting in the failure of production. As a result, the order has been suspended in transfer due to lack of stock, and it cannot be downloaded to the warehouse for production, resulting in user complaints. The reason why the above distribution warehouse list is empty is: because the configuration of the distribution center will change from time to time according to the online situation. When an order is placed, there may be a list of distribution center warehouses that can be produced for the order, but when the transfer system is suspended for a period of time, the configuration of the distribution center changes. Now, the distribution center warehouse covered by it may be gone; because the list of distribution center warehouses that can be produced is determined based on the third-level address of the order and the warehouse attributes of the commodity sku under the order. For example, when the order is placed, the skuA of the order is in Warehouse 1 has the attribute of stocking up, and it is a near-spot stock in transit, so the order is placed and entered into the transfer system. However, when the transfer system is suspended, skuA is removed from warehouse 1, causing skuA to have no stocking attribute under warehouse 1, so the order is subsequently transferred and processed, and the dispatch interface cannot obtain the list of warehouses in the distribution center that can be produced.

图2是根据本发明实施例的生成订单的配送库房列表的方法的示意图,如图2所示,本发明实施例的生成订单的配送库房列表的方法包括:FIG. 2 is a schematic diagram of a method for generating a list of delivery warehouses for an order according to an embodiment of the present invention. As shown in FIG. 2 , the method for generating a list of delivery warehouses for an order in an embodiment of the present invention includes:

步骤S201:剔除不符合条件的订单。根据本发明实施例生成的配送库房列表中的库房可能距离订单的配送地址较远,而有些商品sku不适合长途运输,在本发明实施例中,该不适合长途运输的商品成为禁止商品,例如禁止商品属性包括大家电、延保机、合约机、液体品类、易碎类、危险品、赠品等。如果订单中存在禁止商品,则可返回配送库房列表为空。所以在根据用户的下单信息生成订单之后,根据订单中包括的商品的商品属性以及预设的禁止商品属性,判断该订单中商品是否存在禁止商品。如果订单下某个sku的商品属性是禁止商品属性,则该订单不参与后续逻辑,直接返回该订单的配送库房列表为空。Step S201: Eliminate unqualified orders. The warehouses in the distribution warehouse list generated according to the embodiment of the present invention may be far away from the delivery address of the order, and some commodity sku are not suitable for long-distance transportation. In the embodiment of the present invention, the commodities that are not suitable for long-distance transportation become prohibited commodities, for example Prohibited commodity attributes include major appliances, extended warranty phones, contract phones, liquid products, fragile products, dangerous goods, gifts, etc. If there are prohibited items in the order, the returnable delivery warehouse list is empty. Therefore, after the order is generated according to the user's order information, it is determined whether there are prohibited products in the order according to the product attributes of the products included in the order and the preset prohibited product attributes. If the product attribute of a sku under the order is a prohibited product attribute, the order does not participate in the follow-up logic, and the delivery warehouse list of the order is returned directly as empty.

步骤S202:计算订单的库房选择半径。经过步骤S202筛选出可处理的订单,然后计算每个订单的库房选择半径。根据用户的下单信息生成订单之后,根据订单中包括的商品的商品属性,获取订单的优先级信息,例如订单的用户等级、用户信用、用户历史下单数据或者订单利润等。在本发明实施例中,以获取用户等级和订单利润这两个优先级信息为例。Step S202: Calculate the warehouse selection radius of the order. After step S202, the orders that can be processed are screened out, and then the warehouse selection radius of each order is calculated. After the order is generated according to the user's order information, the priority information of the order is obtained according to the product attributes of the products included in the order, such as the user level of the order, the user's credit, the user's historical order data, or the profit of the order. In the embodiment of the present invention, it is taken as an example to obtain two priority information of user level and order profit.

通过订单用户名,调外部接口(例如用户体系的接口)获取该用户名所对应的用户等级。在本发明实施例中,用户等级300为用户体系中的高等级用户,为了后续计算,高等级用户不再细分,统一为300。所以,在本发明实施例中,获取到订单的用户等级之后,根据以下公式对用户等级x进行判断,如果用户等级x小于0则将该订单的用户等级f(x)确定为0,用户等级x大于300则将该订单的用户等级f(x)确定为300,最后用户等级f(x)的范围为0至300:Through the order user name, call the external interface (such as the interface of the user system) to obtain the user level corresponding to the user name. In the embodiment of the present invention, the user level 300 is a high-level user in the user system. For subsequent calculation, the high-level user is no longer subdivided, and is unified as 300. Therefore, in the embodiment of the present invention, after the user level of the order is obtained, the user level x is judged according to the following formula. If the user level x is less than 0, the user level f(x) of the order is determined as 0, and the user level If x is greater than 300, the user level f(x) of the order is determined to be 300, and the final user level f(x) ranges from 0 to 300:

根据订单下所有的商品的sku编号,调外部接口获取各个sku的单个利润值,sku的单个利润值为实际售价减去仓报价(仓报价指的是进价加上仓储保管费等费用)。根据订单中所有商品的单个利润值和以下确定出该订单的订单利润y:ai为sku的数量,bi为该sku的单个利润值,n为该订单中包括的sku的数量。According to the sku numbers of all the goods under the order, adjust the external interface to obtain the individual profit value of each sku. The individual profit value of the sku is the actual selling price minus the warehouse quotation (the warehouse quotation refers to the purchase price plus storage fees and other expenses) . Determine the order profit y of the order based on the individual profit values of all commodities in the order and the following: ai is the number of skus, bi is the single profit value of the sku, and n is the number of skus included in the order.

在本发明实施例中,通过对历史订单数据的整合或者机器学习,确定出订单利润大于300的订单属于高利润订单,可将大于300的订单利润直接取300进行库房选择半径的计算。因此,获取到订单的订单利润值后,根据以下公式对订单利润y进行判断,订单利润值小y于0则将该订单的订单利润g(y)确定为0,订单利润值y大于300则将该订单的订单利润g(y)确定为300,最后订单利润g(y)的范围为0至300:In the embodiment of the present invention, through the integration of historical order data or machine learning, it is determined that orders with an order profit greater than 300 belong to high-profit orders, and the order profit greater than 300 can be directly taken as 300 to calculate the warehouse selection radius. Therefore, after obtaining the order profit value of the order, the order profit y is judged according to the following formula. If the order profit value is less than y and is less than 0, the order profit g(y) of the order is determined to be 0, and the order profit value y is greater than 300. Determine the order profit g(y) of this order as 300, and the final order profit g(y) ranges from 0 to 300:

确定出该订单的用户等级和订单利润之后,可通过建立二维直角坐标系,其中x轴代表用户等级,y轴代表订单利润,则该订单对应的坐标点p的坐标为(f(x),g(y))。并且,根据以下公式确定出坐标点p到坐标原点O的距离d(综合优先级数据):After determining the user level and order profit of the order, a two-dimensional Cartesian coordinate system can be established, where the x-axis represents the user level and the y-axis represents the order profit, then the coordinate point p corresponding to the order is (f(x) ,g(y)). And, the distance d (comprehensive priority data) from the coordinate point p to the coordinate origin O is determined according to the following formula:

确定出上述综合优先级数据d之后,可根据以下公式确定库房选择半径R:当d小于100,该订单的用户等级值和订单利润值的综合值太低,不符合计算该配送库房列表的条件,则将该R确定为0。如果R=0,则不进行后续逻辑计算,直接返回配送库房列表为空;否则,进入下一步计算。After determining the above comprehensive priority data d, the warehouse selection radius R can be determined according to the following formula: When d is less than 100, the combined value of the order's user level value and order profit value is too low to meet the conditions for calculating the distribution warehouse list, then determine R as 0. If R=0, no follow-up logical calculation is performed, and the list of delivery warehouses is returned directly as empty; otherwise, enter the next step of calculation.

步骤S203:计算候选配送库房列表。在该过程中,以订单的配送地址(收货地址)为圆心,以库房选择半径R为半径,选出至少包括订单中的一个sku的备货属性的库房,即这些库房可对该订单中的sku进行备货,将这些库房组成候选配送库房列表。具体过程如下:Step S203: Calculate a list of candidate delivery warehouses. In this process, the delivery address (receipt address) of the order is taken as the center of the circle, and the warehouse selection radius R is used as the radius to select warehouses that include at least one sku in the order, that is, these warehouses can be used for the order. sku for stocking, and these warehouses form a list of candidate distribution warehouses. The specific process is as follows:

基于电子地图系统,可确定出该订单配送地址的经纬度,则根据该经纬度定位到地图上的某个坐标点,生成一个POI。其中,POI(Point of Interest)为“兴趣点”,也可为“Point of Information”,即“信息点”。电子地图上一般用气泡图标来表示POI,像电子地图上的景点、政府机构、公司、商场、饭馆等,都是POI。POI是基于位置服务的最核心数据,在电子地图上运用场景广泛,如导航前选择的目的地、查看周边的餐馆等。以确定出的POI为圆心,以库房选择半径R为半径,圈出一个圆,该圆在中国范围内的区域作为库房选择区域。Based on the electronic map system, the longitude and latitude of the delivery address of the order can be determined, and then a certain coordinate point on the map is located according to the longitude and latitude, and a POI is generated. Wherein, POI (Point of Interest) is a "point of interest", and may also be a "Point of Information", that is, an "information point". Bubble icons are generally used to represent POIs on electronic maps, such as scenic spots, government agencies, companies, shopping malls, restaurants, etc. on electronic maps, are all POIs. POI is the most core data based on location services, and it can be used in a wide range of scenarios on electronic maps, such as selecting destinations before navigation, checking surrounding restaurants, etc. With the determined POI as the center of the circle and the warehouse selection radius R as the radius, a circle is drawn, and the area of the circle within China is used as the warehouse selection area.

根据订单中包括的所有商品的sku编号,调外部接口获取这些sku的库房属性(即具有该sku的备货属性的在库房的号)。将这些库房号进行合并去重,得出订单备货属性的库房列表。比如skuA的库房属性为[4-2,6-1,5-1,8-0](4-2含义为配送中心4库房号2,下同),skuB的库房属性为[4-13,7-1,6-0,5-1,8-0],合并去重后,得出该订单备货属性的库房列表为[4-2,6-1,5-1,8-0,4-13,7-1,6-0]。调用外部接口获取订单备货属性的库房列表中库房的地址信息,以及根据该订单备货属性的库房列表中库房的经纬度,再根据该经纬度将这些库房定位在地图上,生产这些库房的POI。According to the sku numbers of all the commodities included in the order, call the external interface to obtain the warehouse attributes of these skus (that is, the number in the warehouse with the stocking attribute of the sku). Merge and deduplicate these warehouse numbers to obtain the warehouse list of the order stocking attribute. For example, the warehouse attribute of skuA is [4-2,6-1,5-1,8-0] (4-2 means the distribution center 4 warehouse number 2, the same below), and the warehouse attribute of skuB is [4-13, 7-1,6-0,5-1,8-0], after merging and deduplication, the warehouse list of the order stocking attribute is [4-2,6-1,5-1,8-0,4 -13,7-1,6-0]. Call the external interface to obtain the address information of the warehouse in the warehouse list of the order stocking attribute, and the longitude and latitude of the warehouse in the warehouse list of the order stocking attribute, and then locate these warehouses on the map according to the longitude and latitude, and produce the POI of these warehouses.

确定出上述库房选择区域和该订单备货属性的库房列表之后,选出在该库房选择区域内的库房POI,将这些库房POI对应的库房组成候选配送库房列表。如果候选配送库房列表为空,则不进行后续逻辑计算,直接返回该订单的配送库房列表为空。如果候选配送库房列表不为空,进入执行步骤S204。After determining the above-mentioned warehouse selection area and the warehouse list of the order stocking attribute, select the warehouse POIs in the warehouse selection area, and form the warehouses corresponding to these warehouse POIs into a list of candidate delivery warehouses. If the list of candidate delivery warehouses is empty, no follow-up logic calculation is performed, and the list of delivery warehouses for the order is returned directly as empty. If the list of candidate delivery warehouses is not empty, go to step S204.

步骤S204:按照成本大小重新排序候选配送库房列表。根据上一步获取到的候选配送库房列表,循环该列表,计算该列表中各库房到配送地址的单位成本。Step S204: Reorder the list of candidate delivery warehouses according to the cost. According to the list of candidate delivery warehouses obtained in the previous step, loop the list and calculate the unit cost from each warehouse in the list to the delivery address.

调用外部接口获取候选配送库房列表中的每个库房到订单配送地址的配送路线。例如,始发库房—初始分拣中心—始发RDC分拣中心—目的RDC分拣中心—目的FDC分拣中心—城市中转场—配送站点。调用外部接口获取配送路线中各个途径点的经纬度,根据该各个途径点的经纬度,将配送路线中各个途径点在地图上生成对应的POI。将候选配送库房列表中的库房POI作为起点,订单对应的配送站点POI作为终点,该配送路线的其他途径点POI按照配送路线顺序做为对应顺序的途经点,生成地图推荐路径RouteMap。Call the external interface to obtain the delivery route from each warehouse in the candidate delivery warehouse list to the order delivery address. For example, originating warehouse—initial sorting center—originating RDC sorting center—destination RDC sorting center—destination FDC sorting center—city transit yard—delivery site. Call the external interface to obtain the latitude and longitude of each passing point in the delivery route, and generate corresponding POIs for each passing point in the delivery route on the map according to the latitude and longitude of each passing point. The warehouse POI in the candidate delivery warehouse list is used as the starting point, the delivery site POI corresponding to the order is used as the end point, and the other way points POI of the delivery route are used as the way points in the corresponding order according to the order of the delivery route, and the map recommended route RouteMap is generated.

对于候选配送库房列表中的每个库房,通过以下公式计算出该库房的单位成本C:其中α为该库房的单位仓储成本,βk为该库房对应的配送路线的各个途经点的运营成本,o为该库房对应的配送路线的途经点的个数,γ为每公里单位运输成本,L为根据电子地图的推荐路径RouteMap确定出的路径公里数。For each warehouse in the list of candidate distribution warehouses, the unit cost C of the warehouse is calculated by the following formula: Where α is the unit storage cost of the warehouse, βk is the operating cost of each passing point of the distribution route corresponding to the warehouse, o is the number of passing points of the distribution route corresponding to the warehouse, γ is the unit transportation cost per kilometer, L is the number of route kilometers determined according to the recommended route RouteMap of the electronic map.

循环确定出的候选配送库房列表,可计算出各个候选配送库房到达订单配送地址的单位成本,例如{S1:C1,S2:C2,S3:C3},Sk为库房,Ck为该库房的单位成本。如果库房S1,S2,S3的单位成本的大小情况分别为C1<C3<C2,则根据确定出的每个库房的单位成本对候选配送库房列表进行排序,排序后的结果为{S1,S3,S2}。The list of candidate delivery warehouses determined by loop can calculate the unit cost of each candidate delivery warehouse to the order delivery address, for example {S1 :C1 ,S2 :C2 ,S3 :C3 }, Sk is the warehouse, Ck is the unit cost of the warehouse. If the unit costs of warehouses S1 , S2 , and S3 are respectively C1 <C3 <C2 , then sort the list of candidate distribution warehouses according to the determined unit cost of each warehouse, and the sorted results is {S1 , S3 , S2 }.

步骤S205:剔除成本过高的库房,得出订单的配送库房列表。将单位成本比较高的库房从候选配送库房列表中删除,可能会导致无法基于最后生成的配送库房列表完成该订单的配送,但是,该生成的列表可对暂停订单具有引导性的作用,使得在处理一些订单时,能够筛选出成本较低、所获利润较高的库房配送该订单中的商品。Step S205: Eliminate warehouses with high cost to obtain a list of delivery warehouses for the order. Deleting warehouses with relatively high unit costs from the list of candidate distribution warehouses may result in the inability to complete the delivery of the order based on the last generated list of distribution warehouses. When processing some orders, it is possible to filter out the warehouses with lower costs and higher profits to deliver the goods in the order.

根据订单下所有的商品的sku编号,调外部接口获取候选配送库房列表中的库房配送的sku的单个利润值δi,i=1,2,...,f,,f为该订单的候选配送库房列表中的库房可配送的sku的数量。对于候选配送库房中的每个库房,按照以下公式计算出该库房净利润Pik:Pik=δi-Ck,i=1,2,...,f,k=1,2,...,u,f为该订单的候选配送库房列表中的库房可配送的sku的数量,u为候选配送库房列表中库房数量。对于候选配送库房列表中的每一个库房,如果计算出该库房的Pik不大于0,则将该库房从候选配送库房列表中删除,以生成该订单的配送库房列表。通过该过程,将成本过高的库房进行删除,使得基于订单的优先级信息生成的配送库房列表中的库房不仅可选择的库房多,而且列表中的库房成本比较低。According to the sku numbers of all the commodities under the order, adjust the external interface to obtain the individual profit value δi of the sku delivered by the warehouse in the candidate delivery warehouse list, i=1,2,...,f,, f is the candidate for the order The number of skus that can be delivered by the warehouse in the distribution warehouse list. For each warehouse in the candidate distribution warehouse, the net profit Pik of the warehouse is calculated according to the following formula: Piki -Ck , i=1,2,...,f, k=1,2,. .., u, f are the number of skus that can be delivered by warehouses in the list of candidate delivery warehouses for the order, and u is the number of warehouses in the list of candidate delivery warehouses. For each warehouse in the list of candidate delivery warehouses, if the calculated Pik of the warehouse is not greater than 0, then delete the warehouse from the list of candidate delivery warehouses to generate a list of delivery warehouses for the order. Through this process, the warehouses with high cost are deleted, so that the warehouses in the distribution warehouse list generated based on the priority information of the order not only have more warehouses to choose from, but also have relatively low costs in the list.

本发明实施例可根据订单的优先级信息,只适用动态地确定出库房选择半径,并基于该选择半径生成该订单的配送库房列表。同时,该优先级信息为现有系统已有的一些信息(用户等级、用户历史下单数据或者订单利润),有便于该技术方案的实施。并且,能够在控制成本的前提下,结合订单的用户等级和订单利润值等优先级信息,综合计算出订单的配送库房列表。后续可基于配送库房列表再次进行订单中物品在可配送库房中的库存计算,如果在配送库房列表中显示有货表示可生产,则转去生产。提高了订单的可得性,降低订单缺货率,减少转移环节的暂停订单数,从而提高客户满意度,特别是高等级或高消费用户的消费体验。解决了现有技术中在生成订单的配送列表时,只能根据订单的配送地址和固定的选择范围确定出可配送的库房,不能动态的根据不同订单的不同优先级信息相应地生成配送库房列表的问题。The embodiment of the present invention can only dynamically determine the warehouse selection radius according to the priority information of the order, and generate the distribution warehouse list of the order based on the selection radius. At the same time, the priority information is some information (user level, user historical order data or order profit) existing in the existing system, which is convenient for the implementation of the technical solution. Moreover, under the premise of cost control, combined with priority information such as the user level of the order and the profit value of the order, the list of delivery warehouses for the order can be comprehensively calculated. In the follow-up, the inventory calculation of the items in the order in the distributable warehouse can be performed again based on the distribution warehouse list. If the inventory in the distribution warehouse list shows that it can be produced, it will be transferred to production. It improves the availability of orders, reduces the order out-of-stock rate, and reduces the number of suspended orders in the transfer link, thereby improving customer satisfaction, especially the consumption experience of high-level or high-spending users. It solves the problem that in the prior art, when generating the delivery list of an order, only the warehouses that can be delivered can be determined according to the delivery address of the order and the fixed selection range, and the delivery warehouse list cannot be dynamically generated according to the different priority information of different orders The problem.

图3是根据本发明实施例生成订单的配送库房列表的装置的主要模块的示意图,如图3所示,本发明实施例生成订单的配送库房列的装置300主要包括获取模块301、确定模块302和生成模块303。Fig. 3 is a schematic diagram of the main modules of the device for generating a list of delivery warehouses for an order according to an embodiment of the present invention. As shown in Fig. 3 , the device 300 for generating a list of distribution warehouses for an order according to an embodiment of the present invention mainly includes an acquisition module 301 and a determination module 302 and generating module 303 .

获取模块301用于,获取订单的优先级信息。订单的优先级信息包括订单的用户等级、用户信用、用户历史下单数据和订单利润中的至少一种。The acquiring module 301 is configured to acquire priority information of an order. The priority information of the order includes at least one of the order user level, user credit, user historical order data and order profit.

确定模块302用于,根据优先级信息确定出库房选择半径。确定模块302还用于,根据第一公式处理获取到的优先级信息xi,对应得到优先级数据di,i≡1,2,...,m,m为获取到的优先级信息的个数;根据第二公式以及所有的优先级数据确定出综合优先级数据d;根据第三公式以及综合优先级数据d确定出库房选择半径R。The determining module 302 is configured to determine the warehouse selection radius according to the priority information. The determining module 302 is further configured to process the obtained priority information xi according to the first formula, and obtain corresponding priority data di , where i≡1,2,...,m, m is the obtained priority information number; determine the comprehensive priority data d according to the second formula and all the priority data; determine the warehouse selection radius R according to the third formula and the comprehensive priority data d.

其中,第一公式为:i≡1,2,...,m,x1为预设的常数;Among them, the first formula is: i≡1,2,...,m, x1 is a preset constant;

第二公式为:The second formula is:

第三公式为:d1,d2,k为预设的常数。The third formula is: d1 , d2 , k are preset constants.

生成模块303用于,根据订单的配送地址、库房选择半径以及订单中包括的物品生成订单的配送库房列表。生成模块303还用于,根据订单的配送地址、库房选择半径以及订单中包括的物品生成候选配送库房列表;对于候选配送库房列表中的每个库房,根据该库房的地址信息和订单的配送地址,确定出该库房到达配送地址的配送路线;根据每个配送路线相应地确定出候选配送库房列表中的每个库房的单位利润;基于候选配送库房列表,根据确定出的每个库房的单位利润和预设阈值生成订单的配送库房列表。The generating module 303 is configured to generate a list of delivery warehouses for the order according to the delivery address of the order, the selection radius of the warehouse, and the items included in the order. The generation module 303 is also used to generate a candidate delivery warehouse list according to the delivery address of the order, the warehouse selection radius and the items included in the order; for each warehouse in the candidate delivery warehouse list, according to the address information of the warehouse and the delivery address of the order , determine the delivery route of the warehouse to the delivery address; determine the unit profit of each warehouse in the candidate delivery warehouse list according to each delivery route; based on the candidate delivery warehouse list, according to the determined unit profit of each warehouse and preset thresholds to generate a list of delivery warehouses for orders.

生成模块还用于,对于每个配送路线,获取该配送路线的途经点的位置信息;根据途径点的位置信息确定出该配送路线的仓储成本、运营成本和运输成本,将仓储成本、运营成本和运输成本的总和作为该配送路线对应的库房的单位成本;确定订单中每个物品的价值数据;根据库房的单位成本以及价值数据,确定出该库房单位利润。The generating module is also used for, for each delivery route, obtaining the position information of the passing point of the delivery route; determining the storage cost, operating cost and transportation cost of the delivery route according to the position information of the passing point, and calculating the storage cost, operating cost The sum of the transportation cost and the transportation cost is taken as the unit cost of the warehouse corresponding to the delivery route; the value data of each item in the order is determined; and the unit profit of the warehouse is determined according to the unit cost and value data of the warehouse.

生成模块还用于,根据确定出的每个库房的单位利润对候选配送库房列表进行排序;根据排序的结果和预设阈值对候选配送库房列表中的库房进行筛选处理,以得到订单的配送库房列表。The generating module is also used to sort the list of candidate delivery warehouses according to the determined unit profit of each warehouse; to filter the warehouses in the list of candidate delivery warehouses according to the sorting result and the preset threshold, so as to obtain the delivery warehouse of the order list.

本发明实施例可根据订单的优先级信息,只适用动态地确定出库房选择半径,并基于该选择半径生成该订单的配送库房列表。同时,该优先级信息为现有系统已有的一些信息(用户等级、用户历史下单数据或者订单利润),有便于该技术方案的实施。并且,能够在控制成本的前提下,结合订单的用户等级和订单利润值等优先级信息,综合计算出订单的配送库房列表。后续可基于配送库房列表再次进行订单中物品在可配送库房中的库存计算,如果在配送库房列表中显示有货表示可生产,则转去生产。提高了订单的可得性,降低订单缺货率,减少转移环节的暂停订单数,从而提高客户满意度,特别是高等级或高消费用户的消费体验。解决了现有技术中在生成订单的配送列表时,只能根据订单的配送地址和固定的选择范围确定出可配送的库房,不能动态的根据不同订单的不同优先级信息相应地生成配送库房列表。The embodiment of the present invention can only dynamically determine the warehouse selection radius according to the priority information of the order, and generate the distribution warehouse list of the order based on the selection radius. At the same time, the priority information is some information (user level, user historical order data or order profit) existing in the existing system, which is convenient for the implementation of the technical solution. Moreover, under the premise of cost control, combined with priority information such as the user level of the order and the profit value of the order, the list of delivery warehouses for the order can be comprehensively calculated. In the follow-up, the inventory calculation of the items in the order in the distributable warehouse can be performed again based on the distribution warehouse list. If the inventory in the distribution warehouse list shows that it can be produced, it will be transferred to production. It improves the availability of orders, reduces the order out-of-stock rate, and reduces the number of suspended orders in the transfer link, thereby improving customer satisfaction, especially the consumption experience of high-level or high-spending users. It solves the problem that in the prior art, when generating the delivery list of an order, only the warehouses that can be delivered can be determined according to the delivery address of the order and the fixed selection range, and the delivery warehouse list cannot be dynamically generated according to the different priority information of different orders .

图4示出了可以应用本发明实施例的生成订单的配送库房列表的方法或生成订单的配送库房列表的装置的示例性系统架构400。Fig. 4 shows an exemplary system architecture 400 to which the method for generating an order delivery warehouse list or the device for generating an order delivery warehouse list according to an embodiment of the present invention can be applied.

如图4所示,系统架构400可以包括终端设备401、402、403,网络404和服务器405。网络404用以在终端设备401、402、403和服务器405之间提供通信链路的介质。网络404可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。As shown in FIG. 4 , the system architecture 400 may include terminal devices 401 , 402 , 403 , a network 404 and a server 405 . The network 404 is used as a medium for providing communication links between the terminal devices 401 , 402 , 403 and the server 405 . Network 404 may include various connection types, such as wires, wireless communication links, or fiber optic cables, among others.

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

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

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

需要说明的是,本发明实施例所提供的生成订单的配送库房列表的方法一般由服务器405执行,相应地,生成订单的配送库房列表的装置一般设置于服务器405中。It should be noted that the method for generating the order delivery warehouse list provided by the embodiment of the present invention is generally executed by the server 405 , and correspondingly, the device for generating the order delivery warehouse list is generally set in the server 405 .

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

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

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

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

特别地,根据本发明公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本发明公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分509从网络上被下载和安装,和/或从可拆卸介质511被安装。在该计算机程序被中央处理单元(CPU)501执行时,执行本发明的系统中限定的上述功能。In particular, according to the disclosed embodiments of the present invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, the disclosed embodiments of the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, where the computer program includes program codes for executing the methods shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via communication portion 509 and/or installed from removable media 511 . When this computer program is executed by a central processing unit (CPU) 501, the above-mentioned 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. A computer readable storage medium may 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 computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer diskettes, hard disks, 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 of the above. 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, in which computer-readable program codes are carried. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. . Program code embodied on a computer readable medium may be transmitted using any appropriate 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 a flowchart or block diagram may represent a module, program segment, or portion of code that includes one or more logical functions for implementing specified executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the block 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 they may sometimes be executed in the reverse order, depending upon the functionality involved. It should also be noted that each block in the block diagrams or flowchart illustrations, and combinations of blocks in the block diagrams or flowchart illustrations, can be implemented by a dedicated hardware-based system that performs the specified function or operation, or can be implemented by a A combination of dedicated hardware and computer instructions.

描述于本发明实施例中所涉及到的模块可以通过软件的方式实现,也可以通过硬件的方式来实现。所描述的模块也可以设置在处理器中,例如,可以描述为:一种处理器包括获取模块、确定模块和生成模块。其中,这些模块的名称在某种情况下并不构成对该模块本身的限定,例如,获取模块还可以被描述为“获取订单的优先级信息的模块”。The modules involved in the embodiments described in the present invention may be realized by software or by hardware. The described modules can also be set in a processor, for example, it can be described as: a processor includes an acquisition module, a determination module and a generation module. Wherein, the names of these modules do not constitute a limitation of the module itself under certain circumstances, for example, the acquiring module may also be described as "a module for acquiring order priority information".

作为另一方面,本发明还提供了一种计算机可读介质,该计算机可读介质可以是上述实施例中描述的设备中所包含的;也可以是单独存在,而未装配入该设备中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被一个该设备执行时,使得该设备包括:获取订单的优先级信息;根据优先级信息确定出库房选择半径;根据订单的配送地址、库房选择半径以及订单中包括的物品生成订单的配送库房列表。As another aspect, the present invention also provides a computer-readable medium. The computer-readable medium may be contained in the device described in the above embodiments, or it may exist independently 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 one of the devices, the device includes: obtaining order priority information; determining a warehouse selection radius according to the priority information; Generates a list of shipping warehouses for an order based on the order's shipping address, the warehouse selection radius, and the items included in the order.

本发明实施例可根据订单的优先级信息,只适用动态地确定出库房选择半径,并基于该选择半径生成该订单的配送库房列表。同时,该优先级信息为现有系统已有的一些信息(用户等级、用户历史下单数据或者订单利润),有便于该技术方案的实施。并且,能够在控制成本的前提下,结合订单的用户等级和订单利润值等优先级信息,综合计算出订单的配送库房列表。后续可基于配送库房列表再次进行订单中物品在可配送库房中的库存计算,如果在配送库房列表中显示有货表示可生产,则转去生产。提高了订单的可得性,降低订单缺货率,减少转移环节的暂停订单数,从而提高客户满意度,特别是高等级或高消费用户的消费体验。解决了现有技术中在生成订单的配送列表时,只能根据订单的配送地址和固定的选择范围确定出可配送的库房,不能动态的根据不同订单的不同优先级信息相应地生成配送库房列表的问题。The embodiment of the present invention can only dynamically determine the warehouse selection radius according to the priority information of the order, and generate the distribution warehouse list of the order based on the selection radius. At the same time, the priority information is some information (user level, user historical order data or order profit) existing in the existing system, which is convenient for the implementation of the technical solution. Moreover, under the premise of cost control, combined with priority information such as the user level of the order and the profit value of the order, the list of delivery warehouses for the order can be comprehensively calculated. In the follow-up, the inventory calculation of the items in the order in the distributable warehouse can be performed again based on the distribution warehouse list. If the inventory in the distribution warehouse list shows that it can be produced, it will be transferred to production. It improves the availability of orders, reduces the order out-of-stock rate, and reduces the number of suspended orders in the transfer link, thereby improving customer satisfaction, especially the consumption experience of high-level or high-spending users. It solves the problem that in the prior art, when generating the delivery list of an order, only the warehouses that can be delivered can be determined according to the delivery address of the order and the fixed selection range, and the delivery warehouse list cannot be dynamically generated according to the different priority information of different orders The problem.

上述具体实施方式,并不构成对本发明保护范围的限制。本领域技术人员应该明白的是,取决于设计要求和其他因素,可以发生各种各样的修改、组合、子组合和替代。任何在本发明的精神和原则之内所作的修改、等同替换和改进等,均应包含在本发明保护范围之内。The above specific implementation methods do not constitute a limitation to the protection scope of the present invention. It should be apparent to 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 principles of the present invention shall be included within the protection scope of the present invention.

Claims (13)

Translated fromChinese
1.一种生成订单的配送库房列表的方法,其特征在于,包括:1. A method for generating a distribution warehouse list for an order, comprising:获取订单的优先级信息;Get order priority information;根据所述优先级信息确定出库房选择半径;Determine the warehouse selection radius according to the priority information;根据所述订单的配送地址、所述库房选择半径以及所述订单中包括的物品生成所述订单的配送库房列表。A list of delivery warehouses for the order is generated according to the delivery address of the order, the selection radius of the warehouse, and the items included in the order.2.根据权利要求1所述的方法,其特征在于,所述订单的优先级信息包括订单的用户等级、用户信用、用户历史下单数据和订单利润中的至少一种。2 . The method according to claim 1 , wherein the order priority information includes at least one of order user level, user credit, user historical order data and order profit.3.根据权利要求1所述的方法,其特征在于,3. The method of claim 1, wherein,根据所述优先级信息确定出库房选择半径的步骤包括:The step of determining the warehouse selection radius according to the priority information includes:根据第一公式处理获取到的优先级信息xi,对应得到优先级数据di,i≡1,2,...,m,m为获取到的优先级信息的个数;Process the acquired priority information xi according to the first formula, correspondingly obtain priority data di , i≡1,2,...,m, m is the number of acquired priority information;根据第二公式以及所有的优先级数据确定出综合优先级数据d;Determine the comprehensive priority data d according to the second formula and all the priority data;根据第三公式以及所述综合优先级数据d确定出库房选择半径R;Determine the warehouse selection radius R according to the third formula and the comprehensive priority data d;其中,所述第一公式为:i≡1,2,...,m,x1为预设的常数;Wherein, the first formula is: i≡1,2,...,m, x1 is a preset constant;所述第二公式为:The second formula is:所述第三公式为:d1,d2,k为预设的常数。The third formula is: d1 , d2 , k are preset constants.4.根据权利要求1所述的方法,其特征在于,根据所述订单的配送地址、所述库房选择半径以及所述订单中包括的物品生成所述订单的配送库房列表的步骤包括:4. The method according to claim 1, wherein the step of generating the list of delivery warehouses for the order according to the delivery address of the order, the selection radius of the warehouse and the items included in the order comprises:根据所述订单的配送地址、所述库房选择半径以及所述订单中包括的物品生成候选配送库房列表;generating a list of candidate delivery warehouses according to the delivery address of the order, the selection radius of the warehouse, and the items included in the order;对于所述候选配送库房列表中的每个库房,根据该库房的地址信息和所述订单的配送地址,确定出该库房到达所述配送地址的配送路线;For each warehouse in the list of candidate delivery warehouses, according to the address information of the warehouse and the delivery address of the order, determine the delivery route from the warehouse to the delivery address;根据每个配送路线相应地确定出所述候选配送库房列表中的每个库房的单位利润;Correspondingly determine the unit profit of each warehouse in the candidate distribution warehouse list according to each delivery route;基于所述候选配送库房列表,根据确定出的每个库房的单位利润和预设阈值生成所述订单的配送库房列表。Based on the list of candidate delivery warehouses, a list of delivery warehouses for the order is generated according to the determined unit profit of each warehouse and a preset threshold.5.根据权利要求4所述的方法,其特征在于,根据每个配送路线相应地确定出所述候选配送库房列表中的每个库房的单位利润的步骤包括:5. The method according to claim 4, wherein the step of correspondingly determining the unit profit of each warehouse in the candidate distribution warehouse list according to each delivery route comprises:对于每个配送路线,获取该配送路线的途经点的位置信息;For each delivery route, obtain the location information of the passing points of the delivery route;根据所述途径点的位置信息确定出该配送路线的仓储成本、运营成本和运输成本,将仓储成本、运营成本和运输成本的总和作为该配送路线对应的库房的单位成本;Determine the storage cost, operating cost and transportation cost of the distribution route according to the location information of the route point, and use the sum of the storage cost, operation cost and transportation cost as the unit cost of the warehouse corresponding to the distribution route;确定所述订单中每个物品的价值数据;determining value data for each item in said order;根据所述库房的单位成本以及所述价值数据,确定出该库房单位利润。According to the unit cost of the warehouse and the value data, the unit profit of the warehouse is determined.6.根据权利要求4所述的方法,其特征在于,基于所述候选配送库房列表,根据确定出的每个库房的单位利润和预设阈值生成所述订单的配送库房列表的步骤包括:6. The method according to claim 4, wherein, based on the list of candidate delivery warehouses, the step of generating the list of delivery warehouses for the order according to the determined unit profit of each warehouse and a preset threshold value comprises:根据确定出的每个库房的单位利润对所述候选配送库房列表进行排序;sorting the list of candidate distribution warehouses according to the determined unit profit of each warehouse;根据所述排序的结果和预设阈值对所述候选配送库房列表中的库房进行筛选处理,以得到所述订单的配送库房列表。The warehouses in the list of candidate delivery warehouses are screened according to the sorting result and a preset threshold to obtain a list of delivery warehouses for the order.7.一种生成订单的配送库房列表的装置,其特征在于,包括:7. A device for generating a distribution warehouse list for an order, characterized in that it comprises:获取模块,用于获取订单的优先级信息;The acquisition module is used to obtain the priority information of the order;确定模块,用于根据所述优先级信息确定出库房选择半径;A determining module, configured to determine a warehouse selection radius according to the priority information;生成模块,用于根据所述订单的配送地址、所述库房选择半径以及所述订单中包括的物品生成所述订单的配送库房列表。A generating module, configured to generate a list of delivery warehouses for the order according to the delivery address of the order, the selection radius of the warehouse, and the items included in the order.8.根据权利要求7所述的装置,其特征在于,所述确定模块还用于,根据第一公式处理获取到的优先级信息xi,对应得到优先级数据di,i≡1,2,...,m,m为获取到的优先级信息的个数;8. The device according to claim 7, wherein the determining module is further configured to process the obtained priority information xi according to the first formula, and correspondingly obtain priority data di , i≡1,2 ,...,m, m is the number of priority information obtained;根据第二公式以及所有的优先级数据确定出综合优先级数据d;Determine the comprehensive priority data d according to the second formula and all the priority data;根据第三公式以及所述综合优先级数据d确定出库房选择半径R;Determine the warehouse selection radius R according to the third formula and the comprehensive priority data d;其中,所述第一公式为:i≡1,2,...,m,x1为预设的常数;Wherein, the first formula is: i≡1,2,...,m, x1 is a preset constant;所述第二公式为:The second formula is:所述第三公式为:d1,d2,k为预设的常数。The third formula is: d1 , d2 , k are preset constants.9.根据权利要求7所述的装置,其特征在于,所述生成模块还用于,根据所述订单的配送地址、所述库房选择半径以及所述订单中包括的物品生成候选配送库房列表;对于所述候选配送库房列表中的每个库房,根据该库房的地址信息和所述订单的配送地址,确定出该库房到达所述配送地址的配送路线;根据每个配送路线相应地确定出所述候选配送库房列表中的每个库房的单位利润;基于所述候选配送库房列表,根据确定出的每个库房的单位利润和预设阈值生成所述订单的配送库房列表。9. The device according to claim 7, wherein the generation module is further configured to generate a list of candidate delivery warehouses according to the delivery address of the order, the selection radius of the warehouse, and the items included in the order; For each warehouse in the list of candidate delivery warehouses, according to the address information of the warehouse and the delivery address of the order, determine the delivery route from the warehouse to the delivery address; The unit profit of each warehouse in the list of candidate delivery warehouses; based on the list of candidate delivery warehouses, a list of delivery warehouses for the order is generated according to the determined unit profit of each warehouse and a preset threshold.10.根据权利要求9所述的装置,其特征在于,所述生成模块还用于,对于每个配送路线,获取该配送路线的途经点的位置信息;根据所述途径点的位置信息确定出该配送路线的仓储成本、运营成本和运输成本,将仓储成本、运营成本和运输成本的总和作为该配送路线对应的库房的单位成本;确定所述订单中每个物品的价值数据;根据所述库房的单位成本以及所述价值数据,确定出该库房单位利润。10. The device according to claim 9, wherein the generating module is further configured to, for each delivery route, obtain the location information of the passing points of the delivery route; determine the For the storage cost, operating cost and transportation cost of the delivery route, the sum of the storage cost, operating cost and transportation cost is taken as the unit cost of the warehouse corresponding to the delivery route; determine the value data of each item in the order; according to the The unit cost of the warehouse and said value data determine the unit profit of the warehouse.11.根据权利要求9所述的装置,其特征在于,所述生成模块还用于,根据确定出的每个库房的单位利润对所述候选配送库房列表进行排序;根据所述排序的结果和预设阈值对所述候选配送库房列表中的库房进行筛选处理,以得到所述订单的配送库房列表。11. The device according to claim 9, wherein the generating module is further configured to sort the list of candidate delivery warehouses according to the determined unit profit of each warehouse; according to the result of the sorting and The preset threshold value is used to screen the warehouses in the list of candidate delivery warehouses to obtain the list of delivery warehouses for the order.12.一种生成订单的配送库房列表的电子设备,其特征在于,包括:12. An electronic device for generating a distribution warehouse list for an order, characterized in that it comprises:一个或多个处理器;one or more processors;存储装置,用于存储一个或多个程序,storage means for storing one or more programs,当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-6中任一所述的方法。When the one or more programs are executed by the one or more processors, the one or more processors are made to implement the method according to any one of claims 1-6.13.一种计算机可读介质,其上存储有计算机程序,其特征在于,所述程序被处理器执行时实现如权利要求1-6中任一所述的方法。13. A computer-readable medium, on which a computer program is stored, wherein, when the program is executed by a processor, the method according to any one of claims 1-6 is realized.
CN201810170824.1A2018-03-012018-03-01 A method and device for generating a delivery warehouse list for an orderActiveCN110222860B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201810170824.1ACN110222860B (en)2018-03-012018-03-01 A method and device for generating a delivery warehouse list for an order

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201810170824.1ACN110222860B (en)2018-03-012018-03-01 A method and device for generating a delivery warehouse list for an order

Publications (2)

Publication NumberPublication Date
CN110222860Atrue CN110222860A (en)2019-09-10
CN110222860B CN110222860B (en)2024-12-06

Family

ID=67821869

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201810170824.1AActiveCN110222860B (en)2018-03-012018-03-01 A method and device for generating a delivery warehouse list for an order

Country Status (1)

CountryLink
CN (1)CN110222860B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112700177A (en)*2019-10-222021-04-23北京京东振世信息技术有限公司Warehouse selection method and device for transporting transportation center and storage medium
CN113379101A (en)*2021-05-062021-09-10北京沃东天骏信息技术有限公司Distribution method, device and equipment of abnormal orders and storage medium
CN113592245A (en)*2021-07-052021-11-02杭州智家通科技有限公司 Inventory adjustment method and device
CN113657824A (en)*2021-07-232021-11-16上海百奥泉国际冷链物流有限公司Cold-chain logistics scheduling management method, system, device and storage medium
CN114648174A (en)*2022-04-202022-06-21北京京东振世信息技术有限公司 Site recommendation method and apparatus

Citations (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103020790A (en)*2012-10-302013-04-03北京京东世纪贸易有限公司Method and device for pre-sorting order
US20130290565A1 (en)*2010-12-282013-10-31Fujitsu LimitedStorage medium, information processing device and method
CN104361482A (en)*2014-12-092015-02-18北京京东尚科信息技术有限公司Method and system for distributing orders to storehouse
CN104463516A (en)*2013-09-182015-03-25Sap欧洲公司Order/vehicle distribution based on order density
US9172738B1 (en)*2003-05-082015-10-27Dynamic Mesh Networks, Inc.Collaborative logistics ecosystem: an extensible framework for collaborative logistics
CN105894354A (en)*2016-03-302016-08-24乐视控股(北京)有限公司Automatic order source-searching method and system
CN106815700A (en)*2015-12-022017-06-09阿里巴巴集团控股有限公司Logistics information processing method and processing device
CN107169604A (en)*2017-05-172017-09-15北京京东尚科信息技术有限公司Logistics distribution method and device
WO2017173783A1 (en)*2016-04-072017-10-12中兴通讯股份有限公司Method of displaying point of interest, and terminal

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US9172738B1 (en)*2003-05-082015-10-27Dynamic Mesh Networks, Inc.Collaborative logistics ecosystem: an extensible framework for collaborative logistics
US20130290565A1 (en)*2010-12-282013-10-31Fujitsu LimitedStorage medium, information processing device and method
CN103020790A (en)*2012-10-302013-04-03北京京东世纪贸易有限公司Method and device for pre-sorting order
CN104463516A (en)*2013-09-182015-03-25Sap欧洲公司Order/vehicle distribution based on order density
CN104361482A (en)*2014-12-092015-02-18北京京东尚科信息技术有限公司Method and system for distributing orders to storehouse
CN106815700A (en)*2015-12-022017-06-09阿里巴巴集团控股有限公司Logistics information processing method and processing device
CN105894354A (en)*2016-03-302016-08-24乐视控股(北京)有限公司Automatic order source-searching method and system
WO2017173783A1 (en)*2016-04-072017-10-12中兴通讯股份有限公司Method of displaying point of interest, and terminal
CN107169604A (en)*2017-05-172017-09-15北京京东尚科信息技术有限公司Logistics distribution method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112700177A (en)*2019-10-222021-04-23北京京东振世信息技术有限公司Warehouse selection method and device for transporting transportation center and storage medium
CN113379101A (en)*2021-05-062021-09-10北京沃东天骏信息技术有限公司Distribution method, device and equipment of abnormal orders and storage medium
CN113592245A (en)*2021-07-052021-11-02杭州智家通科技有限公司 Inventory adjustment method and device
CN113657824A (en)*2021-07-232021-11-16上海百奥泉国际冷链物流有限公司Cold-chain logistics scheduling management method, system, device and storage medium
CN114648174A (en)*2022-04-202022-06-21北京京东振世信息技术有限公司 Site recommendation method and apparatus

Also Published As

Publication numberPublication date
CN110222860B (en)2024-12-06

Similar Documents

PublicationPublication DateTitle
US12373866B2 (en)Personalized delivery time estimate system
US10636008B2 (en)Data processing system and method
CN110222860A (en)A kind of method and apparatus for the dispatching storehouse list generating order
CN110880084A (en) Method and device for warehouse replenishment
US20130159515A1 (en)Providing a Monitoring Service in a Cloud-Based Computing Environment
CN113762858B (en)Inventory management method and device
CN110826831A (en)Method and device for restocking a picking zone of a warehouse
CN109345166B (en) Method and apparatus for generating information
WO2021073477A1 (en)Method and apparatus for supporting modification of consignee information
CN110648089A (en)Method and device for determining delivery timeliness of articles
CN111260270A (en) Method and device for improving store order processing efficiency
CN111507651A (en)Order data processing method and device applied to man-machine mixed warehouse
CN113762566B (en)Method and device for calculating delivery time
CN113706064A (en)Order processing method and device
CN110827102B (en)Method and device for adjusting goods price
CN110008970A (en)A kind of address information generation method and device
CN113780914A (en) Inventory allocation method and device
CN110826948B (en) Warehouse product selection methods and devices
CN112053106A (en) A method and device for managing items out of warehouse
CN113537676B (en)Method and device for determining completion time of transportation task
CN112785358B (en) A method and device for accessing an order fulfillment merchant
CN111932047A (en)Method, apparatus, device and computer readable medium for assigning a multi-tasking set
CN114493445A (en) Order information processing method, apparatus, electronic device and computer readable medium
CN113762879A (en) Method, device and system for setting postage
CN113822516A (en)Matching method and device for distribution and transportation side

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp