CN117217396B - A method and system for determining the existence of multi-target delivery paths based on road network - Google Patents

A method and system for determining the existence of multi-target delivery paths based on road network Download PDF

Info

Publication number
CN117217396B
CN117217396B CN202311171920.5A CN202311171920A CN117217396B CN 117217396 B CN117217396 B CN 117217396B CN 202311171920 A CN202311171920 A CN 202311171920A CN 117217396 B CN117217396 B CN 117217396B
Authority
CN
China
Prior art keywords
necessary
road network
polygons
routes
target delivery
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
Application number
CN202311171920.5A
Other languages
Chinese (zh)
Other versions
CN117217396A (en
Inventor
魏金占
覃福军
刘阳
杨坤
李博涵
朱兆旻
王骥月
雷新莲
覃兰丽
周深兰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guilin University of Aerospace Technology
Guangxi Jiaoke Group Co Ltd
Original Assignee
Guilin University of Aerospace Technology
Guangxi Jiaoke 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 Guilin University of Aerospace Technology, Guangxi Jiaoke Group Co Ltd filed Critical Guilin University of Aerospace Technology
Priority to CN202311171920.5A priority Critical patent/CN117217396B/en
Publication of CN117217396A publication Critical patent/CN117217396A/en
Application granted granted Critical
Publication of CN117217396B publication Critical patent/CN117217396B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to the fields of computer science and geographic information science, and particularly discloses a multi-target dispatch path existence judging method based on a road network, which comprises the following steps: s1, obtaining a road network diagram comprising a logistics distribution area range; s2, searching nodes with the degree of 2 in the graph, and determining all parts of necessary routes in the graph; s3, screening out the necessary polygon according to the part of the necessary route; s4, eliminating unnecessary lines according to the unnecessary polygons; s5, eliminating the need of polygon; s6, if the suspension point appears, the road network does not have a multi-target dispatch path, otherwise, the road network has a multi-target dispatch path. The invention also discloses a multi-target dispatch path existence judging system based on the road network. The method and the system for judging the existence of the multi-target dispatch path based on the road network can effectively judge whether the multi-target dispatch path exists under the constraint condition of the road network, so that the design and the planning of the logistics dispatch path under the constraint condition of the road network can be facilitated.

Description

一种基于路网的多目标派送路径存在判定方法及系统A method and system for determining the existence of multi-target delivery paths based on road network

技术领域Technical Field

本发明涉及计算机科学与地理信息科学领域,尤其涉及一种基于路网的多目标派送路径存在判定方法及系统。The present invention relates to the fields of computer science and geographic information science, and in particular to a method and system for determining the existence of a multi-target delivery path based on a road network.

背景技术Background technique

人类社会生活中多目标送达问题非常常见,这也是一个经典的哲学与现实问题:“怎么走”。现实中人类的活动受制于现状路网等约束,属于在约束条件下的路径分析问题,与经典的多目标到达路径问题如哈密顿路径路径问题相比,属于该类问题的特例,不仅要考虑目标点间的连接性,还要考虑连接线是否存在,复杂度更高。The problem of multi-target delivery is very common in human life. It is also a classic philosophical and practical problem: "How to go". In reality, human activities are subject to constraints such as the existing road network. It is a path analysis problem under constraints. Compared with the classic multi-target arrival path problem such as the Hamiltonian path problem, it is a special case of this type of problem. It not only considers the connectivity between the target points, but also whether the connecting lines exist, which is more complex.

对于哈密顿路径问题,该问题是由天文学家哈密顿(William Rowan Hamilton)提出的旨在一个有多个城市的地图网络中,寻找一条从给定的起点到给定的终点沿途恰好经过所有其他城市一次的路径。The Hamiltonian path problem was proposed by astronomer William Rowan Hamilton, which aims to find a path from a given starting point to a given end point in a map network with multiple cities that passes through all other cities exactly once along the way.

哈密顿路径问题源自于社会生活的实际,与人类的社会生活息息相关。如旅游领域我们总想设计合理的线路,实现一次旅行踏足所有梦想之地的目标;如在物流领域我们希望合理分配每个无人车的送货路径,使得无人车能够按照设定的送货路径依次对每个派送点进行派送,以实现物流派送的经济最优,效率最高;如在军事领域我们希望机动力量可以选择最合理的路径最快到达目标点等等,这些问题皆与哈密顿路径问题息息相关。The Hamiltonian path problem originates from the reality of social life and is closely related to human social life. For example, in the field of tourism, we always want to design reasonable routes to achieve the goal of visiting all the dream places in one trip; in the field of logistics, we hope to reasonably allocate the delivery path of each unmanned vehicle so that the unmanned vehicle can deliver to each delivery point in turn according to the set delivery path to achieve the economic optimization and highest efficiency of logistics delivery; in the military field, we hope that the mobile force can choose the most reasonable path to reach the target point as quickly as possible, etc. These problems are all closely related to the Hamiltonian path problem.

路网指的是在一定区域内,由各种道路组成的相互联络、交织成网状分布的道路系统,以路网中道路相连的点作为目标点,可以看出路网中目标点之间的连接是具有约束限制的,因此对于路网条件下的节点必经问题,可以看成是约束条件下哈密顿路径的求解问题。A road network refers to a road system composed of various roads that are interconnected and interwoven into a network within a certain area. Taking the points where roads in the road network are connected as target points, it can be seen that the connections between target points in the road network are subject to constraints. Therefore, the problem of which nodes must be passed under road network conditions can be regarded as the problem of solving the Hamiltonian path under constraints.

作为陆基生物的人类,地表活动多沿既定线路行进,据不完全统计,由交通问题造成的GDP损耗,可以达到5%,因此,对于路网条件下多目标点的必经路径进行合理的规划与设计,对人类社会具有较强的现实意义。例如在路网条件下规划物流派送路径时,需规划一条能够经过全部派送点,且每一派送点仅经过一次的路径,即哈密顿路径,使得物流派送过程中,不会重复经过同一条相同的派送路线,使得派送运输过程设计更为合理,从而提高物流派送效率。而在进行多目标派送路径的规划时,首先需要判断在路网约束条件下哈密顿路径是否存在,若在此约束条件下不存在这样的多目标派送路径,进行后续的多目标派送路径规划只能是徒劳的,因此提供一种能够快速搜寻出路网约束条件下多目标派送路径是非常有必要的。As a land-based creature, humans mostly move along established routes for surface activities. According to incomplete statistics, the GDP loss caused by traffic problems can reach 5%. Therefore, it is of great practical significance to human society to reasonably plan and design the necessary paths for multiple target points under road network conditions. For example, when planning logistics delivery paths under road network conditions, it is necessary to plan a path that can pass through all delivery points and each delivery point only once, that is, the Hamiltonian path, so that the same delivery route will not be repeated during the logistics delivery process, making the delivery and transportation process design more reasonable, thereby improving the logistics delivery efficiency. When planning multi-target delivery paths, it is first necessary to determine whether the Hamiltonian path exists under the road network constraints. If such a multi-target delivery path does not exist under this constraint, the subsequent multi-target delivery path planning can only be futile. Therefore, it is very necessary to provide a method that can quickly search for multi-target delivery paths under road network constraints.

发明内容Summary of the invention

本发明旨在至少解决上述所提及的技术问题之一,提供一种基于路网的多目标派送路径存在判定方法及系统,能够有效的判断路网约束条件下多目标派送路径是否存在,以便于后续对路网约束条件下物流派送路径的设计与规划。The present invention aims to solve at least one of the technical problems mentioned above, and provides a method and system for determining the existence of a multi-target delivery path based on a road network, which can effectively determine whether a multi-target delivery path exists under the constraints of the road network, so as to facilitate the subsequent design and planning of logistics delivery paths under the constraints of the road network.

为了实现上述目的,本发明采用的技术方案为:一种基于路网的多目标派送路径存在判定方法,包括以下步骤:In order to achieve the above object, the technical solution adopted by the present invention is: a method for determining the existence of a multi-target delivery path based on a road network, comprising the following steps:

S1、获取包括物流派送区域范围的路网图,将物流派送点作为路网图中的节点,并对路网图进行拓扑构面;S1. Obtain a road network diagram including the logistics delivery area, use the logistics delivery points as nodes in the road network diagram, and perform topological faceting on the road network diagram;

S2、搜索图形中度为2的节点,通过搜索的节点确定图形中所有必经路线的部分;S2, search for nodes with a degree of 2 in the graph, and determine all the necessary routes in the graph through the searched nodes;

S3、根据必经路线的部分,筛选出必经多边形;S3, filtering out the necessary polygons according to the necessary route;

S4、根据必经多边形,剔除必不经线路;S4, eliminating the routes that must not be passed according to the polygons that must be passed;

S5、根据必不经线路和必经线路,剔除必不经多边形;S5. Eliminate the polygons that must not be passed according to the routes that must not be passed and the routes that must be passed;

S6、若删除必不经线路和必不经多边形后,出现悬点,则路网不存在多目标派送路径,否则路网存在多目标派送路径。S6. If a hanging point appears after deleting the must-not-pass routes and must-not-pass polygons, there is no multi-target delivery path in the road network, otherwise there is a multi-target delivery path in the road network.

优选的,所述步骤S1中包括以下步骤:Preferably, the step S1 includes the following steps:

S11、获取物流派送范围内的路网图,并将获取的路网图矢量化;S11. Obtain a road network map within the logistics delivery range, and vectorize the obtained road network map;

S12、将矢量化的路网线化,得到线状路网数据;S12, linearizing the vectorized road network to obtain linear road network data;

S13、将线状路网数据进行线到面转换拓扑处理,若线状路网数据出现断头线,则不存在多目标派送路径结束搜索,否则进入步骤S14;S13, performing line-to-surface conversion topology processing on the linear road network data. If the linear road network data has a broken line, there is no multi-target delivery path and the search is terminated. Otherwise, the process goes to step S14;

S14、将线状路网与目标点进行空间查询分析,若目标点与线状路网相交即点在线上,则进入步骤S15,若存在悬点,则该路网图不存在多目标派送路径结束搜索;S14, perform spatial query analysis on the linear road network and the target point. If the target point intersects with the linear road network, that is, the point is on the line, proceed to step S15. If there is a hanging point, the road network graph does not have a multi-target delivery path and the search ends;

S15、对图形进行线拓扑构面,若出现断头线,则该路网图不存在多目标派送路径结束搜索,若不存在断头线,则进入步骤S2。S15. Perform line topology surface construction on the graph. If a broken line appears, the road network graph does not have a multi-target delivery path and the search ends. If no broken line exists, proceed to step S2.

优选的,所述步骤2中,通过对图形进行点与线的拓扑,求解出所有节点连接线的个数,节点连接线的个数即为度;若节点的度不为2,则与该节点相连的连接线为非必经线路;若节点的度为2,则与该节点相连的两条连接线为必经线路。Preferably, in step 2, the number of connecting lines of all nodes is solved by performing point and line topology on the graph, and the number of connecting lines of the node is the degree; if the degree of the node is not 2, the connecting line connected to the node is a non-necessary route; if the degree of the node is 2, the two connecting lines connected to the node are necessary routes.

优选的,所述步骤3中,搜索位于图形最外围边界线上的必经线路;确定边界线包括搜索出的必经路线的多边形为必经多边形。Preferably, in step 3, a necessary route located on the outermost boundary line of the graphic is searched; and a polygon whose boundary line includes the searched necessary route is determined as a necessary polygon.

优选的,所述步骤S4中包括以下步骤:Preferably, the step S4 includes the following steps:

S41、对必经多边形中的外边界进行分析,判定是否存在必经线路邻接情况;S41, analyzing the outer boundary of the must-pass polygon to determine whether there is an adjacency to the must-pass route;

S42、若不存在必经线路邻接情况,则进入S5,若存在必经线路邻接情况,则将两条必经线路交汇点处的其他线路删除,删除的线路为必不经线路;S42, if there is no must-pass route adjacency, proceed to S5, if there is a must-pass route adjacency, delete the other routes at the intersection of the two must-pass routes, and the deleted routes are the must-not-pass routes;

S43、根据删除必不经路径进行临近多边形的自动重组,返回S41。S43, automatically reorganize adjacent polygons according to the paths that must be deleted, and return to S41.

优选的,所述步骤S5中,重组后的多边形为必经多边形,判定必经多边形与临近多边形是否存在必经线路;若存在,删除非必经多边形。Preferably, in step S5, the reorganized polygon is a necessary polygon, and it is determined whether there is a necessary route between the necessary polygon and the adjacent polygons; if so, the non-necessary polygon is deleted.

优选的,所述步骤6中,对步骤S4、S5过滤后的图形进行空间分析;若存在悬点,则路网不存在多目标派送路径;若不存在悬点,则路网存在多目标派送路径。Preferably, in step 6, a spatial analysis is performed on the graph filtered in steps S4 and S5; if there are hanging points, there is no multi-target delivery path in the road network; if there are no hanging points, there is a multi-target delivery path in the road network.

本申请还公开了一种基于路网的多目标派送路径存在判定系统,包括:The present application also discloses a multi-target delivery path existence determination system based on a road network, comprising:

数据获取模块,用于获取包括物流派送区域范围的路网图;A data acquisition module is used to obtain a road network map including the scope of the logistics delivery area;

数据处理模块,用于将物流派送点转换为路网图中的节点,并对路网图进行拓扑构面;The data processing module is used to convert the logistics delivery points into nodes in the road network diagram and perform topological faceting on the road network diagram;

图形处理模块;用于搜索图形中图形中度为2的节点,通过搜索的节点确定图形中所有必经路线的部分;根据必经路线的部分,筛选出必经多边形;根据必经多边形,剔除必不经线路;根据必不经线路和必经线路,剔除必不经多边形;Graphics processing module; used to search for nodes with a degree of 2 in the graph, determine the parts of all the necessary routes in the graph through the searched nodes; filter out the necessary polygons according to the parts of the necessary routes; eliminate the necessary routes according to the necessary polygons; eliminate the necessary polygons according to the necessary routes and the necessary routes;

数据分析模块;用于获取数据处理模块以及图形处理模块处理后的图形,并搜索图形中是否存在悬点或断头线,若存在悬点或断头线,则路网不存在多目标派送路径;若不存在悬点,则路网存在多目标派送路径。Data analysis module; used to obtain the graphics processed by the data processing module and the graphics processing module, and search whether there are hanging points or broken lines in the graphics. If there are hanging points or broken lines, there is no multi-target delivery path in the road network; if there is no hanging point, there is a multi-target delivery path in the road network.

有益效果是:与现有技术相比,本发明的一种基于路网的多目标派送路径存在判定方法及系统通过必经和必不经线路、多边形的判定,对路网图进行深度约束,通过约束中的奇异关系即断头线和悬点来断定路网约束条件下多目标派送路径是否存在,实现了逻辑思维在多维空间问题的拓展应用,避免了逻辑思维大量冗余计算的弊端,将问题复杂度降低到与节点数相关的计算复杂度量级,从而能够快速有效的判断路网约束条件下多目标派送路径是否存在,以便于后续对路网约束条件下多目标派送路径的设计与规划。The beneficial effect is: compared with the prior art, the method and system for determining the existence of a multi-target delivery path based on a road network of the present invention performs deep constraints on the road network diagram by determining the necessary and non-negotiable lines and polygons, and determines whether the multi-target delivery path exists under the road network constraint conditions through the singular relationships in the constraints, namely the broken lines and hanging points, thereby realizing the expanded application of logical thinking in multi-dimensional space problems, avoiding the drawbacks of a large number of redundant calculations of logical thinking, and reducing the complexity of the problem to a computational complexity level related to the number of nodes, so that it can quickly and effectively determine whether the multi-target delivery path exists under the road network constraint conditions, so as to facilitate the subsequent design and planning of the multi-target delivery path under the road network constraint conditions.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

以下结合附图对本发明的具体实施方式作进一步的详细说明,其中:The specific embodiments of the present invention are further described in detail below with reference to the accompanying drawings, wherein:

图1为本发明中物流派送点的路网图;FIG1 is a road network diagram of a logistics delivery point in the present invention;

图2为图1进行拓扑构面后的示意图。FIG. 2 is a schematic diagram of FIG. 1 after topological faceting.

图3为图2搜索出必经路线后的示意图。FIG. 3 is a schematic diagram after the necessary route is searched out in FIG. 2 .

图4为根据图形最外围边界线上的必经线路筛选出必经多边形后的示意图。FIG. 4 is a schematic diagram showing the filtering of the necessary polygons according to the necessary routes on the outermost boundary line of the graphic.

图5为通过必经多边形第一次外围搜索后的示意图。FIG. 5 is a schematic diagram after the first peripheral search through the necessary polygons.

图6为通过必经多边形第N次外围搜索后的示意图。FIG. 6 is a schematic diagram showing the Nth peripheral search through the necessary polygons.

图7为必经多边形整合删除多余路径后的示意图。FIG. 7 is a schematic diagram showing the necessary polygon integration after deleting redundant paths.

图8为图7筛选出必不经多边形后的示意图。FIG. 8 is a schematic diagram of FIG. 7 after the necessary polygons are screened out.

图9为删除必不经多边形后的示意图。FIG. 9 is a schematic diagram after deleting the unnecessary polygons.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明的一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

需要说明的是,当组件被称为“固定于”另一个组件,它可以直接在另一个组件上或者也可以存在居中的组件。当一个组件被认为是“连接”另一个组件,它可以是直接连接到另一个组件或者可能同时存在居中组件。当一个组件被认为是“设置于”另一个组件,它可以是直接设置在另一个组件上或者可能同时存在居中组件,当部件被称为“设置在中部”,不仅仅是设置在正中间位置,只要不是设置在两端部都属于中部所限定的范围内。本文所使用的术语“垂直的”、“水平的”、“左”、“右”以及类似的表述只是为了说明的目的。It should be noted that when a component is referred to as being "fixed to" another component, it may be directly on the other component or there may be a central component. When a component is considered to be "connected to" another component, it may be directly connected to the other component or there may be a central component at the same time. When a component is considered to be "set on" another component, it may be directly set on the other component or there may be a central component at the same time. When a component is referred to as being "set in the middle", it does not only mean being set in the middle, as long as it is not set at both ends within the range defined by the middle. The terms "vertical", "horizontal", "left", "right" and similar expressions used herein are for illustrative purposes only.

除非另有定义,本文所使用的所有的技术和科学术语与属于本发明的技术领域的技术人员通常理解的含义相同。本文中在本发明的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本发明。本文所使用的术语“及/或”包括一个或多个相关的所列项目的任意的和所有的组合。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used herein in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and/or" used herein includes any and all combinations of one or more related listed items.

哈密顿环是闭合线在二维空间的拓展,而线是节点连接关系,因此该问题涉及到点线面三个维度的基本图形。对于哈密顿问题,其实质是节点连接关系的确定,也就是一个逻辑问题,因此是简单的一维问题。而解的分布空间为面,属于二维(高维),则问题解就存在无限可能。The Hamiltonian cycle is the extension of a closed line in two-dimensional space, and a line is a node connection relationship, so this problem involves three-dimensional basic graphics: points, lines, and surfaces. For the Hamiltonian problem, its essence is to determine the node connection relationship, which is a logical problem, so it is a simple one-dimensional problem. The distribution space of the solution is a surface, which belongs to two dimensions (high dimension), so there are infinite possibilities for the solution of the problem.

升维代表无限可能,但不代表杂乱无章,维度拓展依然会受到基本数学原则的约束,因此对于该问题的求解,不能忽略这些基本隐形约束只通过逻辑分析完成问题求解。纵观点线面的关系,点是线的特征点,线是点的逻辑联系,线是面的边界,面是闭合线,因此可以理解为哈密顿环就是面,至此哈密顿环的线问题就拓展到面了。Dimensional expansion represents infinite possibilities, but it does not mean chaos. Dimensional expansion is still constrained by basic mathematical principles. Therefore, when solving this problem, we cannot ignore these basic invisible constraints and only solve the problem through logical analysis. Looking at the relationship between points, lines and surfaces, points are the characteristic points of lines, lines are the logical connection of points, lines are the boundaries of surfaces, and surfaces are closed lines. Therefore, it can be understood that the Hamiltonian cycle is a surface, and the line problem of the Hamiltonian cycle is extended to the surface.

既然哈密顿环涉及点线面,这通过基本约束,将基本无向图作如下分析:通过哈密顿环定义、空间约束,对点线面进行过滤处理,若出现点线面的奇异,如点或线出现孤立,则哈密顿环就不存在,因此通过该思维,具有对哈密顿环即多目标派送路径存在与否判定的可能。Since the Hamiltonian cycle involves points, lines and surfaces, the basic undirected graph can be analyzed as follows through basic constraints: the points, lines and surfaces are filtered through the Hamiltonian cycle definition and spatial constraints. If singularities of points, lines and surfaces occur, such as isolated points or lines, then the Hamiltonian cycle does not exist. Therefore, through this thinking, it is possible to determine whether the Hamiltonian cycle, that is, the multi-target delivery path, exists or not.

由此,本申请公开了一种基于路网的多目标派送路径存在判定方法,包括以下步骤:Therefore, the present application discloses a method for determining the existence of a multi-target delivery path based on a road network, comprising the following steps:

S1、如图1所示,获取包括物流派送区域范围的路网图,将物流派送点作为路网图中的节点,然后如图2所示,对路网图进行拓扑构面;S1, as shown in FIG1, obtain a road network diagram including the logistics delivery area, take the logistics delivery points as nodes in the road network diagram, and then perform topological faceting on the road network diagram as shown in FIG2;

具体的,步骤S1中包括以下步骤:Specifically, step S1 includes the following steps:

S11、获取物流派送范围内的路网图,并将获取的路网图矢量化;S11. Obtain a road network map within the logistics delivery range, and vectorize the obtained road network map;

S12、将矢量化的路网线化,得到线状路网数据;S12, linearizing the vectorized road network to obtain linear road network data;

S13、将线状路网数据进行线到面转换拓扑处理,若线状路网数据出现断头线,则不存在多目标派送路径结束搜索,否则进入步骤S14;S13, performing line-to-surface conversion topology processing on the linear road network data. If the linear road network data has a broken line, there is no multi-target delivery path and the search is terminated. Otherwise, the process goes to step S14;

S14、将线状路网与目标点进行空间查询分析,若目标点与线状路网相交即点在线上,则进入步骤S15,若存在悬点,则该路网图不存在多目标派送路径结束搜索;为了便于后续的处理,在该步骤中,当目标点不在路网的节点处时,可以采用临近点原则对目标点进行处理,即假如临近点a位于b、c两个节点之间的线路bc上,若ab的距离小于ac的距离,则将b节点作为目标点a进行后续的处理;S14, perform spatial query analysis on the linear road network and the target point. If the target point intersects the linear road network, that is, the point is on the line, then enter step S15. If there is a hanging point, the road network diagram does not have a multi-target delivery path and the search ends. In order to facilitate subsequent processing, in this step, when the target point is not at a node of the road network, the target point can be processed using the adjacent point principle, that is, if the adjacent point a is located on the line bc between the two nodes b and c, if the distance ab is less than the distance ac, the node b is used as the target point a for subsequent processing;

S15、对图形进行线拓扑构面,若出现断头线,则该路网图不存在多目标派送路径结束搜索,若不存在断头线,则进入步骤S2;S15, perform line topology faceting on the graph. If a broken line appears, the road network graph does not have a multi-target delivery path and the search ends. If no broken line exists, proceed to step S2;

S2、如图3所示,搜索图形中度为2的节点,通过搜索的节点确定图形中所有必经路线的部分,其中,图3中加粗标识的路线为搜索出的必经路线,节点连接线的个数即为度,若节点的度不为2,则与该节点相连的连接线为非必经线路;若节点的度为2,则与该节点相连的两条连接线为必经线路;S2. As shown in FIG3 , search for nodes with a degree of 2 in the graph, and determine the part of all necessary routes in the graph through the searched nodes, wherein the routes marked in bold in FIG3 are the necessary routes found out, and the number of node connection lines is the degree. If the degree of the node is not 2, the connection line connected to the node is a non-necessary route; if the degree of the node is 2, the two connection lines connected to the node are necessary routes;

S3、如图4所示,根据必经路线的部分,筛选出必经多边形,优选的,在筛选时,可以搜索位于图形最外围边界线上的必经线路;确定包括位于图形最外围的必经线路的多边形为必经多边形,搜索出的必经多边形为图4中黑色部分的多边形;S3, as shown in FIG4, according to the part of the necessary route, the necessary polygon is screened out. Preferably, when screening, the necessary route located on the outermost boundary line of the figure can be searched; the polygon including the necessary route located on the outermost edge of the figure is determined as the necessary polygon, and the searched necessary polygon is the polygon in the black part in FIG4;

S4、根据必经多边形,剔除必不经线路,具体的,可以对必经多边形中的外边界进行分析,判定是否存在必经线路邻接情况,若不存在必经线路邻接情况,则进入S5,若存在必经线路邻接情况,则将两条必经线路交汇点处的其他线路删除,删除的线路为必不经线路,如图7所示,然后根据删除必不经路径进行临近多边形的自动重组,重复上述步骤,如图5和图6所示,直至使得所有能够重组的多边形完成重组;S4, according to the must-pass polygon, eliminate the must-not-pass route. Specifically, the outer boundary of the must-pass polygon can be analyzed to determine whether there is a must-pass route adjacency situation. If there is no must-pass route adjacency situation, enter S5. If there is a must-pass route adjacency situation, delete the other routes at the intersection of the two must-pass routes. The deleted route is the must-not-pass route, as shown in Figure 7. Then, according to the deleted must-not-pass path, the adjacent polygons are automatically reorganized. Repeat the above steps, as shown in Figures 5 and 6, until all the polygons that can be reorganized are reorganized;

S5、如图8所示,根据必不经线路和必经线路,剔除必不经多边形,其中重组后的多边形为必经多边形,判定必经多边形与临近多边形是否存在必经线路;若存在,删除非必经多边形;S5, as shown in FIG8 , according to the unnecessary routes and the necessary routes, the unnecessary polygons are eliminated, wherein the reorganized polygons are the necessary polygons, and it is determined whether there is a necessary route between the necessary polygons and the adjacent polygons; if so, the non-necessary polygons are deleted;

S6、如图9所示,若删除必不经线路和必不经多边形后,出现悬点,则路网不存在多目标派送路径,否则路网存在多目标派送路径,其中,还可以对步骤S4、S5过滤后的图形进行空间分析;若存在悬点,则路网不存在多目标派送路径;若不存在悬点,则路网存在多目标派送路径。S6. As shown in Figure 9, if hanging points appear after deleting the must-not-pass lines and must-not-pass polygons, there is no multi-target delivery path in the road network, otherwise there is a multi-target delivery path in the road network, wherein the graphics filtered by steps S4 and S5 can also be spatially analyzed; if there are hanging points, there is no multi-target delivery path in the road network; if there are no hanging points, there is a multi-target delivery path in the road network.

本发明的一种基于路网的多目标派送路径存在判定方法通过必经和必不经线路、多边形的判定,对路网图进行深度约束,通过约束中的奇异关系即断头线和悬点来断定路网约束条件下多目标派送路径是否存在,实现了逻辑思维在多维空间问题的拓展应用,避免了逻辑思维大量冗余计算的弊端,将问题复杂度降低到与节点数相关的计算复杂度量级,从而能够快速有效的判断路网约束条件下多目标派送路径是否存在,以便于后续对路网约束条件下多目标派送路径的设计与规划。A method for determining the existence of a multi-target delivery path based on a road network of the present invention performs deep constraints on a road network diagram by determining necessary and non-negotiable routes and polygons, and determines whether a multi-target delivery path exists under the road network constraint conditions through singular relationships in the constraints, namely, broken lines and hanging points. This realizes the expanded application of logical thinking in multi-dimensional space problems, avoids the drawbacks of a large number of redundant calculations of logical thinking, and reduces the complexity of the problem to a computational complexity level related to the number of nodes, thereby being able to quickly and effectively determine whether a multi-target delivery path exists under the road network constraint conditions, so as to facilitate the subsequent design and planning of multi-target delivery paths under the road network constraint conditions.

此外,本申请还公开了一种基于路网的多目标派送路径存在判定系统,包括数据获取模块、数据处理模块、图形处理模块和数据分析模块,其中,数据获取模块用于获取包括物流派送区域范围的路网图;数据处理模块用于将物流派送点转换为路网图中的节点,并对路网图进行拓扑构面;图形处理模块用于搜索图形中图形中度为2的节点,通过搜索的节点确定图形中所有必经路线的部分;根据必经路线的部分,筛选出必经多边形;根据必经多边形,剔除必不经线路;根据必不经线路和必经线路,剔除必不经多边形;数据分析模块用于获取数据处理模块以及图形处理模块处理后的图形,并搜索图形中是否存在悬点或断头线,若存在悬点或断头线,则路网不存在多目标派送路径;若不存在悬点,则路网存在多目标派送路径。In addition, the present application also discloses a multi-target delivery path existence determination system based on a road network, including a data acquisition module, a data processing module, a graphics processing module and a data analysis module, wherein the data acquisition module is used to obtain a road network map including a logistics delivery area; the data processing module is used to convert logistics delivery points into nodes in the road network map, and perform topological surface construction on the road network map; the graphics processing module is used to search for nodes with a degree of 2 in the graph, and determine the part of all necessary routes in the graph through the searched nodes; according to the part of the necessary routes, filter out necessary polygons; according to the necessary polygons, eliminate the necessary routes; according to the necessary routes and the necessary routes, eliminate the necessary polygons; the data analysis module is used to obtain the graphics processed by the data processing module and the graphics processing module, and search whether there are hanging points or broken lines in the graphics. If there are hanging points or broken lines, there is no multi-target delivery path in the road network; if there is no hanging point, there is a multi-target delivery path in the road network.

本发明的一种基于路网的多目标派送路径存在判定系统通过必经和必不经线路、多边形的判定,对路网图进行深度约束,通过约束中的奇异关系即断头线和悬点来断定路网约束条件下多目标派送路径是否存在,实现了逻辑思维在多维空间问题的拓展应用,避免了逻辑思维大量冗余计算的弊端,将问题复杂度降低到与节点数相关的计算复杂度量级,从而能够快速有效的判断路网约束条件下多目标派送路径是否存在,以便于后续对路网约束条件下多目标派送路径的设计与规划。A multi-target delivery path existence determination system based on a road network of the present invention performs deep constraints on a road network diagram by determining necessary and non-negotiable routes and polygons, and determines whether a multi-target delivery path exists under the road network constraint conditions through singular relationships in the constraints, namely, broken lines and hanging points. This realizes the expanded application of logical thinking in multi-dimensional space problems, avoids the drawbacks of a large number of redundant calculations of logical thinking, and reduces the complexity of the problem to a computational complexity level related to the number of nodes, thereby being able to quickly and effectively determine whether a multi-target delivery path exists under the road network constraint conditions, so as to facilitate the subsequent design and planning of multi-target delivery paths under the road network constraint conditions.

以上实施例仅用以说明本发明的技术方案而并非对其进行限制,凡未脱离本发明精神和范围的任何修改或者等同替换,其均应涵盖在本发明技术方案的范围内。The above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Any modification or equivalent substitution that does not depart from the spirit and scope of the present invention shall be included in the scope of the technical solution of the present invention.

Claims (4)

1.一种基于路网的多目标派送路径存在判定方法,其特征在于,包括以下步骤:1. A method for determining the existence of a multi-target delivery path based on a road network, characterized in that it comprises the following steps: S1、获取包括物流派送区域范围的路网图,将物流派送点作为路网图中的节点,并对路网图进行拓扑构面,其包括以下步骤:S1. Obtain a road network diagram including the logistics delivery area, use the logistics delivery points as nodes in the road network diagram, and perform topological faceting on the road network diagram, which includes the following steps: S11、获取物流派送范围内的路网图,并将获取的路网图矢量化;S11. Obtain a road network map within the logistics delivery range, and vectorize the obtained road network map; S12、将矢量化的路网线化,得到线状路网数据;S12, linearizing the vectorized road network to obtain linear road network data; S13、将线状路网数据进行线到面转换拓扑处理,若线状路网数据出现断头线,则不存在多目标派送路径结束搜索,否则进入步骤S14;S13, performing line-to-surface conversion topology processing on the linear road network data. If the linear road network data has a broken line, there is no multi-target delivery path and the search is terminated. Otherwise, the process goes to step S14; S14、将线状路网与目标点进行空间查询分析,若目标点与线状路网相交即点在线上,则进入步骤S15,若存在悬点,则该路网图不存在多目标派送路径结束搜索;S14, perform spatial query analysis on the linear road network and the target point. If the target point intersects with the linear road network, that is, the point is on the line, proceed to step S15. If there is a hanging point, the road network graph does not have a multi-target delivery path and the search ends; S15、对图形进行线拓扑构面,若出现断头线,则该路网图不存在多目标派送路径结束搜索,若不存在断头线,则进入步骤S2;S15, perform line topology faceting on the graph. If a broken line appears, the road network graph does not have a multi-target delivery path and the search ends. If no broken line exists, proceed to step S2; S2、搜索图形中度为2的节点,通过搜索的节点确定图形中所有必经路线的部分;S2, search for nodes with a degree of 2 in the graph, and determine all the necessary routes in the graph through the searched nodes; S3、根据必经路线的部分,筛选出必经多边形,在筛选时,搜索位于图形最外围边界线上的必经线路,确定包括位于图形最外围的必经线路的多边形为必经多边形;S3, according to the part of the necessary route, filter out the necessary polygons, when filtering, search for the necessary route located on the outermost boundary line of the figure, and determine that the polygon including the necessary route located on the outermost edge of the figure is the necessary polygon; S4、根据必经多边形,剔除必不经线路,对必经多边形中的外边界进行分析,判定是否存在必经线路邻接情况,若不存在必经线路邻接情况,则进入S5,若存在必经线路邻接情况,则将两条必经线路交汇点处的其他线路删除,删除的线路为必不经线路,然后根据删除必不经路径进行临近多边形的自动重组,重复上述步骤,直至使得所有能够重组的多边形完成重组;S4, according to the must-pass polygon, eliminate the must-not-pass route, analyze the outer boundary of the must-pass polygon, and determine whether there is a must-pass route adjacency situation. If there is no must-pass route adjacency situation, enter S5, if there is a must-pass route adjacency situation, delete the other routes at the intersection of the two must-pass routes, and the deleted routes are the must-not-pass routes. Then, according to the deleted must-not-pass paths, automatically reorganize the adjacent polygons, and repeat the above steps until all the polygons that can be reorganized are reorganized; S5、根据必不经线路和必经线路,剔除必不经多边形,重组后的多边形为必经多边形,判定必经多边形与临近多边形是否存在必经线路;若存在,删除非必经多边形;S5. Eliminate the non-necessary polygons according to the non-necessary routes and the necessary routes. The reorganized polygons are the necessary polygons. It is determined whether there is a necessary route between the necessary polygons and the adjacent polygons. If so, delete the non-necessary polygons. S6、若删除必不经线路和必不经多边形后,出现悬点,则路网不存在多目标派送路径,否则路网存在多目标派送路径。S6. If a hanging point appears after deleting the must-not-pass routes and must-not-pass polygons, there is no multi-target delivery path in the road network, otherwise there is a multi-target delivery path in the road network. 2.根据权利要求1所述的一种基于路网的多目标派送路径存在判定方法,其特征在于,步骤2中,通过对图形进行点与线的拓扑,求解出所有节点连接线的个数,节点连接线的个数即为度;若节点的度不为2,则与该节点相连的连接线为非必经线路;若节点的度为2,则与该节点相连的两条连接线为必经线路。2. According to claim 1, a method for determining the existence of a multi-target delivery path based on a road network is characterized in that in step 2, the number of connecting lines of all nodes is solved by performing point and line topology on the graph, and the number of connecting lines of the node is the degree; if the degree of the node is not 2, the connecting line connected to the node is a non-necessary route; if the degree of the node is 2, the two connecting lines connected to the node are necessary routes. 3.根据权利要求1所述的一种基于路网的多目标派送路径存在判定方法,其特征在于,步骤6中,对步骤S4、S5过滤后的图形进行空间分析;若存在悬点,则路网不存在多目标派送路径;若不存在悬点,则路网存在多目标派送路径。3. According to the method for determining the existence of a multi-target delivery path based on a road network as described in claim 1, it is characterized in that in step 6, a spatial analysis is performed on the graphics filtered by steps S4 and S5; if there are hanging points, there is no multi-target delivery path in the road network; if there are no hanging points, there is a multi-target delivery path in the road network. 4.一种基于路网的多目标派送路径存在判定系统,其特征在于,包括:4. A multi-target delivery path existence determination system based on a road network, characterized by comprising: 数据获取模块,用于获取包括物流派送区域范围的路网图;A data acquisition module is used to obtain a road network map including the scope of the logistics delivery area; 数据处理模块,用于将物流派送点转换为路网图中的节点,并对路网图进行拓扑构面;The data processing module is used to convert the logistics delivery points into nodes in the road network diagram and perform topological faceting on the road network diagram; 图形处理模块;用于搜索图形中图形中度为2的节点,通过搜索的节点确定图形中所有必经路线的部分;根据必经路线的部分,筛选出必经多边形,根据必经路线的部分,筛选出必经多边形,在筛选时,搜索位于图形最外围边界线上的必经线路,确定包括位于图形最外围的必经线路的多边形为必经多边形;根据必经多边形,剔除必不经线路,对必经多边形中的外边界进行分析,判定是否存在必经线路邻接情况,若不存在必经线路邻接情况,则进入下一步,若存在必经线路邻接情况,则将两条必经线路交汇点处的其他线路删除,删除的线路为必不经线路,然后根据删除必不经路径进行临近多边形的自动重组,重复上述步骤,直至使得所有能够重组的多边形完成重组;根据必不经线路和必经线路,剔除必不经多边形,重组后的多边形为必经多边形,判定必经多边形与临近多边形是否存在必经线路;若存在,删除非必经多边形;Graphics processing module; used to search for nodes with a degree of 2 in the graph, and determine the parts of all necessary routes in the graph through the searched nodes; according to the parts of the necessary routes, screen out the necessary polygons, and according to the parts of the necessary routes, screen out the necessary polygons. When screening, search for the necessary routes located on the outermost boundary line of the graph, and determine that the polygons including the necessary routes located on the outermost boundary of the graph are necessary polygons; according to the necessary polygons, eliminate the necessary non-passage routes, analyze the outer boundaries in the necessary polygons, and determine whether there is a necessary route adjacency situation. If there is no necessary route adjacency situation, proceed to the next step. If there is a necessary route adjacency situation, delete the other routes at the intersection of the two necessary routes, and the deleted routes are necessary non-passage routes. Then, according to the deletion of the necessary non-passage paths, automatically reorganize the adjacent polygons, and repeat the above steps until all the polygons that can be reorganized are reorganized; according to the necessary non-passage routes and the necessary routes, eliminate the necessary non-passage polygons, and the reorganized polygons are necessary polygons. Determine whether there is a necessary route between the necessary polygon and the adjacent polygon; if so, delete the non-necessary polygons; 数据分析模块;用于获取数据处理模块以及图形处理模块处理后的图形,并搜索图形中是否存在悬点或断头线,若存在悬点或断头线,则多目标派送路径不存在,需要对特定目标单独派送;若不存在悬点,则多目标派送路径存在。Data analysis module; used to obtain the graphics processed by the data processing module and the graphics processing module, and search whether there are hanging points or broken lines in the graphics. If there are hanging points or broken lines, the multi-target delivery path does not exist, and specific targets need to be delivered separately; if there are no hanging points, the multi-target delivery path exists.
CN202311171920.5A 2023-09-12 2023-09-12 A method and system for determining the existence of multi-target delivery paths based on road network Active CN117217396B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311171920.5A CN117217396B (en) 2023-09-12 2023-09-12 A method and system for determining the existence of multi-target delivery paths based on road network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311171920.5A CN117217396B (en) 2023-09-12 2023-09-12 A method and system for determining the existence of multi-target delivery paths based on road network

Publications (2)

Publication Number Publication Date
CN117217396A CN117217396A (en) 2023-12-12
CN117217396B true CN117217396B (en) 2024-06-11

Family

ID=89048988

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311171920.5A Active CN117217396B (en) 2023-09-12 2023-09-12 A method and system for determining the existence of multi-target delivery paths based on road network

Country Status (1)

Country Link
CN (1) CN117217396B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117494922A (en) * 2024-01-02 2024-02-02 全盛物流科技(山东)有限公司 Logistics path planning method

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109459053A (en) * 2019-01-02 2019-03-12 广州奥盛电子科技有限公司 A kind of air navigation aid that multiobjective optimization path is planned automatically
CN110887502A (en) * 2019-11-18 2020-03-17 广西华蓝岩土工程有限公司 Must-pass node shortest path searching method
CN111461408A (en) * 2020-03-10 2020-07-28 广东中达规谷地信科技有限公司 Shortest path searching method, device and storage medium
CN112070167A (en) * 2020-09-09 2020-12-11 深圳市城市规划设计研究院有限公司 Rapid Hamilton path solving method based on TIN triangular network
CN112862186A (en) * 2021-02-05 2021-05-28 柳州工学院 Shortest Hamiltonian path solving method based on ascending and descending thinking
CN112862185A (en) * 2021-02-05 2021-05-28 柳州工学院 Simple optimization method of Hamiltonian path
CN113554120A (en) * 2020-09-09 2021-10-26 深圳市城市规划设计研究院有限公司 Hamiltonian path fast searching method based on triangular expansion
CN113722553A (en) * 2020-11-10 2021-11-30 北部湾大学 Hamiltonian path searching method and system based on contour line thinking
CN114199255A (en) * 2021-12-08 2022-03-18 南京航空航天大学 Planning method for terminal distribution airway network of urban logistics unmanned aerial vehicle
CN114217607A (en) * 2021-11-23 2022-03-22 桂林航天工业学院 Takeout delivery path planning method, system and storage medium
CN114234998A (en) * 2021-09-23 2022-03-25 同济大学 Parallel planning method of multi-target point trajectory for unmanned driving based on semantic road map
CN114493465A (en) * 2022-02-21 2022-05-13 深圳佳利达供应链管理有限公司 Multi-objective logistics path optimization method
CN117371897A (en) * 2023-10-16 2024-01-09 广西交科集团有限公司 Planning method and system for multi-target point logistics dispatching path based on road network

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109459053A (en) * 2019-01-02 2019-03-12 广州奥盛电子科技有限公司 A kind of air navigation aid that multiobjective optimization path is planned automatically
CN110887502A (en) * 2019-11-18 2020-03-17 广西华蓝岩土工程有限公司 Must-pass node shortest path searching method
WO2021098400A1 (en) * 2019-11-18 2021-05-27 广西华蓝岩土工程有限公司 Necessary node-based shortest path searching method
CN111461408A (en) * 2020-03-10 2020-07-28 广东中达规谷地信科技有限公司 Shortest path searching method, device and storage medium
CN113516206A (en) * 2020-09-09 2021-10-19 深圳市城市规划设计研究院有限公司 Rapid searching method for Hamilton path based on TIN triangular network
CN112070167A (en) * 2020-09-09 2020-12-11 深圳市城市规划设计研究院有限公司 Rapid Hamilton path solving method based on TIN triangular network
CN113554120A (en) * 2020-09-09 2021-10-26 深圳市城市规划设计研究院有限公司 Hamiltonian path fast searching method based on triangular expansion
CN113722553A (en) * 2020-11-10 2021-11-30 北部湾大学 Hamiltonian path searching method and system based on contour line thinking
CN112862185A (en) * 2021-02-05 2021-05-28 柳州工学院 Simple optimization method of Hamiltonian path
CN112862186A (en) * 2021-02-05 2021-05-28 柳州工学院 Shortest Hamiltonian path solving method based on ascending and descending thinking
CN114234998A (en) * 2021-09-23 2022-03-25 同济大学 Parallel planning method of multi-target point trajectory for unmanned driving based on semantic road map
CN114217607A (en) * 2021-11-23 2022-03-22 桂林航天工业学院 Takeout delivery path planning method, system and storage medium
CN114199255A (en) * 2021-12-08 2022-03-18 南京航空航天大学 Planning method for terminal distribution airway network of urban logistics unmanned aerial vehicle
CN114493465A (en) * 2022-02-21 2022-05-13 深圳佳利达供应链管理有限公司 Multi-objective logistics path optimization method
CN117371897A (en) * 2023-10-16 2024-01-09 广西交科集团有限公司 Planning method and system for multi-target point logistics dispatching path based on road network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于空间分析和并行计算的最短路径搜索方法;魏金占;岳国森;孙鸿睿;;工程勘察;20180130(第02期);58-61 *

Also Published As

Publication number Publication date
CN117217396A (en) 2023-12-12

Similar Documents

Publication Publication Date Title
WO2024077812A1 (en) Single building three-dimensional reconstruction method based on point cloud semantic segmentation and structure fitting
US20220018669A1 (en) A method for searching the shortest path of must-pass nodes
CN113554120B (en) Logistics path rapid planning method for multiple target points
CN117217396B (en) A method and system for determining the existence of multi-target delivery paths based on road network
Lee 3D data model for representing topological relations of urban features
CN113722553B (en) Logistics path searching method
CN113724279B (en) System, method, equipment and storage medium for automatically dividing traffic cells into road networks
CN113032404B (en) Method and system for extracting pattern spot change track facing earth surface coverage data
CN113516206B (en) Path planning method for multiple target points
CN108446785A (en) A kind of optimal visual overlay path planing method based on landform visible range
CN117371897B (en) Planning method and system for multi-target point logistics dispatching path based on road network
CN103390271B (en) Remote Sensing Image Segmentation and device
Hasan et al. Improved GIS-T model for finding the shortest paths in graphs
CN114969571B (en) Optimal path query method for time series graph of traffic network
CN112862186A (en) Shortest Hamiltonian path solving method based on ascending and descending thinking
CN112862185A (en) Simple optimization method of Hamiltonian path
Chatterjee et al. Scaling laws in chennai bus network
CN117852732B (en) Multi-target point path searching method, system and medium for ripple thinking from outside to inside
CN117852731B (en) Multi-target point path search method, system and medium of edge ripple thinking
CN118884974A (en) A multi-target UAV patrol path planning method
Chen et al. Recognition and extraction high precision digital road map
CN118444696A (en) Unmanned aerial vehicle unconstrained patrol path planning method with multiple target points
Savino et al. Road junction generalization in large scale geodatabases
Gonzalez Rooftop-Place Suitability Analysis for Urban Air Mobility Hubs: a Gis and Neural Network Approach
CN115617054B (en) Path planning method and system, electronic device and readable storage medium

Legal Events

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