[go: up one dir, main page]

CN103679316A - Real-time dispatching and delivery method and device - Google Patents

Real-time dispatching and delivery method and device Download PDF

Info

Publication number
CN103679316A
CN103679316A CN201210357181.4A CN201210357181A CN103679316A CN 103679316 A CN103679316 A CN 103679316A CN 201210357181 A CN201210357181 A CN 201210357181A CN 103679316 A CN103679316 A CN 103679316A
Authority
CN
China
Prior art keywords
transport
delivery
commodity
destination address
transportation
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.)
Pending
Application number
CN201210357181.4A
Other languages
Chinese (zh)
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.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group 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 China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201210357181.4A priority Critical patent/CN103679316A/en
Publication of CN103679316A publication Critical patent/CN103679316A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明公开了一种实时调度配送方法及装置。当实时调度装置接收包含商品标识和配送目的地址的配送计划更改指令时,根据配送商品的运输工具的行驶路径和配送目的地址,确定将商品标识所表示的商品配送到配送目的地址的运输工具,并根据配送目的地址和确定的运输工具更新商品的配送计划。由此可知,实时调度装置可以根据用户的需求实时更改配送计划,避免了按原计划配送商品失败后需要再次按更改的配送计划配送商品的情况的出现,从而在节省配送资源的基础上降低了配送的失败率。

Figure 201210357181

The invention discloses a method and device for real-time scheduling and delivery. When the real-time dispatching device receives the delivery plan modification instruction including the commodity identification and the delivery destination address, it determines the transportation means to deliver the commodity represented by the commodity identification to the delivery destination address according to the travel route and the delivery destination address of the transportation means for delivering the commodity, And update the delivery plan of the commodity according to the delivery destination address and the determined means of transport. It can be seen that the real-time scheduling device can change the delivery plan in real time according to the needs of users, avoiding the need to deliver the goods according to the changed delivery plan after the failure of delivering the goods according to the original plan, thereby reducing the cost of delivery on the basis of saving delivery resources. Delivery failure rate.

Figure 201210357181

Description

实时调度配送方法及装置Real-time scheduling delivery method and device

技术领域 technical field

本发明涉及业务支撑领域,尤其涉及一种实时调度配送方法及装置。The invention relates to the field of business support, in particular to a method and device for real-time scheduling and delivery.

背景技术 Background technique

随着电子商务的发展,越来越多的用户运用在线服务系统进行网上购物、商品跟踪等。现有的在线服务系统一般能够提供以下功能:(1)、提供一个用户交互系统,以提供基本的支持用户登录在线服务系统的功能,并接收用户提交的商品购买指令等;(2)、确定商品的库存状态,并生成订单;(3)、在指定期限前,处理已生成的订单,确定配送车辆和配送路径并制定固定的配送计划;(4)、用户确认配送计划后,利用现有的无线传感技术,例如RFID(RadioFrequency Identification)无线射频识别技术替代条码扫描方法,进行商品入库与出库管理;(5)在商品的配送阶段,利用现有的空间定位技术对配送车辆进行监控,并将商品的状态信息反映到在线服务系统的查询功能上;(6)对配送成功的服务进行评估,对配送失败的服务进行分析与再设计。此外,现有的大部分在线服务系统还允许用户在确认生成订单时提出特殊需求,例如具体送货时间等。With the development of e-commerce, more and more users use the online service system for online shopping and product tracking. Existing online service systems can generally provide the following functions: (1) Provide a user interaction system to provide basic functions for users to log in to the online service system and receive commodity purchase instructions submitted by users; (2) Determine (3) Before the specified deadline, process the generated order, determine the delivery vehicle and delivery route, and formulate a fixed delivery plan; (4), after the user confirms the delivery plan, use the existing Advanced wireless sensing technology, such as RFID (Radio Frequency Identification) radio frequency identification technology instead of barcode scanning method, to manage the storage and delivery of goods; Monitor and reflect the status information of the goods to the query function of the online service system; (6) Evaluate the services that have been delivered successfully, and analyze and redesign the services that have failed to deliver. In addition, most of the existing online service systems also allow users to put forward special requirements, such as specific delivery time, etc. when confirming and generating an order.

然而在现有技术中,一旦配送计划确认后,用户就不能再修改订单消息,只能按照已有的配送计划等待商品的配送。这样,如果用户的需求在商品配送的过程中发生实时改变,例如更改商品配送的目的地址,则该需求在现有技术的应用下是无法得到满足的,从而也就可能导致较高的配送失败率。另外,若送货地址发生了更改,则往往是在商品送达初始送货地址后才重新发往更改后的送货地址,这也浪费了配送资源。However, in the prior art, once the delivery plan is confirmed, the user can no longer modify the order message, and can only wait for the delivery of the product according to the existing delivery plan. In this way, if the user's demand changes in real time during the delivery of the product, such as changing the destination address of the product delivery, the demand cannot be met under the application of the existing technology, which may lead to a higher delivery failure Rate. In addition, if the delivery address is changed, it is often resent to the changed delivery address after the goods are delivered to the original delivery address, which also wastes delivery resources.

发明内容Contents of the invention

本发明实施例提供一种实时调度方法及装置,用以解决现有技术中存在的在商品配送计划确认后,不能根据用户的需求实时改变配送计划所造成的配送失败率高的问题。Embodiments of the present invention provide a real-time scheduling method and device to solve the problem in the prior art that the delivery failure rate is high due to the inability to change the delivery plan in real time according to the user's needs after the product delivery plan is confirmed.

本发明实施例采用以下技术方案:Embodiments of the present invention adopt the following technical solutions:

一种实时调度配送方法,包括:A real-time scheduling delivery method, comprising:

实时调度装置接收用户终端发送的包含商品标识和配送目的地址的配送计划更改指令;The real-time dispatching device receives the delivery plan modification instruction including the commodity identification and delivery destination address sent by the user terminal;

根据配送商品的运输工具的行驶路径和所述配送目的地址,确定将所述商品标识所表示的商品配送到所述配送目的地址的运输工具;Determine the means of transport that will deliver the commodity represented by the commodity identifier to the delivery destination address according to the travel route of the transportation means for delivering the commodity and the delivery destination address;

当确定的运输工具为按照所述配送计划配送所述商品标识所表示的商品的第一运输工具时,根据所述配送目的地址更新所述商品标识所表示的商品的配送计划;When the determined means of transport is the first means of transport for delivering the commodity represented by the commodity identifier according to the delivery plan, updating the delivery plan of the commodity represented by the commodity identifier according to the delivery destination address;

当确定的运输工具为不同于第一运输工具的其他运输工具时,根据所述配送目的地址和确定的运输工具更新所述商品标识所表示的商品的配送计划;并将更新后的商品配送计划发送给商品配送装置。When the determined means of transport is other means of transport different from the first means of transport, update the delivery plan of the commodity represented by the commodity identifier according to the delivery destination address and the determined means of transport; and update the delivery plan of the commodity after the update Sent to the product delivery device.

其中,根据配送商品的运输工具的行驶路径和所述配送目的地址,确定将所述商品标识所表示的商品配送到所述配送目的地址的运输工具,具体包括:Wherein, according to the driving route of the transport means for delivering the goods and the delivery destination address, the means of transport for delivering the goods represented by the commodity identification to the delivery destination address is determined, specifically including:

根据所述商品标识,从商品标识和按照配送计划配送商品的运输工具的对应关系中,确定配送所述指令中包含的商品标识所表示的商品的第一运输工具;According to the commodity identifier, from the corresponding relationship between the commodity identifier and the transportation means for delivering the commodity according to the delivery plan, determine the first transportation means to deliver the commodity represented by the commodity identifier included in the instruction;

根据所述配送目的地址和第一运输工具的预设行驶路径上包含的各个地址,判断所述预设行驶路径上是否包含所述配送目的地址;According to the delivery destination address and each address included in the preset driving route of the first transportation means, determine whether the delivery destination address is included in the preset driving route;

在判断结果为是时,将第一运输工具确定为所述确定的运输工具;When the judgment result is yes, determining the first means of transportation as the determined means of transportation;

在判断结果为否时,从不同于第一运输工具的其他配送商品的运输工具的行驶路径中,确定包含所述配送目的地址的候选行驶路径;并从按照候选行驶路径配送商品的运输工具中选取运输工具。When the judgment result is no, determine a candidate travel route that includes the delivery destination address from the travel routes of other transport means that are different from the first transport means; and determine a candidate travel route that includes the delivery destination address; Choose a means of transport.

进一步地,从按照候选行驶路径配送商品的运输工具中选取运输工具,具体包括:Further, the transportation means are selected from the means of transport for delivering commodities according to the candidate driving route, specifically including:

确定第一运输工具的位置和候选行驶路径所对应的运输工具的位置;determining the position of the first transport means and the position of the transport means corresponding to the candidate driving route;

根据确定的位置,按照第一运输工具与候选行驶路径所对应的运输工具之间的距离由近至远的顺序,从候选行驶路径所对应的运输工具中依次选取指定数目的运输工具;并According to the determined position, according to the order of the distance between the first transport means and the transport means corresponding to the candidate travel route from shortest to farthest, sequentially select a specified number of transport means from the transport means corresponding to the candidate travel route; and

根据确定的位置,分别确定选取的每个运输工具与第一运输工具的交接位置;并预测选取的每个运输工具由其所在位置先去往相应的交接位置,再去往所述指令中包含的配送目的地址所经的每条可选行驶路径所分别耗费的成本;According to the determined position, respectively determine the handover position of each selected means of transport and the first means of transport; and predict that each means of transport selected will first go to the corresponding handover position from its position, and then go to the position included in the instruction The cost of each optional driving route passed by the delivery destination address;

针对选取的每个运输工具,从为该运输工具预测的每条可选行驶路径所分别耗费的成本中确定最小成本,并确定该最小成本对应的最优可选行驶路径;For each selected means of transport, determine the minimum cost from the cost of each alternative travel route predicted for the transport means, and determine the optimal alternative travel route corresponding to the minimum cost;

比较针对选取的运输工具而分别确定的最优可选行驶路径,并选取耗费最低成本的最优可选行驶路径对应的运输工具。Comparing the optimal optional driving routes respectively determined for the selected means of transport, and selecting the means of transport corresponding to the optimal optional driving route that consumes the lowest cost.

一种实时调度装置,包括:A real-time scheduling device, comprising:

更改指令接收子模块,用于接收包含商品标识和配送目的地址的配送计划更改指令;The change instruction receiving sub-module is used to receive the delivery plan change instruction including the commodity identification and the delivery destination address;

运输工具调度子模块,用于根据配送商品的运输工具的行驶路径和所述更改指令接收子模块获得的配送目的地址,确定将所述更改指令接收子模块获得的商品标识所表示的商品配送到所述配送目的地址的运输工具;The means of transportation dispatching sub-module is used to determine where to deliver the goods represented by the commodity identification obtained by the sub-module of the change order receiving sub-module according to the travel route of the transport means for delivering the goods and the delivery destination address obtained by the change order receiving sub-module The means of transport for the stated delivery destination address;

配送计划确定子模块,用于当所述运输工具调度子模块确定的运输工具为按照所述配送计划配送所述商品标识所表示的商品的第一运输工具时,根据所述配送目的地址更新所述商品标识所表示的商品的配送计划;当所述运输工具调度子模块确定的运输工具为不同于第一运输工具的其他运输工具时,根据所述配送目的地址和确定的运输工具更新所述商品标识所表示的商品的配送计划;The delivery plan determination sub-module is used to update the delivery destination address according to the delivery destination when the transportation vehicle determined by the transportation means scheduling sub-module is the first transportation means for delivering the commodity indicated by the commodity identifier according to the delivery plan. The delivery plan of the commodity represented by the commodity identifier; when the transportation means determined by the transportation means scheduling submodule is other than the first means of transportation, update the The delivery plan of the commodity represented by the commodity identifier;

配送计划发送子模块,用于将更新后的商品配送计划发送给商品配送装置。The delivery plan sending sub-module is used to send the updated commodity delivery plan to the commodity delivery device.

其中,运输工具调度子模块具体包括:Among them, the transportation means scheduling sub-module specifically includes:

第一运输工具指定单元,用于根据所述更改指令接收子模块获得的商品标识,从商品标识和按照配送计划配送商品的运输工具的对应关系中,确定配送所述更改指令接收子模块接收的更改指令中包含的商品标识所表示的商品的第一运输工具;The first means of transport specifying unit is used to determine the delivery received by the change order receiving submodule from the corresponding relationship between the commodity identity and the means of transport for delivering the goods according to the delivery plan according to the commodity identification obtained by the modification instruction receiving submodule. Change the first means of transport for the goods represented by the commodity identification contained in the order;

判断单元,用于根据所述配送目的地址和所述第一运输工具指定单元确定的第一运输工具的预设行驶路径上包含的各个地址,判断所述预设行驶路径上是否包含所述配送目的地址;A judging unit, configured to judge whether the delivery is included in the preset driving route according to the delivery destination address and each address included in the preset driving route of the first transportation means determined by the first transportation means specifying unit Destination address;

运输工具选择单元,用于在判断单元得到的判断结果为是时,将第一运输工具确定为所述确定的运输工具;在判断单元得到的判断结果为否时,从不同于第一运输工具的其他配送商品的运输工具的行驶路径中,确定包含所述配送目的地址的候选行驶路径,并从按照候选行驶路径配送商品的运输工具中选取运输工具。The means of transport selection unit is used to determine the first means of transport as the determined means of transport when the judgment result obtained by the judging unit is yes; Among the driving routes of other means of transport that deliver commodities, determine a candidate driving route that includes the delivery destination address, and select the means of transport from the means of transport that deliver goods according to the candidate driving route.

运输工具选择单元具体包括:The means of transport selection unit specifically includes:

运输工具确定第一子单元,用于在判断单元得到的判断结果为是时,将第一运输工具确定为所述确定的运输工具;The means of transport determining the first subunit is configured to determine the first means of transport as the determined means of transport when the judging result obtained by the judging unit is yes;

候选行驶路径确定子单元,用于在判断单元得到的判断结果为否时,从不同于第一运输工具的其他配送商品的运输工具的行驶路径中,确定包含所述配送目的地址的候选行驶路径;A candidate travel route determining subunit, configured to determine a candidate travel route that includes the delivery destination address from the travel routes of other transport means different from the first transport means when the judgment result obtained by the judgment unit is No ;

位置确定子单元,用于确定所述第一运输工具指定单元确定的第一运输工具的位置和候选行驶路径确定子单元确定的候选行驶路径所对应的运输工具的位置;A position determining subunit, configured to determine the position of the first transport means determined by the first means of transport specifying unit and the position of the transport means corresponding to the candidate driving route determined by the candidate driving route determination subunit;

运输工具选取子单元,用于根据所述位置确定子单元确定的位置,按照第一运输工具与候选行驶路径所对应的运输工具之间的距离由近至远的顺序,从候选行驶路径所对应的运输工具中依次选取指定数目的运输工具;The means of transport selection subunit is configured to, according to the position determined by the position determining subunit, according to the order of the distance between the first means of transport and the means of transport corresponding to the candidate driving route from shortest to farthest, from the position corresponding to the candidate driving route Select the specified number of means of transport in sequence;

成本预测子单元,用于根据所述位置确定子单元确定的位置,分别确定所述运输工具选取子单元选取的每个运输工具与第一运输工具的交接位置;并预测选取的每个运输工具由其所在位置先去往相应的交接位置,再去往所述指令中包含的配送目的地址所经的每条可选行驶路径所分别耗费的成本;The cost prediction subunit is used to respectively determine the handover position between each transport means selected by the transport means selection subunit and the first transport means according to the position determined by the position determination subunit; and predict each transport means selected The cost of each optional driving route from its location to the corresponding handover location, and then to the delivery destination contained in the instruction;

最优可选行驶路径确定子单元,用于针对所述运输工具选取子单元选取的每个运输工具,从所述成本预测子单元为该运输工具预测的每条可选行驶路径所分别耗费的成本中确定最小成本,并确定该最小成本对应的最优可选行驶路径;The optimal optional travel route determination subunit is used for each transport tool selected by the transport tool selection subunit, and the cost of each optional travel route predicted by the cost prediction subunit for the transport tool is respectively spent Determine the minimum cost in the cost, and determine the optimal optional driving route corresponding to the minimum cost;

运输工具确定第二子单元,用于通过比较最优可选行驶路径确定子单元确定的各个最优可选行驶路径,选取耗费最低成本的最优可选行驶路径对应的运输工具。The second subunit for determining the means of transportation is used to select the means of transportation corresponding to the optimal optional driving route that consumes the lowest cost by comparing the optimal optional driving routes determined by the optimal optional driving route determination subunit.

一种在线服务系统,包括商品配送装置和实时调度装置,其中:An online service system, including a commodity distribution device and a real-time scheduling device, wherein:

实时调度装置,用于接收用户终端发送的包含商品标识和配送目的地址的配送计划更改指令;根据配送商品的运输工具的行驶路径和所述配送目的地址,确定将所述商品标识所表示的商品配送到所述配送目的地址的运输工具;当确定的运输工具为按照所述配送计划配送所述商品标识所表示的商品的第一运输工具时,根据所述配送目的地址更新所述商品标识所表示的商品的配送计划;当确定的运输工具为不同于第一运输工具的其他运输工具时,根据所述配送目的地址和确定的运输工具更新所述商品标识所表示的商品的配送计划;并将更新后的商品配送计划发送给商品配送装置;The real-time scheduling device is used to receive the delivery plan modification instruction including the commodity identification and the delivery destination address sent by the user terminal; according to the driving route of the transportation means for delivering the commodity and the delivery destination address, determine the commodity represented by the commodity identifier The means of transport delivered to the delivery destination address; when the determined means of transport is the first means of transport to deliver the commodity indicated by the commodity identifier according to the delivery plan, update the value of the commodity identifier according to the delivery destination address the delivery plan of the commodity indicated; when the determined means of transport is different from the first means of transport, update the delivery plan of the commodity represented by the commodity identifier according to the delivery destination address and the determined means of transport; and Sending the updated product delivery plan to the product delivery device;

商品配送装置,用于接收实时调度装置所发送的更新后的商品配送计划,并将所述更新后的商品配送计划发送给第一运输工具和所述确定的运输工具。The commodity delivery device is configured to receive the updated commodity delivery plan sent by the real-time scheduling device, and send the updated commodity delivery plan to the first means of transport and the determined means of transport.

本发明实施例的有益效果如下:The beneficial effects of the embodiments of the present invention are as follows:

本发明实施例提供的上述方案中,在在线服务系统的商品的配送过程中增加实时调度装置,用于实现实时调度的功能,即当用户的需求在商品配送的过程中发生实时改变时,例如商品的配送目的地址的变更,该模块服务器根据配送商品的运输工具的行驶路径和配送目的地址,确定将该商品配送到配送目的地址的运输工具,并根据配送目的地址和确定的运输工具更新商品的配送计划。这样就可以根据用户的需求实时更改配送计划,避免了按原计划配送商品失败后需要再次按更改的配送计划配送商品的情况的出现,从而在节省配送资源的基础上降低了配送的失败率。In the above solution provided by the embodiment of the present invention, a real-time dispatching device is added during the delivery of goods in the online service system to realize the function of real-time scheduling, that is, when the user's demand changes in real time during the delivery of goods, for example The change of the delivery destination address of the product, the server of this module determines the transportation means to deliver the product to the delivery destination address according to the driving route and the delivery destination address of the transportation means of the delivery product, and updates the product according to the delivery destination address and the determined transportation means delivery plan. In this way, the delivery plan can be changed in real time according to the user's needs, avoiding the need to deliver the product again according to the changed delivery plan after the original plan fails to deliver the product, thereby reducing the delivery failure rate on the basis of saving distribution resources.

附图说明 Description of drawings

图1为本发明实施例提供的一种实时调度配送方法流程图;Fig. 1 is a flow chart of a real-time scheduling delivery method provided by an embodiment of the present invention;

图2为本发明实施例提供的现有的在线服务系统;Fig. 2 is the existing online service system provided by the embodiment of the present invention;

图3为本发明实施例提供的现有的在线服务系统的工作流程图;Fig. 3 is the work flowchart of the existing online service system provided by the embodiment of the present invention;

图4为本发明实施例提供的在线服务系统的工作流程图;Fig. 4 is the working flowchart of the online service system provided by the embodiment of the present invention;

图5为本发明实施例提供的增加了实时调度配送功能的在线服务系统的结构示意图;FIG. 5 is a schematic structural diagram of an online service system provided with a real-time scheduling delivery function provided by an embodiment of the present invention;

图6为本发明实施例提供的两阶段禁忌搜索算法流程图;FIG. 6 is a flow chart of a two-stage tabu search algorithm provided by an embodiment of the present invention;

图7a至图7f为本发明实施例提供的增加了实时调度配送功能的在线服务系统中各个模块的工作流程图。Fig. 7a to Fig. 7f are work flow charts of various modules in the online service system provided with the real-time scheduling delivery function provided by the embodiment of the present invention.

具体实施方式 Detailed ways

为避免不能根据用户的需求实时改变配送计划所造成的配送失败率高的问题,本发明实施例提出了一种实时调度配送方法。当用于实现本发明实施例提供的该方法的装置(也称实时调度装置,如现有技术中进行配送工具调度的服务器,或现有技术中用于生成商品配送计划的服务器等)接收包含商品标识和配送目的地址的配送计划更改指令时,根据配送商品的运输工具的行驶路径和配送目的地址,确定将商品标识所表示的商品配送到配送目的地址的运输工具,并根据配送目的地址和确定的运输工具更新商品的配送计划。运用该实时调度配送方法,实时调度装置可以根据用户的需求实时更改配送计划,避免了按原计划配送商品失败后需要再次按更改的配送计划配送商品的情况的出现,从而在节省配送资源的基础上降低了配送的失败率。In order to avoid the problem of high delivery failure rate caused by the inability to change the delivery plan in real time according to the needs of users, the embodiment of the present invention proposes a real-time dispatching delivery method. When the device used to realize the method provided by the embodiment of the present invention (also called a real-time scheduling device, such as a server for dispatching delivery tools in the prior art, or a server for generating a commodity delivery plan in the prior art, etc.) receives the When ordering to change the delivery plan of the commodity identification and delivery destination address, determine the means of transportation that will deliver the commodity indicated by the commodity identification to the delivery destination address based on the travel route and delivery destination address of the transportation vehicle that delivers the commodity, and The determined carrier updates the delivery plan for the item. Using the real-time scheduling and delivery method, the real-time scheduling device can change the delivery plan in real time according to the needs of users, avoiding the need to deliver the goods again according to the changed delivery plan after the original plan fails to deliver the goods, thereby saving distribution resources. Reduced delivery failure rate.

以下结合说明书附图对本发明的实施例进行说明,应当理解,此处所描述的实施例仅用于说明和解释本发明,并不用于限制本发明。并且在不冲突的情况下,本说明中的实施例及实施列中的特征可以互相结合。The embodiments of the present invention will be described below in conjunction with the accompanying drawings. It should be understood that the embodiments described here are only used to illustrate and explain the present invention, and are not intended to limit the present invention. And, in the case of no conflict, the features in the embodiments and the series of embodiments in this description can be combined with each other.

实施例1Example 1

基于上述基本思想,本发明实施例提供的一种实时调度配送方法流程图如图1所示,具体包括以下步骤:Based on the above basic idea, a flow chart of a real-time scheduling delivery method provided by the embodiment of the present invention is shown in Figure 1, which specifically includes the following steps:

步骤11、实时调度装置接收用户终端发送的包含商品标识和配送目的地址的配送计划更改指令。Step 11, the real-time scheduling device receives the delivery plan modification instruction sent by the user terminal, which includes the commodity identifier and the delivery destination address.

在商品配送的过程中,用户需要更改商品的配送目的地址,向实时调度装置发送配送计划更改指令,该配送计划更改指令包含商品标识和配送目的地址,实时调度装置接收配送计划更改指令。In the process of commodity delivery, the user needs to change the delivery destination address of the commodity, and sends a delivery plan modification instruction to the real-time dispatching device. The delivery plan modification instruction includes the commodity identification and the delivery destination address, and the real-time dispatching device receives the delivery plan modification instruction.

步骤12、实时调度装置根据配送商品的运输工具的行驶路径和配送目的地址,确定将商品标识所表示的商品配送到配送目的地址的运输工具,并在确定的运输工具为按照原配送计划配送所述商品标识所表示的商品的第一运输工具时,执行步骤13,而在确定的运输工具为不同于第一运输工具的其他运输工具时,执行步骤14。Step 12: The real-time dispatching device determines the means of transport that will deliver the commodity indicated by the commodity identifier to the delivery destination according to the travel route and the delivery destination address of the means of transport used to deliver the goods, and when the determined means of transport is the delivery place according to the original delivery plan When the first means of transportation of the commodity indicated by the commodity identifier is executed, step 13 is performed, and when the determined means of transportation is other means of transportation different from the first means of transportation, step 14 is executed.

该步骤具体包括:This step specifically includes:

实时调度装置根据商品标识,从商品标识和按照配送计划配送商品的运输工具的对应关系中,确定配送指令中包含的商品标识所表示的商品的第一运输工具;该第一运输工具为装有配送商品的原配送计划中的运输工具;According to the commodity identifier, the real-time dispatching device determines the first transportation means of the commodity represented by the commodity identifier included in the delivery instruction from the corresponding relationship between the commodity identifier and the transportation means for delivering the commodity according to the delivery plan; the first transportation means is equipped with The means of transport in the original delivery plan for delivering the goods;

根据配送目的地址和第一运输工具的预设行驶路径上包含的各个地址,判断所述预设行驶路径上是否包含配送目的地址;According to the delivery destination address and each address included in the preset driving route of the first means of transportation, it is judged whether the delivery destination address is included in the preset driving route;

在判断结果为是时,将第一运输工具确定为将商品标识所表示的商品配送到配送目的地址的运输工具;When the judgment result is yes, the first transportation means is determined as the transportation means for delivering the commodity indicated by the commodity identifier to the delivery destination address;

在判断结果为否时,从不同于第一运输工具的其他配送商品的运输工具的行驶路径中,确定包含配送目的地址的候选行驶路径;并从按照候选行驶路径配送商品的运输工具中选取运输工具。When the judgment result is no, determine a candidate driving route including the delivery destination address from the driving routes of other transportation means different from the first transportation means; tool.

进一步地,从按照候选行驶路径配送商品的运输工具中选取运输工具,可以包括以下两种情况:Further, the selection of the transport means from the transport means for delivering commodities according to the candidate driving route may include the following two situations:

第一种情况为选取的运输工具需要与第一运输工具进行商品交接,在该情况下按照候选行驶路径配送商品的运输工具中选取运输工具具体可以包括以下步骤:The first case is that the selected means of transport needs to deliver goods with the first means of transport. In this case, selecting a means of transport from the means of transport for delivering goods according to the candidate driving route may specifically include the following steps:

首先,确定第一运输工具的位置和候选行驶路径所对应的运输工具的位置;根据确定的位置,按照第一运输工具与候选行驶路径所对应的运输工具之间的距离由近至远的顺序,从候选行驶路径所对应的运输工具中依次选取指定数目的运输工具;First, determine the position of the first transport means and the position of the transport means corresponding to the candidate travel route; according to the determined position, follow the order of the distance between the first transport means and the transport means corresponding to the candidate travel route from shortest to farthest , sequentially select a specified number of transport means from the means of transport corresponding to the candidate driving route;

然后,根据确定的位置,分别确定选取的每个运输工具与第一运输工具的交接位置;并预测选取的每个运输工具由其所在位置先去往相应的交接位置,再去往指令中包含的配送目的地址所经的每条可选行驶路径所分别耗费的成本;并针对选取的每个运输工具,从为该运输工具预测的每条可选行驶路径所分别耗费的成本中确定最小成本,并确定该最小成本对应的最优可选行驶路径;Then, according to the determined position, respectively determine the handover position of each selected means of transport and the first means of transport; and predict that each means of transport selected will go from its position to the corresponding handover position first, and then go to the position contained in the instruction. The cost of each optional driving route passed by the delivery destination address; and for each selected transportation tool, determine the minimum cost from the cost of each optional driving route predicted for the transportation tool , and determine the optimal travel path corresponding to the minimum cost;

最后,比较针对选取的运输工具而分别确定的最优可选行驶路径,并选取耗费最低成本的最优可选行驶路径对应的运输工具。Finally, compare the optimal optional driving routes respectively determined for the selected means of transport, and select the means of transport corresponding to the optimal optional driving route that consumes the lowest cost.

第二种情况为选取的运输工具不需要与第一运输工具进行商品交接,而是到存有配送指令中包含的商品标识所表示的商品的仓库中提取该配送商品,在该情况下按照候选行驶路径配送商品的运输工具中选取运输工具具体可以包括以下步骤:The second case is that the selected means of transport does not need to hand over the goods with the first means of transport, but picks up the delivered goods from the warehouse that stores the goods indicated by the commodity identifier contained in the delivery order. In this case, according to the candidate Selecting the means of transport from the means of transport for goods delivered by the driving route may specifically include the following steps:

首先,确定存有指令中包含的商品标识所表示的商品的仓库的位置和候选行驶路径所对应的运输工具的位置;根据确定的位置,按照仓库与候选行驶路径所对应的运输工具之间的距离由近至远的顺序,从候选行驶路径所对应的运输工具中依次选取指定数目的运输工具;First, determine the location of the warehouse containing the commodity represented by the commodity identifier contained in the instruction and the location of the transportation means corresponding to the candidate travel route; In order of distance from shortest to farthest, select a specified number of transports from the transports corresponding to the candidate travel routes;

然后,预测选取的每个运输工具由其所在位置先去往最近的仓库,再去往指令中包含的配送目的地址所经的每条可选行驶路径所分别耗费的成本;并针对选取的每个运输工具,从为该运输工具预测的每条可选行驶路径所分别耗费的成本中确定最小成本,并确定该最小成本对应的最优可选行驶路径;Then, predict the cost of each optional driving route for each selected transportation tool from its location to the nearest warehouse, and then to the delivery destination address contained in the instruction; and for each selected A means of transport, determine the minimum cost from the cost of each alternative travel path predicted for the transport means, and determine the optimal alternative travel route corresponding to the minimum cost;

最后,比较针对选取的运输工具而分别确定的最优可选行驶路径,并选取耗费最低成本的最优可选行驶路径对应的运输工具。Finally, compare the optimal optional driving routes respectively determined for the selected means of transport, and select the means of transport corresponding to the optimal optional driving route that consumes the lowest cost.

步骤13、根据配送目的地址更新所述商品标识所表示的商品的配送计划。Step 13. Update the delivery plan of the commodity indicated by the commodity identifier according to the delivery destination address.

步骤14、根据配送计划更改指令中包含的配送目的地址和确定的运输工具更新所述商品标识所表示的商品的配送计划。Step 14: Update the delivery plan of the commodity indicated by the commodity identifier according to the delivery destination address contained in the delivery plan modification instruction and the determined means of transport.

步骤15、将更新后的商品配送计划发送给商品配送装置。Step 15, sending the updated commodity delivery plan to the commodity delivery device.

综上所述,本发明实施例中当实时调度装置接收包含商品标识和配送目的地址的配送计划更改指令时,根据配送商品的运输工具的行驶路径和配送目的地址,确定将商品标识所表示的商品配送到配送目的地址的运输工具,并根据配送目的地址和确定的运输工具更新商品的配送计划。由此可知,实时调度装置可以根据用户的需求实时更改配送计划,避免了按原计划配送商品失败后需要再次按更改的配送计划配送商品的情况的出现,从而在节省配送资源的基础上降低了配送的失败率。To sum up, in the embodiment of the present invention, when the real-time dispatching device receives the delivery plan modification instruction including the commodity identifier and the delivery destination address, it determines the value indicated by the commodity identifier according to the driving route and the delivery destination address of the transportation means for delivering the commodity. The commodity is delivered to the transportation means of the delivery destination address, and the delivery plan of the commodity is updated according to the delivery destination address and the determined transportation means. It can be seen that the real-time scheduling device can change the delivery plan in real time according to the needs of users, avoiding the need to deliver the goods according to the changed delivery plan after the failure of delivering the goods according to the original plan, thereby reducing the cost of delivery on the basis of saving delivery resources. Delivery failure rate.

实施例2Example 2

结合在线服务系统,具体介绍实时调度配送方法在实际中的应用。目前在线服务系统的结构图如图2所示,具体包括:Combined with the online service system, the practical application of the real-time dispatching and delivery method is introduced in detail. The structure diagram of the current online service system is shown in Figure 2, including:

命令输入模块22,用于接收用户输入的购买请求,记录用户信息,评估资源需求,提供商品搜索,并按用户需求生成购买订单,请求用户确认购买订单。The command input module 22 is used to receive purchase requests input by users, record user information, evaluate resource requirements, provide product search, generate purchase orders according to user requirements, and request users to confirm purchase orders.

订单处理模块23,用于在用户确认购买订单后,将用户确认的购买订单分配给相关的配送实体,例如仓库或者配送车辆,并按购买订单制定配送计划,包含配送日期,配送目的地等,并将配送计划发送给用户,请求客户确认配送计划。The order processing module 23 is used for distributing the purchase order confirmed by the user to a relevant delivery entity, such as a warehouse or a delivery vehicle, after the user confirms the purchase order, and formulating a delivery plan according to the purchase order, including delivery date, delivery destination, etc. And send the delivery plan to the user, requesting the customer to confirm the delivery plan.

商品配送装置24,用于在用户确认配送计划后,确定用户优先级,设计配送服务流程,安排配送服务。该模块是服务提供者例如商品的销售方与用户之间交互模块。Commodity distribution device 24 is used to determine the user priority, design the delivery service process, and arrange the delivery service after the user confirms the delivery plan. This module is an interaction module between a service provider such as a commodity seller and a user.

服务评价模块25,用于针对用户对配送服务的评价,综合分析每次配送的服务过程与服务效果。The service evaluation module 25 is used to comprehensively analyze the service process and service effect of each delivery according to the user's evaluation of the delivery service.

申诉处理模块26,用于对配送失败的商品配送服务进行操作,分析失败原因,并尽可能地提供具有可行性的其他配送方案。The appeal processing module 26 is used to operate the delivery service of commodities that failed to be delivered, analyze the cause of the failure, and provide other feasible delivery solutions as much as possible.

其中,命令输入模块22、订单处理模块23、商品配送装置24属于在线服务系统的前台服务部分,服务评价模块25、申诉处理模块26属于在线服务系统的后台支持部分。在线服务平台21,用于将前台服务部分和后台支持部分连接起来,并为这两部分交互提供条件。Among them, the command input module 22, the order processing module 23, and the commodity distribution device 24 belong to the foreground service part of the online service system, and the service evaluation module 25 and the appeal processing module 26 belong to the background support part of the online service system. The online service platform 21 is used to connect the foreground service part and the background support part, and provide conditions for the two parts to interact.

下面结合上述各个模块的功能,详细介绍目前在线服务系统的工作流程,如图3所示。Combining the functions of the above-mentioned modules, the workflow of the current online service system will be introduced in detail below, as shown in FIG. 3 .

步骤31、在线服务系统通过命令输入模块接收用户输入的购买某商品的请求信息,向用户提供商品的检索信息,等待用户下发购买订单。Step 31, the online service system receives the request information input by the user to purchase a commodity through the command input module, provides the retrieval information of the commodity to the user, and waits for the user to issue a purchase order.

步骤32、在线服务系统的订单处理模块根据用户下发的购买订单和商品的库存状态,安排配送计划,生成配送单并请求用户确认。Step 32, the order processing module of the online service system arranges a delivery plan according to the purchase order issued by the user and the inventory status of the commodity, generates a delivery order and requests confirmation from the user.

步骤33、在用户确认配送计划后,在线服务系统的商品配送装置根据用户确认的配送计划安排配送服务。Step 33. After the user confirms the delivery plan, the commodity delivery device of the online service system arranges delivery services according to the delivery plan confirmed by the user.

步骤34、待配送服务结束后,结合用户反馈的信息,对配送成功的配送服务进行服务评价,分析服务表现,并生成评价报告。Step 34: After the delivery service is finished, evaluate the service of the successfully delivered delivery service in combination with the information fed back by the user, analyze the service performance, and generate an evaluation report.

步骤35、对配送失败的配送服务进行申诉处理,分析失败原因并进行配送服务计划的再造。Step 35: Carry out appeal processing for the failed delivery service, analyze the cause of the failure and reengineer the delivery service plan.

上述目前正在使用的在线服务系统可以满足用户在线购买商品的需求,但是一旦用户确认了配送订单,就不能再修改配送计划,只能按原配送订单的要求等待商品的配送,这样很容易导致较高的配送失败率,并且浪费了配送资源。针对上述技术问题,本发明实施例提供了一种实时调度配送方法,为目前正在使用的在线服务系统提供了商品配送的实施调度的功能,这样用户在商品出库后不仅能够实时监控商品的信息,同时也能对配送计划中的目的地址信息做出修改。并且本发明实施例在实时调度配送方法中运用了优化技术,利用车辆路径和提货仓库反馈的信息,根据用户的需求对配送计划进行实时的动态调整,从而降低了配送失败率的同时节省了配送资源。The above-mentioned online service system currently in use can meet the needs of users to purchase goods online, but once the user confirms the delivery order, he cannot modify the delivery plan, and can only wait for the delivery of the goods according to the requirements of the original delivery order. High distribution failure rate and waste of distribution resources. In view of the above technical problems, the embodiment of the present invention provides a real-time scheduling delivery method, which provides the online service system currently in use with the function of implementing scheduling of commodity delivery, so that the user can not only monitor the information of the commodity in real time after the commodity is out of the warehouse , and can also modify the destination address information in the delivery plan. In addition, the embodiment of the present invention uses optimization technology in the real-time scheduling and delivery method, and uses the information fed back from the vehicle route and the delivery warehouse to dynamically adjust the delivery plan in real time according to the needs of users, thereby reducing the delivery failure rate and saving delivery time. resource.

下面结合图4详细介绍增加了实时调度配送功能的在线服务系统。该系统的工作流程图如图4所示。The online service system added with the function of real-time scheduling and delivery will be introduced in detail below in conjunction with FIG. 4 . The workflow of the system is shown in Figure 4.

步骤41、用户根据自身的购买需求,向命令输入模块发送购买请求。Step 41, the user sends a purchase request to the command input module according to his/her own purchase demand.

步骤42、命令输入模块根据商品库存情况以及用户的购买请求生成购买订单。Step 42, the command input module generates a purchase order according to the commodity inventory and the user's purchase request.

步骤43、在用户确认购买订单后,订单处理模块根据购买订单确认配送计划,并生成配送订单。Step 43. After the user confirms the purchase order, the order processing module confirms the delivery plan according to the purchase order and generates a delivery order.

步骤44、商品配送装置接收到配送订单后,根据订单中的配送计划安排配送服务。Step 44: After receiving the delivery order, the product delivery device arranges delivery services according to the delivery plan in the order.

步骤45、在配送服务开始后,实时调度装置实时监控配送状态信息,包括配送商品的状态信息以及配送车辆所在的位置信息。Step 45. After the delivery service starts, the real-time scheduling device monitors the delivery status information in real time, including the status information of the delivered goods and the location information of the delivery vehicle.

步骤46、Step 46.

当接收到用户发送的包含商品标识和更改后的配送目的地址的配送计划更改指令后,根据各个配送车辆的行驶路径和更改后的配送目的地址(假设是M地),确定将商品标识所表示的商品(这里假设是甲商品)配送到M地的配送车辆,若原配送该商品的配送车辆(假设为A车)的行驶路径中包含M地,则根据M地在A车配送行驶路径的具体位置,更新配送甲商品的配送计划;若A车的行驶路径中不包含M地,则在其他行驶路径包含M地的配送车辆中以配送成本最低的原则选取配送车辆,并更新配送计划。After receiving the delivery plan change instruction sent by the user that includes the commodity identification and the changed delivery destination address, according to the driving route of each delivery vehicle and the changed delivery destination address (assuming it is M), determine the value represented by the commodity logo. The product (assumed to be product A here) is delivered to the delivery vehicle at M place. If the delivery vehicle (assumed to be A vehicle) that originally delivered the product includes M place in the driving route, then according to the specific details of the delivery route of M place in A vehicle, Update the delivery plan for delivery of commodity A; if the driving route of vehicle A does not include M place, select the delivery vehicle on the principle of the lowest delivery cost from other delivery vehicles that include M place, and update the delivery plan.

步骤47、实时调度装置将更新后的配送计划发送给商品配送装置。Step 47, the real-time scheduling device sends the updated delivery plan to the commodity delivery device.

步骤48、商品配送装置将更新后的配送计划下发给配送计划相关的配送车辆,包括原配送车辆和上述选取的配送车辆,重新安排配送服务。Step 48: The commodity delivery device issues the updated delivery plan to the delivery vehicles related to the delivery plan, including the original delivery vehicle and the delivery vehicle selected above, and re-arranges the delivery service.

步骤49、商品配送成功后,实时调度装置向服务评价模块发送配送成功信息。Step 49: After the delivery of the commodity is successful, the real-time scheduling device sends delivery success information to the service evaluation module.

步骤410、商品配送失败后,实时调度装置向申诉处理模块发送配送失败信息。Step 410, after the product delivery fails, the real-time scheduling device sends delivery failure information to the appeal processing module.

步骤411、申诉处理模块分析配送失败原因,并根据实际情况重新制定配送方案。Step 411, the appeal processing module analyzes the reasons for the delivery failure, and re-establishes the delivery plan according to the actual situation.

步骤412、待用户确认重新制定配送方案后,申诉处理模块将重新制定的配送方案发送至商品配送装置进行重新配送。Step 412, after the user confirms the re-formulation of the delivery plan, the appeal processing module sends the re-formulation of the delivery plan to the commodity delivery device for re-delivery.

针对在线服务系统的工作流程图,在线服务系统的结构示意图如图5所示。在目前使用的在线服务系统的商品配送装置53和服务评价模块55、申诉处理模块56之间插入了实时调度装置54。该装置在商品配送装置53进行配送服务之后被触发,主要用于根据用户的需求变化调整配送计划,并通过在线服务平台与服务评价模块55、申诉处理模块56实现互联。For the workflow flow chart of the online service system, the structural diagram of the online service system is shown in FIG. 5 . A real-time scheduling device 54 is inserted between the commodity delivery device 53 and the service evaluation module 55 and the complaint processing module 56 of the online service system currently in use. This device is triggered after the commodity delivery device 53 performs the delivery service. It is mainly used to adjust the delivery plan according to the change of the user's demand, and realizes interconnection with the service evaluation module 55 and the appeal processing module 56 through the online service platform.

具体地,实时调度装置54用于接收用户终端发送的包含商品标识和配送目的地址的配送计划更改指令;根据配送商品的运输工具的行驶路径和所述配送目的地址,确定将所述商品标识所表示的商品配送到所述配送目的地址的运输工具;当确定的运输工具为按照所述配送计划配送所述商品标识所表示的商品的第一运输工具时,根据所述配送目的地址更新所述商品标识所表示的商品的配送计划;当确定的运输工具为不同于第一运输工具的其他运输工具时,根据所述配送目的地址和确定的运输工具更新所述商品标识所表示的商品的配送计划;并将更新后的商品配送计划发送给商品配送装置53。Specifically, the real-time dispatching device 54 is used to receive a delivery plan modification instruction including a commodity identifier and a delivery destination address sent by a user terminal; The means of transportation that delivers the indicated commodity to the delivery destination address; when the determined means of transportation is the first means of transportation that delivers the commodity represented by the commodity identifier according to the delivery plan, update the Delivery plan for the commodity represented by the commodity identifier; when the determined means of transportation is other than the first means of transportation, update the delivery of the commodity represented by the commodity identifier according to the delivery destination address and the determined means of transportation plan; and send the updated commodity distribution plan to the commodity distribution device 53.

进一步地,实时调度装置54模块可以包括实时监控子模块541,调度计算子模块542以及调度执行子模块543。Further, the modules of the real-time scheduling device 54 may include a real-time monitoring sub-module 541 , a scheduling calculation sub-module 542 and a scheduling execution sub-module 543 .

其中,实时监控子模块541用于实时监控配送状态信息,包括配送商品的状态信息以及配送车辆所在的位置信息。Wherein, the real-time monitoring sub-module 541 is used for real-time monitoring of delivery status information, including status information of delivery commodities and location information of delivery vehicles.

调度计算子模块542,用于在接收到用户发送的包含商品标识和配送目的地址的配送计划更改指令后,根据各个配送车辆行驶路径和配送目的地址,确定将商品标识所表示的商品配送到配送目的地址的配送车辆。当确定的配送车辆为原配送计划配送该商品的配送车辆时,根据配送目的地址更新商品的配送计划;当确定的配送车辆为除原配送计划的配送车辆外的其他配送车辆时,根据配送目的地址和确定的配送车辆更新商品的配送计划。The scheduling calculation sub-module 542 is configured to determine to deliver the commodity indicated by the commodity identifier to the delivery station according to the travel route of each delivery vehicle and the delivery destination address after receiving the delivery plan modification instruction including the commodity identifier and the delivery destination address sent by the user. The delivery vehicle at the destination address. When the determined delivery vehicle is the delivery vehicle that delivered the commodity in the original delivery plan, update the delivery plan of the commodity according to the delivery destination address; The address and the determined delivery vehicle update the delivery plan of the product.

具体地,本发明实施例利用两阶段禁忌搜索算法来为配送计划更改指令中包含的商品标识指定的商品确定最优配送车辆和最优配送路径,从而实现配送计划的更新。该方法提供了两阶段的搜索过程,即将车辆或仓库的安排阶段作为外圈搜索过程,将商品的调配阶段分别作为内圈搜索过程,这样每当车辆或仓库安排发生变化时,商品调配阶段就开始新一轮的搜索计算,根据新的车辆或者仓库的安排更新商品调配计划。Specifically, the embodiment of the present invention uses a two-stage tabu search algorithm to determine the optimal delivery vehicle and optimal delivery route for the commodity specified by the commodity identifier included in the delivery plan modification instruction, thereby realizing the update of the delivery plan. This method provides a two-stage search process, that is, the arrangement stage of vehicles or warehouses is regarded as the outer circle search process, and the commodity allocation stage is regarded as the inner circle search process, so that whenever the arrangement of vehicles or warehouses changes, the commodity allocation stage is Start a new round of search and calculation, and update the commodity allocation plan according to the new vehicle or warehouse arrangement.

假设甲商品的原配送计划为:配送车辆A将甲商品配送至目的地N。在A车开始配送服务后,用户将甲商品的配送目的地址改为M,并且M不在A车的行驶路径中,经过M的配送车辆为B车、C车和D车。下面结合两阶段禁忌搜索算法流程图6,具体说明如何为甲商品选择配送车辆并更新配送计划。Assume that the original distribution plan of commodity A is: delivery vehicle A will deliver commodity A to destination N. After car A starts the delivery service, the user changes the delivery destination address of product A to M, and M is not in the driving path of car A, and the delivery vehicles passing through M are car B, car C and car D. Combined with the flowchart 6 of the two-stage tabu search algorithm, how to select a delivery vehicle for product A and update the delivery plan is explained in detail below.

步骤61、设定配送车辆选择初始解。Step 61, setting the initial solution for the selection of delivery vehicles.

禁忌搜索算法需要一个初始解作为搜索的出发点,本发明实施例采用两阶段禁忌搜索算法,需要同时确定车辆选择初始解和商品调配初始解。The tabu search algorithm needs an initial solution as the starting point of the search. The embodiment of the present invention adopts a two-stage tabu search algorithm, which needs to determine the initial solution for vehicle selection and the initial solution for commodity allocation at the same time.

根据上述假设,调度计算子模块542获得实时监控子模块541监控的A车的位置信息和经过M地的各个配送车辆,即B车、C车、D车的位置信息,确定A车与其他三辆配送车辆的相对位置,并根据确定的相对位置将距离A车最近的配送车辆确定为车辆选择初始解,假设为B车。According to the above assumptions, the scheduling calculation sub-module 542 obtains the location information of the A car monitored by the real-time monitoring sub-module 541 and the location information of each delivery vehicle passing through the M place, that is, the location information of the B car, the C car, and the D car, and determines the A car and the other three. According to the relative position of the delivery vehicles, and according to the determined relative position, the delivery vehicle closest to the A vehicle is determined as the initial solution of the vehicle selection, assuming that it is the B vehicle.

步骤62、设定商品调配初始解,即确定用于配送甲商品的车为B车。Step 62: Set the initial solution for commodity allocation, that is, determine that the vehicle used to deliver commodity A is vehicle B.

步骤63、生成候选解集合。Step 63, generating a set of candidate solutions.

B车获取甲商品的方式有很多种,例如B车可以选择合适的时间和位置与A车交接,提取甲商品后再继续进行配送;或者,如果A车与B车的行驶路径中都包含仓库Z,A车也可以把甲商品放在Z仓库,然后B车可以去Z仓库提取甲商品;再或者,如果Z仓库中存在与甲商品相同的商品,则可以在Z仓库重新包装甲商品,通知A车不需要配送原包装的甲商品,并由B车从Z仓库直接提取甲商品并实现配送服务。因此B车从获得甲商品到配送甲商品到配送目的地址就有很多可选的路径。假设B车配送商品的可选的行驶路径有B1,B2,B3,B4。则B1,B2,B3,B4就为候选解集合。There are many ways for car B to obtain product A. For example, car B can choose a suitable time and location to hand over to car A, pick up product A and then continue to deliver; or, if the driving paths of car A and car B include warehouses Z, car A can also put product A in warehouse Z, and then car B can go to warehouse Z to pick up product A; or, if the same product as product A exists in warehouse Z, product A can be repacked in warehouse Z. Notify car A that it does not need to deliver product A in the original packaging, and car B will directly pick up product A from warehouse Z and realize the delivery service. Therefore, car B has many optional paths from obtaining product A to delivering product A to the delivery destination. Assume that there are B1, B2, B3, and B4 options for the delivery of goods by car B. Then B1, B2, B3, and B4 are candidate solution sets.

步骤64、选择最优候选解。在该步骤中,分别计算B1,B2,B3,B4这四条可选路径所消耗的成本,选择成本最小的可选路径为最优候选解。Step 64. Select the best candidate solution. In this step, the costs consumed by the four optional paths B1, B2, B3, and B4 are calculated respectively, and the optional path with the smallest cost is selected as the optimal candidate solution.

假设B1消耗的成本为1000元,B2消耗的成本为600元,B3消耗的成本为1200元,B4消耗的成本为800元,则最优候选解为B2。Assuming that the cost consumed by B1 is 1000 yuan, the cost consumed by B2 is 600 yuan, the cost consumed by B3 is 1200 yuan, and the cost consumed by B4 is 800 yuan, then the optimal candidate solution is B2.

步骤65,判断该最优候选解是否为新最优解,如果是,则执行步骤67,如果否,则执行步骤66。Step 65, judging whether the optimal candidate solution is a new optimal solution, if yes, execute step 67, if not, execute step 66.

假设B2为新最优解,则执行步骤67。Assuming that B2 is the new optimal solution, go to step 67.

步骤66,判断该新最优解是否在商品调配禁忌表中。如果是,则执行步骤64,如果否,则执行步骤68。Step 66, judging whether the new optimal solution is in the contraindication table for commodity allocation. If yes, go to step 64, if not, go to step 68.

禁忌表的使用是为了在搜索的过程中避免短期循环与局部最优解,即每次产生最优解的配送信息都被记录在禁忌表中,这样如果再次出现了禁忌表中记录的最优解的配送信息,该最优解的配送信息将不必被重复使用。但是禁忌表有长度限制,即配送信息的个数,如果超出了禁忌表的长度,则之前保存的配送信息会依次被移出禁忌表。通常在实际应用中,商品调配禁忌表的长度可以设定为商品总数的两倍,同时车辆选择禁忌表的长度可以设定为车辆总数的两倍。The use of the taboo table is to avoid short-term cycles and local optimal solutions during the search process, that is, the delivery information that generates the optimal solution each time is recorded in the tabu table, so that if the optimal solution recorded in the tabu table appears again The delivery information of the optimal solution will not need to be reused. However, the taboo list has a length limit, that is, the number of delivery information. If the length of the taboo list is exceeded, the previously saved delivery information will be removed from the taboo list in turn. Usually, in practical applications, the length of the commodity allocation taboo table can be set to be twice the total number of commodities, and the length of the vehicle selection taboo table can be set to be twice the total number of vehicles.

步骤67、更新现时最优解。即现时最优解为选择B车B2路径配送甲商品。Step 67, updating the current optimal solution. That is, the current optimal solution is to choose the B2 route of the B car to deliver the A commodity.

步骤68、更新商品调配禁忌表。即在商品调配禁忌表中记录一个配送信息,即:B车B2路径成本600元。Step 68, updating the contraindication table for commodity allocation. That is, a delivery information is recorded in the commodity allocation taboo table, that is, the route cost of car B2 is 600 yuan.

步骤69、判断是否达到第一停止规则,如果是,则执行步骤610,如果否,则执行步骤63。Step 69 , judging whether the first stopping rule is reached, if yes, execute step 610 , if not, execute step 63 .

第一停止规则为结束商品调配阶段的依据,它可以为期望获得的最小成本值,也可以为商品调配的搜索次数,还可以为两者的结合。针对本例假设设定的第一停止规则为:成本小于500元或搜索次数达到候选路径的个数,即3个。由于B2路径的成本高于500元,且搜索次数为一次,因此没有达到第一停止规则,则返回至步骤63,重新进行新一轮的搜索最优解,直到满足第一停止规则后执行步骤610。此时商品调配禁忌表中记录了三个配送信息:The first stop rule is the basis for ending the commodity allocation stage, which can be the minimum cost value expected to be obtained, or the number of searches for commodity allocation, or a combination of the two. The first stop rule set for this example assumption is: the cost is less than 500 yuan or the number of search times reaches the number of candidate paths, that is, 3. Since the cost of the B2 path is higher than 500 yuan, and the number of searches is one, the first stop rule is not reached, then return to step 63, and a new round of search for the optimal solution is performed again until the first stop rule is satisfied. 610. At this time, there are three delivery information recorded in the commodity allocation taboo table:

B车B2路径成本600元;The cost of route B2 of car B is 600 yuan;

B车B4路径成本800元;The cost of route B4 of car B is 800 yuan;

B车B1路径成本1000元。The cost of route B1 of car B is 1,000 yuan.

在实际应用中,通常会有很多商品同时发生配送计划的变更,如果对成本的要求很高,并希望尽可能得搜索到最低成本,则此处设定的搜索次数就需要满足一个很大的值,可以为商品的总数与商品配禁忌表的长度的乘积。相反,如果对成本要求不是很高,并希望尽快获得新的配送计划,可以将第一停止规则的期望成本值提高,或减少搜索次数。In practical applications, there are usually changes in the distribution plan of many commodities at the same time. If the cost requirements are high and you want to search for the lowest cost as possible, the number of searches set here needs to meet a large The value can be the product of the total number of commodities and the length of the contraindication list for commodities. On the contrary, if the cost requirement is not very high and you want to obtain a new delivery plan as soon as possible, you can increase the expected cost value of the first stop rule, or reduce the number of searches.

步骤610、更新车辆选择禁忌表。即在车辆选择禁忌表中记录B车。Step 610, updating the taboo table for vehicle selection. That is, record B car in the vehicle selection taboo table.

步骤611、判断是否达到第二停止规则,如果是,则流程结束,如果否,则执行步骤612。Step 611 , judging whether the second stop rule is reached, if yes, the process ends, if not, execute step 612 .

第二停止规则为结束车辆选择阶段的依据,通常用期望的车辆更换次数来限定第二停止规则。如果希望尽快的确定配送计划,则可根据候选配送车辆将该搜索次数设定为一个较小的值,如果希望搜索到最优配送计划,则可将该搜索次数设定一个较大的值,例如商品总数与车辆选择禁忌表长度的乘积。The second stop rule is the basis for ending the vehicle selection phase, and the second stop rule is usually defined by the expected number of vehicle replacements. If you want to determine the delivery plan as soon as possible, you can set the number of searches to a smaller value according to the candidate delivery vehicles; if you want to search for the optimal delivery plan, you can set the number of searches to a larger value, For example, the product of the total number of commodities and the length of the taboo list for vehicle selection.

假设本例中第二停止规则为车辆搜索移动次数达到3次,则本次没有达到第二停止规则,执行步骤612Assuming that the second stop rule in this example is that the number of vehicle search movements reaches 3 times, then the second stop rule is not reached this time, and step 612 is executed

步骤612、生成一个车辆选择解,并根据该车辆选择解重新进行商品调配阶段的搜索,即步骤62至步骤69。Step 612 , generate a vehicle selection solution, and re-do the search in the commodity allocation stage according to the vehicle selection solution, that is, step 62 to step 69 .

在实际应用中,可以依据离目的地址由近及远的顺序选择包含配送目的地址的候选配送车辆,也可以依据离原配送计划中的配送车辆由近及远的顺序选择候选配送车辆。如果候选配送车辆可以到仓库去提取配送商品时,还可以依据离仓库由近及远的顺选择候选配送车辆。总之,选择候选配送车辆的方式很多,可以根据实际情况确定选取方式。In practical applications, the candidate delivery vehicles including the delivery destination address can be selected according to the order from near to far away from the destination address, or the candidate delivery vehicles can be selected according to the order from near to far from the delivery vehicles in the original delivery plan. If the candidate delivery vehicle can go to the warehouse to pick up the delivery goods, the candidate delivery vehicle can also be selected according to the order of the distance from the warehouse. In short, there are many ways to select candidate delivery vehicles, and the selection method can be determined according to the actual situation.

本例依照离原配送计划中的配送车辆由近及远的顺序选择候选配送车辆,依次生成车辆选择解为C车、D车。对C车和D车进行商品调配阶段的搜索(步骤62-步骤69)后,假设生成商品调配禁忌表更新为:In this example, the candidate delivery vehicles are selected in order from the closest to the farthest from the delivery vehicles in the original delivery plan, and the vehicle selection solutions are sequentially generated as car C and car D. After the search of the commodity allocation stage (step 62-step 69) is carried out on the C car and the D car, it is assumed that the generated commodity allocation taboo table is updated as follows:

B车B2路径成本600元;The cost of route B2 of car B is 600 yuan;

B车B4路径成本800元;The cost of route B4 of car B is 800 yuan;

B车B1路径成本1000元;The cost of route B1 of car B is 1,000 yuan;

C车C1路径成本400元;The C1 route cost of car C is 400 yuan;

D车D1路径成本750元;D car D1 route cost 750 yuan;

D车D2路径成本900元;D car D2 route cost 900 yuan;

D车D3路径成本1500元。D car D3 route costs 1,500 yuan.

车辆选择禁忌表为:B车;C车;D车。The vehicle selection taboo table is: B car; C car; D car.

通过比较商品调配禁忌表记录的各个候选配送车辆的各个可选配送路径的成本,选取成本最低的C车C1路径为最优配送计划。By comparing the cost of each optional delivery route of each candidate delivery vehicle recorded in the commodity allocation taboo table, the C1 route with the lowest cost is selected as the optimal delivery plan.

本例以一个配送商品的配送目的地址发生变更详细解释了两阶段禁忌搜索算法的工作流程,但在实际情况下,通常是多个配送商品同时发生了目的地址的变更,为了提高该模块的计算效率,车辆选择初始解可以安排多辆车分别针对不同配送商品,这样就需要根据实际情况合理地选择第一停止规则和第二停止规则,从而在控制配送成本的基础上尽快确定针对每个商品的最优配送计划。This example explains in detail the workflow of the two-stage tabu search algorithm based on the change of the delivery destination address of a delivery product. Efficiency, the initial solution for vehicle selection can arrange multiple vehicles for different delivery products, so it is necessary to choose the first stop rule and the second stop rule reasonably according to the actual situation, so as to determine the distribution cost for each product as soon as possible on the basis of controlling the distribution cost. optimal delivery plan.

调度执行子模块543,用于当用户确认调度计算子模块542获得的最优配送计划后,更新配送计划;并将更新的配送计划反馈给商品配送装置53,从而实现新的配送服务。The scheduling execution sub-module 543 is used to update the delivery plan after the user confirms the optimal delivery plan obtained by the scheduling calculation sub-module 542; and feed back the updated delivery plan to the commodity delivery device 53, thereby realizing a new delivery service.

可选地,实时调度装置54可以不包括实时监控子模块541,而由商品配送装置53来实现实时监控子模块541的实时监控的功能。Optionally, the real-time scheduling device 54 may not include the real-time monitoring sub-module 541 , and the real-time monitoring function of the real-time monitoring sub-module 541 is implemented by the commodity delivery device 53 .

结合本发明实施例提出的实时调度配送方法,具体介绍在线服务系统各个模块的工作流程如图7所示。Combining with the real-time scheduling delivery method proposed by the embodiment of the present invention, the workflow of each module of the online service system is specifically introduced as shown in FIG. 7 .

具体地,用户登录在线服务系统后,根据自身的需求浏览商品(包括实物商品和服务),确定商品,并发送购买请求,此时触发命令输入模块,该模块的工作流程如图7a所示。Specifically, after the user logs in to the online service system, he browses products (including physical goods and services) according to his own needs, determines the products, and sends a purchase request. At this time, the command input module is triggered. The workflow of this module is shown in Figure 7a.

步骤701、命令输入模块接受用户输入的购买请求信息。Step 701, the command input module accepts the purchase request information input by the user.

步骤702、确定该请求信息的有效性,并根据请求消息评估所需资源,即所需商品的库存情况。Step 702: Determine the validity of the request information, and evaluate the required resources, that is, the stock situation of the required commodities, according to the request message.

步骤703、根据商品库存情况以及用户的购买请求生成购买订单。Step 703, generating a purchase order according to the commodity inventory situation and the user's purchase request.

步骤704、将购买订单反馈给用户,等待用户的确认;将该用户加入服务等待列表中。Step 704, feedback the purchase order to the user, and wait for the user's confirmation; add the user to the service waiting list.

在用户确认购买订单后,进入订单处理阶段,此时触发订单处理模块,该模块的工作流程如图7b所示。After the user confirms the purchase order, the order processing stage is entered, and the order processing module is triggered at this time, and the workflow of this module is shown in Figure 7b.

步骤711、接受用户确认的购买订单,确认用户需要的商品信息。Step 711: Accept the purchase order confirmed by the user, and confirm the product information required by the user.

步骤712、为用户确认的购买订单搜索最为合适的配送实体,包括仓库和配送车辆。Step 712, searching for the most suitable delivery entity for the purchase order confirmed by the user, including warehouses and delivery vehicles.

步骤713、确定配送实体,制定配送计划(包括配送日期、配送地点等信息),生成配送单,并把配送单反馈给用户,等待用户确认,同时通知配送服务提供者。Step 713: Determine the delivery entity, formulate a delivery plan (including delivery date, delivery location, etc.), generate a delivery order, and feed back the delivery order to the user, wait for the user's confirmation, and notify the delivery service provider at the same time.

待用户确认配送计划后,进入商品配送阶段,此时触发商品配送装置,该模块的工作流程如图7c所示。After the user confirms the delivery plan, the product delivery stage is entered, and the product delivery device is triggered at this time. The workflow of this module is shown in Figure 7c.

步骤721、按指定标准录入配送计划。Step 721, enter the delivery plan according to the specified standard.

步骤722、将配送计划下发到相关配送车辆中,安排配送服务。Step 722, sending the delivery plan to the relevant delivery vehicle, and arranging the delivery service.

在配送开始时,触动实时调度装置,该模块的工作流程如图7d。When the distribution starts, touch the real-time scheduling device, and the workflow of this module is shown in Figure 7d.

步骤731、实时调度装置触发实时监控子模块中的空间定位系统,对商品配送的状态进行实时监控,并将监控的信息反馈给用户。Step 731 , the real-time scheduling device triggers the spatial positioning system in the real-time monitoring sub-module to monitor the status of commodity delivery in real time, and feed back the monitored information to the user.

步骤732、实时调度装置是否接受到用户发送的配送计划更改指令,如果是,则执行步骤733,如果否,则执行步骤736。Step 732, whether the real-time scheduling device receives the delivery plan modification instruction sent by the user, if yes, execute step 733, if not, execute step 736.

步骤733、实时调度装置根据接受的配送计划更改指令,触发调度计算子模块,确定配送车辆并制定新的配送计划,并将新的配送计划反馈给用户。Step 733 , the real-time dispatching device triggers the dispatching calculation sub-module according to the received delivery plan modification instruction, determines the delivery vehicle and formulates a new delivery plan, and feeds back the new delivery plan to the user.

步骤734、等待用户确认新的配送计划。Step 734, waiting for the user to confirm the new delivery plan.

步骤735、实时调度装置触发调度执行子模块,根据用户确认的新配送计划调整配送计划,并把更新的配送计划发送给商品配送装置,从而重新实现配送服务。Step 735 , the real-time scheduling device triggers the scheduling execution sub-module, adjusts the delivery plan according to the new delivery plan confirmed by the user, and sends the updated delivery plan to the commodity delivery device, so as to realize the delivery service again.

步骤736、继续监控商品的配送状态直至商品配送结束。Step 736, continue to monitor the delivery status of the commodity until the delivery of the commodity is completed.

步骤737、商品配送结束后,请求用户反馈对此次配送服务的满意度,如果用户满意此次配送服务,则转入服务评价模块;如果用户不满意此次配送服务,则转入申诉处理模块。Step 737: After the product delivery is over, request the user to feedback the satisfaction of the delivery service, if the user is satisfied with the delivery service, transfer to the service evaluation module; if the user is not satisfied with the delivery service, transfer to the appeal processing module .

申诉处理模块的工作流程如图7e所示。The workflow of the appeal processing module is shown in Figure 7e.

步骤741、接受用户提出的配送服务改进需求。Step 741: Accept the delivery service improvement demand put forward by the user.

步骤742、分析配送失败的原因。Step 742, analyze the reason of delivery failure.

步骤743、根据用户的需求重新设计配送计划。Step 743: Redesign the delivery plan according to the needs of the user.

步骤744、根据设计的配送计划,评估成本和利润。Step 744: Estimate the cost and profit according to the designed distribution plan.

步骤745、依据步骤744估计的成本和利润判断是否能够根据用户的需求重新调整配送服务,如果是,则执行步骤746,如果否,则执行步骤747。Step 745: Determine whether the delivery service can be readjusted according to the user's demand according to the estimated cost and profit in step 744; if yes, execute step 746; if not, execute step 747.

步骤746、再造配送计划,并把该计划提供给商品配送装置,重新安排配送服务。Step 746, rebuilding the distribution plan, and providing the plan to the commodity distribution device, and rearranging the distribution service.

步骤747、向配送服务管理者提供用户的申诉。Step 747, providing the user's appeal to the delivery service manager.

服务评价模块的工作流程如图7f所示。The workflow of the service evaluation module is shown in Figure 7f.

步骤751、接收用户提供的满意度信息。Step 751, receiving satisfaction information provided by the user.

步骤752、依据确定的评价标准和用户提供的满意度信息,评价配送服务效果。Step 752: Evaluate the delivery service effect according to the determined evaluation criteria and the satisfaction information provided by the user.

步骤753、生成评价报告,并将其存入数据库中。Step 753: Generate an evaluation report and store it in the database.

综上所述,本发明实施例提供的实时调度配送方法,为目前正在使用的在线服务系统提供了商品配送的实施调度的功能,这样用户在商品出库后不仅能够实时监控商品的信息,同时也能对配送计划中的目的地址信息做出修改。并且本发明实施例在实时调度配送方法中运用了优化技术,利用车辆路径和提货仓库反馈的信息,根据用户的需求对配送计划进行实时的动态调整,从而降低了配送失败率的同时节省了配送资源。To sum up, the real-time scheduling delivery method provided by the embodiment of the present invention provides the online service system currently in use with the function of implementing scheduling of commodity delivery, so that the user can not only monitor the information of the commodity in real time after the commodity is out of the warehouse, but also It is also possible to modify the destination address information in the delivery plan. In addition, the embodiment of the present invention uses optimization technology in the real-time scheduling and delivery method, and uses the information fed back from the vehicle route and the delivery warehouse to dynamically adjust the delivery plan in real time according to the needs of users, thereby reducing the delivery failure rate and saving delivery time. resource.

针对本发明实施例提供的一种实时调度配送方法,本发明实施例还提供了一种实时调度装置。该装置具体包括:Aiming at the real-time scheduling delivery method provided by the embodiment of the present invention, the embodiment of the present invention also provides a real-time scheduling device. Specifically, the device includes:

更改指令接收子模块,用于接收用户终端发送的包含商品标识和配送目的地址的配送计划更改指令。The modification instruction receiving sub-module is used for receiving the distribution plan modification instruction including the commodity identification and the delivery destination address sent by the user terminal.

运输工具调度子模块,用于根据配送商品的运输工具的行驶路径和更改指令接收子模块获得的配送目的地址,确定将更改指令接收子模块获得的商品标识所表示的商品配送到配送目的地址的运输工具。The means of transportation dispatching sub-module is used to determine, according to the driving route of the means of transport for delivering the goods and the delivery destination address obtained by the change instruction receiving sub-module, to deliver the goods represented by the commodity identification obtained by the change instruction receiving sub-module to the delivery destination address means of transport.

配送计划确定子模块,用于当运输工具调度子模块确定的运输工具为按照配送计划配送商品标识所表示的商品的第一运输工具时,根据配送目的地址更新所述商品标识所表示的商品的配送计划;当运输工具调度子模块确定的运输工具为不同于第一运输工具的其他运输工具时,根据配送目的地址和确定的运输工具更新所述商品标识所表示的商品的配送计划;The delivery plan determination submodule is used to update the address of the commodity indicated by the commodity identifier according to the delivery destination address when the transportation means determined by the transportation means scheduling submodule is the first transportation means for delivering the commodity indicated by the commodity identifier according to the delivery plan. Delivery plan; when the means of transport determined by the means of transport scheduling submodule is other means of transport different from the first means of transport, update the delivery plan of the commodity represented by the commodity identifier according to the delivery destination address and the determined means of transport;

配送计划发送子模块,用于将更新后的商品配送计划发送给商品配送装置。The delivery plan sending sub-module is used to send the updated commodity delivery plan to the commodity delivery device.

位置信息获得子模块,用于获得位置信息监控装置发送的第一运输工具的位置信息和候选行驶路径所对应的运输工具的位置信息。The position information obtaining sub-module is configured to obtain the position information of the first transportation means sent by the position information monitoring device and the position information of the transportation means corresponding to the candidate driving route.

其中运输工具调度子模块具体包括:The transportation means scheduling sub-module specifically includes:

第一运输工具指定单元,用于根据更改指令接收子模块获得的商品标识,从商品标识和按照配送计划配送商品的运输工具的对应关系中,确定配送更改指令接收子模块接收的更改指令中包含的商品标识所表示的商品的第一运输工具。The first means of transportation specifying unit is used to determine, according to the commodity identifier obtained by the modification instruction receiving submodule, from the corresponding relationship between the commodity identifier and the transportation means for delivering the commodity according to the distribution plan, that the modification instruction received by the distribution modification instruction receiving submodule contains The first mode of transport for the item represented by the item ID of .

判断单元,用于根据配送目的地址和第一运输工具指定单元确定的第一运输工具的预设行驶路径上包含的各个地址,判断预设行驶路径上是否包含配送目的地址。The judging unit is configured to judge whether the delivery destination address is included in the preset driving route according to the delivery destination address and each address included in the preset driving route of the first transportation means determined by the first transportation means specifying unit.

运输工具选择单元,用于在判断单元得到的判断结果为是时,将第一运输工具确定为确定的运输工具;在判断单元得到的判断结果为否时,从不同于第一运输工具的其他配送商品的运输工具的行驶路径中,确定包含配送目的地址的候选行驶路径,并从按照候选行驶路径配送商品的运输工具中选取运输工具。The means of transport selection unit is used to determine the first means of transport as the determined means of transport when the judgment result obtained by the judging unit is yes; Among the driving routes of the transportation means for delivering the commodities, the candidate driving routes including the delivery destination address are determined, and the transportation means are selected from the transportation means for delivering the commodities according to the candidate driving routes.

进一步地,当第一运输工具需要与候选行驶路径所对应的运输工具交接更改指令中包含的商品标识所表示的商品时,运输工具选择单元具体包括:Further, when the first means of transport needs the means of transport corresponding to the candidate driving route to hand over the commodity indicated by the commodity identifier included in the change instruction, the means of transport selection unit specifically includes:

运输工具确定第一子单元,用于在判断单元得到的判断结果为是时,将第一运输工具确定为所述确定的运输工具。The means of transport determining the first subunit is configured to determine the first means of transport as the determined means of transport when the judging result obtained by the judging unit is yes.

候选行驶路径确定子单元,用于在判断单元得到的判断结果为否时,从不同于第一运输工具的其他配送商品的运输工具的行驶路径中,确定包含配送目的地址的候选行驶路径;A candidate travel route determination subunit, configured to determine a candidate travel route including the delivery destination address from the travel routes of other transport means different from the first transport means when the judgment result obtained by the judgment unit is No;

位置确定子单元,用于确定所述第一运输工具指定单元确定的第一运输工具的位置和候选行驶路径确定子单元确定的候选行驶路径所对应的运输工具的位置。The position determination subunit is configured to determine the position of the first vehicle determined by the first vehicle specifying unit and the position of the vehicle corresponding to the candidate travel route determined by the candidate travel route determination subunit.

具体地,位置确定子单元根据位置信息获得模块获得的第一运输工具的位置信息,确定第一运输工具的位置;并根据位置信息获得模块获得的候选行驶路径所对应的运输工具的位置信息,确定候选行驶路径所对应的运输工具的位置。Specifically, the position determining subunit determines the position of the first transport means according to the position information of the first transport means obtained by the position information obtaining module; and according to the position information of the transport means corresponding to the candidate driving route obtained by the position information obtaining module, The location of the transportation means corresponding to the candidate travel route is determined.

运输工具选取子单元,用于根据位置确定子单元确定的位置,按照第一运输工具与候选行驶路径所对应的运输工具之间的距离由近至远的顺序,从候选行驶路径所对应的运输工具中依次选取指定数目的运输工具。The means of transport selection subunit is used to determine the position determined by the position determination subunit, and in the order of the distance between the first means of transport and the means of transport corresponding to the candidate driving route from shortest to farthest, from the transportation means corresponding to the candidate driving route Select the specified number of transportation tools in turn from the tools.

成本预测子单元,用于根据位置确定子单元确定的位置,分别确定运输工具选取子单元选取的每个运输工具与第一运输工具的交接位置;并预测选取的每个运输工具由其所在位置先去往相应的交接位置,再去往指令中包含的配送目的地址所经的每条可选行驶路径所分别耗费的成本。The cost prediction subunit is used to respectively determine the handover position of each transportation tool selected by the transportation tool selection subunit and the first transportation tool according to the position determined by the position determination subunit; and predict that each transportation tool selected by its location First go to the corresponding handover location, and then go to the delivery destination address included in the instruction, and the cost of each optional driving route.

最优可选行驶路径确定子单元,用于针对运输工具选取子单元选取的每个运输工具,从成本预测子单元为该运输工具预测的每条可选行驶路径所分别耗费的成本中确定最小成本,并确定该最小成本对应的最优可选行驶路径。The optimal optional driving route determination subunit is used to determine the minimum cost from the cost of each optional driving route predicted by the cost prediction subunit for each transport tool selected by the transport tool selection subunit cost, and determine the optimal alternative driving route corresponding to the minimum cost.

运输工具确定第二子单元,用于通过比较最优可选行驶路径确定子单元确定的各个最优可选行驶路径,选取耗费最低成本的最优可选行驶路径对应的运输工具。The second subunit for determining the means of transportation is used to select the means of transportation corresponding to the optimal optional driving route that consumes the lowest cost by comparing the optimal optional driving routes determined by the optimal optional driving route determination subunit.

当候选行驶路径所对应的运输工具需要到仓库中提取更改指令中包含的商品标识所表示的商品时,运输工具选择单元具体包括:When the means of transport corresponding to the candidate driving route needs to go to the warehouse to pick up the commodity represented by the commodity identifier contained in the change instruction, the means of transport selection unit specifically includes:

运输工具确定第一子单元,用于在判断单元得到的判断结果为是时,将第一运输工具确定为所述确定的运输工具。The means of transport determining the first subunit is configured to determine the first means of transport as the determined means of transport when the judging result obtained by the judging unit is yes.

候选行驶路径确定子单元,用于在判断单元得到的判断结果为否时,从不同于第一运输工具的其他配送商品的运输工具的行驶路径中,确定包含所述配送目的地址的候选行驶路径。A candidate travel route determining subunit, configured to determine a candidate travel route that includes the delivery destination address from the travel routes of other transport means different from the first transport means when the judgment result obtained by the judgment unit is No .

位置确定子单元,用于确定存有指令中包含的商品标识所表示的商品的仓库的位置和所述候选行驶路径确定子单元确定的候选行驶路径所对应的运输工具的位置。The location determining subunit is used to determine the location of the warehouse storing the commodity indicated by the commodity identifier contained in the instruction and the location of the transportation means corresponding to the candidate traveling route determined by the candidate traveling route determining subunit.

运输工具选取子单元,用于根据位置确定子单元确定的位置,按照仓库与候选行驶路径所对应的运输工具之间的距离由近至远的顺序,从候选行驶路径所对应的运输工具中依次选取指定数目的运输工具。The means of transport selection subunit is used to determine the position determined by the position determination subunit, and in order of the distance between the warehouse and the means of transport corresponding to the candidate driving route, from the transport means corresponding to the candidate driving route in order Select the specified number of transports.

成本预测子单元,用于预测运输工具选取子单元选取的每个运输工具由其所在位置先去往最近的仓库,再去往所述指令中包含的配送目的地址所经的每条可选行驶路径所分别耗费的成本。The cost prediction sub-unit is used to predict each transport means selected by the transport means selection sub-unit to go from its location to the nearest warehouse first, and then to each optional route that the delivery destination address contained in the instruction passes through The cost of each path.

最优可选行驶路径确定子单元,用于针对运输工具选取子单元选取的每个运输工具,从成本预测子单元为该运输工具预测的每条可选行驶路径所分别耗费的成本中确定最小成本,并确定该最小成本对应的最优可选行驶路径。The optimal optional driving route determination subunit is used to determine the minimum cost from the cost of each optional driving route predicted by the cost prediction subunit for each transport tool selected by the transport tool selection subunit cost, and determine the optimal alternative driving route corresponding to the minimum cost.

运输工具确定第二子单元,用于通过比较最优可选行驶路径确定子单元确定的各个最优可选行驶路径,选取耗费最低成本的最优可选行驶路径对应的运输工具。The second subunit for determining the means of transportation is used to select the means of transportation corresponding to the optimal optional driving route that consumes the lowest cost by comparing the optimal optional driving routes determined by the optimal optional driving route determination subunit.

综上所述,本发明实施例中当实时调度装置接收包含商品标识和配送目的地址的配送计划更改指令时,根据配送商品的运输工具的行驶路径和配送目的地址,确定将商品标识所表示的商品配送到配送目的地址的运输工具,并根据配送目的地址和确定的运输工具更新商品的配送计划。由此可知,实时调度装置可以根据用户的需求实时更改配送计划,避免了按原计划配送商品失败后需要再次按更改的配送计划配送商品的情况的出现,从而在节省配送资源的基础上降低了配送的失败率。To sum up, in the embodiment of the present invention, when the real-time dispatching device receives the delivery plan modification instruction including the commodity identifier and the delivery destination address, it determines the value indicated by the commodity identifier according to the driving route and the delivery destination address of the transportation means for delivering the commodity. The commodity is delivered to the transportation means of the delivery destination address, and the delivery plan of the commodity is updated according to the delivery destination address and the determined transportation means. It can be seen that the real-time scheduling device can change the delivery plan in real time according to the needs of users, avoiding the need to deliver the goods according to the changed delivery plan after the failure of delivering the goods according to the original plan, thereby reducing the cost of delivery on the basis of saving delivery resources. Delivery failure rate.

显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these modifications and variations.

Claims (14)

1.一种实时调度配送方法,其特征在于,包括:1. A real-time scheduling and delivery method, characterized in that, comprising: 实时调度装置接收用户终端发送的包含商品标识和配送目的地址的配送计划更改指令;The real-time dispatching device receives the delivery plan modification instruction including the commodity identification and delivery destination address sent by the user terminal; 根据配送商品的运输工具的行驶路径和所述配送目的地址,确定将所述商品标识所表示的商品配送到所述配送目的地址的运输工具;Determine the means of transport that will deliver the commodity represented by the commodity identifier to the delivery destination address according to the travel route of the transportation means for delivering the commodity and the delivery destination address; 当确定的运输工具为按照所述配送计划配送所述商品标识所表示的商品的第一运输工具时,根据所述配送目的地址更新所述商品标识所表示的商品的配送计划;When the determined means of transport is the first means of transport for delivering the commodity represented by the commodity identifier according to the delivery plan, updating the delivery plan of the commodity represented by the commodity identifier according to the delivery destination address; 当确定的运输工具为不同于第一运输工具的其他运输工具时,根据所述配送目的地址和确定的运输工具更新所述商品标识所表示的商品的配送计划;并将更新后的商品配送计划发送给商品配送装置。When the determined means of transport is other means of transport different from the first means of transport, update the delivery plan of the commodity represented by the commodity identifier according to the delivery destination address and the determined means of transport; and update the delivery plan of the commodity after the update Sent to the product delivery device. 2.如权利要求1所述的方法,其特征在于,根据配送商品的运输工具的行驶路径和所述配送目的地址,确定将所述商品标识所表示的商品配送到所述配送目的地址的运输工具,具体包括:2. The method according to claim 1, characterized in that, according to the travel route of the transportation means for delivering the commodities and the delivery destination address, the transportation method for delivering the commodity represented by the commodity identifier to the delivery destination address is determined. tools, including: 根据所述商品标识,从商品标识和按照配送计划配送商品的运输工具的对应关系中,确定配送所述指令中包含的商品标识所表示的商品的第一运输工具;According to the commodity identifier, from the corresponding relationship between the commodity identifier and the transportation means for delivering the commodity according to the delivery plan, determine the first transportation means to deliver the commodity represented by the commodity identifier included in the instruction; 根据所述配送目的地址和第一运输工具的预设行驶路径上包含的各个地址,判断所述预设行驶路径上是否包含所述配送目的地址;According to the delivery destination address and each address included in the preset driving route of the first transportation means, determine whether the delivery destination address is included in the preset driving route; 在判断结果为是时,将第一运输工具确定为所述确定的运输工具;When the judgment result is yes, determining the first means of transportation as the determined means of transportation; 在判断结果为否时,从不同于第一运输工具的其他配送商品的运输工具的行驶路径中,确定包含所述配送目的地址的候选行驶路径;并从按照候选行驶路径配送商品的运输工具中选取运输工具。When the judgment result is no, determine a candidate travel route that includes the delivery destination address from the travel routes of other transport means that are different from the first transport means; and determine a candidate travel route that includes the delivery destination address; Choose a means of transport. 3.如权利要求2所述的方法,其特征在于,从按照候选行驶路径配送商品的运输工具中选取运输工具,具体包括:3. The method according to claim 2, characterized in that, selecting the means of transport from the means of transport for distributing commodities according to the candidate driving route, specifically comprising: 确定第一运输工具的位置和候选行驶路径所对应的运输工具的位置;determining the position of the first transport means and the position of the transport means corresponding to the candidate driving route; 根据确定的位置,按照第一运输工具与候选行驶路径所对应的运输工具之间的距离由近至远的顺序,从候选行驶路径所对应的运输工具中依次选取指定数目的运输工具;并According to the determined position, according to the order of the distance between the first transport means and the transport means corresponding to the candidate travel route from shortest to farthest, sequentially select a specified number of transport means from the transport means corresponding to the candidate travel route; and 根据确定的位置,分别确定选取的每个运输工具与第一运输工具的交接位置;并预测选取的每个运输工具由其所在位置先去往相应的交接位置,再去往所述指令中包含的配送目的地址所经的每条可选行驶路径所分别耗费的成本;According to the determined position, respectively determine the handover position of each selected means of transport and the first means of transport; and predict that each means of transport selected will first go to the corresponding handover position from its position, and then go to the position included in the instruction The cost of each optional driving route passed by the delivery destination address; 针对选取的每个运输工具,从为该运输工具预测的每条可选行驶路径所分别耗费的成本中确定最小成本,并确定该最小成本对应的最优可选行驶路径;For each selected means of transport, determine the minimum cost from the cost of each alternative travel route predicted for the transport means, and determine the optimal alternative travel route corresponding to the minimum cost; 比较针对选取的运输工具而分别确定的最优可选行驶路径,并选取耗费最低成本的最优可选行驶路径对应的运输工具。Comparing the optimal optional driving routes respectively determined for the selected means of transport, and selecting the means of transport corresponding to the optimal optional driving route that consumes the lowest cost. 4.如权利要求3所述的方法,其特征在于,还包括:4. The method of claim 3, further comprising: 实时调度装置获得位置信息监控装置发送的第一运输工具的位置信息和候选行驶路径所对应的运输工具的位置信息;则The real-time scheduling device obtains the position information of the first transportation means sent by the position information monitoring device and the position information of the transportation means corresponding to the candidate driving route; then 确定第一运输工具的位置和候选行驶路径所对应的运输工具的位置,具体包括:Determining the position of the first transport means and the position of the transport means corresponding to the candidate driving route, specifically including: 根据第一运输工具的位置信息,确定第一运输工具的位置;并determining the location of the first vehicle based on the location information of the first vehicle; and 根据候选行驶路径所对应的运输工具的位置信息,确定候选行驶路径所对应的运输工具的位置。According to the position information of the transportation means corresponding to the candidate driving route, the position of the transportation means corresponding to the candidate driving route is determined. 5.如权利要求2所述的方法,其特征在于,从按照候选行驶路径配送商品的运输工具中选取运输工具,具体包括:5. The method according to claim 2, characterized in that, selecting the means of transport from the means of transport for delivering goods according to the candidate driving route, specifically comprising: 确定存有所述指令中包含的商品标识所表示的商品的仓库的位置和候选行驶路径所对应的运输工具的位置;Determine the location of the warehouse storing the commodity represented by the commodity identifier contained in the instruction and the location of the transportation means corresponding to the candidate driving route; 根据确定的位置,按照仓库与候选行驶路径所对应的运输工具之间的距离由近至远的顺序,从候选行驶路径所对应的运输工具中依次选取指定数目的运输工具;并According to the determined position, according to the order of the distance between the warehouse and the transport means corresponding to the candidate driving route from shortest to farthest, sequentially select a specified number of transport means from the transport means corresponding to the candidate driving route; and 预测选取的每个运输工具由其所在位置先去往最近的仓库,再去往所述指令中包含的配送目的地址所经的每条可选行驶路径所分别耗费的成本;Predict the cost of each optional driving route for each selected means of transport to go from its location to the nearest warehouse, and then to the delivery destination address contained in the instruction; 针对选取的每个运输工具,从为该运输工具预测的每条可选行驶路径所分别耗费的成本中确定最小成本,并确定该最小成本对应的最优可选行驶路径;For each selected means of transport, determine the minimum cost from the cost of each alternative travel route predicted for the transport means, and determine the optimal alternative travel route corresponding to the minimum cost; 比较针对选取的运输工具而分别确定的最优可选行驶路径,并选取耗费最低成本的最优可选行驶路径对应的运输工具。Comparing the optimal optional driving routes respectively determined for the selected means of transport, and selecting the means of transport corresponding to the optimal optional driving route that consumes the lowest cost. 6.一种实时调度装置,其特征在于,包括:6. A real-time scheduling device, characterized in that, comprising: 更改指令接收子模块,用于接收用户终端发送的包含商品标识和配送目的地址的配送计划更改指令;The modification instruction receiving sub-module is used to receive the distribution plan modification instruction including the commodity identification and the delivery destination address sent by the user terminal; 运输工具调度子模块,用于根据配送商品的运输工具的行驶路径和所述更改指令接收子模块获得的配送目的地址,确定将所述更改指令接收子模块获得的商品标识所表示的商品配送到所述配送目的地址的运输工具;The means of transportation dispatching sub-module is used to determine where to deliver the goods represented by the commodity identification obtained by the sub-module of the change order receiving sub-module according to the travel route of the transport means for delivering the goods and the delivery destination address obtained by the change order receiving sub-module The means of transport for the stated delivery destination address; 配送计划确定子模块,用于当所述运输工具调度子模块确定的运输工具为按照所述配送计划配送所述商品标识所表示的商品的第一运输工具时,根据所述配送目的地址更新所述商品标识所表示的商品的配送计划;当所述运输工具调度子模块确定的运输工具为不同于第一运输工具的其他运输工具时,根据所述配送目的地址和确定的运输工具更新所述商品标识所表示的商品的配送计划;The delivery plan determination sub-module is used to update the delivery destination address according to the delivery destination when the transportation vehicle determined by the transportation means scheduling sub-module is the first transportation means for delivering the commodity indicated by the commodity identifier according to the delivery plan. The delivery plan of the commodity represented by the commodity identifier; when the transportation means determined by the transportation means scheduling submodule is other than the first means of transportation, update the The delivery plan of the commodity represented by the commodity identifier; 配送计划发送子模块,用于将更新后的商品配送计划发送给商品配送装置。The delivery plan sending sub-module is used to send the updated commodity delivery plan to the commodity delivery device. 7.如权利要求6所述的装置,其特征在于,运输工具调度子模块具体包括:7. The device according to claim 6, wherein the vehicle scheduling submodule specifically comprises: 第一运输工具指定单元,用于根据所述更改指令接收子模块获得的商品标识,从商品标识和按照配送计划配送商品的运输工具的对应关系中,确定配送所述更改指令接收子模块接收的更改指令中包含的商品标识所表示的商品的第一运输工具;The first means of transport specifying unit is used to determine the delivery received by the change order receiving submodule from the corresponding relationship between the commodity identity and the means of transport for delivering the goods according to the delivery plan according to the commodity identification obtained by the modification instruction receiving submodule. Change the first means of transport for the goods represented by the commodity identification contained in the order; 判断单元,用于根据所述配送目的地址和所述第一运输工具指定单元确定的第一运输工具的预设行驶路径上包含的各个地址,判断所述预设行驶路径上是否包含所述配送目的地址;A judging unit, configured to judge whether the delivery is included in the preset driving route according to the delivery destination address and each address included in the preset driving route of the first transportation means determined by the first transportation means specifying unit Destination address; 运输工具选择单元,用于在判断单元得到的判断结果为是时,将第一运输工具确定为所述确定的运输工具;在判断单元得到的判断结果为否时,从不同于第一运输工具的其他配送商品的运输工具的行驶路径中,确定包含所述配送目的地址的候选行驶路径,并从按照候选行驶路径配送商品的运输工具中选取运输工具。The means of transport selection unit is used to determine the first means of transport as the determined means of transport when the judgment result obtained by the judging unit is yes; Among the driving routes of other means of transport that deliver commodities, determine a candidate driving route that includes the delivery destination address, and select the means of transport from the means of transport that deliver goods according to the candidate driving route. 8.如权利要求7所述的装置,其特征在于,所述运输工具选择单元具体包括:8. The device according to claim 7, wherein the means of transport selection unit specifically comprises: 运输工具确定第一子单元,用于在判断单元得到的判断结果为是时,将第一运输工具确定为所述确定的运输工具;The means of transport determining the first subunit is configured to determine the first means of transport as the determined means of transport when the judging result obtained by the judging unit is yes; 候选行驶路径确定子单元,用于在判断单元得到的判断结果为否时,从不同于第一运输工具的其他配送商品的运输工具的行驶路径中,确定包含所述配送目的地址的候选行驶路径;A candidate travel route determining subunit, configured to determine a candidate travel route that includes the delivery destination address from the travel routes of other transport means different from the first transport means when the judgment result obtained by the judgment unit is No ; 位置确定子单元,用于确定所述第一运输工具指定单元确定的第一运输工具的位置和候选行驶路径确定子单元确定的候选行驶路径所对应的运输工具的位置;A position determining subunit, configured to determine the position of the first transport means determined by the first means of transport specifying unit and the position of the transport means corresponding to the candidate driving route determined by the candidate driving route determination subunit; 运输工具选取子单元,用于根据所述位置确定子单元确定的位置,按照第一运输工具与候选行驶路径所对应的运输工具之间的距离由近至远的顺序,从候选行驶路径所对应的运输工具中依次选取指定数目的运输工具;The means of transport selection subunit is configured to, according to the position determined by the position determining subunit, according to the order of the distance between the first means of transport and the means of transport corresponding to the candidate driving route from shortest to farthest, from the position corresponding to the candidate driving route Select the specified number of means of transport in sequence; 成本预测子单元,用于根据所述位置确定子单元确定的位置,分别确定所述运输工具选取子单元选取的每个运输工具与第一运输工具的交接位置;并预测选取的每个运输工具由其所在位置先去往相应的交接位置,再去往所述指令中包含的配送目的地址所经的每条可选行驶路径所分别耗费的成本;The cost prediction subunit is used to respectively determine the handover position between each transport means selected by the transport means selection subunit and the first transport means according to the position determined by the position determination subunit; and predict each transport means selected The cost of each optional driving route from its location to the corresponding handover location, and then to the delivery destination contained in the instruction; 最优可选行驶路径确定子单元,用于针对所述运输工具选取子单元选取的每个运输工具,从所述成本预测子单元为该运输工具预测的每条可选行驶路径所分别耗费的成本中确定最小成本,并确定该最小成本对应的最优可选行驶路径;The optimal optional travel route determination subunit is used for each transport tool selected by the transport tool selection subunit, and the cost of each optional travel route predicted by the cost prediction subunit for the transport tool is respectively spent Determine the minimum cost in the cost, and determine the optimal optional driving route corresponding to the minimum cost; 运输工具确定第二子单元,用于通过比较最优可选行驶路径确定子单元确定的各个最优可选行驶路径,选取耗费最低成本的最优可选行驶路径对应的运输工具。The second subunit for determining the means of transportation is used to select the means of transportation corresponding to the optimal optional driving route that consumes the lowest cost by comparing the optimal optional driving routes determined by the optimal optional driving route determination subunit. 9.如权利要求8所述的装置,其特征在于,还包括:9. The apparatus of claim 8, further comprising: 位置信息获得子模块,用于获得位置信息监控装置发送的第一运输工具的位置信息和候选行驶路径所对应的运输工具的位置信息;则The location information obtaining submodule is used to obtain the location information of the first vehicle sent by the location information monitoring device and the location information of the transportation vehicle corresponding to the candidate driving route; then 位置确定子单元具体用于:根据所述位置信息获得模块获得的第一运输工具的位置信息,确定第一运输工具的位置;并根据所述位置信息获得模块获得的候选行驶路径所对应的运输工具的位置信息,确定候选行驶路径所对应的运输工具的位置。The position determination subunit is specifically configured to: determine the position of the first transport means according to the position information of the first means of transport obtained by the position information obtaining module; The location information of the tool determines the location of the transportation tool corresponding to the candidate driving route. 10.如权利要求7所述的装置,其特征在于,所述运输工具选择单元具体包括:10. The device according to claim 7, wherein the vehicle selection unit specifically comprises: 运输工具确定第一子单元,用于在判断单元得到的判断结果为是时,将第一运输工具确定为所述确定的运输工具;The means of transport determining the first subunit is configured to determine the first means of transport as the determined means of transport when the judging result obtained by the judging unit is yes; 候选行驶路径确定子单元,用于在判断单元得到的判断结果为否时,从不同于第一运输工具的其他配送商品的运输工具的行驶路径中,确定包含所述配送目的地址的候选行驶路径;A candidate travel route determining subunit, configured to determine a candidate travel route that includes the delivery destination address from the travel routes of other transport means different from the first transport means when the judgment result obtained by the judgment unit is No ; 位置确定子单元,用于确定存有所述指令中包含的商品标识所表示的商品的仓库的位置和所述候选行驶路径确定子单元确定的候选行驶路径所对应的运输工具的位置;A location determination subunit, configured to determine the location of the warehouse storing the commodity indicated by the commodity identifier contained in the instruction and the location of the transportation means corresponding to the candidate travel route determined by the candidate travel route determination subunit; 运输工具选取子单元,用于根据所述位置确定子单元确定的位置,按照仓库与候选行驶路径所对应的运输工具之间的距离由近至远的顺序,从候选行驶路径所对应的运输工具中依次选取指定数目的运输工具;The means of transport selection subunit is used to, according to the position determined by the position determination subunit, according to the order of the distance between the warehouse and the means of transport corresponding to the candidate driving route from shortest to farthest, from the means of transport corresponding to the candidate driving route Select the specified number of means of transport in turn; 成本预测子单元,用于预测所述运输工具选取子单元选取的每个运输工具由其所在位置先去往最近的仓库,再去往所述指令中包含的配送目的地址所经的每条可选行驶路径所分别耗费的成本;The cost prediction subunit is used to predict that each transport tool selected by the transport tool selection subunit will first go from its location to the nearest warehouse, and then go to the delivery destination address contained in the instruction. The cost of choosing the driving route respectively; 最优可选行驶路径确定子单元,用于针对所述运输工具选取子单元选取的每个运输工具,从所述成本预测子单元为该运输工具预测的每条可选行驶路径所分别耗费的成本中确定最小成本,并确定该最小成本对应的最优可选行驶路径;The optimal optional travel route determination subunit is used for each transport tool selected by the transport tool selection subunit, and the cost of each optional travel route predicted by the cost prediction subunit for the transport tool is respectively spent Determine the minimum cost in the cost, and determine the optimal optional driving route corresponding to the minimum cost; 运输工具确定第二子单元,用于通过比较最优可选行驶路径确定子单元确定的各个最优可选行驶路径,选取耗费最低成本的最优可选行驶路径对应的运输工具。The second subunit for determining the means of transportation is used to select the means of transportation corresponding to the optimal optional driving route that consumes the lowest cost by comparing the optimal optional driving routes determined by the optimal optional driving route determination subunit. 11.一种在线服务系统,包括商品配送装置,其特征在于还包括实时调度装置,其中:11. An online service system, comprising a commodity distribution device, characterized in that it also includes a real-time scheduling device, wherein: 实时调度装置,用于接收用户终端发送的包含商品标识和配送目的地址的配送计划更改指令;根据配送商品的运输工具的行驶路径和所述配送目的地址,确定将所述商品标识所表示的商品配送到所述配送目的地址的运输工具;当确定的运输工具为按照所述配送计划配送所述商品标识所表示的商品的第一运输工具时,根据所述配送目的地址更新所述商品标识所表示的商品的配送计划;当确定的运输工具为不同于第一运输工具的其他运输工具时,根据所述配送目的地址和确定的运输工具更新所述商品标识所表示的商品的配送计划;并将更新后的商品配送计划发送给商品配送装置;The real-time scheduling device is used to receive the delivery plan modification instruction including the commodity identification and the delivery destination address sent by the user terminal; according to the driving route of the transportation means for delivering the commodity and the delivery destination address, determine the commodity represented by the commodity identifier The means of transport delivered to the delivery destination address; when the determined means of transport is the first means of transport to deliver the commodity indicated by the commodity identifier according to the delivery plan, update the value of the commodity identifier according to the delivery destination address the delivery plan of the commodity indicated; when the determined means of transport is different from the first means of transport, update the delivery plan of the commodity represented by the commodity identifier according to the delivery destination address and the determined means of transport; and sending the updated product delivery plan to the product delivery device; 商品配送装置,用于接收实时调度装置所发送的更新后的商品配送计划,并将所述更新后的商品配送计划发送给第一运输工具和所述确定的运输工具。The commodity delivery device is configured to receive the updated commodity delivery plan sent by the real-time scheduling device, and send the updated commodity delivery plan to the first means of transport and the determined means of transport. 12.如权利要求11所述的系统,其特征在于,实时调度装置具体用于:12. The system according to claim 11, wherein the real-time scheduling device is specifically used for: 根据所述商品标识,从商品标识和按照配送计划配送商品的运输工具的对应关系中,确定配送所述指令中包含的商品标识所表示的商品的第一运输工具;According to the commodity identifier, from the corresponding relationship between the commodity identifier and the transportation means for delivering the commodity according to the delivery plan, determine the first transportation means to deliver the commodity represented by the commodity identifier included in the instruction; 根据所述配送目的地址和第一运输工具的预设行驶路径上包含的各个地址,判断所述预设行驶路径上是否包含所述配送目的地址;According to the delivery destination address and each address included in the preset driving route of the first transportation means, determine whether the delivery destination address is included in the preset driving route; 在判断结果为是时,将第一运输工具确定为所述确定的运输工具;When the judgment result is yes, determining the first means of transportation as the determined means of transportation; 在判断结果为否时,从不同于第一运输工具的其他配送商品的运输工具的行驶路径中,确定包含所述配送目的地址的候选行驶路径;并从按照候选行驶路径配送商品的运输工具中选取运输工具。When the judgment result is no, determine a candidate travel route that includes the delivery destination address from the travel routes of other transport means that are different from the first transport means; and determine a candidate travel route that includes the delivery destination address; Choose a means of transport. 13.如权利要求12所述的系统,其特征在于,实时调度装置具体用于:13. The system according to claim 12, wherein the real-time scheduling device is specifically used for: 确定第一运输工具的位置和候选行驶路径所对应的运输工具的位置;determining the position of the first transport means and the position of the transport means corresponding to the candidate driving route; 根据确定的位置,按照第一运输工具与候选行驶路径所对应的运输工具之间的距离由近至远的顺序,从候选行驶路径所对应的运输工具中依次选取指定数目的运输工具;并According to the determined position, according to the order of the distance between the first transport means and the transport means corresponding to the candidate travel route from shortest to farthest, sequentially select a specified number of transport means from the transport means corresponding to the candidate travel route; and 根据确定的位置,分别确定选取的每个运输工具与第一运输工具的交接位置;并预测选取的每个运输工具由其所在位置先去往相应的交接位置,再去往所述指令中包含的配送目的地址所经的每条可选行驶路径所分别耗费的成本;According to the determined position, respectively determine the handover position of each selected means of transport and the first means of transport; and predict that each means of transport selected will first go to the corresponding handover position from its position, and then go to the position included in the instruction The cost of each optional driving route passed by the delivery destination address; 针对选取的每个运输工具,从为该运输工具预测的每条可选行驶路径所分别耗费的成本中确定最小成本,并确定该最小成本对应的最优可选行驶路径;For each selected means of transport, determine the minimum cost from the cost of each alternative travel route predicted for the transport means, and determine the optimal alternative travel route corresponding to the minimum cost; 比较针对选取的运输工具而分别确定的最优可选行驶路径,并选取耗费最低成本的最优可选行驶路径对应的运输工具。Comparing the optimal optional driving routes respectively determined for the selected means of transport, and selecting the means of transport corresponding to the optimal optional driving route that consumes the lowest cost. 14.如权利要求12所述的系统,其特征在于,实时调度装置具体用于:14. The system according to claim 12, wherein the real-time scheduling device is specifically used for: 确定存有所述指令中包含的商品标识所表示的商品的仓库的位置和候选行驶路径所对应的运输工具的位置;Determine the location of the warehouse storing the commodity represented by the commodity identifier contained in the instruction and the location of the transportation means corresponding to the candidate driving route; 根据确定的位置,按照仓库与候选行驶路径所对应的运输工具之间的距离由近至远的顺序,从候选行驶路径所对应的运输工具中依次选取指定数目的运输工具;并According to the determined position, according to the order of the distance between the warehouse and the transport means corresponding to the candidate driving route from shortest to farthest, sequentially select a specified number of transport means from the transport means corresponding to the candidate driving route; and 预测选取的每个运输工具由其所在位置先去往最近的仓库,再去往所述指令中包含的配送目的地址所经的每条可选行驶路径所分别耗费的成本;Predict the cost of each optional driving route for each selected means of transport to go from its location to the nearest warehouse, and then to the delivery destination address contained in the instruction; 针对选取的每个运输工具,从为该运输工具预测的每条可选行驶路径所分别耗费的成本中确定最小成本,并确定该最小成本对应的最优可选行驶路径;For each selected means of transport, determine the minimum cost from the cost of each alternative travel route predicted for the transport means, and determine the optimal alternative travel route corresponding to the minimum cost; 比较针对选取的运输工具而分别确定的最优可选行驶路径,并选取耗费最低成本的最优可选行驶路径对应的运输工具。Comparing the optimal optional driving routes respectively determined for the selected means of transport, and selecting the means of transport corresponding to the optimal optional driving route that consumes the lowest cost.
CN201210357181.4A 2012-09-21 2012-09-21 Real-time dispatching and delivery method and device Pending CN103679316A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210357181.4A CN103679316A (en) 2012-09-21 2012-09-21 Real-time dispatching and delivery method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210357181.4A CN103679316A (en) 2012-09-21 2012-09-21 Real-time dispatching and delivery method and device

Publications (1)

Publication Number Publication Date
CN103679316A true CN103679316A (en) 2014-03-26

Family

ID=50316798

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210357181.4A Pending CN103679316A (en) 2012-09-21 2012-09-21 Real-time dispatching and delivery method and device

Country Status (1)

Country Link
CN (1) CN103679316A (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105654256A (en) * 2014-11-12 2016-06-08 成都东哲科技有限公司 Goods logistics positioning system
CN105956816A (en) * 2016-07-19 2016-09-21 成都镜杰科技有限责任公司 Cargo transportation information intelligent processing method
CN106327010A (en) * 2016-08-18 2017-01-11 浪潮软件股份有限公司 Order delivering route generating method and order delivering route generating device
CN107545385A (en) * 2016-06-29 2018-01-05 阿里巴巴集团控股有限公司 Wrap up processing method, logistics processing server, logistics node server and terminal
CN107730365A (en) * 2017-10-31 2018-02-23 宁波国技互联信息技术有限公司 A kind of distribution system
CN108230098A (en) * 2017-12-26 2018-06-29 江苏保千里视像科技集团股份有限公司 A kind of commodity selling method, device and computer readable storage medium
CN108268955A (en) * 2016-12-30 2018-07-10 北京嘀嘀无限科技发展有限公司 Location information amending method and device in network about vehicle application
CN108474665A (en) * 2015-12-30 2018-08-31 伟摩有限责任公司 Automatic driving vehicle service
CN110223025A (en) * 2019-06-14 2019-09-10 上海中通吉网络技术有限公司 Express mail arrives at a station recognition methods, device and system
CN110322044A (en) * 2019-04-12 2019-10-11 成都服务生科技有限公司 A kind of luggage dispatched between multiple means of transports fetches and delivers method
US10592964B2 (en) 2016-03-29 2020-03-17 Walmart Apollo, Llc Order fulfillment management
CN111311146A (en) * 2020-01-30 2020-06-19 北京三快在线科技有限公司 Information transmission method and system, communication system, computer readable storage medium
CN113780609A (en) * 2020-11-26 2021-12-10 北京京东振世信息技术有限公司 Method, device, computing equipment and medium for adjusting article distribution path
CN113848885A (en) * 2021-09-07 2021-12-28 深圳优地科技有限公司 Robot order sending method, device, equipment and computer readable storage medium
CN114444992A (en) * 2020-11-05 2022-05-06 丰田自动车株式会社 Vehicle instruction device, delivery management system, vehicle instruction method, and recording medium recording vehicle instruction program
CN114612045A (en) * 2022-03-29 2022-06-10 广西盖德科技有限公司 Method and system for realizing optimal goods allocation cooperation of epitaxial inventory
CN115545625A (en) * 2022-12-05 2022-12-30 成都飞机工业(集团)有限责任公司 Part logistics distribution method, device and equipment and storage medium
US20230351321A1 (en) * 2021-01-21 2023-11-02 Beijijng Jingdong Zhenshi Information Technology Co., Ltd. Material conveying method, device, system and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5758329A (en) * 1993-08-24 1998-05-26 Lykes Bros., Inc. System for managing customer orders and method of implementation
CN101042807A (en) * 2006-06-14 2007-09-26 华为技术有限公司 Method and system for vehicle scheduling
CN101160601A (en) * 2005-04-18 2008-04-09 美国联合包裹服务公司 System and method for dynamically updating a dispatch plan
CN102496096A (en) * 2011-11-25 2012-06-13 深圳市赛格导航科技股份有限公司 High-efficient logistic scheduling system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5758329A (en) * 1993-08-24 1998-05-26 Lykes Bros., Inc. System for managing customer orders and method of implementation
CN101160601A (en) * 2005-04-18 2008-04-09 美国联合包裹服务公司 System and method for dynamically updating a dispatch plan
CN101042807A (en) * 2006-06-14 2007-09-26 华为技术有限公司 Method and system for vehicle scheduling
CN102496096A (en) * 2011-11-25 2012-06-13 深圳市赛格导航科技股份有限公司 High-efficient logistic scheduling system and method

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
柳伍生: "实时订货信息下物流配送车辆调度优化研究", 《中国优秀硕士学位论文全文数据库(社会科学I辑(经济政治与法律))》 *
贾振亮: "实时需求信息下物流配送车辆调度系统研究", 《中国优秀硕士学位论文全文数据库(信息科技辑)》 *
金中波: "基于电子商务平台的物流配送系统构建", 《中国优秀硕士学位论文全文数据库(信息科技辑)》 *

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105654256A (en) * 2014-11-12 2016-06-08 成都东哲科技有限公司 Goods logistics positioning system
US11727523B2 (en) 2015-12-30 2023-08-15 Waymo Llc Autonomous vehicle services
US11205240B2 (en) 2015-12-30 2021-12-21 Waymo Llc Autonomous vehicle services
CN108474665A (en) * 2015-12-30 2018-08-31 伟摩有限责任公司 Automatic driving vehicle service
US10592964B2 (en) 2016-03-29 2020-03-17 Walmart Apollo, Llc Order fulfillment management
CN107545385A (en) * 2016-06-29 2018-01-05 阿里巴巴集团控股有限公司 Wrap up processing method, logistics processing server, logistics node server and terminal
CN107545385B (en) * 2016-06-29 2021-03-05 菜鸟智能物流控股有限公司 Package processing method, logistics processing server, logistics node server and terminal
CN105956816A (en) * 2016-07-19 2016-09-21 成都镜杰科技有限责任公司 Cargo transportation information intelligent processing method
CN106327010A (en) * 2016-08-18 2017-01-11 浪潮软件股份有限公司 Order delivering route generating method and order delivering route generating device
CN108268955A (en) * 2016-12-30 2018-07-10 北京嘀嘀无限科技发展有限公司 Location information amending method and device in network about vehicle application
CN107730365A (en) * 2017-10-31 2018-02-23 宁波国技互联信息技术有限公司 A kind of distribution system
CN108230098A (en) * 2017-12-26 2018-06-29 江苏保千里视像科技集团股份有限公司 A kind of commodity selling method, device and computer readable storage medium
CN110322044A (en) * 2019-04-12 2019-10-11 成都服务生科技有限公司 A kind of luggage dispatched between multiple means of transports fetches and delivers method
CN110322044B (en) * 2019-04-12 2023-08-29 赵志为 Luggage taking and delivering method for dispatching among multiple transport means
CN110223025A (en) * 2019-06-14 2019-09-10 上海中通吉网络技术有限公司 Express mail arrives at a station recognition methods, device and system
CN111311146B (en) * 2020-01-30 2022-06-14 北京三快在线科技有限公司 Information transmission method and system, communication system, computer readable storage medium
CN111311146A (en) * 2020-01-30 2020-06-19 北京三快在线科技有限公司 Information transmission method and system, communication system, computer readable storage medium
CN114444992A (en) * 2020-11-05 2022-05-06 丰田自动车株式会社 Vehicle instruction device, delivery management system, vehicle instruction method, and recording medium recording vehicle instruction program
CN113780609A (en) * 2020-11-26 2021-12-10 北京京东振世信息技术有限公司 Method, device, computing equipment and medium for adjusting article distribution path
US20230351321A1 (en) * 2021-01-21 2023-11-02 Beijijng Jingdong Zhenshi Information Technology Co., Ltd. Material conveying method, device, system and storage medium
CN113848885A (en) * 2021-09-07 2021-12-28 深圳优地科技有限公司 Robot order sending method, device, equipment and computer readable storage medium
CN114612045A (en) * 2022-03-29 2022-06-10 广西盖德科技有限公司 Method and system for realizing optimal goods allocation cooperation of epitaxial inventory
CN115545625A (en) * 2022-12-05 2022-12-30 成都飞机工业(集团)有限责任公司 Part logistics distribution method, device and equipment and storage medium
CN115545625B (en) * 2022-12-05 2023-05-12 成都飞机工业(集团)有限责任公司 Part logistics distribution method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN103679316A (en) Real-time dispatching and delivery method and device
CN113408773B (en) Transport vehicle charging scheduling control method and device
CN110111033B (en) Order diversion method and device
JP2018205806A (en) Transportation plan generation method and transportation plan generation system
US20170083967A1 (en) Demand-based product sourcing
CN113191713A (en) Warehouse out-of-stock transferring method, device, equipment and storage medium
JP2019512803A (en) Method and apparatus for processing allocation requests
WO2016179232A1 (en) On-demand delivery system
CN115373349A (en) Mobile transfer robot scheduling method and system
US20240212028A1 (en) Out-of-store purchase routing systems, methods, and media
KR20130058196A (en) Administration system of physical distribution using mobile
CN111507651B (en) Order data processing method and device applied to human-machine hybrid warehouse
KR102397203B1 (en) Method for providing information on whether an item can be ordered and apparatus thereof
JP2018045633A (en) Transportation management system, transportation management method, and transportation management program
CN110880087A (en) Method, device, warehousing system, equipment and medium for determining shelf position
KR102415901B1 (en) Electronic apparatus for processing delivery information and method thereof
KR20200110107A (en) Genetic algorithm-based systems and methods for simulating outbound flow
TWI866752B (en) Electronic apparatus for processing information for delivery tasks and method thereof
US12093866B2 (en) Systems and methods for optimizing assembly of product kits in an order fulfillment center using autonomous vehicles
TWI864684B (en) Electronic apparatus for managing information of cells of shelf and method thereof, and computer-readable non-transitory recording medium for executing the method
JP6946680B2 (en) Inventory allocation device, inventory allocation method and inventory allocation program
KR101675070B1 (en) Method of Minimize Cargo Truck Unloading Wait Time for Delivery Metal Scrap Delivery
KR102422809B1 (en) Systems and Methods for Local Cache Synchronization
CN113393086B (en) Distribution task information processing method and device
CN115310915A (en) Intelligent steel warehouse location resource optimal utilization system and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140326