CN111157000B - Method and apparatus for generating path information - Google Patents
Method and apparatus for generating path information Download PDFInfo
- Publication number
- CN111157000B CN111157000B CN201811312904.2A CN201811312904A CN111157000B CN 111157000 B CN111157000 B CN 111157000B CN 201811312904 A CN201811312904 A CN 201811312904A CN 111157000 B CN111157000 B CN 111157000B
- Authority
- CN
- China
- Prior art keywords
- path
- picking
- channel
- determined
- subgraph
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C21/00—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
- G01C21/20—Instruments for performing navigational calculations
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/0088—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots characterized by the autonomous decision making process, e.g. artificial intelligence, predefined behaviours
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/02—Control of position or course in two dimensions
- G05D1/021—Control of position or course in two dimensions specially adapted to land vehicles
- G05D1/0212—Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory
- G05D1/0217—Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory in accordance with energy consumption, time reduction or distance reduction criteria
Landscapes
- Engineering & Computer Science (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Automation & Control Theory (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Aviation & Aerospace Engineering (AREA)
- Business, Economics & Management (AREA)
- Artificial Intelligence (AREA)
- Evolutionary Computation (AREA)
- Game Theory and Decision Science (AREA)
- Medical Informatics (AREA)
- Health & Medical Sciences (AREA)
- Navigation (AREA)
Abstract
Description
技术领域technical field
本申请实施例涉及计算机技术领域,具体涉及用于生成路径信息的方法和装置。The embodiments of the present application relate to the field of computer technology, and in particular to a method and an apparatus for generating path information.
背景技术Background technique
目前,作为一种人机协作的仓储模式,AGV(Automated Guided Vehicle,自动导引运输车)小车可以基于SLAM(simultaneous localization and mapping,即时定位与地图构建)实现导航。根据规划的路径自动行驶到拣选点。然后由拣选人员完成当前拣选点的拣选任务。小车继续行驶到下一个拣选点,由拣选人员继续拣选。直到所有拣货任务完成。对于AGV小车需要到达的所有的拣选点,通常需要给定一个顺序,以尽可能快的完成所有待拣选货物的拣选。At present, as a warehousing mode of human-machine collaboration, AGV (Automated Guided Vehicle, automatic guided transport vehicle) car can realize navigation based on SLAM (simultaneous localization and mapping, real-time positioning and map construction). Automatically drive to the picking point according to the planned route. Then the picker completes the picking task of the current picking point. The trolley continues to drive to the next picking point, and the picking personnel continue to pick. Until all picking tasks are completed. For all the picking points that the AGV trolley needs to reach, it is usually necessary to give a sequence to complete the picking of all the goods to be picked as quickly as possible.
为了提高存储效率,一般仓库中的通道都比较窄,在此场景下,通常存在如下两种拣选方式:一种方式是直接对所有待拣选储位点进行建模求解;另外一种是不考虑当前的任务,直接规定所有储位节点的顺序(比如按照S型行驶)。In order to improve storage efficiency, the aisles in general warehouses are relatively narrow. In this scenario, there are usually two picking methods: one is to directly model and solve all the storage points to be picked; the other is not to consider The current task directly stipulates the order of all storage nodes (such as driving in S shape).
发明内容Contents of the invention
本申请实施例提出了用于生成路径信息的方法和装置。The embodiments of the present application propose a method and an apparatus for generating path information.
第一方面,本申请实施例提供了一种用于生成路径信息的方法,该方法包括:获取至少一个待拣选货物的位置信息;根据位置信息,在预先确定的通道集合中,确定用于拣选至少一个待拣选货物的通道;确定以预先确定的第一位置为起点,以预先确定的第二位置为终点,经过所确定的通道的拣货路径;从所确定的拣货路径中,确定长度最短的拣货路径;生成长度最短的拣货路径的路径信息。In the first aspect, the embodiment of the present application provides a method for generating route information, the method includes: obtaining the location information of at least one item to be picked; according to the location information, in a predetermined channel set, determine At least one channel for goods to be picked; determining a picking path starting from a predetermined first position and ending at a predetermined second position through the determined channel; from the determined picking path, determining the length Shortest Picking Path; Generates routing information for the shortest picking path.
在一些实施例中,确定以预先确定的第一位置为起点,以预先确定的第二位置为终点,经过所确定的通道的拣货路径,包括:构建有向图,其中,有向图包括:表征起点的节点、表征终点的节点和表征所确定的通道的端点的节点,有向图的两两节点相连通,有向图的边的权重表征边所连接的两个节点对应的位置间的行驶距离。In some embodiments, determining the picking path starting from the predetermined first position and ending at the predetermined second position through the determined channel includes: constructing a directed graph, wherein the directed graph includes : The node representing the starting point, the node representing the end point, and the node representing the end point of the determined channel. The pairwise nodes of the directed graph are connected, and the weight of the edge of the directed graph represents the distance between the corresponding positions of the two nodes connected by the edge. driving distance.
在一些实施例中,从所确定的拣货路径中,确定长度最短的拣货路径,包括:从有向图中,确定以表征起点的节点为起点,以表征终点的节点为终点,包括表征所确定的通道的端点的节点的最短路径子图;确定最短路径子图对应的拣选路径作为长度最短的拣货路径。In some embodiments, from the determined picking paths, determining the picking path with the shortest length includes: from the directed graph, determining the node that represents the start point as the starting point, and the node that represents the end point as the end point, including representing The determined shortest path subgraph of nodes at the end points of the channel; determining the picking path corresponding to the shortest path subgraph as the picking path with the shortest length.
在一些实施例中,从有向图中,确定以表征起点的节点为起点,以表征终点的节点为终点,包括表征所确定的通道的端点的节点的最短路径子图,包括:从有向图中,确定以表征起点的节点为起点,以表征终点的节点为终点,包括表征所确定的通道的端点的节点的路径子图;将所确定的路径子图中符合预设条件的路径子图,确定为目标路径子图;从所确定的目标路径子图中确定长度最短的路径子图作为最短路径子图。In some embodiments, from the directed graph, determine the shortest path subgraph with the node representing the starting point as the starting point, the node representing the end point as the end point, and the node representing the end point of the determined channel, including: from the directed In the figure, determine the path subgraph with the node representing the start point as the starting point, the node representing the end point as the end point, including the node representing the end point of the determined channel; the path subgraph that meets the preset conditions in the determined path subgraph The graph is determined as the target path subgraph; and the path subgraph with the shortest length is determined from the determined target path subgraph as the shortest path subgraph.
在一些实施例中,预设条件包括以下至少一项:路径子图包括的节点中,除表征起点和表征终点之外的节点的入度为1且出度为1;路径子图不包括自环;连接通道的两个端点对应的两个节点的边为路径子图经过的边。In some embodiments, the preset condition includes at least one of the following: among the nodes included in the path subgraph, the in-degree and the out-degree of nodes other than the characterizing start point and the characterizing end point are 1; the path subgraph does not include Ring; the edge connecting the two nodes corresponding to the two endpoints of the channel is the edge that the path subgraph passes through.
在一些实施例中,通道为单行通道。In some embodiments, the lanes are single row lanes.
第二方面,本申请实施例提供了一种用于生成路径信息的装置,该装置包括:获取单元,被配置成获取至少一个待拣选货物的位置信息;第一确定单元,被配置成根据位置信息,在预先确定的通道集合中,确定用于拣选至少一个待拣选货物的通道;第二确定单元,被配置成确定以预先确定的第一位置为起点,以预先确定的第二位置为终点,经过所确定的通道的拣货路径;第三确定单元,被配置成从所确定的拣货路径中,确定长度最短的拣货路径;生成单元,被配置成生成长度最短的拣货路径的路径信息。In a second aspect, an embodiment of the present application provides a device for generating route information, the device comprising: an acquisition unit configured to acquire the location information of at least one item to be picked; a first determination unit configured to Information, in the predetermined channel set, determine the channel for picking at least one item to be picked; the second determination unit is configured to determine the predetermined first position as the starting point and the predetermined second position as the end point , the picking path passing through the determined channel; the third determining unit is configured to determine the picking path with the shortest length from the determined picking paths; the generating unit is configured to generate the picking path with the shortest length path information.
在一些实施例中,第二确定单元包括:构建模块,被配置成构建有向图,其中,有向图包括:表征起点的节点、表征终点的节点和表征所确定的通道的端点的节点,有向图的两两节点相连通,有向图的边的权重表征边所连接的两个节点对应的位置间的行驶距离。In some embodiments, the second determination unit includes: a construction module configured to construct a directed graph, wherein the directed graph includes: a node representing a start point, a node representing an end point, and a node representing an end point of the determined channel, Two nodes of the directed graph are connected, and the weight of the edge of the directed graph represents the driving distance between the positions corresponding to the two nodes connected by the edge.
在一些实施例中,第三确定单元包括:第一确定模块,被配置成从有向图中,确定以表征起点的节点为起点,以表征终点的节点为终点,包括表征所确定的通道的端点的节点的最短路径子图;第二确定模块,被配置成确定最短路径子图对应的拣选路径作为长度最短的拣货路径。In some embodiments, the third determination unit includes: a first determination module configured to determine from the directed graph that the node representing the starting point is the starting point and the node representing the ending point is the end point, including the node representing the determined path The shortest path subgraph of the node of the end point; the second determination module is configured to determine the picking path corresponding to the shortest path subgraph as the picking path with the shortest length.
在一些实施例中,第一确定模块包括:第一确定子模块,被配置成从有向图中,确定以表征起点的节点为起点,以表征终点的节点为终点,包括表征所确定的通道的端点的节点的路径子图;第二确定子模块,被配置成将所确定的路径子图中符合预设条件的路径子图,确定为目标路径子图;第三确定子模块,被配置成从所确定的目标路径子图中确定长度最短的路径子图作为最短路径子图。In some embodiments, the first determination module includes: a first determination submodule configured to determine from the directed graph that the node representing the start point is the starting point and the node representing the end point is the end point, including the path that represents the determined path The path subgraph of the node of the endpoint; the second determination submodule is configured to determine the path subgraph that meets the preset conditions in the determined path subgraph as the target path subgraph; the third determination submodule is configured Determine the path subgraph with the shortest length from the determined target path subgraph as the shortest path subgraph.
在一些实施例中,预设条件包括以下至少一项:路径子图包括的节点中,除表征起点和表征终点之外的节点的入度为1且出度为1;路径子图不包括自环;连接通道的两个端点对应的两个节点的边为路径子图经过的边。In some embodiments, the preset condition includes at least one of the following: among the nodes included in the path subgraph, the in-degree and the out-degree of nodes other than the characterizing start point and the characterizing end point are 1; the path subgraph does not include Ring; the edge connecting the two nodes corresponding to the two endpoints of the channel is the edge that the path subgraph passes through.
在一些实施例中,通道为单行通道。In some embodiments, the lanes are single row lanes.
第三方面,本申请实施例提供了一种用于生成路径信息的电子设备,包括:一个或多个处理器;存储装置,其上存储有一个或多个程序,当上述一个或多个程序被上述一个或多个处理器执行,使得该一个或多个处理器实现如上述用于生成路径信息的方法中任一实施例的方法。In the third aspect, the embodiment of the present application provides an electronic device for generating route information, including: one or more processors; a storage device, on which one or more programs are stored, when the above one or more programs Executed by the above-mentioned one or more processors, so that the one or more processors implement the method in any embodiment of the above-mentioned method for generating path information.
第四方面,本申请实施例提供了一种用于生成路径信息的计算机可读介质,其上存储有计算机程序,该程序被处理器执行时实现如上述用于生成路径信息的方法中任一实施例的方法。In a fourth aspect, the embodiment of the present application provides a computer-readable medium for generating path information, on which a computer program is stored, and when the program is executed by a processor, any one of the above-mentioned methods for generating path information is implemented. Example method.
本申请实施例提供的用于生成路径信息的方法和装置,通过根据至少一个待拣选货物的位置信息,在预先确定的通道集合中,确定用于拣选至少一个待拣选货物的通道,然后,确定以预先确定的第一位置为起点,以预先确定的第二位置为终点,经过所确定的通道的拣货路径,之后,从所确定的拣货路径中,确定长度最短的拣货路径,最后,生成长度最短的拣货路径的路径信息,从而通过确定长度最短的拣货路径,有助于提高货物的拣选效率,有助于在保证确定拣选货物时车辆行驶的最短路径的准确性的前提下,简化求解长度最短的拣货路径的求解过程,以及提高求解长度最短的拣货路径的求解速度,以及提高求解长度最短的拣货路径的求解速度。In the method and device for generating route information provided in the embodiments of the present application, according to the position information of at least one item to be picked, the channel for picking at least one item to be picked is determined in a predetermined channel set, and then, the Taking the predetermined first position as the starting point and the predetermined second position as the end point, passing through the picking path of the determined channel, after that, determining the picking path with the shortest length from the determined picking paths, and finally , to generate the path information of the shortest picking path, so that by determining the shortest picking path, it helps to improve the picking efficiency of the goods, and helps to ensure the accuracy of the shortest path that the vehicle travels when picking the goods. Next, simplify the solution process of solving the picking path with the shortest length, increase the solving speed of picking the picking path with the shortest length, and increase the solving speed of picking the picking path with the shortest length.
附图说明Description of drawings
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本申请的其它特征、目的和优点将会变得更明显:Other characteristics, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:
图1是本申请的一个实施例可以应用于其中的示例性系统架构图;FIG. 1 is an exemplary system architecture diagram to which an embodiment of the present application can be applied;
图2是根据本申请的用于生成路径信息的方法的一个实施例的流程图;FIG. 2 is a flowchart of an embodiment of a method for generating path information according to the present application;
图3是根据本申请的用于生成路径信息的方法的一个应用场景的示意图;FIG. 3 is a schematic diagram of an application scenario of a method for generating path information according to the present application;
图4是根据本申请的用于生成路径信息的方法的又一个实施例的流程图;FIG. 4 is a flowchart of another embodiment of a method for generating path information according to the present application;
图5是根据本申请的用于生成路径信息的装置的一个实施例的结构示意图;FIG. 5 is a schematic structural diagram of an embodiment of a device for generating route information according to the present application;
图6是适于用来实现本申请实施例的电子设备的计算机系统的结构示意图。Fig. 6 is a schematic structural diagram of a computer system suitable for implementing the electronic device of the embodiment of the present application.
具体实施方式Detailed ways
下面结合附图和实施例对本申请作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释相关发明,而非对该发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与有关发明相关的部分。The application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, rather than to limit the invention. It should also be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.
需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本申请。It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.
图1示出了可以应用本申请实施例的用于生成路径信息的方法或用于生成路径信息的装置的实施例的示例性系统架构100。Fig. 1 shows an
如图1所示,系统架构100可以包括终端设备101、102,服务器103,网络104和车辆105。网络104用以在终端设备101、102,服务器103和车辆105之间提供通信链路的介质。网络104可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。As shown in FIG. 1 , the
终端设备101、102,服务器103可以通过网络104与车辆105交互,以接收或发送消息(例如接收车辆105的位置信息,发送指示车辆105行驶的指令)等。终端设备101、102上可以安装有各种通讯客户端应用,例如车辆控制类应用、网页浏览器应用、购物类应用、搜索类应用、即时通信工具、邮箱客户端、社交平台软件等。The
终端设备101、102可以是硬件,也可以是软件。当终端设备101、102为硬件时,可以是具有信息传输功能的各种电子设备,包括但不限于智能手机、平板电脑、膝上型便携计算机和台式计算机等等。当终端设备101、102为软件时,可以安装在上述所列举的电子设备中。其可以实现成多个软件或软件模块(例如用来提供分布式服务的软件或软件模块),也可以实现成单个软件或软件模块。在此不做具体限定。The
服务器103可以是提供各种服务的服务器,例如对终端设备101、102或者车辆105所需进行的运算提供支持的后台服务器。后台服务器可以对接收到的路径规划请求等数据进行分析等处理,并将处理结果(例如路径信息)反馈给终端设备101、102或者车辆105。The
需要说明的是,本申请实施例所提供的用于生成路径信息的方法可以由终端设备101、102执行,相应地,用于生成路径信息的装置可以设置于终端设备101、102中;本申请实施例所提供的用于生成路径信息的方法也可以由服务器103执行,相应地,用于生成路径信息的装置也可以设置于服务器103中;此外,本申请实施例所提供的用于生成路径信息的方法还可以由车辆105(例如车辆105中的用于生成路径信息的单元)执行,相应地,用于生成路径信息的装置也可以设置于车辆105中。It should be noted that the method for generating path information provided by the embodiment of the present application can be executed by the
需要说明的是,服务器可以是硬件,也可以是软件。当服务器为硬件时,可以实现成多个服务器组成的分布式服务器集群,也可以实现成单个服务器。当服务器为软件时,可以实现成多个软件或软件模块(例如用来提供分布式服务的软件或软件模块),也可以实现成单个软件或软件模块。在此不做具体限定。It should be noted that the server may be hardware or software. When the server is hardware, it can be implemented as a distributed server cluster composed of multiple servers, or as a single server. When the server is software, it can be implemented as multiple software or software modules (such as software or software modules for providing distributed services), or as a single software or software module. No specific limitation is made here.
应该理解,图1中的终端设备、网络和服务器的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、网络和服务器。当信息处理方法运行于其上的电子设备不需要与其他电子设备进行数据传输时,该系统架构可以不包括除信息处理方法运行于其上的电子设备之外的其他电子设备。It should be understood that the numbers of terminal devices, networks and servers in Fig. 1 are only illustrative. According to the implementation needs, there can be any number of terminal devices, networks and servers. When the electronic device on which the information processing method runs does not need to perform data transmission with other electronic devices, the system architecture may not include other electronic devices except the electronic device on which the information processing method runs.
继续参考图2,示出了根据本申请的用于生成路径信息的方法的一个实施例的流程200。该用于生成路径信息的方法,包括以下步骤:Continuing to refer to FIG. 2 , a
步骤201,获取至少一个待拣选货物的位置信息。
在本实施例中,用于生成路径信息的方法的执行主体(例如图1所示的服务器、终端设备或者车辆)可以通过有线连接方式或者无线连接方式从其他电子设备,或者本地获取至少一个待拣选货物的位置信息。其中,上述待拣选货物可以是将被拣选的货物。上述位置信息可以表征待拣选货物所在的位置。In this embodiment, the executing subject of the method for generating route information (for example, the server, terminal device or vehicle shown in FIG. 1 ) can acquire at least one waiting path from other electronic devices or locally through a wired connection or a wireless connection. The location information of the picked goods. Wherein, the above-mentioned goods to be picked may be goods to be picked. The above location information may represent the location of the goods to be picked.
步骤202,根据位置信息,在预先确定的通道集合中,确定用于拣选至少一个待拣选货物的通道。
在本实施例中,根据步骤201中得到的位置信息,上述执行主体可以在预先确定的通道集合中,确定用于拣选至少一个待拣选货物的通道。In this embodiment, according to the location information obtained in
实践中,通常待拣选货物可以存储于仓库中,仓库中可以设置有用于放置货物的设备(例如货架等)。上述用于放置待拣选货物的设备间可以形成有供拣选人员进行拣货、供拣选车辆驶入的通道。上述执行主体或者与上述执行主体通信连接的其他电子设备中可以存储有上述待拣选货物的位置信息、通道的位置信息等等。由此,上述执行主体可以通过向上述车辆发送指令的方式,指示车辆的行驶路径,以便拣货人员进行待拣选货物的拣选。在这里,通道可以是单行通道(不可逆行、不可掉头的通道),也可以是双行通道(可以逆行、可以掉头的通道)。In practice, generally, the goods to be picked can be stored in a warehouse, and the warehouse can be provided with equipment for placing goods (such as shelves, etc.). The above-mentioned equipment room for placing goods to be picked can form a channel for picking personnel to pick goods and for picking vehicles to drive in. The location information of the goods to be picked, the location information of the channel, and the like may be stored in the execution subject or other electronic devices communicatively connected with the execution subject. Thus, the above-mentioned executive body can send instructions to the above-mentioned vehicle to indicate the driving path of the vehicle, so that the picker can pick the goods to be picked. Here, the channel can be a one-way channel (a channel that cannot go backwards and can not turn around), or a two-way channel (a channel that can go backwards and can make a U-turn).
作为示例,上述执行主体可以根据待拣选货物的位置信息,从上述通道集合中,确定与该待选货物的位置最近的通道作为用于拣选该待拣选货物的通道。As an example, the execution subject may determine the channel closest to the position of the item to be selected from the channel set according to the location information of the item to be picked as the channel for picking the item to be picked.
可选的,当与该待选货物的位置最近的通道被其他物体(例如其他拣选车辆或者障碍物等)占用,导致该最近的通道无法驶入时,上述执行主体可以从上述通道集合中,确定与该待选货物的位置第二接近的通道作为用于拣选该待拣选货物的通道。Optionally, when the channel closest to the position of the cargo to be selected is occupied by other objects (such as other picking vehicles or obstacles, etc.), causing the nearest channel to be unable to drive in, the above-mentioned executive body can select from the above-mentioned channel set, Determining the channel second closest to the position of the item to be selected as the channel for picking the item to be selected.
在本实施例的一些可选的实现方式中,通道为单行通道。可以理解,通道设置得越窄,仓库的货物存储能力越高(仓库的利用率越高)。因此,相对于双行通道,单行通道可以提高仓库的储存能力;相对于比单行通道更窄的通道(例如不可供车辆进入的通道),单行通道可以节省拣选人员的体力,提高拣选人员的拣选效率。In some optional implementation manners of this embodiment, the channel is a single-row channel. It can be understood that the narrower the aisle is set, the higher the storage capacity of the warehouse (the higher the utilization rate of the warehouse). Therefore, compared with the double-lane aisle, the single-lane aisle can improve the storage capacity of the warehouse; compared with the narrower aisle (such as the aisle that cannot be entered by vehicles), the single-lane aisle can save the physical strength of the pickers and improve the picking efficiency of the pickers. efficiency.
步骤203,确定以预先确定的第一位置为起点,以预先确定的第二位置为终点,经过所确定的通道的拣货路径。
在本实施例中,上述执行主体可以确定以预先确定的第一位置为起点,以预先确定的第二位置为终点,经过所确定的通道的拣货路径。其中,上述第一位置可以是拣选车辆在进行拣选之前,该拣选车辆所停靠的位置,也可以是仓库中可供拣选车辆驶入的、除上述该拣选车辆所停靠的位置之外的其他位置。上述第二位置可以是拣选车辆在进行拣选之后,该拣选车辆所停靠的位置,也可以是仓库中可供拣选车辆驶入的、除上述该拣选车辆所停靠的位置之外的其他位置。In this embodiment, the above-mentioned executive body may determine a picking path that starts from the predetermined first position and ends at the predetermined second position and passes through the determined channel. Wherein, the above-mentioned first position may be the position where the picking vehicle stops before picking, or it may be other positions in the warehouse where the picking vehicle can drive into, except for the above-mentioned position where the picking vehicle stops . The above-mentioned second position may be the position where the picking vehicle stops after picking, or it may be other positions in the warehouse where the picking vehicle can drive into, except for the above-mentioned position where the picking vehicle stops.
作为示例,上述执行主体可以确定以预先确定的第一位置为起点,以预先确定的第二位置为终点,经过所确定的通道的全部的拣货路径,也可以确定以预先确定的第一位置为起点,以预先确定的第二位置为终点,经过所确定的通道并且符合预定条件(例如确定出的拣选路径的长度小于其他以预先确定的第二位置为终点,经过所确定的通道的拣选路径)的拣货路径。As an example, the above-mentioned execution subject may determine the starting point from the predetermined first position and the end point on the predetermined second position, and pass through all the picking routes of the determined channel, or may determine that the predetermined first position As the starting point, with the predetermined second position as the end point, passing through the determined channel and meeting the predetermined conditions (for example, the length of the determined picking path is less than other picking paths with the predetermined second position as the end point, passing through the determined channel) path) picking path.
在本实施例的一些可选的实现方式中,上述执行主体可以按照如下步骤执行该步骤203:构建有向图。其中,有向图包括:表征起点的节点、表征终点的节点和表征所确定的通道的端点的节点,有向图的两两节点相连通,有向图的边的权重表征边所连接的两个节点对应的位置间的行驶距离。其中,通道的端点可以是通道入口点和出口点(例如图3中,拣选点3028-3034所在的通道的端点为拣选点3028和拣选点3034)。行驶距离可以是可供拣选车辆行驶的距离。可以理解,当连接两个位置的线段之间不存在障碍物时,该线段的长度可以是上述行驶距离;当连接两个位置的线段之间存在障碍物时,拣选车辆从上述两个位置中的一个位置避开障碍物到达另一个位置所经过的路径长度为上述行驶距离。In some optional implementation manners of this embodiment, the execution subject may perform step 203 as follows: construct a directed graph. Among them, the directed graph includes: the node representing the starting point, the node representing the end point and the node representing the end point of the determined channel, the two nodes of the directed graph are connected, and the weight of the edge of the directed graph represents the two nodes connected by the edge. The driving distance between the locations corresponding to nodes. Wherein, the end points of the channel may be the channel entry point and the exit point (for example, in FIG. 3 , the end points of the channel where the picking points 3028-3034 are located are the
步骤204,从所确定的拣货路径中,确定长度最短的拣货路径。
在本实施例中,上述执行主体可以从所确定的拣货路径中,确定长度最短的拣货路径。In this embodiment, the execution subject may determine the shortest picking path from the determined picking paths.
作为示例,当上述执行主体通过步骤203确定出的拣选路径只有一条时,上述执行主体可以将所确定的一条拣选路径确定为长度最短的拣货路径;当上述执行主体通过步骤203确定出的拣选路径不止一条时,上述执行主体可以通过比对所确定的拣选路径的长度的方式,确定出长度最短的拣货路径。As an example, when there is only one picking path determined by the execution subject through
在本实施例的一些可选的实现方式中,当上述步骤203按照上述构建有向图的方式执行时,上述执行主体可以按照如下步骤执行该步骤204:In some optional implementations of this embodiment, when the above-mentioned
第一步骤,从有向图中,确定以表征起点的节点为起点,以表征终点的节点为终点,包括表征所确定的通道的端点的节点的最短路径子图。The first step is to determine from the directed graph the shortest path subgraph starting from the node representing the start point and ending at the node representing the end point, including the node representing the end point of the determined channel.
第二步骤,确定最短路径子图对应的拣选路径作为长度最短的拣货路径。The second step is to determine the picking path corresponding to the shortest path subgraph as the picking path with the shortest length.
可以理解,最短路径子图包括的节点表征起点、终点或者通道的端点,最短路径子图的边表征两个节点对应的位置(包括起点、终点或通道的端点)间的行驶距离,因此,上述最短路径子图可以表征(即对应)拣选路径。It can be understood that the nodes included in the shortest path subgraph represent the starting point, the end point or the end point of the channel, and the edges of the shortest path subgraph represent the driving distance between the positions corresponding to the two nodes (including the starting point, the end point or the end point of the channel). Therefore, the above A shortest path subgraph may represent (ie correspond to) a picking path.
步骤205,生成长度最短的拣货路径的路径信息。
在本实施例中,上述执行主体可以生成长度最短的拣货路径的路径信息。其中,路径信息可以指示车辆经过各个通道的顺序,以及每个通道的入口点等等。In this embodiment, the execution subject may generate the path information of the shortest picking path. Wherein, the route information may indicate the order in which vehicles pass through various passages, as well as the entry point of each passage, and so on.
在一些使用情况下,上述执行主体还可以向车辆(例如AGV车辆)发送上述路径信息,以指示车辆行驶。In some use cases, the above-mentioned execution subject may also send the above-mentioned path information to the vehicle (such as an AGV vehicle) to instruct the vehicle to travel.
继续参见图3,图3是根据本实施例的用于生成路径信息的方法的应用场景的一个示意图。在图3的应用场景中,终端设备获取到了待拣选货物3101、3102、3103和3104的位置信息。之后,终端设备根据位置信息,在预先确定的通道集合(包括用于拣选货物的拣选点3021-3027所在的通道、拣选点3028-3034所在的通道和拣选点3035-3041所在的通道,其中,拣选点3021-3027所在的通道的端点为拣选点3021和拣选点3027,拣选点3028-3034所在的通道的端点为拣选点3028和拣选点3034,拣选点3035-3041所在的通道的端点为拣选点3035和拣选点3041)中,确定出了用于拣选待拣选货物3101-3104的通道(即拣选点3021-3027所在的通道和拣选点3028-3034所在的通道)。随后,上述终端设备确定以预先确定的第一位置300为起点,以预先确定的第二位置301为终点,经过拣选点3021-3027所在的通道和拣选点3028-3034所在的通道的拣货路径。接着,上述终端设备从所确定的拣货路径中,确定长度最短的拣货路径310(如图中虚线所示)。最后,终端设备生成了长度最短的拣货路径310的路径信息。例如路径信息可以是“300-3028-3029-3030-3031-3032-3033-3034-3027-3026-3025-3024-3023-3022-3021-301”。Continue referring to FIG. 3 , which is a schematic diagram of an application scenario of the method for generating path information according to this embodiment. In the application scenario of FIG. 3 , the terminal device has acquired the location information of the
本申请的上述实施例提供的方法,通过根据获取的至少一个待拣选货物的位置信息,在预先确定的通道集合中,确定用于拣选至少一个待拣选货物的通道,然后,确定以预先确定的第一位置为起点,以预先确定的第二位置为终点,经过所确定的通道的拣货路径,之后,从所确定的拣货路径中,确定长度最短的拣货路径,最后,生成长度最短的拣货路径的路径信息,从而基于确定长度最短的拣货路径,有助于提高货物的拣选效率,有助于在保证确定拣选货物时车辆行驶的最短路径的准确性的前提下,简化求解长度最短的拣货路径的求解过程,以及提高求解长度最短的拣货路径的求解速度。In the method provided by the above-mentioned embodiments of the present application, according to the acquired position information of at least one item to be picked, in the predetermined channel set, determine the channel for picking at least one item to be picked, and then determine the channel with the predetermined The first location is the starting point, the predetermined second location is the end point, and the picking path of the determined channel is passed through, and then the picking path with the shortest length is determined from the determined picking paths, and finally, the shortest length is generated Based on the path information of the picking path, based on determining the shortest picking path, it helps to improve the picking efficiency of the goods, and helps to simplify the solution under the premise of ensuring the accuracy of the shortest path of the vehicle when picking the goods. The process of solving the picking path with the shortest length, and improving the speed of solving the picking path with the shortest length.
进一步参考图4,其示出了用于生成路径信息的方法的又一个实施例的流程400。该用于生成路径信息的方法的流程400,包括以下步骤:Further referring to FIG. 4 , it shows a
步骤401,获取至少一个待拣选货物的位置信息。
在本实施例中,步骤401与图2对应实施例中的步骤201基本一致,这里不再赘述。In this embodiment,
步骤402,根据位置信息,在预先确定的通道集合中,确定用于拣选至少一个待拣选货物的通道。
在本实施例中,步骤402与图2对应实施例中的步骤202基本一致,这里不再赘述。In this embodiment,
步骤403,构建有向图。
在本实施例中,用于生成路径信息的方法的执行主体(例如图1所示的服务器、终端设备或者车辆)可以构建有向图。其中,有向图包括:表征起点的节点、表征终点的节点和表征所确定的通道的端点的节点,有向图的两两节点相连通,有向图的边的权重表征边所连接的两个节点对应的位置间的行驶距离。其中,通道的端点可以是通道入口点和出口点。行驶距离可以是可供拣选车辆行驶的距离。可以理解,当连接两个位置的线段之间不存在障碍物时,该线段的长度可以是上述行驶距离;当连接两个位置的线段之间存在障碍物时,拣选车辆从上述两个位置中的一个位置避开障碍物到达另一个位置所经过的路径长度为上述行驶距离。In this embodiment, the executing subject of the method for generating route information (such as a server, a terminal device or a vehicle shown in FIG. 1 ) may construct a directed graph. Among them, the directed graph includes: the node representing the starting point, the node representing the end point and the node representing the end point of the determined channel, the two nodes of the directed graph are connected, and the weight of the edge of the directed graph represents the two nodes connected by the edge. The driving distance between the locations corresponding to nodes. Wherein, the end points of the channel may be the channel entry point and exit point. The travel distance may be the distance the pick vehicle is available to travel. It can be understood that when there is no obstacle between the line segment connecting the two positions, the length of the line segment can be the above-mentioned driving distance; The length of the path taken by avoiding obstacles from one location to another location is the above-mentioned driving distance.
作为示例,上述执行主体可以构建有向图G。其中,有向图G包括节点集合V={v1,……,vn},其中,n表征有向图G包括的节点的数量,节点v1表征上述起点,节点vn表征上述终点,节点v2至节点vn-1表征所确定的通道的端点。在这里,假设节点vi和节点vi+1为一条通道的两个端点。其中,i为小于n的正偶数(由此,可以确保车辆从通道的一个端点进入并且,从该通道的另一个端点驶出,即通过该通道)。边的集合为E,(vi,vj)表示一条从节点vi到节点vj的有向图G的边。有向图G中任意两节点都是连通的。As an example, the above execution subject may construct a directed graph G. Wherein, the directed graph G includes a node set V={v 1 ,...,v n }, wherein, n represents the number of nodes included in the directed graph G, node v 1 represents the above-mentioned starting point, and node v n represents the above-mentioned end point, Node v 2 to node v n-1 characterize the endpoints of the determined channel. Here, it is assumed that node v i and node v i+1 are two endpoints of a channel. Wherein, i is a positive even number smaller than n (thus, it can be ensured that the vehicle enters from one end point of the channel and drives out from the other end point of the channel, that is, passes through the channel). The set of edges is E, and (v i , v j ) represents an edge of the directed graph G from node v i to node v j . Any two nodes in a directed graph G are connected.
步骤404,从有向图中,确定以表征起点的节点为起点,以表征终点的节点为终点,包括表征所确定的通道的端点的节点的路径子图。
在本实施例中,上述执行主体可以从有向图中,确定以表征起点的节点为起点,以表征终点的节点为终点,包括表征所确定的通道的端点的节点的路径子图。In this embodiment, the execution subject may determine from the directed graph the path subgraph starting from the node representing the start point and ending at the node representing the end point, including the node representing the end point of the determined channel.
作为示例,上述执行主体可以用0或1(也可以是其他标识)来表示边(vi,vj)是否被选取,例如:As an example, the above execution subject can use 0 or 1 (or other identifiers) to indicate whether the edge (v i , v j ) is selected, for example:
其中,xij用于标识边(vi,vj)是否被选取。Wherein, x ij is used to identify whether the edge (v i , v j ) is selected.
由此,上述执行主题可以通过确定有向图中被选取的边来确定上述路径子图。Therefore, the above-mentioned execution subject can determine the above-mentioned path subgraph by determining the selected edges in the directed graph.
步骤405,将所确定的路径子图中符合预设条件的路径子图,确定为目标路径子图。Step 405: Determine the path subgraph in the determined path subgraph that meets the preset condition as the target path subgraph.
在本实施例中,上述执行主体还可以将所确定的路径子图中符合预设条件的路径子图,确定为目标路径子图。其中,上述预设条件可以是预先设置的用于确定目标路径子图的条件,目标路径子图可以是所确定的路径子图中长度最短的路径子图,也可以是具有某些特点(例如不包括自环等)的路径子图。In this embodiment, the execution subject may also determine a path subgraph that meets a preset condition in the determined path subgraph as the target path subgraph. Wherein, the aforementioned preset condition may be a pre-set condition for determining the target path subgraph, and the target path subgraph may be the path subgraph with the shortest length in the determined path subgraph, or may have certain characteristics (such as path subgraph excluding self-loops, etc.).
在本实施例的一些可选的实现方式中,预设条件可以包括以下至少一项:路径子图包括的节点中,除表征起点和表征终点之外的节点的入度为1且出度为1;路径子图不包括自环;连接通道的两个端点对应的两个节点的边为路径子图经过的边。In some optional implementations of this embodiment, the preset conditions may include at least one of the following: among the nodes included in the path subgraph, the in-degree of nodes other than the characterizing start point and the characterizing end point is 1 and the out-degree is 1. The path subgraph does not include self-loops; the edge connecting the two nodes corresponding to the two endpoints of the channel is the edge passed by the path subgraph.
可以理解,当预设条件包括上述三项时,所确定的目标路径子图通常即为所确定的路径子图中长度最短的路径子图。It can be understood that when the preset condition includes the above three items, the determined target path subgraph is usually the path subgraph with the shortest length among the determined path subgraphs.
步骤406,从所确定的目标路径子图中确定长度最短的路径子图作为最短路径子图。Step 406: Determine the path subgraph with the shortest length from the determined target path subgraph as the shortest path subgraph.
在本实施例中,上述执行主体可以从所确定的目标路径子图中确定长度最短的路径子图作为最短路径子图。In this embodiment, the execution subject may determine the path subgraph with the shortest length from the determined target path subgraph as the shortest path subgraph.
作为示例,当上述执行主体通过步骤405确定出的拣选路径只有一条(例如预设条件包括路径子图包括的节点中,除表征起点和表征终点之外的节点的入度为1且出度为1、路径子图不包括自环和连接通道的两个端点对应的两个节点的边为路径子图经过的边)时,上述执行主体可以将所确定的一条拣选路径确定为长度最短的拣货路径作为最短路径子图;当上述执行主体通过步骤405确定出的拣选路径不止一条时,上述执行主体可以通过比对所确定的拣选路径的长度的方式,确定出长度最短的拣货路径作为最短路径子图。As an example, when there is only one sorting path determined by the above execution subject through step 405 (for example, the preset condition includes that among the nodes included in the path subgraph, the in-degree of nodes other than the representative start point and the representative end point is 1 and the out-degree is 1. When the path subgraph does not include the self-loop and the edge of the two nodes corresponding to the two endpoints of the connecting channel is the edge passed by the path subgraph), the above-mentioned executive body can determine a selected path as the shortest length of the selected path. The cargo path is used as the shortest path subgraph; when the execution subject determines more than one picking path through
步骤407,确定最短路径子图对应的拣选路径作为长度最短的拣货路径。
在本实施例中,上述执行主体可以确定最短路径子图对应的拣选路径作为长度最短的拣货路径。In this embodiment, the execution subject may determine the picking path corresponding to the shortest path subgraph as the picking path with the shortest length.
可以理解,最短路径子图包括的节点表征起点、终点或者通道的端点,最短路径子图的边表征该边连接的两个节点对应的位置(包括起点、终点或通道的端点)间的行驶距离,因此,上述最短路径子图可以表征(即对应)拣选路径,进而,上述执行主体可以得到长度最短的拣货路径。It can be understood that the nodes included in the shortest path subgraph represent the starting point, the end point or the end point of the channel, and the edges of the shortest path subgraph represent the distance between the corresponding positions (including the starting point, the end point or the end point of the channel) of the two nodes connected by the edge , therefore, the above-mentioned shortest path subgraph can represent (that is, correspond to) the picking path, and then, the above-mentioned execution subject can obtain the picking path with the shortest length.
步骤408,生成长度最短的拣货路径的路径信息。
在本实施例中,步骤408与图2对应实施例中的步骤205基本一致,这里不再赘述。In this embodiment,
从图4中可以看出,与图2对应的实施例相比,本实施例中的用于生成路径信息的方法的流程400突出了采用有向图确定长度最短的拣选路径的步骤。由此,本实施例描述的方案可以引入约束条件来辅助确定长度最短的拣选路径,从而在保证确定拣选货物时车辆行驶的最短路径的准确性的前提下,进一步简化求解长度最短的拣货路径的求解过程,以及提高求解长度最短的拣货路径的求解速度,有助于提高货物的拣选效率。It can be seen from FIG. 4 that, compared with the embodiment corresponding to FIG. 2 , the
进一步参考图5,作为对上述各图所示方法的实现,本申请提供了一种用于生成路径信息的装置的一个实施例,该装置实施例与图2所示的方法实施例相对应,除下面所记载的特征外,该装置实施例还可以包括与图2所示的方法实施例相同或相应的特征。该装置具体可以应用于各种电子设备中。Further referring to FIG. 5 , as an implementation of the methods shown in the above figures, the present application provides an embodiment of a device for generating route information, which corresponds to the method embodiment shown in FIG. 2 , In addition to the features described below, this device embodiment may also include the same or corresponding features as those of the method embodiment shown in FIG. 2 . The device can be specifically applied to various electronic devices.
如图5所示,本实施例的用于生成路径信息的装置500包括:获取单元501、第一确定单元502、第二确定单元503、第三确定单元504和生成单元505。其中,获取单元501被配置成获取至少一个待拣选货物的位置信息;第一确定单元502被配置成根据位置信息,在预先确定的通道集合中,确定用于拣选至少一个待拣选货物的通道;第二确定单元503被配置成确定以预先确定的第一位置为起点,以预先确定的第二位置为终点,经过所确定的通道的拣货路径;第三确定单元504被配置成从所确定的拣货路径中,确定长度最短的拣货路径;生成单元505被配置成生成长度最短的拣货路径的路径信息。As shown in FIG. 5 , the
在本实施例中,用于生成路径信息的装置500的获取单元501可以通过有线连接方式或者无线连接方式从其他电子设备,或者本地获取至少一个待拣选货物的位置信息。其中,上述待拣选货物可以是将被拣选的货物。上述位置信息可以表征待拣选货物所在的位置。In this embodiment, the obtaining
在本实施例中,基于获取单元501得到的位置信息,第一确定单元502可以在预先确定的通道集合中,确定用于拣选至少一个待拣选货物的通道。In this embodiment, based on the position information obtained by the acquiring
实践中,通常待拣选货物可以存储于仓库中,仓库中可以设置有用于放置货物的设备(例如货架等)。上述用于放置待拣选货物的设备间可以形成有供拣选人员进行拣货、供拣选车辆驶入的通道。上述装置500或者与上述装置500通信连接的其他电子设备中可以存储有上述待拣选货物的位置信息、通道的位置信息等等。由此,上述装置500可以通过向上述车辆发送指令的方式,指示车辆的行驶路径,以便拣货人员进行待拣选货物的拣选。在这里,通道可以是单行通道(不可逆行、不可掉头的通道),也可以是双行通道(可以逆行、可以掉头的通道)。In practice, generally, the goods to be picked can be stored in a warehouse, and the warehouse can be provided with equipment for placing goods (such as shelves, etc.). The above-mentioned equipment room for placing goods to be picked can form a channel for picking personnel to pick goods and for picking vehicles to drive in. The above-mentioned
在本实施例中,上述第二确定单元503可以确定以预先确定的第一位置为起点,以预先确定的第二位置为终点,经过所确定的通道的拣货路径。其中,上述第一位置可以是拣选车辆在进行拣选之前,该拣选车辆所停靠的位置,也可以是仓库中可供拣选车辆驶入的、除上述该拣选车辆所停靠的位置之外的其他位置。上述第二位置可以是拣选车辆在进行拣选之后,该拣选车辆所停靠的位置,也可以是仓库中可供拣选车辆驶入的、除上述该拣选车辆所停靠的位置之外的其他位置。In this embodiment, the above-mentioned
在本实施例中,上述第三确定单元504可以从所确定的拣货路径中,确定长度最短的拣货路径。In this embodiment, the third determining
在本实施例中,上述生成单元505可以生成长度最短的拣货路径的路径信息。其中,路径信息可以指示车辆经过各个通道的顺序,以及每个通道的入口点等等。In this embodiment, the generating
在本实施例的一些可选的实现方式中,第二确定单元503可以包括:构建模块(图中未示出)被配置成构建有向图。其中,有向图包括:表征起点的节点、表征终点的节点和表征所确定的通道的端点的节点,有向图的两两节点相连通,有向图的边的权重表征边所连接的两个节点对应的位置间的行驶距离。其中,通道的端点可以是通道入口点和出口点。行驶距离可以是可供拣选车辆行驶的距离。可以理解,当连接两个位置的线段之间不存在障碍物时,该线段的长度可以是上述行驶距离;当连接两个位置的线段之间存在障碍物时,拣选车辆从上述两个位置中的一个位置避开障碍物到达另一个位置所经过的路径长度为上述行驶距离。In some optional implementation manners of this embodiment, the second determining
在本实施例的一些可选的实现方式中,第三确定单元504可以包括:第一确定模块(图中未示出)被配置成从有向图中,确定以表征起点的节点为起点,以表征终点的节点为终点,包括表征所确定的通道的端点的节点的最短路径子图;第二确定模块(图中未示出)被配置成确定最短路径子图对应的拣选路径作为长度最短的拣货路径。In some optional implementation manners of this embodiment, the third determining
可以理解,最短路径子图包括的节点表征起点、终点或者通道的端点,最短路径子图的边表征两个节点对应的位置(包括起点、终点或通道的端点)间的行驶距离,因此,上述最短路径子图可以表征(即对应)拣选路径。It can be understood that the nodes included in the shortest path subgraph represent the starting point, the end point or the end point of the channel, and the edges of the shortest path subgraph represent the driving distance between the positions corresponding to the two nodes (including the starting point, the end point or the end point of the channel). Therefore, the above A shortest path subgraph may represent (ie correspond to) a picking path.
在本实施例的一些可选的实现方式中,第一确定模块(图中未示出)可以包括:第一确定子模块(图中未示出)被配置成从有向图中,确定以表征起点的节点为起点,以表征终点的节点为终点,包括表征所确定的通道的端点的节点的路径子图;第二确定子模块(图中未示出)被配置成将所确定的路径子图中符合预设条件的路径子图,确定为目标路径子图;第三确定子模块(图中未示出)被配置成从所确定的目标路径子图中确定长度最短的路径子图作为最短路径子图。In some optional implementations of this embodiment, the first determining module (not shown in the figure) may include: the first determining submodule (not shown in the figure) is configured to determine from the directed graph The node representing the start point is the starting point, and the node representing the end point is the end point, including the path subgraph of the node representing the end point of the determined channel; the second determination submodule (not shown in the figure) is configured to convert the determined path The path subgraph that meets the preset conditions in the subgraph is determined as the target path subgraph; the third determination submodule (not shown in the figure) is configured to determine the path subgraph with the shortest length from the determined target path subgraph as the shortest path subgraph.
在本实施例的一些可选的实现方式中,预设条件包括以下至少一项:路径子图包括的节点中,除表征起点和表征终点之外的节点的入度为1且出度为1;路径子图不包括自环;连接通道的两个端点对应的两个节点的边为路径子图经过的边。In some optional implementations of this embodiment, the preset conditions include at least one of the following: among the nodes included in the path subgraph, the in-degree of nodes other than the characterizing start point and the characterizing end point is 1 and the out-degree is 1 ; The path subgraph does not include self-loops; the edge connecting the two nodes corresponding to the two endpoints of the channel is the edge passed by the path subgraph.
可以理解,当预设条件包括上述三项时,所确定的目标路径子图通常即为所确定的路径子图中长度最短的路径子图。It can be understood that when the preset condition includes the above three items, the determined target path subgraph is usually the path subgraph with the shortest length among the determined path subgraphs.
在本实施例的一些可选的实现方式中,通道为单行通道。In some optional implementation manners of this embodiment, the channel is a single-row channel.
可以理解,通道设置的越窄,仓库的货物存储能力越高。因此,相对于双行通道,单行通道可以提高仓库的储存能力;相对于比单行通道更窄的通道(例如不可供车辆进入的通道),单行通道可以节省拣选人员的体力,提高拣选人员的拣选效率。It can be understood that the narrower the aisle is set, the higher the storage capacity of the warehouse. Therefore, compared with the double-lane aisle, the single-lane aisle can improve the storage capacity of the warehouse; compared with the narrower aisle (such as the aisle that cannot be entered by vehicles), the single-lane aisle can save the physical strength of the pickers and improve the picking efficiency of the pickers. efficiency.
本申请的上述实施例提供的装置,通过获取单元501获取至少一个待拣选货物的位置信息,然后,第一确定单元502根据位置信息,在预先确定的通道集合中,确定用于拣选至少一个待拣选货物的通道,随后,第二确定单元503确定以预先确定的第一位置为起点,以预先确定的第二位置为终点,经过所确定的通道的拣货路径,之后,第三确定单元504从所确定的拣货路径中,确定长度最短的拣货路径,最后,生成单元505生成长度最短的拣货路径的路径信息,从而基于确定长度最短的拣货路径,有助于提高货物的拣选效率,有助于在保证确定拣选货物时车辆行驶的最短路径的准确性的前提下,简化求解长度最短的拣货路径的求解过程,以及提高求解长度最短的拣货路径的求解速度。In the device provided by the above-mentioned embodiments of the present application, the
下面参考图6,其示出了适于用来实现本申请实施例的电子设备的计算机系统600的结构示意图。图6示出的电子设备仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。Referring now to FIG. 6 , it shows a schematic structural diagram of a
如图6所示,计算机系统600包括中央处理单元(CPU)601,其可以根据存储在只读存储器(ROM)602中的程序或者从存储部分608加载到随机访问存储器(RAM)603中的程序而执行各种适当的动作和处理。在RAM 603中,还存储有系统600操作所需的各种程序和数据。CPU 601、ROM 602以及RAM 603通过总线604彼此相连。输入/输出(I/O)接口605也连接至总线604。As shown in FIG. 6 , a
以下部件连接至I/O接口605:包括键盘、鼠标等的输入部分606;包括诸如阴极射线管(CRT)、液晶显示器(LCD)等以及扬声器等的输出部分607;包括硬盘等的存储部分608;以及包括诸如LAN卡、调制解调器等的网络接口卡的通信部分609。通信部分609经由诸如因特网的网络执行通信处理。驱动器610也根据需要连接至I/O接口605。可拆卸介质611,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器610上,以便于从其上读出的计算机程序根据需要被安装入存储部分608。The following components are connected to the I/O interface 605: an input section 606 including a keyboard, a mouse, etc.; an
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分609从网络上被下载和安装,和/或从可拆卸介质611被安装。在该计算机程序被中央处理单元(CPU)601执行时,执行本申请的方法中限定的上述功能。In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, where the computer program includes program codes for executing the methods shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via
需要说明的是,本申请所述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本申请中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本申请中,计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:无线、电线、光缆、RF等等,或者上述的任意合适的组合。It should be noted that the computer-readable medium described in this application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this application, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, in which computer-readable program codes are carried. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. . Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
可以以一种或多种程序设计语言或其组合来编写用于执行本申请的操作的计算机程序代码,所述程序设计语言包括面向目标的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for carrying out the operations of this application can be written in one or more programming languages, or combinations thereof, including object-oriented programming languages—such as Java, Smalltalk, C++, and conventional A procedural programming language—such as "C" or a similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In cases involving a remote computer, the remote computer can be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as through an Internet service provider). Internet connection).
附图中的流程图和框图,图示了按照本申请各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in a flowchart or block diagram may represent a module, program segment, or portion of code that contains one or more logical functions for implementing specified executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. It should also be noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by a dedicated hardware-based system that performs the specified functions or operations , or may be implemented by a combination of dedicated hardware and computer instructions.
描述于本申请实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。所描述的单元也可以设置在处理器中,例如,可以描述为:一种处理器包括获取单元、第一确定单元、第二确定单元、第三确定单元和生成单元。其中,这些单元的名称在某种情况下并不构成对该单元本身的限定,例如,获取单元还可以被描述为“获取至少一个待拣选货物的位置信息的单元”。The units involved in the embodiments described in the present application may be implemented by means of software or by means of hardware. The described units may also be set in a processor. For example, it may be described as: a processor includes an acquiring unit, a first determining unit, a second determining unit, a third determining unit, and a generating unit. Wherein, the names of these units do not constitute a limitation of the unit itself under certain circumstances, for example, the acquisition unit may also be described as "a unit for acquiring position information of at least one item to be picked".
作为另一方面,本申请还提供了一种计算机可读介质,该计算机可读介质可以是上述实施例中描述的电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:获取至少一个待拣选货物的位置信息;根据位置信息,在预先确定的通道集合中,确定用于拣选至少一个待拣选货物的通道;确定以预先确定的第一位置为起点,以预先确定的第二位置为终点,经过所确定的通道的拣货路径;从所确定的拣货路径中,确定长度最短的拣货路径;生成长度最短的拣货路径的路径信息。As another aspect, the present application also provides a computer-readable medium. The computer-readable medium may be included in the electronic device described in the above-mentioned embodiments; or it may exist independently without being assembled into the electronic device. middle. The above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device: acquires the location information of at least one item to be picked; according to the location information, at a predetermined In the channel set, determine the channel for picking at least one item to be picked; determine the picking path starting from the predetermined first position and ending at the predetermined second position through the determined channel; from the determined Among the picking paths, determine the picking path with the shortest length; generate the path information of the picking path with the shortest length.
以上描述仅为本申请的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本申请中所涉及的发明范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述发明构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本申请中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is only a preferred embodiment of the present application and an illustration of the applied technical principles. Those skilled in the art should understand that the scope of the invention involved in this application is not limited to the technical solution formed by the specific combination of the above-mentioned technical features, and should also cover the technical solutions formed by the above-mentioned technical features or without departing from the above-mentioned inventive concept. Other technical solutions formed by any combination of equivalent features. For example, a technical solution formed by replacing the above-mentioned features with technical features with similar functions disclosed in (but not limited to) this application.
Claims (12)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811312904.2A CN111157000B (en) | 2018-11-06 | 2018-11-06 | Method and apparatus for generating path information |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811312904.2A CN111157000B (en) | 2018-11-06 | 2018-11-06 | Method and apparatus for generating path information |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111157000A CN111157000A (en) | 2020-05-15 |
| CN111157000B true CN111157000B (en) | 2023-04-07 |
Family
ID=70554355
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201811312904.2A Active CN111157000B (en) | 2018-11-06 | 2018-11-06 | Method and apparatus for generating path information |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111157000B (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113762564B (en) * | 2020-08-07 | 2024-11-26 | 北京京东乾石科技有限公司 | Method, device, computing equipment and medium for transporting goods |
| CN114148959B (en) * | 2021-12-13 | 2023-04-07 | 哈尔滨工业大学芜湖机器人产业技术研究院 | Laser forklift path searching method |
| CN114925954B (en) * | 2022-03-18 | 2025-09-09 | 阿帕数字科技有限公司 | Warehouse picking method, device, electronic equipment and computer readable storage medium |
| CN117960635B (en) * | 2024-04-02 | 2024-05-28 | 贝榕物联(常州)有限公司 | Sorting data transmission method and system based on photoelectric fusion tag |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2011166697A (en) * | 2010-02-15 | 2011-08-25 | Nippon Telegr & Teleph Corp <Ntt> | Path accommodation design method |
| CN106483943A (en) * | 2016-10-13 | 2017-03-08 | 北京京东尚科信息技术有限公司 | The dispatching method of robot, device and computer-readable recording medium |
| CN106809586A (en) * | 2017-03-28 | 2017-06-09 | 北京京东尚科信息技术有限公司 | Method and apparatus for determining picking path |
| CN106843201A (en) * | 2016-12-08 | 2017-06-13 | 北京京东尚科信息技术有限公司 | Automatic guide vehicle and the method for choosing article using automatic guide vehicle |
Family Cites Families (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9785911B2 (en) * | 2013-07-25 | 2017-10-10 | I AM Robotics, LLC | System and method for piece-picking or put-away with a mobile manipulation robot |
| CN103440566A (en) * | 2013-08-27 | 2013-12-11 | 北京京东尚科信息技术有限公司 | Method and device for generating order picking collection lists and method for optimizing order picking route |
| CN103674049A (en) * | 2013-11-29 | 2014-03-26 | 闻泰通讯股份有限公司 | Method for obtaining shortest paths of compulsory nodes in navigation system |
| ES2660373T3 (en) * | 2014-08-11 | 2018-03-22 | Ssi Schäfer Automation Gmbh | Storage system and order preparation and procedure to deliver items sequentially |
| CN104992241B (en) * | 2015-07-02 | 2019-09-20 | 北京京东尚科信息技术有限公司 | A kind of picking path generating method, generating means and corresponding Warehouse Management System |
| CN105182981B (en) * | 2015-10-14 | 2020-03-10 | 珠海格力电器股份有限公司 | Robot traveling method, control system and server |
| CN106022531A (en) * | 2016-05-27 | 2016-10-12 | 西安电子科技大学 | Searching method of shortest path passing by necessary peak points |
| US10134006B2 (en) * | 2016-12-07 | 2018-11-20 | Invia Robotics, Inc. | Workflow management system and methods for coordinating simultaneous operation of multiple robots |
| US10445691B2 (en) * | 2017-01-27 | 2019-10-15 | Walmart Apollo, Llc | System for improving order batching using location information of items in retail store and method of using same |
| CN107092265A (en) * | 2017-06-22 | 2017-08-25 | 义乌文烁光电科技有限公司 | A kind of sorting trolley path planning method suitable for matrix form warehouse |
| CN107578303A (en) * | 2017-07-26 | 2018-01-12 | 深圳市赛亿科技开发有限公司 | A kind of automatic picking method and system of robot of online shopping mall |
-
2018
- 2018-11-06 CN CN201811312904.2A patent/CN111157000B/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2011166697A (en) * | 2010-02-15 | 2011-08-25 | Nippon Telegr & Teleph Corp <Ntt> | Path accommodation design method |
| CN106483943A (en) * | 2016-10-13 | 2017-03-08 | 北京京东尚科信息技术有限公司 | The dispatching method of robot, device and computer-readable recording medium |
| CN106843201A (en) * | 2016-12-08 | 2017-06-13 | 北京京东尚科信息技术有限公司 | Automatic guide vehicle and the method for choosing article using automatic guide vehicle |
| CN106809586A (en) * | 2017-03-28 | 2017-06-09 | 北京京东尚科信息技术有限公司 | Method and apparatus for determining picking path |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111157000A (en) | 2020-05-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110274604B (en) | Method and apparatus for generating path information | |
| CN111157000B (en) | Method and apparatus for generating path information | |
| JP7136921B2 (en) | Method and apparatus for conveying merchandise shelves | |
| US20220374018A1 (en) | Method and apparatus for controlling automated guided vehicle | |
| CN112289068A (en) | Automatic parking method, apparatus, device and storage medium for automatic driving vehicle | |
| CN110554688B (en) | Method and apparatus for generating topological maps | |
| CN111859597A (en) | Evaluation method and system of automatic driving algorithm | |
| US20210312359A1 (en) | Method and device for scheduling automated guided vehicle | |
| CN110442121B (en) | A method and device for selecting a transport vehicle route | |
| WO2020103513A1 (en) | Method and apparatus used for reserving vehicle | |
| WO2022227711A1 (en) | Parking route sharing method and apparatus, and device and storage medium | |
| CN107765691B (en) | Method and apparatus for controlling unmanned vehicle | |
| CN107564328B (en) | Parking space determination method and device for vehicle | |
| CN112446651A (en) | Method and device for monitoring transportation equipment | |
| CN109827584A (en) | Path planning method and device, electronic equipment and storage medium | |
| CN115410410B (en) | Parking space recommendation method, device, equipment and storage medium | |
| CN110381471B (en) | Method and device for determining optimal base station for unmanned vehicle | |
| CN110160548A (en) | Method, system and device for generating driving route | |
| CN113970754A (en) | A positioning method and device for autonomous driving equipment | |
| CN111399489B (en) | Method and device for generating information | |
| CN112748719B (en) | Method and device for controlling a transport vehicle | |
| CN113642742B (en) | Method and device for combining picking tasks | |
| CN114485670B (en) | A path planning method, device, electronic device and medium for a mobile unit | |
| CN114199227B (en) | Navigation path planning method and device | |
| CN116909539A (en) | Visual programming method, device, equipment and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| TA01 | Transfer of patent application right | ||
| TA01 | Transfer of patent application right |
Effective date of registration: 20210303 Address after: 101, 1st floor, building 2, yard 20, Suzhou street, Haidian District, Beijing 100080 Applicant after: Beijing Jingbangda Trading Co.,Ltd. Address before: 100086 8th Floor, 76 Zhichun Road, Haidian District, Beijing Applicant before: BEIJING JINGDONG SHANGKE INFORMATION TECHNOLOGY Co.,Ltd. Applicant before: BEIJING JINGDONG CENTURY TRADING Co.,Ltd. Effective date of registration: 20210303 Address after: Room a1905, 19 / F, building 2, No. 18, Kechuang 11th Street, Daxing District, Beijing, 100176 Applicant after: Beijing Jingdong Qianshi Technology Co.,Ltd. Address before: 101, 1st floor, building 2, yard 20, Suzhou street, Haidian District, Beijing 100080 Applicant before: Beijing Jingbangda Trading Co.,Ltd. |
|
| GR01 | Patent grant | ||
| GR01 | Patent grant |