技术领域technical field
本公开涉及电子地图技术领域,尤其涉及一种路线规划方法、装置和设备。The present disclosure relates to the technical field of electronic maps, in particular to a route planning method, device and equipment.
背景技术Background technique
随着电子地图技术的发展,电子地图已成为日常出行不可缺少的工具。用户只需要输入起始位置和终点位置,即可得到至少一条可用的出行路线。但是,现有电子地图仅能根据起始位置和终点位置规划所有可能的路线,而不能根据用户的要求,规划符合用户个性化要求的路线,影响了用户的使用体验。With the development of electronic map technology, electronic map has become an indispensable tool for daily travel. The user only needs to input the starting location and the ending location to get at least one available travel route. However, the existing electronic map can only plan all possible routes according to the start position and end position, but cannot plan a route that meets the user's individual requirements according to the user's requirements, which affects the user experience.
发明内容Contents of the invention
本公开提供一种路线规划方法、装置和设备,用以为用户提供个性化形状的路线,提高用户体验。The present disclosure provides a route planning method, device and equipment, which are used to provide a route with a personalized shape for a user and improve user experience.
根据本公开实施例的第一方面,提供一种路线规划方法,包括:According to a first aspect of an embodiment of the present disclosure, a route planning method is provided, including:
获取起始位置、目标路线形状;Obtain the starting position and target route shape;
基于包括所述起始位置的地图信息和所述起始位置,确定与所述目标路线形状相匹配的至少一条路线;determining at least one route matching the shape of the target route based on the map information including the starting position and the starting position;
显示所述至少一条路线。The at least one route is displayed.
可选的,所述基于包括所述起始位置的地图信息和所述起始位置,确定与所述目标路线形状相匹配的至少一条路线之后,所述方法还包括:Optionally, after determining at least one route matching the shape of the target route based on the map information including the starting position and the starting position, the method further includes:
获取所述至少一条路线中每条路线的路况信息;Acquiring traffic condition information of each route in the at least one route;
基于所述至少一条路线中每条路线的路况信息,以及每条路线的路线长度,计算每条路线的用时;calculating the time spent on each route based on the traffic condition information of each route in the at least one route and the route length of each route;
从所述至少一条路线中筛选出用时在预设时间范围内的至少一条路线。At least one route whose duration is within a preset time range is screened out from the at least one route.
可选的,所述方法还包括:Optionally, the method also includes:
获取目标路线长度;Get the target route length;
所述基于包括所述起始位置的地图信息和所述起始位置,确定与所述目标路线形状相匹配的至少一条路线,包括:The determining at least one route matching the shape of the target route based on the map information including the starting position and the starting position includes:
基于包括所述起始位置的地图信息和所述起始位置,查找与所述目标路线形状相匹配,且路线长度与所述目标路线长度之差的绝对值在预设范围内的至少一条路线。Based on the map information including the starting position and the starting position, searching for at least one route that matches the shape of the target route and whose absolute value of the difference between the length of the route and the length of the target route is within a preset range .
可选的,所述方法还包括:Optionally, the method also includes:
获取终点位置;Get the end position;
所述基于包括所述起始位置的地图信息和所述起始位置,确定与所述目标路线形状相匹配的至少一条路线,包括:The determining at least one route matching the shape of the target route based on the map information including the starting position and the starting position includes:
基于包括所述起始位置的地图信息、所述起始位置和所述终点位置,查找与所述目标路线形状相匹配的至少一条路线。Searching for at least one route matching the shape of the target route based on the map information including the starting position, the starting position and the end position.
可选的,所述显示所述至少一条路线,包括:Optionally, the displaying the at least one route includes:
获取用户选择路线的信息;Obtain information about the route selected by the user;
在地图上显示用户所选的路线。Display the route selected by the user on the map.
可选的,所述获取用户选择路线的信息,包括:Optionally, the acquiring information about the route selected by the user includes:
获取用户选择的路线,以及用户对所述路线的调整信息;所述在地图上显示用户所选的路线,包括:Acquiring the route selected by the user and the adjustment information of the route by the user; the displaying the route selected by the user on the map includes:
显示用户调整后的路线。Displays the user's adjusted route.
可选的,所述显示所述至少一条路线之后,所述方法还包括:Optionally, after displaying the at least one route, the method further includes:
获取用户行进过程中的实时位置信息;Obtain real-time location information during the user's travel;
基于所述实时位置信息和所述用户所选的路线,显示所述用户的运动轨迹和/或输出导航信息。Based on the real-time location information and the route selected by the user, display the user's motion track and/or output navigation information.
可选的,所述方法还包括:Optionally, the method also includes:
获取用户的分享指令,所述分享指令包括应用程序的标识;Obtain a user's sharing instruction, where the sharing instruction includes an application identifier;
基于所述应用程序的标识,将所述用户的运动轨迹在所述应用程序上进行分享。Based on the identification of the application program, the motion track of the user is shared on the application program.
根据本公开实施例的第二方面,提供一种路线规划装置,该装置包括:According to a second aspect of an embodiment of the present disclosure, there is provided a route planning device, the device comprising:
第一获取模块,被配置为获取起始位置、目标路线形状;The first obtaining module is configured to obtain the starting position and the shape of the target route;
路线查找模块,被配置为基于包括所述起始位置的地图信息和所述起始位置,确定与所述目标路线形状相匹配的至少一条路线;a route finding module configured to determine at least one route matching the shape of the target route based on the map information including the starting position and the starting position;
第一显示模块,被配置为显示所述至少一条路线。The first display module is configured to display the at least one route.
可选的,所述路线查找模块包括:Optionally, the route finding module includes:
第一获取子模块,被配置为获取所述至少一条路线中每条路线的路况信息;The first obtaining submodule is configured to obtain traffic condition information of each route in the at least one route;
计算子模块,被配置为基于所述至少一条路线中每条路线的路况信息,以及每条路线的路线长度,计算每条路线的用时;A calculating submodule configured to calculate the time spent of each route based on the traffic condition information of each route in the at least one route and the route length of each route;
筛选子模块,被配置为从所述至少一条路线中筛选出用时在预设时间范围内的至少一条路线。The screening submodule is configured to filter out at least one route whose duration is within a preset time range from the at least one route.
可选的,所述装置还包括:Optionally, the device also includes:
第二获取模块,被配置为获取目标路线长度;The second obtaining module is configured to obtain the target route length;
所述路线查找模块,包括:The route search module includes:
第一查找子模块,被配置为基于包括所述起始位置的地图信息和所述起始位置,查找与所述目标路线形状相匹配,且路线长度与所述目标路线长度之差的绝对值在预设范围内的至少一条路线。The first searching submodule is configured to search for the absolute value of the difference between the length of the route and the length of the target route which matches the shape of the target route based on the map information including the starting position and the starting position At least one route within a preset range.
可选的,所述装置还包括:Optionally, the device also includes:
第三获取模块,被配置为获取终点位置;The third acquisition module is configured to acquire the end position;
所述路线查找模块,包括:The route search module includes:
第二查找子模块,被配置为基于包括所述起始位置的地图信息、所述起始位置和所述终点位置,查找与所述目标路线形状相匹配的至少一条路线。The second searching submodule is configured to search for at least one route matching the shape of the target route based on the map information including the starting position, the starting position and the ending position.
可选的,所述第一显示模块包括:Optionally, the first display module includes:
第二获取子模块,被配置为获取用户选择路线的信息;The second obtaining submodule is configured to obtain information about the route selected by the user;
显示子模块,被配置为在地图上显示用户所选的路线。The display submodule is configured to display the route selected by the user on the map.
可选的,所述第二获取子模块,被配置为:Optionally, the second acquisition submodule is configured as:
获取用户选择的路线,以及用户对所述路线的调整信息,所述显示子模块,被配置为显示用户调整后的路线。The route selected by the user and the user's adjustment information on the route are acquired, and the display submodule is configured to display the route adjusted by the user.
可选的,所述装置还包括:Optionally, the device also includes:
第四获取模块,被配置为获取用户行进过程中的实时位置信息;The fourth acquisition module is configured to acquire real-time location information during the user's travel;
第二显示模块,被配置为基于所述实时位置信息和所述用户所选的路线,显示所述用户的运动轨迹和/或输出导航信息。The second display module is configured to display the user's movement track and/or output navigation information based on the real-time location information and the route selected by the user.
可选的,所述装置还包括:Optionally, the device also includes:
第五获取模块,被配置为获取用户的分享指令,所述分享指令包括应用程序的标识;The fifth obtaining module is configured to obtain the sharing instruction of the user, and the sharing instruction includes the identification of the application program;
分享模块,被配置为基于所述应用程序的标识,将所述用户的运动轨迹在所述应用程序上进行分享。The sharing module is configured to share the user's movement track on the application program based on the identification of the application program.
根据本公开实施例的第三方面,提供一种终端设备,包括:According to a third aspect of the embodiments of the present disclosure, there is provided a terminal device, including:
处理器;processor;
被配置为存储处理器可执行指令的存储器;memory configured to store processor-executable instructions;
其中,所述处理器被配置为:Wherein, the processor is configured as:
获取起始位置、目标路线形状;Obtain the starting position and target route shape;
基于包括所述起始位置的地图信息和所述起始位置,确定与所述目标路线形状相匹配的至少一条路线;determining at least one route matching the shape of the target route based on the map information including the starting position and the starting position;
显示所述至少一条路线。The at least one route is displayed.
根据本公开实施例的第四方面,提供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行如下方法:According to a fourth aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, and instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium is run on a computer, it causes the computer to perform the following method:
获取起始位置、目标路线形状;Obtain the starting position and target route shape;
基于包括所述起始位置的地图信息和所述起始位置,确定与所述目标路线形状相匹配的至少一条路线;determining at least one route matching the shape of the target route based on the map information including the starting position and the starting position;
显示所述至少一条路线。The at least one route is displayed.
本公开的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
由以上各方面可见,通过获取起始位置、目标路线形状,并基于获取到的起始位置和包括该起始位置的地图信息来查找并显示与目标路线形状相匹配的至少一条路线。由于本公开实施例基于地图和起始位置查找获得的是与目标路线形状相匹配的路线,因此,可以根据用户需要规划提供个性化形状的路线,从而使得规划获得的路线更加具有趣味性,提高了用户体验。It can be seen from the above aspects that at least one route matching the shape of the target route is searched and displayed based on the obtained start position and the shape of the target route based on the acquired start position and the map information including the start position. Since the embodiment of the present disclosure obtains a route that matches the shape of the target route based on the map and the initial location search, it can plan a route that provides a personalized shape according to user needs, thereby making the route obtained by planning more interesting and improving user experience.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.
图1是根据一示例性实施例示出的一种路线规划方法实施例一的流程图;Fig. 1 is a flow chart of Embodiment 1 of a route planning method according to an exemplary embodiment;
图2是根据一示例性实施例示出的一种路线规划方法实施例二的流程图;Fig. 2 is a flow chart of Embodiment 2 of a route planning method according to an exemplary embodiment;
图3是根据一示例性实施例示出的一种路线规划方法实施例三的流程图;Fig. 3 is a flow chart of Embodiment 3 of a route planning method according to an exemplary embodiment;
图4是根据一示例性实施例示出的一种路线规划方法实施例四的流程图;Fig. 4 is a flow chart of Embodiment 4 of a route planning method according to an exemplary embodiment;
图5是根据一示例性实施例示出的一种路线规划方法实施例五的流程图;Fig. 5 is a flow chart of Embodiment 5 of a route planning method according to an exemplary embodiment;
图6是根据一示例性实施例示出的一种路线规划装置实施例一的框图;Fig. 6 is a block diagram of Embodiment 1 of a route planning device according to an exemplary embodiment;
图7是根据一示例性实施例示出的一种路线规划装置实施例二的框图;Fig. 7 is a block diagram of Embodiment 2 of a route planning device according to an exemplary embodiment;
图8是根据一示例性实施例示出的一种路线规划装置实施例三的框图;Fig. 8 is a block diagram of Embodiment 3 of a route planning device according to an exemplary embodiment;
图9是根据一示例性实施例示出的一种路线规划装置实施例四的框图;Fig. 9 is a block diagram of Embodiment 4 of a route planning device according to an exemplary embodiment;
图10是根据一示例性实施例示出的一种路线规划装置实施例五的框图;Fig. 10 is a block diagram of Embodiment 5 of a route planning device according to an exemplary embodiment;
图11是根据一示例性实施例示出的一种终端设备的框图;Fig. 11 is a block diagram of a terminal device according to an exemplary embodiment;
图12是根据一示例性实施例示出的另一种终端设备的框图。Fig. 12 is a block diagram of another terminal device according to an exemplary embodiment.
通过上述附图,已示出本公开明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本公开构思的范围,而是通过参考特定实施例为本领域技术人员说明本公开的概念。By means of the above-mentioned drawings, certain embodiments of the present disclosure have been shown and will be described in more detail hereinafter. These drawings and written description are not intended to limit the scope of the disclosed concept in any way, but to illustrate the disclosed concept for those skilled in the art by referring to specific embodiments.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.
本公开实施例提供一种路线规划方法,该方法可以由一种路线规划装置来执行,该装置可以设置在具有电子地图功能和计算处理能力的实体设备上,该实体设备可以是手机等终端设备或服务器,但不局限于手机等终端设备和服务器。本实施例以终端设备为例,参见图1,图1是根据一示例性实施例示出的一种路线规划方法实施例一的流程图,如图1所示,该方法包括以下步骤:An embodiment of the present disclosure provides a route planning method, which can be executed by a route planning device, which can be set on a physical device with electronic map functions and computing processing capabilities, and the physical device can be a terminal device such as a mobile phone Or servers, but not limited to terminal devices and servers such as mobile phones. This embodiment takes a terminal device as an example. Referring to FIG. 1, FIG. 1 is a flow chart of Embodiment 1 of a route planning method according to an exemplary embodiment. As shown in FIG. 1, the method includes the following steps:
在步骤101中,获取起始位置、目标路线形状。In step 101, a starting position and a target route shape are obtained.
可选的,在进行路线规划时,路线规划装置至少获取路线的起始位置,用户目标想要获得的路线形状,即目标路线形状,以及包括起始位置的地图。可选的,还可以获取路线的终点位置、用户目标获得的路线长度(即目标路线长度)和起始位置周围预设范围内的路况信息,比如拥堵情况和天气情况等,但不局限于拥堵情况和天气情况。Optionally, when performing route planning, the route planning device at least acquires the starting position of the route, the shape of the route that the user wants to obtain, that is, the target route shape, and a map including the starting position. Optionally, the terminal position of the route, the length of the route obtained by the user's goal (ie, the target route length) and the traffic information within the preset range around the starting position can also be obtained, such as congestion and weather conditions, but not limited to congestion conditions and weather conditions.
本实施例中涉及的起始位置可以是用户手动输入的,也可以是终端设备携带的定位设备定位获得的当前位置,其中,当用户手动输入起始位置时,该起始位置可以是用户的当前位置也可以是其他位置。The starting position involved in this embodiment may be manually input by the user, or may be the current position obtained by the positioning device carried by the terminal device. Wherein, when the user manually inputs the starting position, the starting position may be the user's The current location can also be other locations.
本实施例中涉及的目标路线形状可以是用户自定义设置的,也可以是用户从终端设备中预存的路线形状中选取获得的。该路线形状包括图形形状和字符形状,但不局限于图形形状和字符形状,实际上该路线形状可以被具体为任意形状。The target route shape involved in this embodiment may be user-defined, or selected by the user from pre-stored route shapes in the terminal device. The route shape includes graphic shapes and character shapes, but is not limited to graphic shapes and character shapes. In fact, the route shape can be embodied as any shape.
对于本实施例中涉及的地图,其显示尺度和显示范围本实施例中不做具体限定。For the map involved in this embodiment, its display scale and display range are not specifically limited in this embodiment.
本实施例中涉及的终点位置和目标路线长度可以是用户手动输入的,也可以是基于用户输入的路线类型(比如,步行、跑步、骑行、自驾,公交等)自动设定的。比如,当用户输入的路线类型为步行时,可以将终点位置设置的与起始位置近一些,目标路线长度较短一些。而当用户输入的路线类型为骑行时则可以将终点位置设置的与起始位置距离远一些,目标路线长度较长一些。当然这里仅为示例说明而不是对本公开的唯一限定。The end position and target route length involved in this embodiment may be manually input by the user, or may be automatically set based on the type of route input by the user (eg, walking, running, cycling, self-driving, public transportation, etc.). For example, when the route type input by the user is walking, the end position can be set closer to the starting position, and the target route length is shorter. However, when the route type input by the user is cycling, the end position can be set to be farther from the starting position, and the target route length can be longer. Of course, this is only an example rather than a sole limitation to the present disclosure.
在步骤102中,基于包括所述起始位置的地图信息和所述起始位置,确定与目标路线形状相匹配的至少一条路线。In step 102, at least one route matching the shape of the target route is determined based on the map information including the starting position and the starting position.
示例的,在规划路线时路线规划装置可以以起始位置为起点,遍历地图上的路径,获得与目标路线形状相匹配的路线,这样的路线至少有一个。具有的,受限于具体的道路分布情况,实际情况中可能无法获得与目标路线形状完全一致的路线,因此,本实施例所称的与目标路线形状相匹配的路线包括与目标路线形状近似的路线。可选的,为了所获路线的形状尽量与目标路线形状一致,本示例,在获取到与目标路线形状近似的路线后还可以通过计算每条路线与目标路线形状的近似度,来筛选获得近似度高于预设阈值的路线,其中,计算近似度时所采用的算法可以是现有算法中的任意一种,本实施例不做具体限定。For example, when planning a route, the route planning device may start from the starting position, traverse the route on the map, and obtain a route matching the shape of the target route, and there is at least one such route. Yes, limited by the specific road distribution conditions, it may not be possible to obtain a route that is completely consistent with the shape of the target route in actual situations. Therefore, the routes that match the shape of the target route in this embodiment include routes that are similar in shape to the target route. route. Optionally, in order to make the shape of the obtained route as consistent as possible with the shape of the target route, in this example, after obtaining a route similar to the shape of the target route, you can also filter and obtain the approximation by calculating the degree of approximation between each route and the shape of the target route The route whose degree is higher than the preset threshold, where the algorithm used to calculate the degree of approximation may be any one of the existing algorithms, which is not specifically limited in this embodiment.
当然上述仅为示例说明,而不是对本公开的唯一限定。实际上,实际场景中,还以根参考起点位置周围的实时路况来对路线进行规划,参考实时路况进行路线规划的方法可参照相关技术,在这里不再赘述,比如,可以从所有与目标路线形状相匹配的路线中,选择道路畅通的路线,作为最终筛选的路线。当然此处仅为示例说明而不是对本公开的唯一限定。Of course, the above is only an illustration, rather than an exclusive limitation to the present disclosure. In fact, in the actual scene, the route is also planned based on the real-time road conditions around the starting point. The method of referring to the real-time road conditions for route planning can refer to related technologies, which will not be described here. Among the routes with matching shapes, the route with smooth road is selected as the final filtered route. Of course, what is here is only an example rather than a sole limitation to the present disclosure.
在步骤103中,显示所述至少一条路线。In step 103, the at least one route is displayed.
可选的,实际场景中,可以在用一幅地图上采用不同的线型和/或颜色对不同的路线进行显示,也可以根据不同路线在地图上的不同位置,将每条路线以缩略图的形式进行显示,其中,每个缩略图中只包括预设个数(比如一个)的路线。Optionally, in actual scenarios, different lines and/or colors can be used to display different routes on a map, and each route can be displayed as a thumbnail according to different positions of different routes on the map displayed in a form, wherein each thumbnail only includes a preset number (for example, one) of routes.
本实施例,通过获取起始位置、目标路线形状和包括起始位置的地图,并基于获取到的地图和起始位置来查找并显示与目标路线形状相匹配的至少一条路线。由于本实施例基于地图和起始位置查找获得的是与目标路线形状相匹配的路线,因此,可以根据用户需要规划提供个性化形状的路线,从而使得规划获得的路线更加具有趣味性,提高了用户体验。In this embodiment, by acquiring the starting location, the shape of the target route and the map including the starting location, and based on the acquired map and the starting location, at least one route matching the shape of the target route is found and displayed. Since this embodiment obtains a route that matches the shape of the target route based on the map and the initial location search, it is possible to plan a route that provides a personalized shape according to the user's needs, thereby making the route obtained by planning more interesting and improving the user experience. user experience.
以下结合具体的实施例对上述实施例一的技术方案进行扩展和优化。参见图2,图2是根据一示例性实施例示出的一种路线规划方法实施例二的流程图,如图2所示,在图1所示实施例的基础上,本实施例提供的方法包括如下:In the following, the technical solution of the first embodiment above is expanded and optimized in combination with specific embodiments. Referring to FIG. 2, FIG. 2 is a flow chart of Embodiment 2 of a route planning method according to an exemplary embodiment. As shown in FIG. 2, on the basis of the embodiment shown in FIG. 1, the method provided in this embodiment Including the following:
在步骤201中,获取起始位置、目标路线形状。In step 201, a starting position and a target route shape are acquired.
在步骤202中,基于包括所述起始位置的地图信息和所述起始位置,查找与所述目标路线形状相匹配的至少一条路线。In step 202, at least one route matching the shape of the target route is searched based on the map information including the starting position and the starting position.
在步骤203中,获取所述至少一条路线中每条路线的路况信息。In step 203, traffic condition information of each route in the at least one route is obtained.
可选的,本实施例中涉及的路况信息包括但不局限于包括道路的拥堵情况、交通灯数目和天气情况。Optionally, the road condition information involved in this embodiment includes, but is not limited to, road congestion, the number of traffic lights, and weather conditions.
可选的,本实施例涉及的路况信息可以通过有线或无线的方式从交通信息网络平台上获得,也可以采用现有的其他方式获得,本实施例不做限定。Optionally, the road condition information involved in this embodiment may be obtained from the traffic information network platform in a wired or wireless manner, or may be obtained in other existing ways, which is not limited in this embodiment.
在步骤204中,基于所述至少一条路线中每条路线的路况信息,以及每条路线的路线长度,计算每条路线的用时。In step 204, based on the traffic condition information of each route in the at least one route and the route length of each route, the time spent of each route is calculated.
可选的,针对每条路线,可以先根据路线中不同路段的拥堵情况,估算通过每个路段所需要的时间,再根据整条线路的总长度,计算通过整条路线的用时。其具体算法与现有技术类似,在这里不再赘述。Optionally, for each route, the time required to pass through each road segment can be estimated first according to the congestion conditions of different road segments in the route, and then the time required to pass the entire route can be calculated according to the total length of the entire route. Its specific algorithm is similar to the prior art, and will not be repeated here.
在步骤205中,从所述至少一条路线中筛选出用时在预设时间范围内的至少一条路线。In step 205, at least one route whose duration is within a preset time range is screened out from the at least one route.
可选的,上述预设时间范围可以是用户设定的,也可以是路线规划装置根据路线类型(比如,步行、跑步、骑行、自驾,公交等)自动设定的,比如,当用户设定的路线类型为步行时,可以将预设时间范围设置的相对短一些,当用户设定的路线类型为骑行时,可以将预设时间范围设置的相对长一些,当然这里仅为示例说明而不是对本发明的唯一限定。Optionally, the aforementioned preset time range may be set by the user, or may be automatically set by the route planning device according to the route type (such as walking, running, cycling, self-driving, public transport, etc.), for example, when the user sets When the route type set by the user is walking, the preset time range can be set relatively short; when the route type set by the user is cycling, the preset time range can be set relatively long. Of course, this is just an example. Rather than the only limitation to the present invention.
在步骤206中,显示所述至少一条路线。In step 206, the at least one route is displayed.
本实施例通过在查找获得与目标路线形状相匹配的至少一条路线后,进一步对查找获得的路线进行筛选,获得用时在预设时间范围内的路线,从而使得规划获得的路线更加能够符合用户的个性化需求,提高了用户的个性化体验。In this embodiment, after finding at least one route that matches the shape of the target route, further screening the searched route to obtain a route within a preset time range, so that the planned route can be more in line with the user's needs. Personalized requirements improve the user's personalized experience.
图3是根据一示例性实施例示出的一种路线规划方法实施例三的流程图,如图3所示,在图1所示实施例的基础上,本实施例提供的方法包括如下:Fig. 3 is a flow chart of Embodiment 3 of a route planning method according to an exemplary embodiment. As shown in Fig. 3 , on the basis of the embodiment shown in Fig. 1 , the method provided in this embodiment includes the following:
在步骤301中,获取起始位置、目标路线形状和目标路线长度。In step 301, a starting position, a target route shape and a target route length are obtained.
可选的,本实施例中涉及的目标路线长度可以是用户自定义设定的,也可以是根据路线类型(比如,步行、跑步、骑行、自驾,公交等)自动设定的,比如,当用户设定的路线类型为步行时,可以将目标路线长度的相对短一些,当用户设定的路线类型为骑行时,可以将目标路线长度设置的相对长一些,当然这里仅为示例说明而不是对本发明的唯一限定。Optionally, the target route length involved in this embodiment may be user-defined, or may be automatically set according to the route type (such as walking, running, cycling, self-driving, public transport, etc.), for example, When the route type set by the user is walking, the target route length can be relatively short; when the route type set by the user is cycling, the target route length can be set relatively long. Of course, this is just an example. Rather than the only limitation to the present invention.
在步骤302中,基于包括所述起始位置的地图信息和所述起始位置和所述起始位置,查找与所述目标路线形状相匹配,且路线长度与所述目标路线长度之差的绝对值在预设范围内的至少一条路线。In step 302, based on the map information including the starting position and the starting position and the starting position, search for a path that matches the shape of the target route and has a difference between the length of the route and the length of the target route At least one route whose absolute value is within a preset range.
在步骤303中,显示所述至少一条路线。In step 303, the at least one route is displayed.
本实施例通过获取起始位置、目标路线形状,以及目标路线长度,并基于起始位置和包括该起始位置的地图,查找与目标路线形状相匹配,且路线长度与目标路线长度之差的绝对值在预设范围内的至少一条路线,从而使得规划获得的路线不仅在形状上能够符合用户的个性化需求,还能够在路线长度上符合用户的个性化需求,提高了用户的体验。In this embodiment, by obtaining the starting position, the shape of the target route, and the length of the target route, and based on the starting position and the map including the starting position, find the shape of the target route that matches the shape of the target route and the difference between the length of the route and the length of the target route. At least one route whose absolute value is within a preset range, so that the planned route can not only meet the user's individual needs in terms of shape, but also can meet the user's individual needs in terms of route length, thereby improving user experience.
图4是根据一示例性实施例示出的一种路线规划方法实施例四的流程图,如图4所示,在图1所示实施例的基础上,本实施例提供的方法包括如下:Fig. 4 is a flow chart of Embodiment 4 of a route planning method according to an exemplary embodiment. As shown in Fig. 4 , on the basis of the embodiment shown in Fig. 1 , the method provided by this embodiment includes the following:
在步骤401中,获取起始位置、目标路线形状和终点位置。In step 401, a starting position, a target route shape and an end position are obtained.
在步骤402中,基于包括所述起始位置的地图信息、所述起始位置和所述终点位置,查找与所述目标路线形状相匹配的至少一条路线。In step 402, at least one route matching the shape of the target route is searched based on the map information including the starting position, the starting position and the end position.
在步骤403中,显示所述至少一条路线。In step 403, the at least one route is displayed.
本实施例通过获取起始位置、目标路线形状,以及终点位置,并基于包括该起始位置的地图、起始位置和终点位置,查找与目标路线形状相匹配的至少一条路线,使得规划获得的路线不仅在形状上能够符合用户的个性化需求,还能够根据需要自定义终点位置,满足了用户的个性化需求,提高了用户的体验。In this embodiment, by obtaining the start position, the shape of the target route, and the end position, and based on the map including the start position, the start position and the end position, find at least one route that matches the shape of the target route, so that the obtained The route can not only meet the individual needs of users in terms of shape, but also can customize the end position according to needs, which meets the individual needs of users and improves the user experience.
图5是根据一示例性实施例示出的一种路线规划方法实施例五的流程图,如图5所示,在上述任一实施例的基础上,显示所述至少一条路线的方法包括:Fig. 5 is a flow chart of Embodiment 5 of a route planning method according to an exemplary embodiment. As shown in Fig. 5 , on the basis of any of the above embodiments, the method for displaying the at least one route includes:
在步骤501中,获取用户选择路线的信息。In step 501, information about a route selected by a user is obtained.
在步骤502中,在地图上显示用户所选的路线。In step 502, the route selected by the user is displayed on the map.
可选的,本实施例中用户可以先基于预设的操作(比如点击操作,但不局限于点击操作)从终端设备显示的至少一套路线中选择一条最为满意的路线,进一步的,路线规划装置再对用户选择的路线进行显示,同时清除显示界面上的其他路线。Optionally, in this embodiment, the user can first select a most satisfactory route from at least one set of routes displayed on the terminal device based on a preset operation (such as a click operation, but not limited to a click operation), and further, route planning The device then displays the route selected by the user, and simultaneously clears other routes on the display interface.
可选的,若用户对任意一条路线均不满意,用户还可以基于预设的操作对任意一条路线进行调整,以获得满意的路线,本实施例中不对具体的调整方式进行限定。路线规划装置在获得用户选择的路线,以及用户对该路线的调整信息后,显示用户调整后的路线。Optionally, if the user is not satisfied with any of the routes, the user can also adjust any of the routes based on preset operations to obtain a satisfactory route. The specific adjustment method is not limited in this embodiment. After obtaining the route selected by the user and the user's adjustment information on the route, the route planning device displays the route adjusted by the user.
可选的,本实施例路线规划装置还可以根据终端设备上的定位设备或其他与该终端设备绑定的可穿戴智能设备(比如,智能手环,但不限于智能手环)获取用户在行进或城中的实时位置信息,并基于用户的实时位置信息在用户所选的路线上显示用户的运动轨迹和/或输出导航信息,以使用户按照所选的路线运动。Optionally, the route planning device in this embodiment can also obtain the user's travel time according to the positioning device on the terminal device or other wearable smart devices (such as smart bracelets, but not limited to smart bracelets) bound to the terminal device. Or the real-time location information in the city, and based on the real-time location information of the user, display the user's movement trajectory and/or output navigation information on the route selected by the user, so that the user can move according to the selected route.
可选的,本实施例中路线规划装置还可以根据用户的分享指令,将用户的运动轨迹在应用程序(比如微信,微博等)中进行分享。其中,用户的分享指令中包括该应用程序的标识。Optionally, the route planning device in this embodiment may also share the user's movement trajectory in application programs (such as WeChat, Weibo, etc.) according to the user's sharing instruction. Wherein, the user's sharing instruction includes the identification of the application program.
本实施例通过显示用户选择的路线,并基于该路线对用户的运动轨迹进行标示,导航和分享,提高了趣味性,提高了用户体验。In this embodiment, by displaying the route selected by the user, and marking, navigating and sharing the user's motion trajectory based on the route, the fun and user experience are improved.
图6是根据一示例性实施例示出的一种路线规划装置实施例一的框图,如图6所示,该装置包括:Fig. 6 is a block diagram of Embodiment 1 of a route planning device according to an exemplary embodiment. As shown in Fig. 6, the device includes:
第一获取模块11,被配置为获取起始位置、目标路线形状;The first obtaining module 11 is configured to obtain the starting position and the shape of the target route;
路线查找模块12,被配置为基于包括所述起始位置的地图信息和所述起始位置,确定与所述目标路线形状相匹配的至少一条路线;The route search module 12 is configured to determine at least one route matching the shape of the target route based on the map information including the starting position and the starting position;
第一显示模块13,被配置为显示所述至少一条路线。The first display module 13 is configured to display the at least one route.
本实施例提供的路线规划装置能够用于执行图1所示实施例的方法,其执行方式和有益效果类似,在这里不再赘述。The route planning device provided in this embodiment can be used to execute the method in the embodiment shown in FIG. 1 , and its execution mode and beneficial effects are similar, and details are not repeated here.
图7是根据一示例性实施例示出的一种路线规划装置实施例二的框图。如图7所示,在图6所示实施例的基础上,路线查找模块12包括包括:Fig. 7 is a block diagram of Embodiment 2 of a route planning device according to an exemplary embodiment. As shown in Figure 7, on the basis of the embodiment shown in Figure 6, the route search module 12 includes:
第一获取子模块121,被配置为获取所述至少一条路线中每条路线的路况信息;The first acquiring submodule 121 is configured to acquire traffic condition information of each route in the at least one route;
计算子模块122,被配置为基于所述至少一条路线中每条路线的路况信息,以及每条路线的路线长度,计算每条路线的用时;The calculation submodule 122 is configured to calculate the time spent of each route based on the traffic condition information of each route in the at least one route and the route length of each route;
筛选子模块123,被配置为从所述至少一条路线中筛选出用时在预设时间范围内的至少一条路线。The screening submodule 123 is configured to filter out at least one route whose duration is within a preset time range from the at least one route.
本实施例提供的路线规划装置能够用于执行图2所示实施例的方法,其执行方式和有益效果类似,在这里不再赘述。The route planning device provided in this embodiment can be used to execute the method of the embodiment shown in FIG. 2 , and its execution mode and beneficial effects are similar, and details are not repeated here.
图8是根据一示例性实施例示出的一种路线规划装置实施例三的框图。如图8所示,在图6所示实施例的基础上,该装置还包括:Fig. 8 is a block diagram of Embodiment 3 of a route planning device according to an exemplary embodiment. As shown in Figure 8, on the basis of the embodiment shown in Figure 6, the device also includes:
第二获取模块14,被配置为获取目标路线长度;The second acquiring module 14 is configured to acquire the target route length;
所述路线查找模块12,包括:The route search module 12 includes:
第一查找子模块124,被配置为基于包括所述起始位置的地图信息和所述起始位置,查找与所述目标路线形状相匹配,且路线长度与所述目标路线长度之差的绝对值在预设范围内的至少一条路线。The first search submodule 124 is configured to search for an absolute value that matches the shape of the target route and has a difference between the length of the route and the length of the target route based on the map information including the start position and the start position. At least one route with a value within a preset range.
本实施例提供的路线规划装置能够用于执行图3所示实施例的方法,其执行方式和有益效果类似,在这里不再赘述。The route planning device provided in this embodiment can be used to execute the method of the embodiment shown in FIG. 3 , and its execution mode and beneficial effects are similar, and details are not repeated here.
图9是根据一示例性实施例示出的一种路线规划装置实施例四的框图。如图9所示,在图6所示实施例的基础上,该装置还包括:Fig. 9 is a block diagram of Embodiment 4 of a route planning device according to an exemplary embodiment. As shown in Figure 9, on the basis of the embodiment shown in Figure 6, the device also includes:
第三获取模块15,被配置为获取终点位置;The third acquisition module 15 is configured to acquire the end position;
所述路线查找模块12,包括:The route search module 12 includes:
第二查找子模块125,被配置为基于包括所述起始位置的地图信息、所述起始位置和所述终点位置,查找与所述目标路线形状相匹配的至少一条路线。The second search submodule 125 is configured to search for at least one route matching the shape of the target route based on the map information including the start position, the start position and the end position.
本实施例提供的路线规划装置能够用于执行图4所示实施例的方法,其执行方式和有益效果类似,在这里不再赘述。The route planning device provided in this embodiment can be used to execute the method of the embodiment shown in FIG. 4 , and its execution mode and beneficial effects are similar, and details are not repeated here.
图10是根据一示例性实施例示出的一种路线规划装置实施例五的框图。如图10所示,在图6实施例的基础上,该Fig. 10 is a block diagram of Embodiment 5 of a route planning device according to an exemplary embodiment. As shown in Figure 10, on the basis of the embodiment in Figure 6, the
所述第一显示模块13包括:The first display module 13 includes:
第二获取子模块131,被配置为获取用户选择路线的信息;The second obtaining submodule 131 is configured to obtain information about the route selected by the user;
显示子模块132,被配置为在地图上显示用户所选的路线。The display submodule 132 is configured to display the route selected by the user on the map.
可选的,所述第二获取子模块131,被配置为:Optionally, the second acquiring submodule 131 is configured to:
获取用户选择的路线,以及用户对所述路线的调整信息。可选的,所述显示子模块132,被配置为显示用户调整后的路线。Obtain the route selected by the user and the user's adjustment information on the route. Optionally, the display submodule 132 is configured to display the route adjusted by the user.
可选的,所述装置还包括:Optionally, the device also includes:
第四获取模块,被配置为获取用户行进过程中的实时位置信息;The fourth acquisition module is configured to acquire real-time location information during the user's travel;
第二显示模块,被配置为基于所述实时位置信息和所述用户所选的路线,显示所述用户的运动轨迹和/或输出导航信息。The second display module is configured to display the user's movement track and/or output navigation information based on the real-time location information and the route selected by the user.
可选的,所述装置还包括:Optionally, the device also includes:
第五获取模块,被配置为获取用户的分享指令,所述分享指令包括应用程序的标识;The fifth obtaining module is configured to obtain the sharing instruction of the user, and the sharing instruction includes the identification of the application program;
分享模块,被配置为基于所述应用程序的标识,将所述用户的运动轨迹在所述应用程序上进行分享。The sharing module is configured to share the user's movement track on the application program based on the identification of the application program.
本实施例提供的路线规划装置能够用于执行图5所示实施例的方法,其执行方式和有益效果类似,在这里不再赘述。The route planning device provided in this embodiment can be used to execute the method of the embodiment shown in FIG. 5 , and its execution mode and beneficial effects are similar, and details are not repeated here.
关于上述实施例中的路线规划装置,其中各个模块、子模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。With regard to the route planning device in the above embodiment, the specific manner of performing operations of each module and sub-module has been described in detail in the embodiment of the method, and will not be described in detail here.
以上描述了路线规划装置的内部功能和结构,如图11所示,实际中,该路线规划装置可实现为诸如手机等终端设备,包括:The internal functions and structure of the route planning device are described above, as shown in Figure 11, in practice, the route planning device can be implemented as a terminal device such as a mobile phone, including:
处理器;processor;
被配置为存储处理器可执行指令的存储器;memory configured to store processor-executable instructions;
其中,所述处理器被配置为:Wherein, the processor is configured as:
获取起始位置、目标路线形状;Obtain the starting position and target route shape;
基于包括所述起始位置的地图信息和所述起始位置,确定与所述目标路线形状相匹配的至少一条路线;determining at least one route matching the shape of the target route based on the map information including the starting position and the starting position;
显示所述至少一条路线。The at least one route is displayed.
图12是根据一示例性实施例示出的另一种终端设备的框图。例如,终端设备800可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。Fig. 12 is a block diagram of another terminal device according to an exemplary embodiment. For example, the terminal device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
参照图12,终端设备800可以包括以下一个或多个组件:处理组件802,存储器804,电源组件806,多媒体组件808,音频组件810,输入/输出(I/O)的接口812,传感器组件814,以及通信组件816。Referring to FIG. 12 , terminal device 800 may include one or more of the following components: processing component 802, memory 804, power supply component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814 , and the communication component 816.
处理组件802通常控制终端设备800的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件802可以包括一个或多个处理器820来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件802可以包括一个或多个模块,便于处理组件802和其他组件之间的交互。例如,处理组件802可以包括多媒体模块,以方便多媒体组件808和处理组件802之间的交互。The processing component 802 generally controls the overall operations of the terminal device 800, such as operations associated with display, telephone calls, data communication, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 802 may include one or more modules that facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802 .
存储器804被配置为存储各种类型的数据以支持在设备800的操作。这些数据的示例包括用于在终端设备800上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器804可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 804 is configured to store various types of data to support operations at the device 800 . Examples of such data include instructions for any application or method operating on the terminal device 800, contact data, phonebook data, messages, pictures, videos, and the like. The memory 804 can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.
电源组件806为终端设备800的各种组件提供电力。电源组件806可以包括电源管理系统,一个或多个电源,及其他与为终端设备800生成、管理和分配电力相关联的组件。The power supply component 806 provides power to various components of the terminal device 800 . Power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for end device 800 .
多媒体组件808包括在所述终端设备800和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件808包括一个前置摄像头和/或后置摄像头。当设备800处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 808 includes a screen providing an output interface between the terminal device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or swipe action, but also detect duration and pressure associated with the touch or swipe action. In some embodiments, the multimedia component 808 includes a front camera and/or a rear camera. When the device 800 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.
音频组件810被配置为输出和/或输入音频信号。例如,音频组件810包括一个麦克风(MIC),当终端设备800处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器804或经由通信组件816发送。在一些实施例中,音频组件810还包括一个扬声器,用于输出音频信号。The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a microphone (MIC), which is configured to receive an external audio signal when the terminal device 800 is in an operation mode, such as a call mode, a recording mode and a voice recognition mode. Received audio signals may be further stored in memory 804 or sent via communication component 816 . In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.
I/O接口812为处理组件802和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 812 provides an interface between the processing component 802 and a peripheral interface module, which may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: a home button, volume buttons, start button, and lock button.
传感器组件814包括一个或多个传感器,用于为终端设备800提供各个方面的状态评估。例如,传感器组件814可以检测到设备800的打开/关闭状态,组件的相对定位,例如所述组件为终端设备800的显示器和小键盘,传感器组件814还可以检测终端设备800或终端设备800一个组件的位置改变,用户与终端设备800接触的存在或不存在,终端设备800方位或加速/减速和终端设备800的温度变化。传感器组件814可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件814还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件814还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。The sensor component 814 includes one or more sensors for providing status assessment of various aspects of the terminal device 800 . For example, the sensor component 814 can detect the open/closed state of the device 800, the relative positioning of the components, for example, the components are the display and the keypad of the terminal device 800, and the sensor component 814 can also detect the terminal device 800 or a component of the terminal device 800 The position change of the terminal device 800, the presence or absence of the user's contact with the terminal device 800, the orientation or acceleration/deceleration of the terminal device 800 and the temperature change of the terminal device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
通信组件816被配置为便于终端设备800和其他设备之间有线或无线方式的通信。终端设备800可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件816经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件816还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 816 is configured to facilitate wired or wireless communications between the terminal device 800 and other devices. The terminal device 800 can access a wireless network based on communication standards, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.
在示例性实施例中,终端设备800可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, terminal device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable A programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the methods described above.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器804,上述指令可由终端设备800的处理器820执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as a memory 804 including instructions, which can be executed by the processor 820 of the terminal device 800 to complete the above method. For example, the non-transitory computer readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
一种非临时性计算机可读存储介质,当所述存储介质中的指令由移动终端的处理器执行时,使得移动终端能够执行一种路线规划方法,所述方法包括:A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by the processor of the mobile terminal, the mobile terminal can execute a route planning method, the method comprising:
获取起始位置、目标路线形状;Obtain the starting position and target route shape;
基于包括所述起始位置的地图信息和所述起始位置,确定与所述目标路线形状相匹配的至少一条路线;determining at least one route matching the shape of the target route based on the map information including the starting position and the starting position;
显示所述至少一条路线。The at least one route is displayed.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the present disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any modification, use or adaptation of the present disclosure, and these modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure . The specification and examples are to be considered exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the precise constructions which have been described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711326347.5ACN108088454A (en) | 2017-12-13 | 2017-12-13 | Route planning method, device and equipment |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711326347.5ACN108088454A (en) | 2017-12-13 | 2017-12-13 | Route planning method, device and equipment |
| Publication Number | Publication Date |
|---|---|
| CN108088454Atrue CN108088454A (en) | 2018-05-29 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201711326347.5APendingCN108088454A (en) | 2017-12-13 | 2017-12-13 | Route planning method, device and equipment |
| Country | Link |
|---|---|
| CN (1) | CN108088454A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114322992A (en)* | 2022-01-18 | 2022-04-12 | 武汉元科技术有限公司 | Motion path planning method, motion path generation device, motion path planning equipment and storage medium |
| WO2024041180A1 (en)* | 2022-08-24 | 2024-02-29 | 华为技术有限公司 | Path planning method and apparatus |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105101404A (en)* | 2015-05-19 | 2015-11-25 | 西安海导信息技术有限公司 | Positioning method, device and terminal |
| CN105203115A (en)* | 2009-08-21 | 2015-12-30 | 三星电子株式会社 | Method And Apparatus For Generating, Managing And Sharing Of Moving Path |
| CN106248072A (en)* | 2016-07-15 | 2016-12-21 | 上海跑下去网络科技有限公司 | A kind of processing method of interesting electronics road book |
| CN106489113A (en)* | 2016-08-30 | 2017-03-08 | 北京小米移动软件有限公司 | The method of VR control, device and electronic equipment |
| WO2017113367A1 (en)* | 2015-12-31 | 2017-07-06 | 华为技术有限公司 | Route recommending method, electronic device and graphical user interface |
| CN107305134A (en)* | 2016-04-22 | 2017-10-31 | 高德信息技术有限公司 | The method and apparatus for showing the navigation way of predetermined shape on the electronic map |
| CN107330242A (en)* | 2017-05-26 | 2017-11-07 | 北京卡路里信息技术有限公司 | Moving target method to set up, device, storage medium and processor |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105203115A (en)* | 2009-08-21 | 2015-12-30 | 三星电子株式会社 | Method And Apparatus For Generating, Managing And Sharing Of Moving Path |
| CN105101404A (en)* | 2015-05-19 | 2015-11-25 | 西安海导信息技术有限公司 | Positioning method, device and terminal |
| WO2017113367A1 (en)* | 2015-12-31 | 2017-07-06 | 华为技术有限公司 | Route recommending method, electronic device and graphical user interface |
| CN107305134A (en)* | 2016-04-22 | 2017-10-31 | 高德信息技术有限公司 | The method and apparatus for showing the navigation way of predetermined shape on the electronic map |
| CN106248072A (en)* | 2016-07-15 | 2016-12-21 | 上海跑下去网络科技有限公司 | A kind of processing method of interesting electronics road book |
| CN106489113A (en)* | 2016-08-30 | 2017-03-08 | 北京小米移动软件有限公司 | The method of VR control, device and electronic equipment |
| CN107330242A (en)* | 2017-05-26 | 2017-11-07 | 北京卡路里信息技术有限公司 | Moving target method to set up, device, storage medium and processor |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114322992A (en)* | 2022-01-18 | 2022-04-12 | 武汉元科技术有限公司 | Motion path planning method, motion path generation device, motion path planning equipment and storage medium |
| WO2024041180A1 (en)* | 2022-08-24 | 2024-02-29 | 华为技术有限公司 | Path planning method and apparatus |
| Publication | Publication Date | Title |
|---|---|---|
| CN108510597A (en) | Edit methods, device and the non-transitorycomputer readable storage medium of virtual scene | |
| CN107957266A (en) | Localization method, device and storage medium | |
| WO2017049796A1 (en) | Navigation method and apparatus, navigation video generation method and apparatus | |
| CN105974357A (en) | Method and device for positioning terminal | |
| CN106157602A (en) | The method and apparatus of calling vehicle | |
| CN104123339A (en) | Method and device for image management | |
| CN107560611A (en) | Moving line acquisition methods and device | |
| CN106096794A (en) | The determination method and device of moving line | |
| CN110715672A (en) | Navigation path planning method and device | |
| CN113989469A (en) | AR (augmented reality) scenery spot display method and device, electronic equipment and storage medium | |
| CN106323296B (en) | Identify the method and device of trip mode | |
| CN106228086A (en) | Obtain the method and device of positional information | |
| CN104008129A (en) | Position information processing method, device and terminal | |
| CN106226797B (en) | Athletic ground information-pushing method and device | |
| CN106021533A (en) | Application pushing method and device | |
| CN108346179A (en) | AR equipment display methods and device | |
| CN108088454A (en) | Route planning method, device and equipment | |
| CN107292306A (en) | Object detection method and device | |
| CN106777044A (en) | Picture method for pushing and device | |
| CN109961646B (en) | Road condition information error correction method and device | |
| CN106533907A (en) | Information sending method and device | |
| CN106775240B (en) | Application program triggering method, device and terminal | |
| CN108596957A (en) | Object tracking methods and device | |
| CN108108738A (en) | Image processing method, device and terminal | |
| CN106595675A (en) | Navigation method and navigation apparatus |
| 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 | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication | Application publication date:20180529 |