CN114322992A - Motion path planning method, motion path generation device, motion path planning equipment and storage medium - Google Patents

Motion path planning method, motion path generation device, motion path planning equipment and storage medium Download PDF

Info

Publication number
CN114322992A
CN114322992A CN202210054684.8A CN202210054684A CN114322992A CN 114322992 A CN114322992 A CN 114322992A CN 202210054684 A CN202210054684 A CN 202210054684A CN 114322992 A CN114322992 A CN 114322992A
Authority
CN
China
Prior art keywords
information
user
path
motion
path information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210054684.8A
Other languages
Chinese (zh)
Inventor
蒋娟娟
戴咏佳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Yuanke Technology Co ltd
Original Assignee
Wuhan Yuanke Technology 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 Wuhan Yuanke Technology Co ltd filed Critical Wuhan Yuanke Technology Co ltd
Priority to CN202210054684.8A priority Critical patent/CN114322992A/en
Publication of CN114322992A publication Critical patent/CN114322992A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention relates to the technical field of intelligent navigation, and particularly discloses a movement path planning method, a generation method, a device, equipment and a storage medium, wherein the planning method comprises the following steps: acquiring map information near a user; obtaining user interest information, wherein the user interest information comprises mark information for restricting the shape of the motion path information; generating movement path information according to the user interest information and the map information; the planning method generates movement path information with the shape constrained by the mark information, so that a movement track associated with preset user interest information can be generated when a user moves along the movement path information; the motion path planning method can plan the motion path information of the appearance expected by the user according to the user preference, meets the requirements of the user on entertainment, interest and motion amount during motion, and promotes the user to be immersed in the motion.

Description

Motion path planning method, motion path generation device, motion path planning equipment and storage medium
Technical Field
The present application relates to the field of intelligent navigation technologies, and in particular, to a motion path planning method, a motion path generation device, a motion path planning apparatus, and a storage medium.
Background
Various software related to current movement do not plan a movement path of a user during movement (such as walking, running, riding and the like), or only plans a path by designing a shortest route from a movement starting point to a movement destination, so that the movement path of the user is monotonous in the movement process, interesting routes cannot be automatically planned according to the preference of the user, the movement is dull, the interestingness is lacked, and the user is difficult to move.
In view of the above problems, no effective technical solution exists at present.
Disclosure of Invention
The application aims to provide a motion path planning method, a motion path generation device, motion path planning equipment and a storage medium, so that the motion path is planned according to the preference of a user, the requirement of the user on interestingness during motion is met, and the user is prompted to be immersed in the motion.
In a first aspect, the present application provides a movement path planning method for assisting a user in planning a movement path, where the planning method includes the following steps:
acquiring map information near a user;
obtaining user interest information, wherein the user interest information comprises mark information for restricting the shape of the motion path information;
and generating the motion path information according to the user interest information and the map information.
The movement path planning method is characterized in that the user interest information further comprises distance information and/or end point information.
The movement path planning method is applied to user movement navigation, for example, the movement path planning method is used for walking, running, riding and other movements, and movement path information with the appearance constrained by the mark information is generated, so that when a user moves along the movement path information, a movement track associated with preset user interest information can be generated; the motion path planning method can plan the motion path information of the appearance expected by the user according to the user preference, meets the requirements of the user on entertainment, interest and motion amount during motion, and promotes the user to be immersed in the motion.
The movement path planning method comprises the step of marking information, wherein the marking information comprises one or more of character information selected by a user, graphic information selected by the user, pattern information selected by the user and historical movement information of the user.
The method for planning the movement path, wherein the step of generating the movement path information according to the user interest information and the map information comprises:
generating initial path information according to the user interest information;
splitting the initial path information to obtain a plurality of sequentially connected short path information;
acquiring a plurality of channel information which is approximately overlapped with the short path information correspondingly and is connected in sequence from the map information;
and combining all the channel information to generate the motion path information.
In the movement path planning method of this example, the channel information and the short path information approximately coincide with each other, and therefore, the movement path information combined based on all the channel information also has an approximately coincident relationship with the initial path information, so that the shape of the movement path information is constrained by the user interest information, that is, the form of the movement path information satisfies the user expectation.
The method for planning a movement path includes the steps of obtaining, from the map information, a plurality of pieces of channel information that are approximately coincident with and sequentially connected to the short-path information, where the channel information is obtained by:
acquiring position information of a user in the map information;
setting the position information as a starting point of the first short path information;
acquiring channel information approximately coincident with the first short-path information along a preset deflection direction;
and taking the end point of the channel information of the above short-path information as the starting point of the current short-path information, and acquiring the channel information approximately coincident with the current short-path information in the map information according to a preset deflection threshold until acquiring the channel information approximately coincident with all short-path information.
In the example movement path planning method, the first short-path information can deflect at 360 degrees to obtain the most appropriate channel information, and the rest of the short-path information needs to ensure that the finally generated movement path information is matched with the user interest information as much as possible after the first short-path information is determined, but can not deflect freely and the channel information matched with the finally generated movement path information needs to be found, so that a deflection threshold value is preset, so that in the process of obtaining the channel information corresponding to other short-path information, the short-path information can deflect within a small range within the preset deflection threshold value range to obtain the channel information with the highest coincidence degree, the movement path can be generated smoothly, and the user interest information can still be matched as much as possible.
The method for planning a motion path, wherein the step of combining all the channel information to generate the motion path information includes:
and combining and connecting the channel information according to the connection sequence of the short path information to generate motion path information.
In a second aspect, the present application further provides a motion path generating method, configured to generate a path trajectory in a user motion process, where the generating method includes the following steps:
acquiring map information near a user;
obtaining user interest information, wherein the user interest information comprises mark information for restricting the shape of the motion path information;
generating the motion path information according to the user interest information and the map information;
generating navigation information according to the motion path information to indicate a user to move along with the motion path information;
acquiring path track information generated in the user movement process;
and generating actual motion path information according to the path track information and the map information.
According to the motion path generation method, the motion path information of the appearance expected by the user can be planned according to the user preference, the user can generate corresponding actual motion information after moving along the motion path information, the requirements of the user on entertainment, interestingness and motion amount during motion are met, and the user is prompted to be immersed in the motion.
In a third aspect, the present application further provides an exercise path planning apparatus, configured to assist a user in planning an exercise path, where the apparatus includes:
the first acquisition module is used for acquiring map information near a user;
the second acquisition module is used for acquiring user interest information, wherein the user interest information comprises mark information for restricting the shape of the motion path information;
and the planning module is used for generating the movement path information according to the user interest information and the map information.
The motion path planning device can plan the motion path information of the appearance expected by the user according to the user preference, meets the requirements of the user on entertainment, interest and motion amount during motion, and promotes the user to be immersed in the motion.
In a fourth aspect, the present application further provides an electronic device comprising a processor and a memory, wherein the memory stores computer readable instructions, and the computer readable instructions, when executed by the processor, perform the steps of the method as provided in the first aspect.
In a fifth aspect, the present application also provides a storage medium having a computer program stored thereon, which when executed by a processor performs the steps of the method as provided in the first aspect above.
In view of the above, the present application provides a motion path planning method, a motion path generation device, a motion path planning apparatus, and a storage medium, wherein the motion path planning method generates motion path information whose shape is constrained by flag information, so that when a user moves along the motion path information, a motion trajectory associated with preset user interest information can be generated; the motion path planning method can plan the motion path information of the appearance expected by the user according to the user preference, meets the requirements of the user on entertainment, interest and motion amount during motion, and promotes the user to be immersed in the motion.
Drawings
Fig. 1 is a flowchart of a motion path planning method according to an embodiment of the present application.
Fig. 2 is a flowchart of a motion path generation method according to an embodiment of the present disclosure.
Fig. 3 is a schematic structural diagram of a movement path planning apparatus according to an embodiment of the present application.
Fig. 4 is a schematic diagram of motion path information planned by a motion path planning method according to an embodiment of the present application.
Fig. 5 is a schematic diagram of actual motion path information generated by a motion path generation method according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Reference numerals: 201. a first acquisition module; 202. a second acquisition module; 203. a planning module; 3. an electronic device; 301. a processor; 302. a memory; 303. a communication bus.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
When a user performs aerobic exercises (such as hiking, running and riding) outdoors, the user often needs to search a road for exercise according to experience, or sets a starting point and an end point according to navigation software for navigation exercise, the navigation path of the navigation software only can design the shortest route according to the distribution condition of the road to indicate the user to move, and the formed navigation path is single and monotonous, so that the processes before and after the user moves are boring; the method has the advantages that the user sets the passing points in the navigation path in a manual setting mode to change the form of the navigation path so as to obtain the path form meeting the needs of the user, the design mode requires the user to adjust the path form step by step, the adjusting process is complicated and difficult to popularize for vast sports enthusiasts, and if the method capable of automatically planning the motion path according to the user preference is provided, the interestingness of the process before and after the motion can be improved, so that the user can move according to the planned path to generate interesting footprints, and the user is prompted to move.
In a first aspect, please refer to fig. 1, fig. 1 is a movement path planning method in some embodiments of the present application, for assisting a user in planning a movement path, the planning method includes the following steps:
a1, acquiring map information near the user;
specifically, the motion path planning method provided by the embodiment of the application is applied to intelligent mobile terminals, such as smart phones, smart watches, smart glasses and the like.
More specifically, the map information in the vicinity of the user is a digital map that can represent the position of the user and the conditions of the surrounding roads.
A2, obtaining user interest information, wherein the user interest information comprises mark information for restricting the shape of the motion path information;
specifically, the user interest information is an interest item currently set or once set by the user, and represents the user's desire for the movement path form, such as a constraint item about the path shape, a constraint item about the path shape and the coverage, a constraint item about the path shape and the size of the scaled path, a constraint item about the path shape and the repeated routing degree of the path, and the like, wherein the flag information belongs to the constraint item for defining the path shape.
More specifically, the flag information is image information for restricting the generated motion path information outline, so that the user can imagine the corresponding flag information according to the generated motion path information outline, thereby arousing the user's interest to perform a motion.
More specifically, the user interest information may be an interest item selected from preset interest items, such as a plurality of sign information with different appearance characteristics preset for the user to select.
More specifically, the user interest information may also be interest items generated based on automatic matching of big data, that is, corresponding interest items are generated according to characteristics of a user group in the big data where the user is located.
More specifically, the user interest information may also be an interest item selected by the user from the interest items generated by the automatic matching of the big data.
And A3, generating motion path information according to the user interest information and the map information.
Specifically, the motion path information is a path used for indicating the user to move, so that the user can leave a movement track constrained by the user interest information on the map when moving along the path, that is, a motion track desired by the user can be obtained.
The movement path planning method is applied to user movement navigation, such as a path planning method for walking, running, riding and other movements, and generates movement path information with the appearance constrained by the mark information, so that when a user moves along the movement path information, a movement track associated with preset user interest information can be generated; the movement path planning method can plan the movement path information of the appearance expected by the user according to the user preference, meets the requirements of the user on entertainment, interest and movement amount during movement, and promotes the user to be immersed in the movement.
In some preferred embodiments, step a1 includes:
a11, acquiring the motion type information of the user;
specifically, the exercise type information is an exercise type preset by the user, and is mainly classified into aerobic exercises such as hiking, running and riding.
More specifically, different motion types have certain differences for covered actual motion areas, for example, a riding motion path may cover a non-motorized lane, a sidewalk, and the like, and generally does not suggest to cover a resting public area such as a park, a bumpy woodland lane, and the like, and a walking motion path may cover a resting public area such as a park, a bumpy woodland lane, a sidewalk, and the like, and generally does not suggest to cover a non-motorized lane, and therefore, different motion types affect motion path information generated based on map information.
A12, acquiring the position information of the user;
specifically, the position information reflects a specific position of the user on a digital map acquired by the current mobile terminal, and may be directly acquired based on a positioning device of the mobile terminal or may be manually set according to a user requirement.
A13, obtaining the map information near the user according to the motion type information and the position information of the user, wherein the map information comprises the channel information which can be passed by the corresponding motion type information.
Specifically, the map information, i.e., the digital map, records or marks the current location of the user or the starting location set by the user according to the location information of the user, and separates a passing area and a non-passing area on the digital map according to the motion type information obtained in step a11, where the passing area is a route selectable range in which the current motion type information can normally pass, and the route selectable ranges constitute passable channel information.
More specifically, the map information obtained in this step removes the area of the motion type information that is not suitable for the user, ensures that the subsequently generated motion path information is generated only in the channel information determined in step a13, and ensures that the user can smoothly complete the motion according to the motion path information.
In some preferred embodiments, the user interest information further comprises distance information and/or endpoint information.
Specifically, the distance information is a set length value used for adjusting the length of the whole movement path information on the digital map.
More specifically, in another embodiment, the distance information may also be a distance value for defining a motion path information generation range, such as distance information set to 5km, which defines that the finally generated motion path information must be located within a circular map area having a radius of 5km with the user position information as an origin.
More specifically, the end point information is a set movement end point position for defining a movement path information end position.
More specifically, in the process of generating the movement path information, the movement path information corresponding to the mark information may not be generated in the map information near the user after the distance information and the end point information are set, and therefore, in the embodiment of the present application, the distance information and the end point information are selectable options for the user to select whether to enable or not according to the use requirement in the user interest information.
In some preferred embodiments, the logo information includes one or more of user-selected text information, user-selected graphic information, user-selected pattern information, and user's historical motion information.
Specifically, the text information is a text image, such as an english letter, a simplified chinese character, and the like, and when only the text information is used as the mark information, the text information needs to be split into a plurality of vector lines as constraint conditions for generating the motion path information.
More specifically, the graphic information is a graphic image composed of simple lines, such as a circle, a rectangle, a triangle, etc., and when only the graphic information is used as the mark information, the graphic information needs to be split into a plurality of vector lines as constraint conditions for generating the motion path information.
More specifically, the pattern information is a pattern image, and when only the pattern information is used as the mark information, a key line needs to be extracted from the pattern information to obtain a contour graph, and the contour graph is split into a plurality of vector lines as a constraint condition for generating the motion path information.
More specifically, the historical motion information is one or more of motion path information once adopted by the user or character information, graphic information and pattern information once selected.
The movement path planning method can acquire different mark information to generate movement path information in different forms, and fully meets the favorite requirements of users.
In some preferred embodiments, step a3 includes:
a31, generating initial path information according to the user interest information;
specifically, the initial path information is a vector graphic path converted according to the user interest information, and is a path determined directly according to the user interest information without considering the distribution of channel information in the map information.
More specifically, the initial path information is an integrally connected path, and for example, for the flag information of the english alphabet, the planning method in the embodiment of the present application can directly convert the english alphabet into a corresponding integrally connected vector graphic path; for some mark information with separation characteristics, the planning method of the embodiment of the application automatically adds the lead wire with the minimum distance to connect the separation parts and converts the separation parts into the corresponding vector graphic path connected integrally, and if the mark information of the 'hui' character is added with a straight line segment to connect the inner part and the outer part of the 'hui' character, the vector graphic path connected integrally can be formed.
A32, splitting initial path information to obtain a plurality of sequentially connected short path information;
specifically, the step is to split the initial path information as a vector graphics path into a plurality of sequentially connected small vector graphics paths, i.e., short path information.
Specifically, the process of splitting the initial path information may be split according to a quantitative distance interval, and may also be split according to a bending degree of the initial path information.
Specifically, in the process of splitting the initial path information, some small vector graphics paths which diverge outwards (i.e. small vector graphics paths of which one end is not connected with other line small vector graphics paths) are generated, and for the small vector graphics paths which diverge outwards, a folded small vector graphics path for compensating connection needs to be added at the end of the small vector graphics paths so that a plurality of pieces of short path information can be connected in sequence.
More specifically, splitting the initial path information to obtain a plurality of sequentially connected short path information can form an end-to-end connected path as a basis for obtaining the motion path information with continuity.
A33, acquiring a plurality of channel information which are approximately overlapped with the short path information correspondingly and are connected in sequence from the map information;
specifically, the map information is screened for channel information matched with the short path information, that is, the map information is obtained with a plurality of sequentially connected channel information.
Specifically, the short path information approximately coincides with the channel information means that both coincide as much as possible.
And A34, combining all the channel information to generate the motion path information.
Specifically, the channel information and the short path information approximately coincide with each other, and therefore, the movement path information combined based on all the channel information also has an approximately coincident relationship with the initial path information, so that the shape of the movement path information is constrained by the user interest information, i.e., the form of the movement path information satisfies the user expectation.
In some preferred embodiments, step a33 includes:
a331, acquiring position information of a user in map information;
a332, setting the position information as a starting point of the first short path information;
specifically, the start point of the first short path information, i.e., the start point of the entire motion path information, is determined.
A333, acquiring channel information approximately superposed with the first short-path information along a preset deflection direction;
specifically, when the starting point of the first short-path information is determined, the short-path information has a preset setting direction, but the preset setting direction cannot necessarily find the channel information matched with the short-path information on the map information, so that the short-path information needs to be deflected according to a preset deflection direction to directly obtain the channel information with the highest coincidence degree, that is, the channel information represents the motion path of the short-path information corresponding to the most matched motion path on the map information.
More specifically, the short-path information is obtained by splitting according to the initial path information, so that all the short-path information have a corresponding vector direction relationship, and when the step deflects the short-path information along a preset deflection direction, the step is understood as synchronously deflecting all the short-path information.
More specifically, the preset deflection direction is a clockwise deflection direction or a counterclockwise deflection direction, in this embodiment of the application, the preset deflection direction is preferably the clockwise deflection direction, and the vector extension direction of the first short-path information is preferably the righteast direction of the map information, so that the process of searching the corresponding channel information by the first short-path information is obtained according to the direction of the north-south-east-west-north-east deflection.
More specifically, not all the channel information on the map information is presented in a vector form, and therefore, in the embodiment of the present application, the first short-path information is obtained as channel information approximately coinciding with the short-path information (with the highest coincidence degree), so that the finally generated motion path information can be matched with the user interest information as much as possible.
And A334, taking the end point of the channel information of the above one piece of short-path information as the starting point of the current short-path information, and acquiring the channel information approximately coincident with the current short-path information in the map information according to a preset deflection threshold until acquiring the channel information approximately coincident with all short-path information.
Specifically, after determining the channel information of the first short-path information, gradually matching and acquiring the channel information of all the short-path information, that is, matching and acquiring the channel information of the next short-path information by taking the end position of the channel information corresponding to the above one short-path information as a starting point until all the short-path information is matched.
More specifically, the first short-path information can be deflected at 360 degrees to obtain the most appropriate channel information, and the rest of the short-path information needs to ensure that the finally generated motion path information is matched with the user interest information as much as possible after the first short-path information is determined, but the short-path information cannot be deflected freely and the channel information matched with the finally generated motion path information needs to be found, so that a deflection threshold value is preset, so that in the process of obtaining the channel information corresponding to other short-path information, the short-path information can be deflected within a small range within the preset deflection threshold value range to obtain the channel information with the highest coincidence degree, and the motion path can be generated smoothly and still can be matched with the user interest information as much as possible.
More specifically, in the embodiment of the present application, the deflection threshold of the threshold is-5 ° to 5 °, that is, the short-path information can find approximately coincident channel information in a range of being deflected by 5 ° toward both sides, respectively.
More specifically, in the embodiment of the present application, in the process of acquiring channel information approximately coinciding with short-path information, a degree of fitting is used to characterize a degree of coincidence between the short-path information and the channel information, and the specific process is as follows: converting channel information in map information into a line channel, extracting feature points of the line channel according to a preset interval distance, calculating the fitting degree of the line channel and short-path information according to the feature points (for example, calculating the fitting degree by using a least square method to perform discrete regression), and evaluating the contact ratio of the channel information and the short-path information by using the fitting degree, namely, the higher the fitting degree of the feature points of the channel information and the short-path information is, the higher the contact ratio of the channel information and the short-path information is.
More specifically, in another embodiment, a dynamic time warping algorithm may be used to calculate a distance relationship between the short path information and the channel information to evaluate a degree of coincidence therebetween.
In some preferred embodiments, step a34 includes:
and A341, combining the connection channel information according to the connection sequence of the short-path information to generate motion path information, thereby generating a complete motion path for a user to move along.
In some preferred embodiments, when the user interest information includes flag information, step a31 includes:
a311, converting the mark information into initial path information consisting of vector information;
specifically, this step may split the flag information into vector lines, so as to treat the vector lines as initial path information composed of vector information.
And A312, adjusting the initial path information according to the preset scaling range.
Specifically, when the user interest information only includes the sign information, the finally acquired movement path information itself does not limit the size of the travel, an excessively small travel cannot prompt the user to perform sufficient movement, and an excessively large travel can reduce the movement desire of the user.
More specifically, step a312 is executed to first assign a scaling to the initial path information, and when the matching of step a33 fails to acquire the path information, step a312 is returned to adjust the initial path information according to the preset scaling range, so as to execute steps a32-a33 again until all the short path information can acquire the path information matched therewith, thereby ensuring that the motion path information can be generated smoothly.
In some preferred embodiments, when the user interest information includes distance information and sign information, step a31 includes:
a 311' converting the flag information into initial path information composed of vector information;
a 312', the scaling of the initial path information is adjusted according to the map information and the distance information.
Specifically, when the user interest information includes distance information and sign information, the user has a corresponding requirement for a movement trip, such as running for 5km, so that the correspondingly generated movement path information should satisfy the trip requirement; therefore, step a 312' adjusts (increases or decreases) the scaling of the initial path information according to the distance information so that the finally acquired movement path information satisfies the movement requirement of the user.
More specifically, the process of adjusting the scaling of the initial path information in step a312 'is provided with a trip threshold, i.e. the step a 312' includes: and adjusting the scaling of the initial path information according to the map information, the distance information and a preset travel threshold value so that the difference value of the travel of the initial road path information corresponding to the map information and the distance information is within the travel threshold value, thereby enabling the finally generated movement path information to be close to the distance information preset by the user.
As shown in fig. 4, the user interest information includes distance information and flag information, the distance information is set to 5km, the flag information is set to english letter "H", the finally generated movement path information includes information with a return path (i.e., return short path information formed by extending the last short path information in the opposite direction), and the total travel is 5 km.
In some preferred embodiments, when the user interest information includes the destination information and the sign information, step a31 includes:
a311', converting the mark information into initial path information composed of vector information;
a312 '', a setting range of the end position of the initial route information is set based on the map information and the end point information.
Specifically, when the user interest information includes the end point information and the mark information, the user has a request for a position where the exercise is ended; therefore, step a312 ″ sets the setting range of the end position of the initial path information according to the end point information, so that the end position of the motion path information is finally obtained adjacent to the position of the end point information to meet the motion requirement of the user.
More specifically, the step a312 ″ sets the setting range of the end position of the initial path information by setting a preset range threshold, and in the embodiment of the present application, it is preferable to determine a circular area at the position of the end point information by the range threshold, and then define the range of the end position of the initial path information by using the circular area.
More specifically, since step S312 ″ defines the setting range of the end position of the initial path information, step a333 needs to correspondingly define the deflection range of the first short-path information, i.e., in the process of deflecting the first short-path information acquisition channel information in step a333, it needs to be ensured that the end of the last short-path information is located within the setting range of step a312 ″.
In some preferred embodiments, when the user interest information includes distance information, end point information, and sign information, step a31 includes:
a311 "', converting the flag information into initial path information composed of vector information;
a312 ' ' ', adjusting a scaling of the initial path information according to the map information and the distance information.
A313 ' ' ', setting a setting range of the end position of the initial route information based on the map information and the end point information.
Specifically, when the user interest information includes distance information, end point information, and mark information, the user has a requirement for a movement trip and a position where the movement ends; therefore, step a312 '″ adjusts the scaling of the initial path information according to the distance information, and step a 313' ″ sets the setting range of the end position of the initial path information according to the end point information, so that the course and the end position of the generated movement path information satisfy the movement requirement of the user.
The difficulty in generating the movement path information may be increased by setting the distance information or setting the distance information and the end point information, and in the embodiment of the present application, the user interest information preferably includes only the sign information.
In a second aspect, please refer to fig. 2, fig. 2 is a motion path generating method provided in some embodiments of the present application, for generating a path trajectory in a user motion process, where the generating method includes the following steps:
b1, acquiring map information near the user;
b2, obtaining user interest information, wherein the user interest information comprises mark information for restricting the shape of the motion path information;
b3, generating movement path information according to the user interest information and the map information;
specifically, a plurality of motion path information can be generated according to the user interest information in the same map information, and therefore, if the user is not satisfied with the currently generated motion path information (i.e., refuses to accept the motion path information in the mobile terminal), steps B1-B3 are executed again to generate motion path information different from the previously generated motion path information, so as to meet the user's usage requirements.
B4, generating navigation information according to the motion path information to instruct the user to move along the motion path information;
more specifically, the navigation information may be global navigation information, or may be local navigation information generated according to the current position of the user.
More specifically, the navigation information is navigation images, navigation voice, navigation vibration feedback and the like in a digital map, and is used for indicating the user to move along with the movement path information and carrying out appropriate reminding when the user deviates from the movement path information.
B5, acquiring path track information generated in the user motion process;
specifically, the path trajectory information is a series of positioning data during the actual movement of the user, and is represented by continuous lines on the map.
Specifically, the path trajectory information may be obtained by recording according to a positioning device of the mobile device.
And B6, generating actual motion path information according to the path track information and the map information.
Specifically, the step arranges the path track information generated when the user moves along with the movement path information into the actual movement path information, so that the generated actual movement path information is matched with the user interest information, and the requirements of interestingness and entertainment of the user during movement are met.
More specifically, this step fills or adds path trajectory information in the map information to generate actual movement path information.
More specifically, the actual motion path information can be displayed to the user through the display end of the mobile terminal for checking, so that the user can conveniently check the motion result of the user and share the motion result in time.
As shown in fig. 5, the actual motion path information obtained by the user performing the motion according to the motion path information is generated by planning according to the heart-shaped mark information, so that the user generates a footprint similar to the heart shape after following the motion path information, thereby satisfying the interest and entertainment requirements of the user during the motion and facilitating the user to share in time.
The motion path generation method is applied to user motion navigation, and is used as a path generation method for motions such as walking, running and riding to generate motion path information with the appearance constrained by the mark information, so that when a user moves along the motion path information, a motion track associated with preset user interest information can be generated, and corresponding actual motion path information is generated according to the motion track; the motion path generation method can plan the motion path information of the appearance expected by the user according to the user preference and enables the user to generate corresponding actual motion path information after moving along the motion path information, meets the requirements of the user on entertainment, interestingness and motion amount during motion, and enables the user to be immersed in the motion.
In a third aspect, please refer to fig. 3, fig. 3 is an exercise path planning apparatus provided in some embodiments of the present application, for assisting a user in planning an exercise path, the apparatus includes:
a first obtaining module 201, configured to obtain map information near a user;
a second obtaining module 202, configured to obtain user interest information, where the user interest information includes mark information for restricting a shape of the movement path information;
and the planning module 203 is used for generating motion path information according to the user interest information and the map information.
The movement path planning device provided by the embodiment of the application is applied to user movement navigation, for example, the movement path planning device is used for walking, running, riding and other movements, and generates movement path information with the appearance constrained by the mark information, so that when a user moves along the movement path information, a movement track associated with preset user interest information can be generated; the movement path planning device can plan the movement path information of the appearance expected by the user according to the user preference, meets the requirements of the user on entertainment, interest and movement amount during movement, and promotes the user to be immersed in the movement.
In some preferred embodiments, a motion path planning apparatus according to the embodiments of the present application is preferably configured to perform the motion path planning method provided in the first aspect.
In a fourth aspect, please refer to fig. 6, where fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application, and the present application provides an electronic device 3, including: the processor 301 and the memory 302, the processor 301 and the memory 302 being interconnected and communicating with each other via a communication bus 303 and/or other form of connection mechanism (not shown), the memory 302 storing a computer program executable by the processor 301, the processor 301 executing the computer program when the computing device is running to perform the method of any of the alternative implementations of the embodiments described above.
In a fifth aspect, the present application provides a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the computer program performs the method in any optional implementation manner of the foregoing embodiments. The storage medium may be implemented by any type of volatile or nonvolatile storage device or combination thereof, such as a Static Random Access Memory (SRAM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), an Erasable Programmable Read-Only Memory (EPROM), a Programmable Read-Only Memory (PROM), a Read-Only Memory (ROM), a magnetic Memory, a flash Memory, a magnetic disk, or an optical disk.
In summary, the embodiment of the present application provides a motion path planning method, a motion path generation device, a motion path planning apparatus, and a storage medium, wherein the motion path planning method generates motion path information associated with user interest information, so that a motion trajectory associated with preset user interest information can be generated when a user moves along the motion path information; the movement path planning method can plan the movement path information of the appearance expected by the user according to the user preference, meets the requirements of the user on entertainment, interest and movement amount during movement, and promotes the user to be immersed in the movement.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
In addition, units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
Furthermore, the functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. An exercise path planning method for assisting a user in planning an exercise path, the planning method comprising the steps of:
acquiring map information near a user;
obtaining user interest information, wherein the user interest information comprises mark information for restricting the shape of the motion path information;
and generating the motion path information according to the user interest information and the map information.
2. The method for planning a movement path according to claim 1, wherein the user interest information further comprises distance information and/or end point information.
3. The method of claim 1, wherein the logo information comprises one or more of user-selected text information, user-selected graphic information, user-selected pattern information, and user historical motion information.
4. The method of claim 1, wherein the step of generating the movement path information according to the user interest information and the map information comprises:
generating initial path information according to the user interest information;
splitting the initial path information to obtain a plurality of sequentially connected short path information;
acquiring a plurality of channel information which is approximately overlapped with the short path information correspondingly and is connected in sequence from the map information;
and combining all the channel information to generate the motion path information.
5. The method for planning a movement path according to claim 4, wherein the step of obtaining a plurality of sequentially connected channel information which approximately coincide with the short-path information in the map information comprises:
acquiring position information of a user in the map information;
setting the position information as a starting point of the first short path information;
acquiring channel information approximately coincident with the first short-path information along a preset deflection direction;
and taking the end point of the channel information of the above short-path information as the starting point of the current short-path information, and acquiring the channel information approximately coincident with the current short-path information in the map information according to a preset deflection threshold until acquiring the channel information approximately coincident with all short-path information.
6. The method of claim 4, wherein the step of combining all the channel information to generate the motion path information comprises:
and combining and connecting the channel information according to the connection sequence of the short path information to generate motion path information.
7. A motion path generation method is used for generating a path track in the motion process of a user, and is characterized by comprising the following steps:
acquiring map information near a user;
obtaining user interest information, wherein the user interest information comprises mark information for restricting the shape of the motion path information;
generating the motion path information according to the user interest information and the map information;
generating navigation information according to the motion path information to indicate a user to move along with the motion path information;
acquiring path track information generated in the user movement process;
and generating actual motion path information according to the path track information and the map information.
8. An exercise path planning apparatus for assisting a user in planning an exercise path, the apparatus comprising:
the first acquisition module is used for acquiring map information near a user;
the second acquisition module is used for acquiring user interest information, wherein the user interest information comprises mark information for restricting the shape of the motion path information;
and the planning module is used for generating the movement path information according to the user interest information and the map information.
9. An electronic device comprising a processor and a memory, said memory storing computer readable instructions which, when executed by said processor, perform the steps of the method according to any one of claims 1 to 6.
10. A storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, performs the steps of the method according to any of claims 1-6.
CN202210054684.8A 2022-01-18 2022-01-18 Motion path planning method, motion path generation device, motion path planning equipment and storage medium Pending CN114322992A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210054684.8A CN114322992A (en) 2022-01-18 2022-01-18 Motion path planning method, motion path generation device, motion path planning equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210054684.8A CN114322992A (en) 2022-01-18 2022-01-18 Motion path planning method, motion path generation device, motion path planning equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114322992A true CN114322992A (en) 2022-04-12

Family

ID=81027815

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210054684.8A Pending CN114322992A (en) 2022-01-18 2022-01-18 Motion path planning method, motion path generation device, motion path planning equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114322992A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024041180A1 (en) * 2022-08-24 2024-02-29 华为技术有限公司 Path planning method and apparatus

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2848892A1 (en) * 2013-09-13 2015-03-18 Elektrobit Automotive GmbH Technique for correcting digitized map data
CN106017493A (en) * 2016-05-16 2016-10-12 乐视控股(北京)有限公司 Exercise recording method and device
CN107560611A (en) * 2017-08-21 2018-01-09 北京小米移动软件有限公司 Moving line acquisition methods and device
CN108074009A (en) * 2016-11-11 2018-05-25 菜鸟智能物流控股有限公司 Motion route generation method and device, mobile terminal and server
CN111060103A (en) * 2019-12-11 2020-04-24 安徽工程大学 Path planning method for local dynamic optimization and obstacle avoidance
CN112985373A (en) * 2019-12-18 2021-06-18 中国移动通信集团四川有限公司 Path planning method and device and electronic equipment
CN113671949A (en) * 2021-07-27 2021-11-19 苏州银翼智能科技有限公司 Navigation map determination method and device, storage medium and electronic device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2848892A1 (en) * 2013-09-13 2015-03-18 Elektrobit Automotive GmbH Technique for correcting digitized map data
CN106017493A (en) * 2016-05-16 2016-10-12 乐视控股(北京)有限公司 Exercise recording method and device
CN108074009A (en) * 2016-11-11 2018-05-25 菜鸟智能物流控股有限公司 Motion route generation method and device, mobile terminal and server
CN107560611A (en) * 2017-08-21 2018-01-09 北京小米移动软件有限公司 Moving line acquisition methods and device
CN111060103A (en) * 2019-12-11 2020-04-24 安徽工程大学 Path planning method for local dynamic optimization and obstacle avoidance
CN112985373A (en) * 2019-12-18 2021-06-18 中国移动通信集团四川有限公司 Path planning method and device and electronic equipment
CN113671949A (en) * 2021-07-27 2021-11-19 苏州银翼智能科技有限公司 Navigation map determination method and device, storage medium and electronic device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024041180A1 (en) * 2022-08-24 2024-02-29 华为技术有限公司 Path planning method and apparatus

Similar Documents

Publication Publication Date Title
Liu et al. A real-time personalized route recommendation system for self-drive tourists based on vehicle to vehicle communication
Krüger et al. The connected user interface: Realizing a personal situated navigation service
US7440875B2 (en) Schematic generation
CN105547306B (en) A kind of route method for pushing and system
CN106643774B (en) Navigation route generation method and terminal
CN103900584A (en) Electronic map traffic route determination method and apparatus
US20150377640A1 (en) System and method for familiarity-based navigation
CN109084797B (en) Navigation path recommendation method and device
CN105279211A (en) Push method for application and mobile terminal thereof
Karnick et al. Route visualization using detail lenses
CN109409612A (en) A kind of paths planning method, server and computer storage medium
CN107025251A (en) A kind of data push method and device
CN114322992A (en) Motion path planning method, motion path generation device, motion path planning equipment and storage medium
KR101867551B1 (en) System for providing guiding bicycle tour
Le et al. An innovative tour recommendation system for tourists in Japan
Samsel et al. Cascading information for public transport assistance
US20230078653A1 (en) Route planning
WO2020149257A1 (en) Navigation text generation device, navigation system, navigation text generation method, and program
JP2001124582A (en) Destination-guiding device
JP2006163670A (en) Visiting route searching system and program
CN115683127A (en) Path planning method, device, equipment and medium
CN113535285A (en) Interface display method, device, equipment and storage medium
JP2001124580A (en) Route information supply method and device
JP6270766B2 (en) Pedestrian navigation device, pedestrian navigation method, computer program, and recording medium recording the computer program
JP2002366694A (en) Device and method for guiding route

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