[go: up one dir, main page]

CN118230605A - A method and device for limiting the search area along the route in route planning - Google Patents

A method and device for limiting the search area along the route in route planning Download PDF

Info

Publication number
CN118230605A
CN118230605A CN202410259939.3A CN202410259939A CN118230605A CN 118230605 A CN118230605 A CN 118230605A CN 202410259939 A CN202410259939 A CN 202410259939A CN 118230605 A CN118230605 A CN 118230605A
Authority
CN
China
Prior art keywords
route
included angle
search area
angle
edge
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202410259939.3A
Other languages
Chinese (zh)
Other versions
CN118230605B (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.)
China Southern Airlines Co Ltd
Original Assignee
China Southern Airlines Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Southern Airlines Co Ltd filed Critical China Southern Airlines Co Ltd
Priority to CN202410259939.3A priority Critical patent/CN118230605B/en
Publication of CN118230605A publication Critical patent/CN118230605A/en
Application granted granted Critical
Publication of CN118230605B publication Critical patent/CN118230605B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G5/00Traffic control systems for aircraft
    • G08G5/30Flight plan management
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G5/00Traffic control systems for aircraft
    • G08G5/50Navigation or guidance aids
    • G08G5/51Navigation or guidance aids for control when on the ground, e.g. taxiing or rolling
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G5/00Traffic control systems for aircraft
    • G08G5/50Navigation or guidance aids
    • G08G5/56Navigation or guidance aids for two or more aircraft

Landscapes

  • Engineering & Computer Science (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)

Abstract

The invention discloses a method for limiting a route edge search area in route planning. The method comprises the following steps: acquiring historical flight plan data of a preset route within N years, and calculating an included angle between a target point direction azimuth angle and a route direction azimuth angle of each route side in the historical flight plan data to obtain a historical included angle set; carrying out statistical analysis on the historical included angle set to obtain an included angle filtering range; when the route edge to be selected is not in the preset limited search area, removing the route edge to be selected from the selectable route edge set; wherein the set of selectable route edges is a set of all selectable route edges of the newly planned flight; calculating the included angle between the target point direction azimuth angle and the route direction azimuth angle of each rejected route to be selected; and when the included angle is not in the included angle filtering range, selecting the route edge to be selected corresponding to the included angle into a target searching set. The invention provides a reasonable limit method for the search area of the navigation edge, which reduces the search scale and improves the efficiency of navigation planning.

Description

一种航路规划中航路边搜索区域限制方法和装置A method and device for limiting the search area along the route in route planning

技术领域Technical Field

本发明涉及民航飞机航路规划技术领域,尤其涉及一种航路规划中航路边搜索区域限制方法、装置、设备及存储介质。The present invention relates to the technical field of civil aircraft route planning, and in particular to a method, device, equipment and storage medium for limiting a route side search area in route planning.

背景技术Background technique

民航航路规划技术是飞行计划系统的核心技术之一,需要综合考虑飞行距离、时间、成本、气象、空中交通流量、飞机性能、业载、机场适航性以及各类复杂的运行限制和局方及航司规章规则等多种要素,为每趟航班规划出一条最优的航路,以确保航班能够安全、准时地到达目的地,同时尽可能的节约成本,增加运营效益。然而全球航空路网十分庞大,加上各类约束条件多而复杂,已经证明,这是一个NP问题(多项式复杂程度的非确定性问题),这就意味着需要消耗很长的时间来求解,如何改进规划算法,加快求解过程,是一个至关重要的问题。Civil aviation route planning technology is one of the core technologies of the flight planning system. It needs to comprehensively consider flight distance, time, cost, weather, air traffic flow, aircraft performance, payload, airport airworthiness, and various complex operating restrictions and regulations of the authorities and airlines, and plan an optimal route for each flight to ensure that the flight can arrive at the destination safely and on time, while saving costs as much as possible and increasing operational efficiency. However, the global aviation network is very large, and the various constraints are numerous and complex. It has been proven that this is an NP problem (non-deterministic problem of polynomial complexity), which means that it takes a long time to solve. How to improve the planning algorithm and speed up the solution process is a crucial issue.

目前,路径规划算法的改进策略可以分为优化算法本身与控制路网规模两大类。其中控制路网规模的策略具有广泛的应用前景,可与任何路径规划方法结合使用,常见的控制路网规模的算法有矩形限制搜索区域算法、椭圆限制搜索区域算法、动态限制搜索区域算法等。但这些算法都只是根据距离进行裁剪,对于长航线,裁剪之后的区域仍然较大,求解时间仍然较长,并且忽略了路径规划的方向特性,实际航空路网中,航路方向通常是双向的,但是在进行最短路规划时,起点与目标点已经确定,基本不会选择反向的航路。At present, the improvement strategies of path planning algorithms can be divided into two categories: optimization algorithm itself and control of road network scale. Among them, the strategy of controlling road network scale has broad application prospects and can be used in combination with any path planning method. Common algorithms for controlling road network scale include rectangular restricted search area algorithm, elliptical restricted search area algorithm, dynamic restricted search area algorithm, etc. However, these algorithms only perform clipping based on distance. For long routes, the clipped area is still large, the solution time is still long, and the directional characteristics of path planning are ignored. In actual aviation road networks, the route direction is usually bidirectional, but when performing shortest path planning, the starting point and the target point have been determined, and the reverse route is basically not selected.

发明内容Summary of the invention

为了解决上述技术问题,提供了一种航路规划中航路边搜索区域限制方法,通过结合矩形限制搜索区域算法和椭圆限制搜索区域算法,再考虑航路方向,排除与航路方向相反的航路,缩小了搜索规模,提高了航路规划的效率。In order to solve the above technical problems, a method for limiting the search area along the route in route planning is provided. By combining the rectangular restricted search area algorithm and the elliptical restricted search area algorithm, and then considering the route direction, the routes opposite to the route direction are excluded, the search scale is reduced, and the efficiency of route planning is improved.

第一方面,本发明实施例提供一种航路规划中航路边搜索区域限制方法,包括:In a first aspect, an embodiment of the present invention provides a method for limiting a route side search area in route planning, comprising:

获取历史N年内预设航线的历史飞行计划数据,计算所述历史飞行计划数据中每一航路边的目标点方向方位角和航路方向方位角之间的夹角,得到历史夹角集合;Obtain historical flight plan data of preset routes within N years, calculate the angle between the azimuth of the target point direction of each route side in the historical flight plan data and the azimuth of the route direction, and obtain a historical angle set;

对所述历史夹角集合进行统计分析,得到夹角过滤范围;Performing statistical analysis on the historical angle set to obtain an angle filtering range;

当待选航路边不在预设的限制搜索区域内时,将所述待选航路边从可选航路边集合中剔除;其中,所述可选航路边集合为新规划航班的所有可选航路边组成的集合;When the route edge to be selected is not within the preset restricted search area, the route edge to be selected is removed from the set of optional route edges; wherein the set of optional route edges is a set consisting of all optional route edges of the newly planned flight;

计算剔除后的每一待选航路边的目标点方向方位角与航路方向方位角的夹角;Calculate the angle between the target point direction azimuth and the route direction azimuth of each selected route side after elimination;

当所述夹角不在所述夹角过滤范围内时,将所述夹角对应的待选航路边选择到目标搜索集合中。When the angle is not within the angle filtering range, the candidate route edge corresponding to the angle is selected into the target search set.

进一步的,所述获取历史N年内预设航线的历史飞行计划数据之后,还包括:Furthermore, after obtaining the historical flight plan data of the preset routes within the past N years, the method further includes:

对所述历史飞行计划数据进行数据清洗,剔除起飞机场与落地机场相同的航班。The historical flight plan data is cleaned to remove flights whose departure airport and landing airport are the same.

进一步的,所述预设的限制搜索区域包括矩形限制搜索区域和椭圆限制搜索区域,所述椭圆限制搜索区域,是以所述新规划航班的起点和目标点作为焦点,以航线大圆距离乘以某一特定系数作为长轴,绘制出的椭圆形状所界定的区域,所述矩形限制搜索区域为所述椭圆限制搜索区域的外接矩形。Furthermore, the preset restricted search area includes a rectangular restricted search area and an elliptical restricted search area. The elliptical restricted search area is an area defined by an elliptical shape drawn with the starting point and target point of the newly planned flight as the focus and the great circle distance of the route multiplied by a specific coefficient as the major axis. The rectangular restricted search area is the circumscribed rectangle of the elliptical restricted search area.

进一步的,所述当待选航路边不在预设的限制搜索区域内时,将所述待选航路边从可选航路边集合中剔除,包括:Furthermore, when the route side to be selected is not within the preset restricted search area, the route side to be selected is removed from the set of optional route sides, including:

当待选航路边不在预设的矩形限制搜索区域内时,将所述待选航路边剔除,将剔除后剩余的所有航路边记为第一航路边集合;When the candidate route edge is not within the preset rectangular restricted search area, the candidate route edge is eliminated, and all the remaining route edges after elimination are recorded as the first route edge set;

当第一航路边集合中的待选航路边不在预设的椭圆限制搜索区域内时,将所述待选航路边剔除,将剔除后剩余的航路边记为第二航路边集合。When the candidate route edges in the first route edge set are not within the preset elliptical restricted search area, the candidate route edges are eliminated, and the remaining route edges after the elimination are recorded as the second route edge set.

进一步的,所述计算剔除后的每一待选航路边的目标点方向方位角与航路方向方位角的夹角,包括:Furthermore, the calculation of the angle between the target point direction azimuth of each selected route edge after elimination and the route direction azimuth includes:

计算所述第二航路边集合中的每一航路边起点与航线终点之间的方位角,作为目标点方向方位角;Calculate the azimuth between the starting point and the end point of each wayside in the second wayside set as the azimuth of the target point;

计算所述第二航路边集合中的每一航路边起点与对应的航路边终点之间的方位角,作为航路方向方位角;Calculate the azimuth between each wayside start point and the corresponding wayside end point in the second wayside set as the route direction azimuth;

计算所述目标点方向方位角与所述航路方向方位角的夹角。Calculate the angle between the target point direction azimuth and the route direction azimuth.

进一步的,所述计算剔除后的每一待选航路边的目标点方向方位角与航路方向方位角的夹角,还包括:Furthermore, the calculation of the angle between the target point direction azimuth of each selected route edge after elimination and the route direction azimuth also includes:

计算目标点方向方位角θ1,具体公式如下:Calculate the azimuth angle θ 1 of the target point. The specific formula is as follows:

Δγ1=γ21 Δγ 121

θ1=atan2(sinΔγ1·cosφ2,cosφ1·sinφ2-sinφ1·cosφ2·cosΔγ1);θ 1 = atan 2 (sin Δγ 1 · cos φ 2 , cos φ 1 · sin φ 2 - sin φ 1 · cos φ 2 · cos Δγ 1 );

计算航路方向方位角θ2,具体公式如下:Calculate the route direction azimuth θ 2 , the specific formula is as follows:

Δγ2=γ31Δγ 231 ;

θ2=atan2(sinΔγ2·cosφ3,cosφ1·sinφ3-sinφ1·cos3·cosΔγ2);θ 2 = atan 2 (sin Δγ 2 · cos φ 3 , cos φ 1 · sin φ 3 - sin φ 1 · cos 3 · cos Δγ 2 );

计算所述目标点方向方位角与所述航路方向方位角的夹角α,具体公式如下:Calculate the angle α between the target point direction azimuth and the route direction azimuth. The specific formula is as follows:

α=(|θ12|;α=(|θ 1 −θ 2 |;

其中,γ1为航路边起点的经度,φ1为航路边起点的纬度,γ2为航线终点的经度,φ2为航线终点的纬度,γ3为航路边终点的经度,φ3为航路边终点的纬度,Δγ1为所述航路边起点与所述航线终点的经度差,Δγ2为所述航路边起点与所述航路边终点的经度差,atan2为计算角度的数学函数。Among them, γ 1 is the longitude of the starting point of the route side, φ 1 is the latitude of the starting point of the route side, γ 2 is the longitude of the end point of the route, φ 2 is the latitude of the end point of the route, γ 3 is the longitude of the end point of the route side, φ 3 is the latitude of the end point of the route side, Δγ 1 is the longitude difference between the starting point of the route side and the end point of the route, Δγ 2 is the longitude difference between the starting point of the route side and the end point of the route, and atan2 is the mathematical function for calculating the angle.

进一步的,所述当所述夹角不在所述夹角过滤范围内时,将所述夹角对应的待选航路边选择到目标搜索集合中,包括:Further, when the angle is not within the angle filtering range, selecting the candidate route edge corresponding to the angle into the target search set includes:

将所述夹角与所述夹角过滤范围进行对比,当所述夹角在所述夹角过滤范围内时,将所述夹角对应的待选航路边剔除;Comparing the angle with the angle filtering range, and when the angle is within the angle filtering range, eliminating the candidate route edge corresponding to the angle;

当所述夹角不在所述夹角过滤范围内时,将所述夹角对应的待选航路边选择到目标搜索集合中。When the angle is not within the angle filtering range, the candidate route edge corresponding to the angle is selected into the target search set.

第二方面,本发明实施例提供一种航路规划中航路边搜索区域限制装置,包括:In a second aspect, an embodiment of the present invention provides a route side search area restriction device in route planning, comprising:

数据获取模块,用于获取历史N年内预设航线的历史飞行计划数据,计算所述历史飞行计划数据中每一航路边的目标点方向方位角和航路方向方位角之间的夹角,得到历史夹角集合;A data acquisition module is used to acquire historical flight plan data of preset routes within N years, calculate the angle between the target point direction azimuth and the route direction azimuth of each route side in the historical flight plan data, and obtain a historical angle set;

夹角范围确定模块,用于对所述历史夹角集合进行统计分析,得到夹角过滤范围;An angle range determination module is used to perform statistical analysis on the historical angle set to obtain an angle filtering range;

航路边剔除模块,用于当待选航路边不在预设的限制搜索区域内时,将所述待选航路边从可选航路边集合中剔除;其中,所述可选航路边集合为新规划航班的所有可选航路边组成的集合;A route edge removal module is used to remove the candidate route edge from the optional route edge set when the candidate route edge is not within the preset restricted search area; wherein the optional route edge set is a set consisting of all optional route edges of the newly planned flight;

夹角计算模块,用于计算剔除后的每一待选航路边的目标点方向方位角与航路方向方位角的夹角;An angle calculation module is used to calculate the angle between the target point direction azimuth of each selected route edge after elimination and the route direction azimuth;

航路边选择模块,用于当所述夹角不在所述夹角过滤范围内时,将所述夹角对应的待选航路边选择到目标搜索集合中。The route edge selection module is used to select the candidate route edge corresponding to the angle into the target search set when the angle is not within the angle filtering range.

第三方面,本发明实施例提供一种电子设备,包括:In a third aspect, an embodiment of the present invention provides an electronic device, including:

存储器,用于存储计算机程序;Memory for storing computer programs;

处理器,用于执行所述计算机程序;A processor, configured to execute the computer program;

其中,所述处理器执行所述计算机程序时实现上述第一方面任一项所述的航路规划中航路边搜索区域限制方法。Wherein, when the processor executes the computer program, the method for limiting the route side search area in route planning as described in any one of the first aspects above is implemented.

第四方面,本发明实施例提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被执行时实现上述第一方面任一项所述的航路规划中航路边搜索区域限制方法。In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed, the method for limiting the route side search area in route planning as described in any one of the first aspects above is implemented.

与现有技术相比,本发明实施例提供的一种航路规划中航路边搜索区域限制方法,其有益效果在于:通过获取历史N年内预设航线的历史飞行计划数据,计算所述历史飞行计划数据中每一航路边的目标点方向方位角和航路方向方位角之间的夹角,得到历史夹角集合;对所述历史夹角集合进行统计分析,得到夹角过滤范围;当待选航路边不在预设的限制搜索区域内时,将所述待选航路边从可选航路边集合中剔除;计算剔除后的每一待选航路边的目标点方向方位角与航路方向方位角的夹角;当所述夹角不在所述夹角过滤范围内时,将所述夹角对应的待选航路边选择到目标搜索集合中。提供一种合理的航路边搜索区域限制方法,缩小了搜索规模,提高了航路规划的效率。Compared with the prior art, the method for limiting the search area of the wayside in route planning provided by the embodiment of the present invention has the following beneficial effects: by obtaining the historical flight plan data of the preset route within N years, the angle between the target point direction azimuth and the route direction azimuth of each wayside in the historical flight plan data is calculated to obtain a historical angle set; the historical angle set is statistically analyzed to obtain an angle filtering range; when the to-be-selected wayside is not within the preset restricted search area, the to-be-selected wayside is removed from the optional wayside set; the angle between the target point direction azimuth and the route direction azimuth of each to-be-selected wayside after removal is calculated; when the angle is not within the angle filtering range, the to-be-selected wayside corresponding to the angle is selected into the target search set. A reasonable wayside search area limiting method is provided, which reduces the search scale and improves the efficiency of route planning.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

为了更清楚地说明本发明实施例的技术特征,下面将对本发明实施例中所需要使用的附图做简单地介绍,显而易见地,下面所描述的附图仅仅是本发明的一些实施例,对于本领域技术人员来说,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical features of the embodiments of the present invention, the drawings required for use in the embodiments of the present invention will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.

图1是本发明提供的一种航路规划中航路边搜索区域限制方法的一个实施例的流程示意图;FIG1 is a flow chart of an embodiment of a method for limiting a route side search area in route planning provided by the present invention;

图2是本发明提供的一种航路规划中航路边搜索区域限制方法的历史夹角集合统计分析示意图;FIG2 is a schematic diagram of a statistical analysis of historical angle sets in a method for limiting the route side search area in route planning provided by the present invention;

图3是本发明提供的一种航路规划中航路边搜索区域限制装置的一个实施例的结构示意图;FIG3 is a schematic structural diagram of an embodiment of a route side search area restriction device in route planning provided by the present invention;

图4是本发明提供的一种电子设备的一个实施例的结构示意图。FIG. 4 is a schematic structural diagram of an embodiment of an electronic device provided by the present invention.

具体实施方式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.

第一方面,本发明实施例提供了一种航路规划中航路边搜索区域限制方法,参见图1,为本发明提供的一种航路规划中航路边搜索区域限制方法的流程示意图。In a first aspect, an embodiment of the present invention provides a method for limiting a route side search area in route planning. Referring to FIG1 , there is shown a flow chart of a method for limiting a route side search area in route planning provided by the present invention.

如图1所示,所述方法包括如下步骤:As shown in FIG1 , the method comprises the following steps:

S1:获取历史N年内预设航线的历史飞行计划数据,计算所述历史飞行计划数据中每一航路边的目标点方向方位角和航路方向方位角之间的夹角,得到历史夹角集合;S1: Obtain historical flight plan data of preset routes within N years, calculate the angle between the azimuth of the target point direction of each route side in the historical flight plan data and the azimuth of the route direction, and obtain a historical angle set;

S2:对所述历史夹角集合进行统计分析,得到夹角过滤范围;S2: Performing statistical analysis on the historical angle set to obtain an angle filtering range;

S3:当待选航路边不在预设的限制搜索区域内时,将所述待选航路边从可选航路边集合中剔除;其中,所述可选航路边集合为新规划航班的所有可选航路边组成的集合;S3: When the route side to be selected is not within the preset restricted search area, the route side to be selected is removed from the set of optional route sides; wherein the set of optional route sides is a set consisting of all optional route sides of the newly planned flight;

S4:计算剔除后的每一待选航路边的目标点方向方位角与航路方向方位角的夹角;S4: Calculate the angle between the target point direction azimuth of each selected route side after elimination and the route direction azimuth;

S5:当所述夹角不在所述夹角过滤范围内时,将所述夹角对应的待选航路边选择到目标搜索集合中。S5: When the angle is not within the angle filtering range, the candidate route side corresponding to the angle is selected into the target search set.

在具体实施中,航路边选择的过程具体依赖于历史飞行计划数据,首先从航班数据库中获取历史N年内所有航班的历史飞行计划数据,计算历史飞行计划数据中每一航路边的目标点方向方位角和航路方向方位角之间的夹角,得到所有航路边的历史夹角集合,对历史夹角集合进行统计分析,确定夹角过滤范围,示例性的,参见图2所示,其中,横轴表示航路边与起点间的距离和与目标点之间的距离的较小值,纵轴表示历史所选航路边方向与目标点方向之间的夹角,根据统计分析结果,发现历史所选航路边方向与目标点方向之间的夹角均在[0,90]与[270,360]之间,因此可以过滤夹角范围在(90,270)区间的航路边。In a specific implementation, the process of route edge selection depends specifically on historical flight plan data. First, the historical flight plan data of all flights in the past N years are obtained from the flight database, and the angle between the target point direction azimuth and the route direction azimuth of each route edge in the historical flight plan data is calculated to obtain a historical angle set of all route edges. The historical angle set is statistically analyzed to determine the angle filtering range. For example, see Figure 2, where the horizontal axis represents the smaller value of the distance between the route edge and the starting point and the distance between the route edge and the target point, and the vertical axis represents the angle between the direction of the historically selected route edge and the direction of the target point. According to the statistical analysis results, it is found that the angles between the direction of the historically selected route edge and the direction of the target point are all between [0,90] and [270,360]. Therefore, the route edges with an angle range in the interval of (90,270) can be filtered.

将新规划航班的所有可选航路边组成的集合作为待选航路边,对其应用矩形限制搜索区域算法和椭圆限制搜索区域算法,当待选航路边不在预设的矩形限制搜索区域和椭圆限制搜索区域内时,将待选航路边从可选航路边集合中剔除,计算剔除后的每一待选航路边的目标点方向方位角与航路方向方位角的夹角,判断夹角是否在上述分析得到的夹角过滤范围之内,若在,则将其过滤掉,若不在,将所述夹角对应的待选航路边选择到目标搜索集合中,再采用路径规划算法在目标搜索集合中进行最优航路的规划,其中,路径规划算法包括但不限于Dijkstra、A*、遗传算法等。A set of all optional route edges of the newly planned flight is taken as candidate route edges, and a rectangular restricted search area algorithm and an elliptical restricted search area algorithm are applied to them. When a candidate route edge is not within the preset rectangular restricted search area and the elliptical restricted search area, the candidate route edge is removed from the set of optional route edges, and the angle between the target point direction azimuth and the route direction azimuth of each candidate route edge after removal is calculated, and it is determined whether the angle is within the angle filtering range obtained by the above analysis. If so, it is filtered out, and if not, the candidate route edge corresponding to the angle is selected into the target search set, and then a path planning algorithm is used to plan the optimal route in the target search set, wherein the path planning algorithm includes but is not limited to Dijkstra, A*, genetic algorithm, etc.

综上所述,本发明通过获取历史N年内预设航线的历史飞行计划数据,计算所述历史飞行计划数据中每一航路边的目标点方向方位角和航路方向方位角之间的夹角,得到历史夹角集合;对所述历史夹角集合进行统计分析,得到夹角过滤范围;当待选航路边不在预设的限制搜索区域内时,将所述待选航路边从可选航路边集合中剔除;计算剔除后的每一待选航路边的目标点方向方位角与航路方向方位角的夹角;当所述夹角不在所述夹角过滤范围内时,将所述夹角对应的待选航路边选择到目标搜索集合中。提供一种合理的航路边搜索区域限制方法,缩小了搜索规模,提高了航路规划的效率。In summary, the present invention obtains historical flight plan data of preset routes within N years, calculates the angle between the target point direction azimuth and the route direction azimuth of each route edge in the historical flight plan data, and obtains a historical angle set; performs statistical analysis on the historical angle set to obtain an angle filtering range; when a candidate route edge is not within a preset restricted search area, the candidate route edge is removed from the optional route edge set; calculates the angle between the target point direction azimuth and the route direction azimuth of each candidate route edge after removal; when the angle is not within the angle filtering range, the candidate route edge corresponding to the angle is selected into the target search set. A reasonable route edge search area restriction method is provided, which reduces the search scale and improves the efficiency of route planning.

在一种可选的实施方式中,所述所述获取历史N年内预设航线的历史飞行计划数据之后,还包括:In an optional implementation manner, after obtaining the historical flight plan data of the preset routes within the past N years, the method further includes:

对所述历史飞行计划数据进行数据清洗,剔除起飞机场与落地机场相同的航班。The historical flight plan data is cleaned to remove flights whose departure airport and landing airport are the same.

具体的,获取历史N年内某一航线的历史飞行计划数据,对得到的历史飞行计划数据进行数据清洗,剔除起飞机场与落地机场相同的航班,减少初始的历史飞行计划数据中的异常数据,减少后续计算工作量,提高航路边选择的准确性。Specifically, historical flight plan data of a certain route within N years are obtained, and data cleaning is performed on the obtained historical flight plan data to eliminate flights with the same take-off airport and landing airport, reduce abnormal data in the initial historical flight plan data, reduce subsequent calculation workload, and improve the accuracy of route side selection.

在一种可选的实施方式中,所述预设的限制搜索区域包括矩形限制搜索区域和椭圆限制搜索区域,所述椭圆限制搜索区域,是以所述新规划航班的起点和目标点作为焦点,以航线大圆距离乘以某一特定系数作为长轴,绘制出的椭圆形状所界定的区域,所述矩形限制搜索区域为所述椭圆限制搜索区域的外接矩形。In an optional embodiment, the preset restricted search area includes a rectangular restricted search area and an elliptical restricted search area. The elliptical restricted search area is an area defined by an elliptical shape drawn with the starting point and target point of the newly planned flight as the focus and the route great circle distance multiplied by a specific coefficient as the major axis. The rectangular restricted search area is the circumscribed rectangle of the elliptical restricted search area.

具体的,对新规划航班的所有可选航路边进行筛选,首先应用矩形限制搜索区域算法,根据起点与目标点的距离,粗略圈出搜索区域,矩形限制搜索区域算法的关键在于求解矩形的边界坐标,将边界坐标与待选择的航路边的起点与终点坐标进行比较,判断航路边是否在矩形限制搜索区域内,将不在矩形限制搜索区域的航路边剔除,然后进一步缩小搜索区域,将不在椭圆限制搜索区域的航路边剔除,椭圆限制搜索区域是以新规划航班的起点和目标点作为焦点,以航线大圆距离乘以某一特定系数作为长轴,绘制出的椭圆形状所界定的区域,且矩形限制搜索区域为椭圆限制搜索区域的外接矩形。Specifically, all optional route edges of the newly planned flight are screened, and the rectangular restricted search area algorithm is first applied to roughly circle the search area according to the distance between the starting point and the target point. The key to the rectangular restricted search area algorithm is to solve the boundary coordinates of the rectangle, compare the boundary coordinates with the starting point and end point coordinates of the route edge to be selected, and determine whether the route edge is within the rectangular restricted search area. The route edges that are not in the rectangular restricted search area are eliminated, and then the search area is further narrowed, and the route edges that are not in the elliptical restricted search area are eliminated. The elliptical restricted search area is an area defined by an elliptical shape drawn with the starting point and target point of the newly planned flight as the focus and the route great circle distance multiplied by a certain coefficient as the major axis, and the rectangular restricted search area is the circumscribed rectangle of the elliptical restricted search area.

在一种可选的实施方式中,所述当待选航路边不在预设的限制搜索区域内时,将所述待选航路边从可选航路边集合中剔除,包括:In an optional implementation, when the candidate route edge is not within the preset restricted search area, removing the candidate route edge from the set of optional route edges includes:

当待选航路边不在预设的矩形限制搜索区域内时,将所述待选航路边剔除,将剔除后剩余的所有航路边记为第一航路边集合;When the candidate route edge is not within the preset rectangular restricted search area, the candidate route edge is eliminated, and all the remaining route edges after elimination are recorded as the first route edge set;

当第一航路边集合中的待选航路边不在预设的椭圆限制搜索区域内时,将所述待选航路边剔除,将剔除后剩余的航路边记为第二航路边集合。When the candidate route edges in the first route edge set are not within the preset elliptical restricted search area, the candidate route edges are eliminated, and the remaining route edges after the elimination are recorded as the second route edge set.

具体的,对待选航路边的筛选先应用矩形限制搜索区域算法,粗略圈出搜索区域,当待选航路边不在预设的矩形限制搜索区域内时,将所述待选航路边剔除,将剔除后剩余的所有航路边记为第一航路边集合,再对矩形内的所有待选航路边应用椭圆限制搜索区域算法,当第一航路边集合中的待选航路边不在预设的椭圆限制搜索区域内时,将所述待选航路边剔除,将剔除后剩余的航路边记为第二航路边集合。Specifically, the rectangular restricted search area algorithm is first applied to the screening of the candidate route edges to roughly circle the search area. When the candidate route edge is not within the preset rectangular restricted search area, the candidate route edge is eliminated, and all the route edges remaining after the elimination are recorded as the first route edge set. Then, the elliptical restricted search area algorithm is applied to all the candidate route edges in the rectangle. When the candidate route edges in the first route edge set are not within the preset elliptical restricted search area, the candidate route edges are eliminated, and the route edges remaining after the elimination are recorded as the second route edge set.

在一种可选的实施方式中,所述计算剔除后的每一待选航路边的目标点方向方位角与航路方向方位角的夹角,包括:In an optional implementation, the calculation of the angle between the target point direction azimuth of each selected route edge after elimination and the route direction azimuth includes:

计算所述第二航路边集合中的每一航路边起点与航线终点之间的方位角,作为目标点方向方位角;Calculate the azimuth between the starting point and the end point of each wayside in the second wayside set as the azimuth of the target point;

计算所述第二航路边集合中的每一航路边起点与对应的航路边终点之间的方位角,作为航路方向方位角;Calculate the azimuth between each wayside start point and the corresponding wayside end point in the second wayside set as the route direction azimuth;

计算所述目标点方向方位角与所述航路方向方位角的夹角。Calculate the angle between the target point direction azimuth and the route direction azimuth.

具体的,应用椭圆限制搜索区域算法之后,需要进一步对搜索方向进行限制,排除与航线方向相反的航路,首先计算目标点方向方位角与航路方向方位角的夹角,目标点方向方位角为每一条航路边起点与整条航线终点之间的方位角,航路方向方位角为每一条航路边起点与对应的航路边终点之间的方位角,夹角即为两个方位角的差值的绝对值。Specifically, after applying the ellipse-restricted search area algorithm, the search direction needs to be further restricted to exclude routes that are opposite to the route direction. First, the angle between the target point direction azimuth and the route direction azimuth is calculated. The target point direction azimuth is the azimuth between the starting point of each route edge and the end point of the entire route. The route direction azimuth is the azimuth between the starting point of each route edge and the corresponding route edge end point. The angle is the absolute value of the difference between the two azimuths.

在一种可选的实施方式中,所述计算剔除后的每一待选航路边的目标点方向方位角与航路方向方位角的夹角,还包括:In an optional implementation, the calculation of the angle between the target point direction azimuth of each selected route edge after elimination and the route direction azimuth also includes:

计算目标点方向方位角θ1,具体公式如下:Calculate the azimuth angle θ 1 of the target point. The specific formula is as follows:

Δγ1=γ21Δγ 121 ;

θ1=atan2(sinΔγ1·cosφ2,cosφ1·sinφ2-sinφ1·cosφ2·cosΔγ1);θ 1 = atan 2 (sin Δγ 1 · cos φ 2 , cos φ 1 · sin φ 2 - sin φ 1 · cos φ 2 · cos Δγ 1 );

计算航路方向方位角θ2,具体公式如下:Calculate the route direction azimuth θ 2 , the specific formula is as follows:

Δγ2=γ31Δγ 231 ;

θ2=atan2(sinΔγ2·cosφ3,cosφ1·sinφ3-sinφ1·cos3·cosΔγ2);θ 2 = atan 2 (sin Δγ 2 · cos φ 3 , cos φ 1 · sin φ 3 - sin φ 1 · cos 3 · cos Δγ 2 );

计算所述目标点方向方位角与所述航路方向方位角的夹角α,具体公式如下:Calculate the angle α between the target point direction azimuth and the route direction azimuth. The specific formula is as follows:

α=|θ12|;α=|θ 1 −θ 2 |;

其中,γ1为航路边起点的经度,φ1为航路边起点的纬度,γ2为航线终点的经度,φ2为航线终点的纬度,γ3为航路边终点的经度,φ3为航路边终点的纬度,Δγ1为所述航路边起点与所述航线终点的经度差,Δγ2为所述航路边起点与所述航路边终点的经度差,atan2为计算角度的数学函数。Among them, γ 1 is the longitude of the starting point of the route side, φ 1 is the latitude of the starting point of the route side, γ 2 is the longitude of the end point of the route, φ 2 is the latitude of the end point of the route, γ 3 is the longitude of the end point of the route side, φ 3 is the latitude of the end point of the route side, Δγ 1 is the longitude difference between the starting point of the route side and the end point of the route, Δγ 2 is the longitude difference between the starting point of the route side and the end point of the route, and atan2 is the mathematical function for calculating the angle.

具体的,计算目标点方向方位角首先需要计算航路边起点与航线终点的经度差,航路边起点的经纬度为(γ1,φ1),航线终点的经纬度为(γ2,φ2),经度差的计算公式如下:Specifically, to calculate the azimuth of the target point, we first need to calculate the longitude difference between the starting point of the route and the end point of the route. The longitude and latitude of the starting point of the route are (γ 1 , φ 1 ), and the longitude and latitude of the end point of the route are (γ 2 , φ 2 ). The calculation formula of the longitude difference is as follows:

Δγ1=γ21Δγ 121 ;

根据所述经度差计算航路边起点与航线终点的目标点方向方位角θ1The azimuth angle θ 1 of the target point between the starting point of the route side and the end point of the route is calculated according to the longitude difference:

θ1=atan2(sinΔγ1·cosφ2,cosφ1·sinφ2-sinφ1·cosφ2·cosΔγ1);θ 1 = atan 2 (sin Δγ 1 · cos φ 2 , cos φ 1 · sin φ 2 - sin φ 1 · cos φ 2 · cos Δγ 1 );

计算航路方向方位角首先需要计算航路边起点与对应的航路边终点的经度差,航路边起点的经纬度为(γ1,φ1),航路边终点的经纬度为(γ3,φ3),经度差的计算公式如下:To calculate the azimuth of the route direction, we first need to calculate the longitude difference between the route edge starting point and the corresponding route edge end point. The longitude and latitude of the route edge starting point are (γ 1 , φ 1 ), and the longitude and latitude of the route edge end point are (γ 3 , φ 3 ). The longitude difference calculation formula is as follows:

Δγ2=γ31Δγ 231 ;

根据所述经度差计算航路边起点与航路边终点的目标点方向方位角θ2The azimuth angle θ 2 of the target point direction between the starting point of the wayside and the end point of the wayside is calculated according to the longitude difference:

θ2=atan2(sinΔγ2·cosφ3,cosφ1·sinφ3-sinφ1·cos3·cosΔγ2);θ 2 = atan 2 (sin Δγ 2 · cos φ 3 , cos φ 1 · sin φ 3 - sin φ 1 · cos 3 · cos Δγ 2 );

目标点方向方位角与航路方向方位角的夹角即为θ1和θ2的差值的绝对值:The angle between the target direction azimuth and the route direction azimuth is the absolute value of the difference between θ1 and θ2 :

α=|θ12|。α=|θ 12 |.

在一种可选的实施方式中,所述当所述夹角不在所述夹角过滤范围内时,将所述夹角对应的待选航路边选择到目标搜索集合中,包括:In an optional implementation, when the angle is not within the angle filtering range, selecting the candidate route edge corresponding to the angle into the target search set includes:

将所述夹角与所述夹角过滤范围进行对比,当所述夹角在所述夹角过滤范围内时,将所述夹角对应的待选航路边剔除;Comparing the angle with the angle filtering range, and when the angle is within the angle filtering range, eliminating the candidate route edge corresponding to the angle;

当所述夹角不在所述夹角过滤范围内时,将所述夹角对应的待选航路边选择到目标搜索集合中。When the angle is not within the angle filtering range, the candidate route edge corresponding to the angle is selected into the target search set.

具体的,根据夹角是否在预设的夹角过滤范围内确定是否选择该航路边,将夹角与夹角过滤范围进行对比,当夹角在预设的夹角过滤范围内时,将所述夹角对应的航路边剔除,当夹角不在预设的夹角过滤范围内时,选中该夹角对应的待选航路边,将其加入到目标搜索集合中,在确定目标搜索集合后,再采用路径规划算法在目标搜索集合中进行最优航路的规划,其中,路径规划算法包括但不限于Dijkstra、A*、遗传算法等。Specifically, whether to select the route edge is determined based on whether the angle is within a preset angle filtering range, and the angle is compared with the angle filtering range. When the angle is within the preset angle filtering range, the route edge corresponding to the angle is eliminated. When the angle is not within the preset angle filtering range, the candidate route edge corresponding to the angle is selected and added to the target search set. After the target search set is determined, a path planning algorithm is used to plan the optimal route in the target search set, wherein the path planning algorithm includes but is not limited to Dijkstra, A*, genetic algorithm, etc.

采用本申请的航路边搜索区域限制方法,结合矩形限制搜索区域算法和椭圆限制搜索区域算法,相对于分别的单独应用,能够大大提高航路规划时间,减小计算规模,参见表1,为广州到阿姆斯特丹的航班的航路规划结果:The route side search area restriction method of the present application is combined with the rectangular restricted search area algorithm and the elliptical restricted search area algorithm, which can greatly improve the route planning time and reduce the calculation scale compared with the separate applications. See Table 1 for the route planning results of the flight from Guangzhou to Amsterdam:

表1航路规划计算耗时Table 1 Route planning calculation time

通过表1可以看出,三种算法计算得到的路径油耗一致,即三种算法的结果都是可靠的,应用本申请方案的混合限制区域算法,与单独应用矩形限制搜索区域算法相比较,减少了约88%的总执行时间,与单独应用椭圆限制搜索区域算法相比较,减少了约45%的总执行时间,极大的缩短了算法的执行时间,提高了算法效率。It can be seen from Table 1 that the fuel consumption of the paths calculated by the three algorithms is consistent, that is, the results of the three algorithms are reliable. The hybrid restricted area algorithm of the present application reduces the total execution time by about 88% compared with the single application of the rectangular restricted search area algorithm, and reduces the total execution time by about 45% compared with the single application of the elliptical restricted search area algorithm, which greatly shortens the execution time of the algorithm and improves the efficiency of the algorithm.

第二方面,本发明提供了一种航路规划中航路边搜索区域限制装置,参见图4,为本发明提供的一种航路规划中航路边搜索区域限制装置的结构示意图。In a second aspect, the present invention provides a device for limiting a route side search area in route planning. Referring to FIG. 4 , it is a schematic diagram of the structure of a device for limiting a route side search area in route planning provided by the present invention.

如图4所示,所述装置包括:As shown in FIG4 , the device comprises:

数据获取模块21,用于获取历史N年内预设航线的历史飞行计划数据,计算所述历史飞行计划数据中每一航路边的目标点方向方位角和航路方向方位角之间的夹角,得到历史夹角集合;The data acquisition module 21 is used to acquire historical flight plan data of preset routes within N years, calculate the angle between the azimuth of the target point direction of each route side in the historical flight plan data and the azimuth of the route direction, and obtain a historical angle set;

夹角范围确定模块22,用于对所述历史夹角集合进行统计分析,得到夹角过滤范围;An angle range determination module 22, used for performing statistical analysis on the historical angle set to obtain an angle filtering range;

航路边剔除模块23,用于当待选航路边不在预设的限制搜索区域内时,将所述待选航路边从可选航路边集合中剔除;其中,所述可选航路边集合为新规划航班的所有可选航路边组成的集合;A route edge removal module 23 is used to remove the candidate route edge from the optional route edge set when the candidate route edge is not within the preset restricted search area; wherein the optional route edge set is a set consisting of all optional route edges of the newly planned flight;

夹角计算模块24,用于计算剔除后的每一待选航路边的目标点方向方位角与航路方向方位角的夹角;An angle calculation module 24 is used to calculate the angle between the target point direction azimuth of each selected route edge after elimination and the route direction azimuth;

航路边选择模块25,用于当所述夹角不在所述夹角过滤范围内时,将所述夹角对应的待选航路边选择到目标搜索集合中。The route edge selection module 25 is used to select the candidate route edge corresponding to the angle into the target search set when the angle is not within the angle filtering range.

在一种可选的实施方式中,所述所述获取历史N年内预设航线的历史飞行计划数据之后,还包括:In an optional implementation manner, after obtaining the historical flight plan data of the preset routes within the past N years, the method further includes:

对所述历史飞行计划数据进行数据清洗,剔除起飞机场与落地机场相同的航班。The historical flight plan data is cleaned to remove flights whose departure airport and landing airport are the same.

在一种可选的实施方式中,所述预设的限制搜索区域包括矩形限制搜索区域和椭圆限制搜索区域,所述椭圆限制搜索区域,是以所述新规划航班的起点和目标点作为焦点,以航线大圆距离乘以某一特定系数作为长轴,绘制出的椭圆形状所界定的区域,所述矩形限制搜索区域为所述椭圆限制搜索区域的外接矩形。In an optional embodiment, the preset restricted search area includes a rectangular restricted search area and an elliptical restricted search area. The elliptical restricted search area is an area defined by an elliptical shape drawn with the starting point and target point of the newly planned flight as the focus and the route great circle distance multiplied by a specific coefficient as the major axis. The rectangular restricted search area is the circumscribed rectangle of the elliptical restricted search area.

在一种可选的实施方式中,所述当待选航路边不在预设的限制搜索区域内时,将所述待选航路边从可选航路边集合中剔除,包括:In an optional implementation, when the candidate route edge is not within the preset restricted search area, removing the candidate route edge from the set of optional route edges includes:

当待选航路边不在预设的矩形限制搜索区域内时,将所述待选航路边剔除,将剔除后剩余的所有航路边记为第一航路边集合;When the candidate route edge is not within the preset rectangular restricted search area, the candidate route edge is eliminated, and all the remaining route edges after elimination are recorded as the first route edge set;

当第一航路边集合中的待选航路边不在预设的椭圆限制搜索区域内时,将所述待选航路边剔除,将剔除后剩余的航路边记为第二航路边集合。When the candidate route edges in the first route edge set are not within the preset elliptical restricted search area, the candidate route edges are eliminated, and the remaining route edges after the elimination are recorded as the second route edge set.

在一种可选的实施方式中,所述计算剔除后的每一待选航路边的目标点方向方位角与航路方向方位角的夹角,包括:In an optional implementation, the calculation of the angle between the target point direction azimuth of each selected route edge after elimination and the route direction azimuth includes:

计算所述第二航路边集合中的每一航路边起点与航线终点之间的方位角,作为目标点方向方位角;Calculate the azimuth between the starting point and the end point of each wayside in the second wayside set as the azimuth of the target point;

计算所述第二航路边集合中的每一航路边起点与对应的航路边终点之间的方位角,作为航路方向方位角;Calculate the azimuth between each wayside start point and the corresponding wayside end point in the second wayside set as the route direction azimuth;

计算所述目标点方向方位角与所述航路方向方位角的夹角。Calculate the angle between the target point direction azimuth and the route direction azimuth.

在一种可选的实施方式中,所述计算剔除后的每一待选航路边的目标点方向方位角与航路方向方位角的夹角,还包括:In an optional implementation, the calculation of the angle between the target point direction azimuth of each selected route edge after elimination and the route direction azimuth also includes:

计算目标点方向方位角θ1,具体公式如下:Calculate the azimuth angle θ 1 of the target point. The specific formula is as follows:

Δγ1=γ21Δγ 121 ;

θ1=atan2(sinΔγ1·cosφ2,cosφ1·sinφ2-sinφ1·cosφ2·cosΔγ1);θ 1 = atan 2 (sin Δγ 1 · cos φ 2 , cos φ 1 · sin φ 2 - sin φ 1 · cos φ 2 · cos Δγ 1 );

计算航路方向方位角θ2,具体公式如下:Calculate the route direction azimuth θ 2 , the specific formula is as follows:

Δγ2=γ31Δγ 231 ;

θ2=atan2(sinΔγ2·cosφ3,cosφ1·sinφ3-sinφ1·cos 3·cosΔγ2);θ 2 = atan 2 (sin Δγ 2 · cos φ 3 , cos φ 1 · sin φ 3 - sin φ 1 · cos 3 · cos Δγ 2 );

计算所述目标点方向方位角与所述航路方向方位角的夹角α,具体公式如下:Calculate the angle α between the target point direction azimuth and the route direction azimuth. The specific formula is as follows:

α=|θ12|;α=|θ 1 −θ 2 |;

其中,γ1为航路边起点的经度,φ1为航路边起点的纬度,γ2为航线终点的经度,φ2为航线终点的纬度,γ3为航路边终点的经度,φ3为航路边终点的纬度,Δγ1为所述航路边起点与所述航线终点的经度差,Δγ2为所述航路边起点与所述航路边终点的经度差,atan2为计算角度的数学函数。Among them, γ 1 is the longitude of the starting point of the route side, φ 1 is the latitude of the starting point of the route side, γ 2 is the longitude of the end point of the route, φ 2 is the latitude of the end point of the route, γ 3 is the longitude of the end point of the route side, φ 3 is the latitude of the end point of the route side, Δγ 1 is the longitude difference between the starting point of the route side and the end point of the route, Δγ 2 is the longitude difference between the starting point of the route side and the end point of the route, and atan2 is the mathematical function for calculating the angle.

在一种可选的实施方式中,所述当所述夹角不在所述夹角过滤范围内时,将所述夹角对应的待选航路边选择到目标搜索集合中,包括:In an optional implementation, when the angle is not within the angle filtering range, selecting the candidate route edge corresponding to the angle into the target search set includes:

将所述夹角与所述夹角过滤范围进行对比,当所述夹角在所述夹角过滤范围内时,将所述夹角对应的待选航路边剔除;Comparing the angle with the angle filtering range, and when the angle is within the angle filtering range, eliminating the candidate route edge corresponding to the angle;

当所述夹角不在所述夹角过滤范围内时,将所述夹角对应的待选航路边选择到目标搜索集合中。When the angle is not within the angle filtering range, the candidate route edge corresponding to the angle is selected into the target search set.

需要说明的是,本发明实施例所提供的一种航路规划中航路边搜索区域限制装置,能够实现上述任一实施例所述的航路规划中航路边搜索区域限制方法的所有流程,装置中的各个模块、单元的作用以及实现的技术效果分别与上述实施例所述的航路规划中航路边搜索区域限制方法的作用以及实现的技术效果对应相同,这里不再赘述。It should be noted that a device for limiting the route side search area in route planning provided by an embodiment of the present invention can implement all processes of the method for limiting the route side search area in route planning described in any of the above embodiments, and the functions of each module and unit in the device and the technical effects achieved are respectively the same as the functions and technical effects achieved by the method for limiting the route side search area in route planning described in the above embodiments, and will not be repeated here.

第三方面,本发明实施例提供了一种电子设备,参见图4所示,为本发明实施例提供的一种电子设备的结构示意图。In a third aspect, an embodiment of the present invention provides an electronic device. Referring to FIG4 , it is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention.

如图4所示,所述设备包括:As shown in FIG4 , the device includes:

存储器31,用于存储计算机程序;A memory 31, used for storing computer programs;

处理器32,用于执行所述计算机程序;A processor 32, configured to execute the computer program;

其中,所述处理器32执行所述计算机程序时实现如上述任一实施例所述的航路规划中航路边搜索区域限制方法。Wherein, when the processor 32 executes the computer program, the method for limiting the route side search area in route planning as described in any of the above embodiments is implemented.

示例性的,所述计算机程序可以被分割成一个或多个模块/单元,所述一个或者多个模块/单元被存储在所述存储器31中,并由所述处理器32执行,以完成本发明。所述一个或多个模块/单元可以是能够完成特定功能的一系列计算机程序指令段,该指令段用于描述所述计算机程序在所述电子设备中的执行过程。Exemplarily, the computer program may be divided into one or more modules/units, which are stored in the memory 31 and executed by the processor 32 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of implementing specific functions, which are used to describe the execution process of the computer program in the electronic device.

所述处理器32可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor 32 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

所述存储器31可用于存储所述计算机程序和/或模块,所述处理器32通过运行或执行存储在所述存储器31内的计算机程序和/或模块,以及调用存储在所述存储器31内的数据,实现所述电子设备的各种功能。所述存储器31可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,所述存储器31可以包括高速随机存取存储器,还可以包括非易失性存储器,例如硬盘、内存、插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(SecureDigital,SD)卡,闪存卡(Flash Card)、至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 31 can be used to store the computer program and/or module, and the processor 32 realizes various functions of the electronic device by running or executing the computer program and/or module stored in the memory 31, and calling the data stored in the memory 31. The memory 31 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 31 can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

需要说明的是,上述电子设备包括,但不仅限于,处理器、存储器,本领域技术人员可以理解,图4结构示意图仅仅是上述电子设备的示例,并不构成对电子设备的限定,可以包括比图示更多部件,或者组合某些部件,或者不同的部件。It should be noted that the above-mentioned electronic device includes, but is not limited to, a processor and a memory. Those skilled in the art will understand that the structural diagram of Figure 4 is only an example of the above-mentioned electronic device and does not constitute a limitation on the electronic device. It may include more components than shown in the figure, or a combination of certain components, or different components.

第四方面,本发明实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被执行时实现上述任一实施例所述的航路规划中航路边搜索区域限制方法。In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed, the method for limiting the route side search area in route planning described in any of the above embodiments is implemented.

应当理解,本发明实现上述航路规划中航路边搜索区域限制方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述航路规划中航路边搜索区域限制方法的步骤。其中,计算机程序包括计算机程序代码,计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括电载波信号和电信信号。It should be understood that the present invention implements all or part of the processes in the above-mentioned route side search area restriction method in route planning, and can also be completed by instructing related hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, the steps of the route side search area restriction method in route planning can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer readable medium does not include electric carrier signal and telecommunication signal.

以上所述,仅是本发明的优选实施方式,但本发明的保护范围并不局限于此,应当指出,对于本领域技术人员来说,在不脱离本发明技术原理的前提下,还可以做出若干等效的明显变型方式和/或等同替换方式,这些明显变型方式和/或等同替换方式也应视为本发明的保护范围。The above description is only a preferred embodiment of the present invention, but the protection scope of the present invention is not limited thereto. It should be pointed out that for those skilled in the art, several equivalent obvious variations and/or equivalent substitutions can be made without departing from the technical principles of the present invention. These obvious variations and/or equivalent substitutions should also be regarded as the protection scope of the present invention.

Claims (10)

1. A method for limiting a wayside search area in a rout plan, comprising:
Acquiring historical flight plan data of a preset route within N years, and calculating an included angle between a target point direction azimuth angle and a route direction azimuth angle of each route side in the historical flight plan data to obtain a historical included angle set;
carrying out statistical analysis on the historical included angle set to obtain an included angle filtering range;
When the route edge to be selected is not in the preset limited search area, removing the route edge to be selected from the selectable route edge set; wherein the set of selectable route edges is a set of all selectable route edges of the newly planned flight;
calculating the included angle between the target point direction azimuth angle and the route direction azimuth angle of each rejected route to be selected;
and when the included angle is not in the included angle filtering range, selecting the route edge to be selected corresponding to the included angle into a target searching set.
2. The method for limiting a wayside search area in a routings according to claim 1, wherein after obtaining historical flight plan data of a preset route within N years of the history, further comprising:
and cleaning the data of the historical flight plan data, and removing flights of the take-off airport which are the same as the landing airport.
3. The method for limiting a boundary search area in a route planning according to claim 1, wherein the preset limiting search area includes a rectangular limiting search area and an elliptical limiting search area, the elliptical limiting search area is an area defined by taking a start point and a target point of the newly planned flight as focuses and taking a distance of a great circle of a route multiplied by a certain specific coefficient as a major axis, and the drawn elliptical shape is a circumscribed rectangle of the elliptical limiting search area.
4. A method of limiting a search area for a wayside in a rout according to claim 1, wherein said removing a wayside to be selected from a set of selectable waysides when the wayside to be selected is not within a preset limited search area comprises:
When the route edge to be selected is not in a preset rectangular limited search area, rejecting the route edge to be selected, and marking all the rest route edges after rejection as a first route edge set;
And when the route edge to be selected in the first route edge set is not in the preset elliptical limit search area, removing the route edge to be selected, and marking the rest route edges after removing as a second route edge set.
5. The method for limiting a wayside search area in a routings according to claim 4, wherein calculating the angle between the target point direction azimuth and the wayside direction azimuth of each of the rejected waysides comprises:
Calculating azimuth angles between the starting point and the finishing point of each route edge in the second route edge set as azimuth angles of the direction of the target point;
calculating azimuth angles between the starting point of each road side and the corresponding end point of the road side in the second road side set to be used as azimuth angles of the road directions;
and calculating an included angle between the direction azimuth of the target point and the direction azimuth of the route.
6. The method for limiting a wayside search area in a routings according to claim 5, wherein calculating the angle between the target point direction azimuth and the wayside direction azimuth of each of the rejected waysides to be selected further comprises:
the target point direction azimuth angle theta 1 is calculated, and the specific formula is as follows:
Δγ1=γ21
θ1=atan2(sinΔγ1·cosφ2,cosφ1·sinφ2-sinφ1·cosφ2·cosΔγ1);
The specific formula of the calculation of the course direction azimuth angle theta 2 is as follows:
Δγ2=γ31
θ2=atan2(sinΔγ2·cosφ3,cosφ1·sinφ3-sinφ1·cos3·cosΔγ2);
Calculating an included angle alpha between the direction azimuth of the target point and the direction azimuth of the route, wherein the specific formula is as follows:
α=|θ12|;
Wherein γ 1 is the longitude of the wayside starting point, φ 1 is the latitude of the wayside starting point, γ 2 is the longitude of the wayside end point, φ 2 is the latitude of the wayside end point, γ 3 is the longitude of the wayside end point, φ 3 is the latitude of the wayside end point, Δγ 1 is the difference in longitude between the wayside starting point and the wayside end point, Δγ 2 is the difference in longitude between the wayside starting point and the wayside end point, and atan2 is a mathematical function of the calculated angle.
7. The method for limiting a route edge search area in a route planning according to claim 1, wherein when the included angle is not within the included angle filtering range, selecting the route edge to be selected corresponding to the included angle to a target search set includes:
comparing the included angle with the included angle filtering range, and eliminating the route edge to be selected corresponding to the included angle when the included angle is in the included angle filtering range;
and when the included angle is not in the included angle filtering range, selecting the route edge to be selected corresponding to the included angle into a target searching set.
8. A wayside search area restriction device in a routings, comprising:
the data acquisition module is used for acquiring historical flight plan data of a preset route within N years, calculating an included angle between a target point direction azimuth angle and a route direction azimuth angle of each route side in the historical flight plan data, and obtaining a historical included angle set;
The included angle range determining module is used for carrying out statistical analysis on the historical included angle set to obtain an included angle filtering range;
The route edge removing module is used for removing the route edge to be selected from the selectable route edge set when the route edge to be selected is not in the preset limited search area; wherein the set of selectable route edges is a set of all selectable route edges of the newly planned flight;
the included angle calculation module is used for calculating the included angle between the direction azimuth angle of the target point of each rejected road side to be selected and the direction azimuth angle of the road;
and the route edge selection module is used for selecting the route edge to be selected corresponding to the included angle into the target search set when the included angle is not in the included angle filtering range.
9. An electronic device, comprising:
a memory for storing a computer program;
A processor for executing the computer program;
wherein the processor, when executing the computer program, implements a method for boundary search area restriction in routings according to any one of claims 1 to 7.
10. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program which, when executed, implements a method for limiting a wayside search area in a routings according to any one of claims 1 to 7.
CN202410259939.3A 2024-03-07 2024-03-07 A method and device for limiting the search area along the route in route planning Active CN118230605B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410259939.3A CN118230605B (en) 2024-03-07 2024-03-07 A method and device for limiting the search area along the route in route planning

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410259939.3A CN118230605B (en) 2024-03-07 2024-03-07 A method and device for limiting the search area along the route in route planning

Publications (2)

Publication Number Publication Date
CN118230605A true CN118230605A (en) 2024-06-21
CN118230605B CN118230605B (en) 2024-08-23

Family

ID=91504212

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410259939.3A Active CN118230605B (en) 2024-03-07 2024-03-07 A method and device for limiting the search area along the route in route planning

Country Status (1)

Country Link
CN (1) CN118230605B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180102057A1 (en) * 2016-10-06 2018-04-12 GEOSAT Aerospace & Technology Route planning methods and apparatuses for unmanned aerial vehicles
CN110598926A (en) * 2019-09-04 2019-12-20 中国航空工业集团公司沈阳飞机设计研究所 Aircraft collaborative route planning method
CN110887491A (en) * 2019-12-05 2020-03-17 中国航空工业集团公司沈阳飞机设计研究所 Aircraft route planning method
US20220018660A1 (en) * 2020-07-20 2022-01-20 National University Of Defense Technology Virtual Grid Dictionary Based Target Heading Class Intention Recognition Method and Device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180102057A1 (en) * 2016-10-06 2018-04-12 GEOSAT Aerospace & Technology Route planning methods and apparatuses for unmanned aerial vehicles
CN110598926A (en) * 2019-09-04 2019-12-20 中国航空工业集团公司沈阳飞机设计研究所 Aircraft collaborative route planning method
CN110887491A (en) * 2019-12-05 2020-03-17 中国航空工业集团公司沈阳飞机设计研究所 Aircraft route planning method
US20220018660A1 (en) * 2020-07-20 2022-01-20 National University Of Defense Technology Virtual Grid Dictionary Based Target Heading Class Intention Recognition Method and Device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘宇 等: "飞行试验航路规划方法研究与实现", 《计算机工程与应用》, vol. 49, no. 21, 1 November 2013 (2013-11-01), pages 262 - 265 *

Also Published As

Publication number Publication date
CN118230605B (en) 2024-08-23

Similar Documents

Publication Publication Date Title
KR102066902B1 (en) Path departure recognition method, terminal and storage medium
CN113286985A (en) Path planning method and path planning device
CN112935575B (en) Cutting path optimization method and device and computer readable storage medium
EP3115983B1 (en) Probe information collection method, collection apparatus, program, storage medium, and travel time calculating apparatus
CN106530688B (en) Mass traffic data processing method based on Hadoop
CN108981739A (en) Path planning method, device, server and storage medium
CN114234991B (en) Navigation path planning method, device, computer equipment and storage medium
CN115002679A (en) Trajectory deviation rectifying processing method and device
CN111666359B (en) POI candidate arrival point mining method, device and equipment
CN112631338B (en) Air route planning method and device, computer equipment and storage medium
CN112580179A (en) High-precision map intersection lane shape updating method and system, server and medium
US20210097559A1 (en) Rider pickup location optimization system
CN110597937A (en) A method, device, equipment and storage medium for unmanned intelligent inspection
WO2020103319A1 (en) Visual localization map loading method, apparatus and system, and storage medium
CN112269848B (en) Crowd-sourced track data fusion method and device
CN118230605B (en) A method and device for limiting the search area along the route in route planning
CN117470251A (en) Method and device for planning survey route, electronic equipment and storage medium
Chandio et al. An approach for map-matching strategy of GPS-trajectories based on the locality of road networks
CN114460961A (en) Unmanned equipment operation route determining method, device, equipment and storage medium
CN117632455B (en) A task allocation method, device, equipment and storage medium
CN118776578A (en) A route planning method, device, equipment and storage medium
CN110017842A (en) Goods stock air navigation aid, terminal device and storage medium
CN117270518A (en) Path planning method, device, vehicle, equipment and computer-readable storage medium
US12499598B2 (en) Scalable road graph generation
CN112836144B (en) Method and system for searching for vehicles on a designated route based on trajectory points

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