Travel route planning method and system and storage medium
By identifying and adjusting the image location information and using preset maps to form a travel guide route, the problem of inflexible location adjustment in the existing technology is solved, and a simpler and more accurate travel guide route planning is achieved.
Patent Information
- Application Number
- CN202410923326.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-10
- Publication Date
- 2024-11-08
AI Technical Summary
The location adjustments are not flexible enough during the production of existing tourism guide routes, which leads to difficulty in making the route.
By obtaining and identifying the location information of the picture, using preset maps to adjust the marks, forming a journey route, and connecting the adjusted marks based on the image arrangement sequence to achieve more flexible route planning and navigation.
It improves the flexibility and accuracy of the production of travel guide routes, simplifies the route adjustment process, ensures that the generated itinerary is more in line with the actual situation, and is suitable for different geographical environments and user needs.
Smart Images

Figure CN118913244A_ABST
Abstract
Description
Technical field
[0001] The present invention relates to the technical field of route planning, and in particular to a travel route planning method, system and storage medium. [Background Technology]
[0002] As people's living standards improve, more and more people choose to travel to enrich their lives. When people want to travel to a scenic spot or city or need to record their travel itinerary, making a travel guide is an indispensable part.
[0003] Existing travel guides typically create routes by identifying locations through text searches or saved favorites. During the creation process, locations on the guide route may need to be adjusted, but existing adjustment methods are inflexible, making route creation difficult. [Summary of the invention]
[0004] In order to solve the problem that the location adjustment method in the process of making existing travel guide routes is not flexible enough, which makes route making difficult, the present invention provides a travel route planning method, system and storage medium.
[0005] The solution to the technical problem of the present invention is to provide a travel route planning method, comprising the following steps:
[0006] Obtain at least two pictures arranged in sequence and identify the location information of each picture;
[0007] Retrieving a preset map, marking the geographical point corresponding to the location information of each image on the preset map to form a marker;
[0008] Adjust the position of the marker on the preset map, and sequentially connect the adjusted markers on the preset map based on the order of the pictures to form a travel route;
[0009] Navigate and / or share the itinerary.
[0010] Preferably, identifying the location information of each image specifically includes the following steps:
[0011] Get the image upload signal;
[0012] Generate an information editing box corresponding to the picture according to the picture upload signal; display the location information associated with the picture in the information editing box;
[0013] If the position information in the information editing box is modified, the position information corresponding to the image is determined based on the modified content.
[0014] Preferably, after calling a preset map and marking the geographical point corresponding to the location information of each image in the preset map to form a mark, the method further includes:
[0015] If the acquired picture does not have location information, the preset location information is associated with the picture without location information; the preset location information is the user's current actual location information or the location information entered by the user in the information editing box;
[0016] If the preset location information is different from the location information represented by the picture without associated location information, the position of the mark corresponding to the picture without associated location information is directly adjusted on the preset map.
[0017] Preferably, the way to adjust the mark is to select the mark to be adjusted and directly drag the selected mark to the target marking point on the preset map.
[0018] Preferably, if the preset location information is different from the location information represented by the picture without associated location information, the position of the mark corresponding to the picture without associated location information is directly adjusted on the preset map, specifically including the following steps:
[0019] Associate the mark corresponding to the picture with the location information displayed in the corresponding information edit box;
[0020] If the user's current location information is different from the location information represented by the image without location information, the location information in the information edit box is modified;
[0021] Based on the modified location information, the marker of the geographic point corresponding to the user's current actual location information is directly moved in the preset map to the geographic point corresponding to the modified location information in the information editing box.
[0022] Preferably, after adjusting the position of the marker on the preset map and sequentially connecting the adjusted markers on the preset map based on the order of picture arrangement to form a travel route, the method further includes:
[0023] Get the actual geographic locations corresponding to all markers in the formed itinerary;
[0024] If there is a deviation between the itinerary formed on the preset map and the route of the actual geographical location, an editable connecting line is drawn between two adjacent marks with the deviation on the preset map;
[0025] Regenerate the itinerary based on the editable connecting lines you draw.
[0026] Preferably, navigating according to the travel route specifically includes:
[0027] Separate all the marks on the itinerary in sequence;
[0028] Obtaining the user's current actual location and the location information corresponding to the first-ranked marker in the itinerary to generate a navigation route between the user's current actual location and the location information corresponding to the first-ranked marker;
[0029] Determine whether the mark needs to be switched;
[0030] If so, in response to the marker switching operation, the location information corresponding to the switched marker is obtained to regenerate a navigation route between the user's current actual location and the location information corresponding to the switched marker.
[0031] Preferably, after navigating according to the travel route, the method further includes:
[0032] Record the walking track corresponding to the itinerary based on the preset map;
[0033] Obtaining a picture corresponding to the walking track, associating the position information of the picture with the walking track, and forming a mark corresponding to the picture on the walking track;
[0034] The walking trajectory is combined with the travel route to generate a new travel route.
[0035] To solve the above technical problems, the present invention further provides a travel route planning system, which is used to implement the travel route planning method as described in any one of the above items, comprising:
[0036] An image acquisition module is used to acquire at least two pictures arranged in sequence and identify the position information of each picture;
[0037] A marking module is used to call a preset map and mark the geographical point corresponding to the location information of each image in the preset map to form a mark;
[0038] A marker adjustment module is used to adjust the position of the marker on the preset map and sequentially connect the adjusted markers on the preset map based on the order of the pictures to form a travel route;
[0039] The navigation sharing module is used for navigating and / or sharing according to the travel route.
[0040] In order to solve the above technical problems, the present invention also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, a travel route planning method as described in any one of the above items is implemented.
[0041] Compared with the prior art, the travel route planning method, system, and storage medium provided by the present invention have the following advantages:
[0042] 1. A method for planning a route according to an embodiment of the present invention includes the following steps: obtaining at least two pictures arranged in sequence and identifying the location information of each picture; accessing a preset map and marking the geographical point corresponding to the location information of each picture on the preset map to form a marker; adjusting the position of the marker on the preset map and sequentially connecting the adjusted markers on the preset map based on the order in which the pictures are arranged to form a route; and navigating and / or sharing according to the route. By identifying the location information of the added pictures, the location information corresponding to the picture can be obtained, thereby forming a corresponding marker on the preset map; and when a marker on the preset map is selected, the marker can be adjusted directly on the preset map. Compared with existing text search methods, route creation is simpler, and the location adjustment method during the creation process is more flexible and simpler, which is more conducive to user creation.
[0043] 2. In an embodiment of the present invention, the location information of each image is identified, specifically comprising the following steps: obtaining an image upload signal; generating an information edit box corresponding to the image based on the image upload signal; displaying the image's associated location information within the information edit box; and if the location information within the information edit box is modified, determining the image's corresponding location information based on the modified content. By generating an information edit box corresponding to the image, the added image can be annotated with more information, making it easier for other users to understand the location information more clearly after sharing. Furthermore, by modifying the location information within the information edit box, inaccurate location identification of the image can be avoided, thereby improving the accuracy of the image's location information.
[0044] 3. In an embodiment of the present invention, after retrieving a preset map and marking the geographic point corresponding to the location information of each image on the preset map to form a marker, the method further includes: if the acquired image does not have location information, associating the preset location information with the image without location information; if the preset location information is different from the location information represented by the image without location information, directly adjusting the position of the marker corresponding to the image without associated location information on the preset map. By associating the preset location information with the image without location information, it is ensured that even if an image without location information is uploaded, the corresponding marker for the image will still be formed on the preset map, thereby preventing the image without location information from affecting the itinerary generation process.
[0045] 4. In this embodiment of the present invention, marker adjustment is achieved by selecting the marker to be adjusted and dragging it directly to the target location on the preset map. Once a marker is selected on the preset map, it becomes movable, allowing the actual location of the corresponding geographic point in the image to be adjusted by simply moving the marker. This simplifies route creation compared to existing methods such as text search, and allows for more flexible location adjustments, making route creation more user-friendly.
[0046] 5. In an embodiment of the present invention, if the preset location information is different from the location information represented by the picture without any location information, the position of the mark corresponding to the picture without any associated location information is directly adjusted on the preset map, specifically including the following steps: associating the mark corresponding to the picture with the location information displayed in the corresponding information editing box; if the user's current location information is different from the location information represented by the picture without any location information, modifying the location information in the information editing box; based on the modified location information, directly moving the mark of the geographic point corresponding to the user's current actual location information in the preset map to the geographic point corresponding to the modified location information in the information editing box. In this way, by modifying the location information in the information editing box corresponding to the picture, the position of the mark corresponding to the picture in the preset map can be changed, making it easier for users to adjust the position of the mark on the preset map. In addition, the adjustment method of the mark in the preset map has been increased, giving users more options.
[0047] 6. In an embodiment of the present invention, after adjusting the positions of the markers on the preset map and sequentially connecting the adjusted markers on the preset map based on the order of the pictures to form a travel route, the method further includes: obtaining the actual geographic locations corresponding to all markers in the formed travel route; if there is a deviation between the travel route formed on the preset map and the actual geographic location, drawing an editable connecting line between two adjacent markers with the deviation on the preset map; and regenerating the travel route based on the drawn editable connecting line. This achieves the goal of making the generated travel route more consistent with the actual route situation by drawing editable connecting lines when planning a route that is inaccurate in GPS positioning, road construction, untimely map updates, and inaccurate collection of geographical information for remote or distant locations when calling the preset map, thereby avoiding inaccuracies and detours in the generated travel route.
[0048] 7. In an embodiment of the present invention, navigation based on the itinerary route specifically includes: sequentially separating all markers in the itinerary route; obtaining the user's current actual location and the location information corresponding to the marker ranked first in the itinerary route to generate a navigation route between the user's current actual location and the location information corresponding to the marker ranked first; determining whether a marker switch is required; and if so, responding to the marker switch operation, obtaining the location information corresponding to the switched marker to regenerate a navigation route between the user's current actual location and the location information corresponding to the switched marker. This enables navigation switching between the user's current real-time location and the locations corresponding to each marker in the itinerary route, making it easier for users to temporarily change navigation locations, making navigation more consistent with the user's actual travel route, and improving user experience.
[0049] 8. A computer-readable storage medium having the same beneficial effects as the above-mentioned travel route planning method, which will not be described in detail here.
Brief Description of the Drawings
[0050] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0051] Figure 1 4 is a flowchart of the steps of the travel route planning method provided by the first embodiment of the present invention.
[0052] Figure 2 4 is a flowchart of the specific steps of step S22 of the travel route planning method provided by the first embodiment of the present invention.
[0053] Figure 3 This is a flowchart of the specific steps of navigation in the travel route planning method provided by the first embodiment of the present invention.
[0054] Figure 4 2 is a block diagram of a travel route planning system provided by a second embodiment of the present invention. [Specific implementation method]
[0055] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention will be further described in detail below with reference to the accompanying drawings and implementation examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0056] See also Figure 1 A first embodiment of the present invention provides a method for planning a travel route, comprising the following steps:
[0057] S10: Obtain at least two pictures arranged in sequence, and identify the position information of each picture;
[0058] Specifically, the user terminal can respond to the user's picture upload operation and obtain at least two pictures arranged in sequence. The order of the two pictures can be determined directly according to the upload time of the pictures, or it can be determined after adjustment by the user. This embodiment does not limit this and is selected according to the specific situation. The user terminal can be a small program, software or application or application platform loaded on a mobile electronic device such as a mobile phone, tablet, computer, etc. that can perform functions such as itinerary generation, sharing, navigation, and editing. The user terminal can respond to different trigger operations of the user, thereby realizing functions such as itinerary generation, temporary adjustment, sharing, and navigation. The uploaded pictures can carry the corresponding location information of the pictures. After obtaining the pictures uploaded by the user, the user terminal can identify the pictures and determine the location information of the uploaded pictures.
[0059] S20: Retrieving a preset map, marking the geographical point corresponding to the location information of each image in the preset map to form a marker;
[0060] Specifically, the preset map can be a pre-set and retrievable online map or a pre-saved and downloaded offline map. Since some tourist attractions are geographically remote and have weak or no signals, the use of offline maps ensures that users can complete the creation, generation, temporary adjustment and navigation of itineraries even in the case of weak or no signals. After the user terminal identifies the location information of the added picture, the geographical point directly corresponding to the location information can be marked in the preset map, thereby forming a corresponding mark, which directly corresponds to the added picture and the corresponding location.
[0061] It should be noted that if the added image does not have location information, the user terminal can determine the location information of the uploaded image through an image recognition model, an image recognition algorithm, or an artificial intelligence algorithm. In other words, the location information of the uploaded image can be determined by searching and matching the uploaded image.
[0062] S30: adjusting the position of the marker on the preset map, and sequentially connecting the adjusted markers on the preset map based on the order of the pictures to form a travel route;
[0063] Specifically, the markers generated on the preset map are not fixed but movable. Therefore, if the marker's position needs to be adjusted, it can be adjusted directly on the preset map. The order of the images can be the order in which they were uploaded or the order of the images adjusted by the user. This implementation makes the choice based on the specific situation.
[0064] S 40: Navigate and / or share according to the travel route.
[0065] Specifically, after generating a route, you can choose whether to save it and use it for navigation and / or share it on the user's terminal for others to view, navigate, and explore. That is, after sharing, the current user and others can not only view the shared route, but also directly navigate and explore it based on the shared route.
[0066] As can be understood, by identifying the location information of the added image, the corresponding location information of the image can be determined, thereby forming a corresponding marker on the preset map. Furthermore, once a marker on the preset map is selected, it can be adjusted directly on the preset map. Compared to existing methods for creating travel routes, the itinerary creation process of this embodiment is simpler. Furthermore, during the creation process, the location adjustment method for locations on the preset map is more flexible and simple, making it more convenient for users to create itineraries.
[0067] It should be noted that the itinerary is formed by sequentially linking the adjusted markers on the preset map based on the order of the images. This itinerary is associated with an editable state, so even after the itinerary is generated, it can still be temporarily adjusted. Such temporary adjustments include but are not limited to deleting markers on the itinerary, adjusting the order, and adding new markers.
[0068] Furthermore, the location information of each image is identified, specifically including the following steps:
[0069] S1021: Obtaining a picture upload signal;
[0070] S1022: Generate an information editing box corresponding to the picture according to the picture upload signal; display location information associated with the picture in the information editing box;
[0071] Specifically, after uploading an image on the user side, the user side can generate an image upload signal to identify the uploaded image and determine its image information, which may include the image's corresponding location information and the annotation information of the location information. The image information is then displayed in the corresponding information editing box. That is, one information editing box corresponds to one image, which is used to display the image information including the image's corresponding location information and the annotation information of the location information. The information editing box is an editable information editing box. The location information and the annotation information of the location in the information editing box are both editable and can be modified by the user.
[0072] S1023: If the position information in the information editing box is modified, the position information corresponding to the picture is determined based on the modified content.
[0073] Specifically, if the location recognition of the image is incorrect or deviated, or the uploaded image is only to represent a location rather than the actual location you want to go, you can modify the location information in the information editing box. The modified location information is the correct location information of the mark corresponding to the image in the preset map.
[0074] Understandably, the generated information edit box allows users to add more information to the marked point, which helps users plan routes and helps others gain a more detailed understanding of the location after sharing. Furthermore, by modifying the location information within the information edit box, inaccurate location recognition of the image or uploaded images that only represent a location other than the desired location can be avoided, thereby improving the accuracy of the location information marked on the preset map corresponding to the image.
[0075] Furthermore, after step S20, the method further includes:
[0076] S21: If the acquired picture does not have location information, then the preset location information is associated with the picture without location information; the preset location information is the user's current actual location information or the location information input by the user in the information editing box.
[0077] Specifically, when a user is close to a desired destination, the preset location information may be the location information pre-set by the operator, which may be the user's current actual location information. Using the user's actual location information, the user can edit, record, and modify their route in real time during their travel or hiking trip, making the created itinerary more consistent with their actual travel or hiking situation.
[0078] Optionally, when the user is far away from the desired location, for example, they are not in the same city, the preset location information can be the location information edited by the user in the information editing box when uploading the picture. That is, the location information of the uploaded picture is directly determined by the user.
[0079] More specifically, if the uploaded picture does not have location information; or the uploaded picture only represents a location, that is, even if the picture has corresponding location information, the location information of the picture does not have actual geographical significance, then the preset location information can be associated with the picture that does not have location information, so as to generate a corresponding mark on the preset map based on the preset location information, and use the mark to associate the uploaded picture that does not have location information or whose location information does not have actual geographical significance.
[0080] S22: If the preset location information is different from the location information represented by the picture without associated location information, directly adjusting the position of the mark corresponding to the picture without associated location information on the preset map.
[0081] Specifically, if the location information of the uploaded image is not the preset location information, that is, not the user's current actual location information, or the location information of the uploaded image does not have actual geographical significance, then the position of the marker generated based on the preset location information is directly adjusted on the preset map to the target location, that is, the desired location.
[0082] It should be noted that pictures that do not have actual geographical significance can be confirmed by the user when uploading.
[0083] It can be understood that by setting the preset location information to be associated with pictures that do not have location information, it can be ensured that even if a picture without location information is uploaded, the picture can still be marked accordingly on the preset map, thereby avoiding the impact of pictures without location information on the itinerary route generation process.
[0084] It's important to note that if you upload multiple images without location information or images without actual geographical significance, you can associate the first uploaded image without location information or the first uploaded image without actual geographical significance with the preset location information. The remaining images will then be marked on the preset map based on their order and at preset distances. You can then adjust the markers directly on the map to determine the location represented by the uploaded image.
[0085] Furthermore, a method for adjusting a marker is to select a marker to be adjusted and directly drag the selected marker to a target marking point on a preset map.
[0086] Specifically, the markers generated on the preset map are movable. Therefore, if a marker on the preset map needs to be adjusted, the user can directly select the marker and drag it directly to the target mark point on the corresponding preset map to adjust the marker's position. This makes the marker adjustment method more flexible and simple, and more convenient for users to make. The selection method can be to long press the marker for a preset time or double-click, etc. This embodiment does not limit this, and the selection method is used according to the specific situation.
[0087] It should be noted that the method in this embodiment is applicable to routes less than 30 km in length, that is, it is more suitable for shorter routes with distances between locations less than 30 km, and is more suitable for areas with densely populated attractions or hiking trips. More preferably, the method in this embodiment of the present invention is more suitable for routes with distances between locations less than 10 km, thereby making the markers displayed on the preset map clearer, the routes between markers more defined, and marker adjustment operations simpler. In other words, by limiting the range of the route, it is easier for users to drag markers on the preset map, avoiding the need for long-distance dragging.
[0088] See also Figure 2 Furthermore, step S22 specifically includes the following steps:
[0089] S221: Associating the mark corresponding to the picture with the position information displayed in the corresponding information edit box;
[0090] Specifically, in this embodiment, images are associated with markers in a preset map, so each image corresponds to a marker in the preset map. The marker is associated with the location information of the image's information editing box. That is, the geographic point of the marker in the preset map corresponds to the location information of the information editing box. If the marker's position on the preset map changes, the corresponding location information in the information editing box should also change accordingly. Simultaneously, if the location information of the information editing box changes, the position of the marker on the preset map will also change.
[0091] S222: If the user's current location information is different from the location information represented by the image without location information, modify the location information in the information editing box;
[0092] S223: Based on the modified location information, the marker of the geographical point corresponding to the user's current actual location information is directly moved in the preset map to the geographical point corresponding to the modified location information in the information editing box.
[0093] It is understandable that since the mark corresponding to the picture is associated with the location information displayed in the corresponding information editing box, if the location information represented by the picture uploaded by the user is different from the user's current location information, the position of the mark needs to be adjusted. Therefore, the location information in the information editing box can be modified. Based on the modified location information, the mark at the geographical point corresponding to the user's current actual location information in the preset map is directly moved to the geographical point corresponding to the modified location information in the information editing box, thereby changing the position of the mark in the preset map. And this time the mark movement does not require human participation, but is directly moved by the user end according to the control mark of the modified location information. It is realized that by modifying the location information in the information editing box corresponding to the picture, the position of the mark corresponding to the picture in the preset map can be changed, which makes it easier for users to adjust the position of the mark on the preset map. In addition, the adjustment method of the mark in the preset map has been increased, giving users more choices.
[0094] It should be noted that the way to adjust the marks of pictures with correct location information in the preset map can be the same as the marks corresponding to pictures without location information. The position of the mark can be adjusted by dragging on the preset map; or the position of the mark in the preset map can be adjusted by editing and modifying the location information in the information editing box.
[0095] Furthermore, after step S30, the method further includes:
[0096] S 31: Obtaining the actual geographical locations corresponding to all the marks in the formed itinerary;
[0097] S 32: If there is a deviation between the travel route formed on the preset map and the route of the actual geographical location, an editable connecting line is drawn between two adjacent marks with the deviation on the preset map;
[0098] S 33: Regenerate the travel route based on the drawn editable connecting lines.
[0099] Specifically, when the preset map may be called due to inaccurate GPS positioning, road construction, untimely map updates, inaccurate collection of detour and geographical information, resulting in inaccurate route planning between markers, or when the planned route is actually an impassable route, editable connecting lines can be called at this time. By drawing editable connecting lines between two adjacent markers with deviations, another line can be connected between the two markers, making the generated itinerary more in line with the actual route situation, and avoiding the situation where the generated itinerary is inaccurate or takes a detour. In addition, by calling editable connecting lines, DIY itineraries can be realized, that is, the routes between markers can be freely customized to make the drawn routes more meet the needs of users.
[0100] It should be noted that the actual geographical locations corresponding to all marks can be determined through routes shared by others; they can also be determined based on the user's actual walking trajectory; they can also be determined based on the user's independent planning of the route on the map.
[0101] See also Figure 3 , further, navigating according to the travel route, specifically including:
[0102] S401: Separate all the marks in the itinerary in sequence;
[0103] S 402: Obtaining the user's current actual location and the location information corresponding to the first-ranked marker in the itinerary, to generate a navigation route between the user's current actual location and the location information corresponding to the first-ranked marker;
[0104] Specifically, when the travel route is completed, the user terminal can respond to the navigation operation to enter the navigation interface for the first navigation. The first display is the navigation route between the user's current actual location and the location information corresponding to the mark ranked first. Subsequent navigation routes are generated according to the arrangement order of each mark, specifically the route between two adjacent marks.
[0105] S 403: Determine whether a flag needs to be switched;
[0106] S 404: If yes, then respond to the marker switching operation and obtain the location information corresponding to the switched marker to regenerate a navigation route between the user's current actual location and the location information corresponding to the switched marker.
[0107] Specifically, when the user terminal enters the navigation interface, a mark switching area can also be generated. When the user temporarily changes the place he wants to go, that is, when he does not want to go to the place ranked first at the moment, the user can trigger the mark switching area. At this time, the user terminal can respond to the mark switching operation and obtain the location information corresponding to the switched mark to regenerate the navigation route between the user's current actual location and the location information corresponding to the switched mark. The mark switching operation includes a triggering operation of switching from the current navigation mark to the mark ranked next and a triggering operation of switching from the current navigation mark to the mark ranked previous. In this way, the navigation switching operation of each location on the itinerary generated by the user is realized by triggering the mark switching area. In this way, the navigation switching between the user's current real-time location and the location corresponding to each mark in the itinerary is realized, which is convenient for the user to temporarily change the navigation location, so that the navigation is more in line with the user's actual travel route or hiking route, and improves the user's experience.
[0108] If the flag does not need to be switched, that is, after step S403, the method further includes:
[0109] S 405: If not, navigate directly according to the generated navigation route. If the location corresponding to the marker of the current navigation route is exactly the place the user wants to go, there is no need to switch the marker and the user can navigate directly according to the generated navigation route.
[0110] It should be noted that after the user shares the itinerary route he has created, other users can also directly make temporary adjustments and navigation to the itinerary route shared by the user; similarly, the current user can also directly select the itinerary route shared by others to directly make temporary adjustments and navigation. This navigation operation is the same as the above-mentioned navigation method, and the navigation routes are generated in sequence according to the arrangement order of each mark in the shared itinerary route. In addition, during the navigation process, the navigation operation of switching marks is also the same as the above-mentioned method, which will not be described in detail in this embodiment. Through the direct navigation operation on the itinerary route shared by others, users can directly navigate according to the itinerary route shared by others without making an itinerary route, which simplifies the user's travel and makes it more convenient for users to use.
[0111] Furthermore, after navigating according to the travel route, the method further includes:
[0112] S 41: Recording a walking track corresponding to the travel route based on a preset map;
[0113] S42: Acquire a picture corresponding to the walking track, associate the position information of the picture with the walking track, and form a mark corresponding to the picture on the walking track;
[0114] S 43: Combining the walking trajectory with the travel route to generate a new travel route.
[0115] As can be understood, during an actual tour or hike, the user terminal can respond to the user's track recording operation and record the user's walking trajectory. Specifically, the corresponding walking trajectory is formed by obtaining the user's actual walking position in real time. Furthermore, an image corresponding to the walking trajectory can be added and directly associated with the added image. That is, the mark corresponding to the image's location information is directly placed on the walking trajectory, thereby forming a corresponding itinerary. This makes the resulting itinerary more consistent with actual tour or hiking conditions, making the created itinerary more accurate and applicable.
[0116] Optionally, the walking track with the added image can be integrated with the initially created itinerary, that is, the generated walking track and the marks on the walking track can be used to correct the initially created itinerary. Specifically, this can be done by judging whether there is a deviation between the walking track and the initially created itinerary, and whether there is a deviation between the marks on the walking track and the marks on the itinerary. If there is a deviation, the walking track and the marks on the walking track can be used to correct the initially created itinerary and the marks on the itinerary. In this way, the final itinerary will be more consistent with the actual travel or hiking situation, making the created itinerary more accurate and more applicable.
[0117] It should be noted that, in this embodiment, the adjustment of the itinerary route not only includes adjustments and editing during the route creation process, but also includes temporary adjustments after the itinerary route is created. The temporary adjustment includes the situation where the current user has shared it on the user side, and other users can directly view and adjust and edit the itinerary route; and when others share it on the user side, the current user can also directly view and adjust and edit the itinerary route shared by others. That is, the current route can be a complete travel route. Users can not only make temporary adjustments to the routes they have created and shared, but also make temporary adjustments to the itineraries shared by other users on the user side.
[0118] That is, it is aimed at itineraries built or saved by users, itineraries shared by other users, or itineraries recommended by the user terminal. In other words, before making a temporary adjustment, the itinerary is already a complete travel route. In other words, the temporary adjustment in the embodiment of the present invention can be targeted at itineraries that have already formed a complete travel route, and the itinerary can be self-made or directly shared by others on the platform. The specific method of temporary adjustment is:
[0119] S50: The user terminal responds to the first trigger operation, retrieves a preset map, and displays an editable route map generated according to the selected travel route on the preset map; the editable route map includes at least two markers located at different geographical locations, each marker corresponding to a geographical point;
[0120] Specifically, a route includes at least two geographically distinct points, each corresponding to a scenic spot or itinerary point, i.e., a location the user desires to visit or is interested in. Upon determining a route that requires temporary adjustment, an editable route map is generated based on the user's first trigger action. This allows for direct adjustment of the markers located at the different geographical locations. This allows for temporary adjustments to the selected route by directly adjusting the markers on the editable route, eliminating the need to copy, save, and regenerate shared routes. This allows for temporary adjustments to shared routes. Furthermore, the editable route map is displayed on a preset map in place of the selected route. This means that the generated editable route map is not directly the selected original route, so even if the markers on the editable route map are directly adjusted, the original selected route is not modified. This allows for temporary adjustments to the route while avoiding changes to the selected original route.
[0121] S 60 : In response to a second triggering operation on a marker in the editable route map, displaying a picture associated with the selected marker;
[0122] Specifically, the second trigger operation can be a trigger operation on a marker on an editable route map. By performing the second trigger operation on a marker, the user terminal can display the image and image information associated with the marker. This image information can include the location information corresponding to the marker and the location's annotation information. Both the location information and the location's annotation information in the image information are editable and can be modified by the user.
[0123] S 70 : Responding to a third triggering operation on the picture to delete a mark in the editable route map and / or modify the order of the marks in the editable route map;
[0124] Specifically, since the marks on the editable route map are associated with the corresponding pictures, the deletion and / or adjustment of the order of the marks on the editable route map can be completed through the third trigger operation on the picture.
[0125] S 80: Generate a new editable route map based on all the marks in the modified editable route map.
[0126] Specifically, after the mark adjustment is completed, the user terminal can generate a new editable route map based on all the modified existing marks and the arrangement order of all the marks. This completes the temporary adjustment of the selected itinerary route.
[0127] It can be understood that by directly generating an editable route map based on the selected itinerary route, when the preset map is called up for display on the user side, what is displayed on the preset map is the editable itinerary route, rather than the unchangeable itinerary route selected at the beginning. Therefore, through the second trigger operation and the third trigger operation in sequence, the selected marks can be directly adjusted or deleted in sequence, thereby realizing temporary adjustment of the selected itinerary route, that is, realizing temporary adjustment of the travel guide route shared on the platform, improving the flexibility of the travel guide route adjustment, and enabling the prepared travel guide route to be effectively used to meet the user's usage needs.
[0128] It should be noted that if the user does not need to make temporary adjustments to the selected itinerary route after selecting itinerary route shared by others, the user can directly respond to the user's navigation trigger operation in the display interface of the editable route map, and directly generate a navigation route according to the displayed editable route map to perform navigation operations directly. The method of generating the navigation route, the navigation operation, and the method of switching the navigation location during the navigation operation are the same as the method of generating the navigation route after the user directly makes the itinerary route, the navigation operation, and the method of switching the navigation location during the navigation operation. This implementation will not go into details about this.
[0129] Furthermore, step S50 specifically includes:
[0130] S 501: The user terminal responds to the first trigger operation, associates the selected travel route with the editable state, generates an editable route map corresponding to the selected travel route, and displays the editable route map on a preset map.
[0131] Specifically, in order to enable the user to directly adjust the selected itinerary route after selecting the itinerary route they want to view, the user terminal can respond to the first trigger operation, associate the selected itinerary route with an editable state, and generate a corresponding editable route map, which is then displayed directly in place of the selected itinerary route. Thus, when the user first enters the selected itinerary route, the preset map interface directly displays the editable route map corresponding to the selected itinerary route, rather than the original, unchangeable itinerary route shared by others. This allows for temporary adjustments to the itinerary route while avoiding changes to the original selected itinerary route. The original selected itinerary route, whether shared by others or created by oneself, can still be saved without being destroyed.
[0132] Furthermore, displaying the editable route map on a preset map specifically includes:
[0133] S 5012: Obtain the user's actual location information, and display the user's actual location and editable route map on a preset map at the same time.
[0134] Specifically, when the user terminal responds to the first trigger operation, it can also obtain the user's actual location information, thereby combining the user's current real-time location with the editable route. Figure 1 It is displayed in front of the user, allowing the user to more intuitively understand the distance between his or her location and each place on the selected itinerary, which is beneficial for the user to choose the place he or she wants to go according to his or her location, so as to better adjust the itinerary in the editable route map.
[0135] It should be noted that the method in the embodiment of the present invention is applicable to itineraries where the distance between locations is less than 10 km, and is applicable to itineraries where the distance between the user's current location and the corresponding location marked in the selected itinerary map is less than 30 km. In other words, it is more suitable for areas with a high concentration of scenic spots or for hiking trips. More preferably, the method in the embodiment of the present invention is more suitable for itineraries where the distance between locations is less than 10 km, and is applicable to itineraries where the distance between the user's current location and the corresponding location marked in the selected itinerary map is less than 10 km. This makes the editable route map displayed on the preset map clearer, the route more clear, and the distance between the user and the editable route map more clear, which facilitates adjustment of the editable route map.
[0136] Furthermore, after step S50, the method further includes:
[0137] S 52: Generate a picture display area, and display all pictures corresponding to all marks in the picture display area in sequence according to the arrangement order of the marks in the editable route map.
[0138] It can be understood that after the user terminal responds to the first trigger operation, it can also generate a picture display area. After responding to the first trigger operation, the picture display area is displayed simultaneously with the editable route map. The picture display area is specifically used to display the pictures corresponding to the various marks on the editable route map. The pictures in the picture display area correspond to and are associated with the marks on the editable route map one by one. Therefore, the arrangement order of all pictures corresponding to all marks in the picture display area is consistent with the arrangement order of the marks in the editable route map. Therefore, by performing different trigger operations on the pictures in the picture display area, the marks in the editable route map can be directly deleted and the order can be adjusted, thereby making the adjustment method simpler and more intuitive.
[0139] Furthermore, the third trigger operation includes a deletion operation and / or a sequence adjustment operation. The third trigger operation is specifically a trigger operation for the image selected in the image display area. Specifically, it includes a deletion operation and / or a sequence adjustment operation for the image selected in the image display area. Specifically, it can be only a single deletion operation or sequence adjustment operation, or it can be two trigger operations of a deletion operation and a sequence adjustment operation performed in sequence according to a preset order. The preset order can be determined by the user himself, and this embodiment does not limit this. The setting of multiple third trigger operation modes can make the user's adjustment more flexible and free, and more convenient.
[0140] And because the pictures in the picture display area are associated with the marks on the editable route map, after the pictures are deleted and / or the order is adjusted, the marks corresponding to the pictures in the editable route map also perform the same deletion and / or order adjustment operations, thereby realizing the adjustment of the marks on the editable route map by triggering the pictures.
[0141] Furthermore, the deletion operation is to move the picture of the selected mark out of the picture display area, that is, to move the picture out of the picture display area and not display it in the picture display area. At this time, the mark corresponding to the picture will also disappear in the editable route map, thereby achieving the deletion of the mark. The sequence adjustment operation is to move the picture of the selected mark to the position of the remaining unselected marks in the picture display area, that is, to move the selected picture before or after the remaining unselected pictures, thereby forming a new picture arrangement order. At this time, all the marks in the editable route map will also be connected in series in sequence according to the new picture arrangement order to form a new editable route map. Thus, the deletion and sequence adjustment of the marks in the editable route map are achieved through the deletion operation and / or sequence adjustment operation of the pictures, making the temporary adjustment of the selected itinerary route simpler and more convenient.
[0142] Furthermore, after step S60, the method further includes:
[0143] S71: responding to a fourth trigger operation to add a picture and identifying location information of the added picture;
[0144] Specifically, the fourth trigger operation is a trigger operation for adding a new location. This trigger area can be a trigger area different from the image display area, or it can be set in the image display area and independent of the image. The added image can carry the corresponding location information of the image, and the user terminal can recognize the location information of the image.
[0145] It is understood that temporary adjustments to the selected itinerary also include adding new locations. Therefore, if a new location needs to be added, the user terminal can respond to the fourth trigger operation triggered by the user and add a corresponding mark to the editable route map by adding an image, thereby forming a new editable route map.
[0146] S72: Marking the corresponding geographical point in the preset map according to the location information of the added image and forming a corresponding new mark;
[0147] Specifically, after the user terminal identifies the location information of the added picture, the geographical point directly corresponding to the location information can be marked in the preset map and a corresponding new mark can be formed. The new mark directly corresponds to the added picture and the corresponding location.
[0148] S 73: Generate a new editable route map according to the new mark and all existing marks in the editable route map.
[0149] Specifically, when a new marker is added to the preset map, the image is simultaneously displayed in the image display area. The newly added marker is also deleted and reordered on the editable route map through the same third trigger operation. After the newly added marker is adjusted, a new editable route map is generated based on the adjusted new marker and all existing markers on the editable route map for display.
[0150] The fourth triggering operation allows users to add new markers to the editable route map. This means that temporary adjustments to the itinerary can include reordering, deleting, and adding new locations. This allows users to add, delete, and reorder attractions in pre-created or shared itineraries, expanding the scope and methods of route adjustments, making them more flexible and convenient for users to make temporary adjustments to their itineraries.
[0151] It should be noted that during temporary adjustments, if an image added via the fourth trigger operation lacks location information or has no actual geographical significance, the added image's marker on the preset map is created in the same manner as when adding an image during route creation: the preset location information replaces the location information represented by the added image. In other words, the preset location information used in temporary adjustments has the same meaning and function as the preset location information described above. Furthermore, if the preset location information differs from the location information represented by the uploaded image, the marker generated based on the preset location information is adjusted in the same manner as the map marker described above. This is not discussed further here. The presence of the preset location information ensures that even if an image is uploaded without location information, the corresponding marker will still be created on the preset map, thereby preventing the impact of images without location information on route generation. Furthermore, by modifying the location information in the image information corresponding to the added image, the corresponding marker's position on the editable route map can be changed, making it easier for users to adjust the marker's position on the editable route map. Furthermore, the addition of new ways to adjust markers on the editable route map provides users with more options and greater convenience.
[0152] In this embodiment, by creating a movable mark in the preset map that is associated with the information editing box in a one-to-one correspondence during the itinerary creation process, the adjustment of a location during the itinerary creation is made more flexible and easier; and by associating the editable status of a complete itinerary that has been created or shared by others, it is achieved that when the user first enters the selected itinerary, the preset map interface directly displays the editable route map corresponding to the selected itinerary, rather than the original, unchangeable itinerary shared by others. This allows temporary adjustments to the itinerary while also avoiding changes to the selected original itinerary. The original selected itinerary, whether shared by others or created by oneself, can still be saved and will not be destroyed. Thus, adjustments to locations during itinerary creation and temporary adjustments to itineraries shared with others after creation are achieved, thereby increasing the flexibility of adjusting the overall itinerary planning and making it more convenient for users to use.
[0153] See also Figure 4 The second embodiment of the present invention provides a travel route planning system 1, which is used to implement the travel route planning method described in any one of the first embodiments, including:
[0154] A position acquisition module 10 is used to acquire at least two pictures arranged in sequence and identify the position information of each picture;
[0155] The mark forming module 20 is used to call a preset map and mark the geographical point corresponding to the location information of each image in the preset map to form a mark;
[0156] A route generation module 30 is configured to adjust the positions of the markers on the preset map and sequentially connect the adjusted markers on the preset map based on the order of the pictures to form a travel route;
[0157] The navigation sharing module 40 is used for navigating and / or sharing according to the travel route.
[0158] Specifically, the location acquisition module 10 includes an image acquisition submodule 101 and a location identification submodule 102. The image acquisition module 101 is used to acquire at least two sequentially arranged images; the location identification module 102 is used to identify the location information of each image. The navigation sharing module 40 includes a navigation module 401 and a sharing module 402. The navigation module 401 is used to navigate according to the itinerary; the sharing module 402 is used to share the created itinerary.
[0159] It can be understood that the travel route planning system 1 is used to implement the travel route planning method described in any one of the first embodiments, and has the same beneficial effects as the above-mentioned travel route generation method, which will not be described in detail here.
[0160] Furthermore, the location identification submodule 102 specifically includes:
[0161] Upload unit, used to obtain image upload signal;
[0162] A picture information generating unit, configured to generate an information editing box corresponding to the picture according to the picture uploading signal; the information editing box displays position information associated with the picture;
[0163] The information modification determination unit is used to determine the position information corresponding to the picture based on the modified content if the position information in the information editing box is modified.
[0164] Furthermore, the travel route planning system 1 further includes: a preset location association module 50, which includes:
[0165] A location association unit, configured to associate preset location information with the image without location information if the acquired image does not have location information; the preset location information is the user's current actual location information or the location information entered by the user in the information editing box;
[0166] The position adjustment unit is used to directly adjust the position of the mark corresponding to the picture without associated position information on the preset map if the preset position information is different from the position information represented by the picture without associated position information.
[0167] Furthermore, a method for adjusting a marker is to select a marker to be adjusted and directly drag the selected marker to a target marking point on a preset map.
[0168] Furthermore, the position adjustment unit specifically includes:
[0169] The location information association subunit is used to associate the mark corresponding to the picture with the location information displayed in the corresponding information edit box;
[0170] An information modification subunit, configured to modify the location information in the information editing box if the user's current location information is different from the location information represented by the image without location information;
[0171] The marker moving subunit is used to move the marker of the geographical point corresponding to the user's current actual location information in the preset map directly to the geographical point corresponding to the modified location information in the information editing box based on the modified location information.
[0172] Furthermore, the travel route planning system 1 further includes: a route drawing module 60, which includes:
[0173] A geographic location acquisition unit, configured to acquire the actual geographic locations corresponding to all markers in the formed itinerary;
[0174] a deviation determining unit, configured to draw an editable connecting line between two adjacent marks having the deviation on the preset map if there is a deviation between the travel route formed on the preset map and the route of the actual geographical location;
[0175] The route update unit is used to regenerate the travel route based on the drawn editable connecting lines.
[0176] Furthermore, the navigation module 401 specifically includes:
[0177] A mark separation unit, used for separating all marks in the travel route in sequence;
[0178] a navigation generating unit, configured to obtain the user's current actual location and the location information corresponding to the first-ranked marker in the itinerary, so as to generate a navigation route between the user's current actual location and the location information corresponding to the first-ranked marker;
[0179] The switching determination unit is used to determine whether the mark needs to be switched; and when the above judgment is established, responding to the mark switching operation, obtaining the location information corresponding to the switched mark to regenerate the navigation route between the user's current actual location and the location information corresponding to the switched mark.
[0180] Furthermore, the travel route planning system 1 further includes a trajectory fusion module 70, which includes:
[0181] A trajectory recording unit, used to record a walking trajectory corresponding to a travel route based on a preset map;
[0182] a track associating unit, configured to obtain a picture corresponding to the walking track, associate the position information of the picture with the walking track, and form a mark corresponding to the picture on the walking track;
[0183] The trajectory fusion unit is used to fuse the walking trajectory with the travel route to generate a new travel route.
[0184] It should be noted that the travel route planning system 1 further includes a temporary adjustment module 80, which is used to adjust a travel route that has been completed or has been completed and shared, as well as a travel route shared by others.
[0185] The temporary adjustment module 80 specifically includes:
[0186] a route selection submodule, configured for the user terminal to respond to the first trigger operation, retrieve a preset map, and display an editable route map generated based on the selected itinerary on the preset map; the editable route map includes at least two markers located at different geographical locations, each marker corresponding to a geographical point;
[0187] a route display submodule, configured to respond to a second triggering operation on a marker in the editable route map and display a picture associated with the selected marker;
[0188] a marker adjustment submodule, configured to respond to a third trigger operation on the image to delete markers in the editable route map and / or modify the order of markers in the editable route map;
[0189] The route generation submodule is used to generate a new editable route map based on all the markers in the modified editable route map.
[0190] Furthermore, the route selection submodule specifically includes:
[0191] The state association unit is used for the user terminal to respond to the first trigger operation, associate the selected travel route with the editable state, so as to generate an editable route map corresponding to the selected travel route, and display the editable route map on a preset map.
[0192] Furthermore, displaying the editable route map on a preset map specifically includes:
[0193] Get the user's actual location information and display the user's actual location and editable route map on the preset map at the same time.
[0194] Furthermore, the temporary adjustment module 80 further includes:
[0195] The picture display unit is used to generate a picture display area, and display all pictures corresponding to all marks in the picture display area in sequence according to the arrangement order of the marks in the editable route map.
[0196] Furthermore, the third trigger operation includes a deletion operation and / or an order adjustment operation.
[0197] Furthermore, the deletion operation is to move the selected marked picture out of the picture display area. The order adjustment operation is to move the selected marked picture to the position of the remaining unselected marks in the picture display area.
[0198] Furthermore, the temporary adjustment module 80 further includes:
[0199] A picture adding unit, configured to respond to a fourth triggering operation to add a picture and identify location information of the added picture;
[0200] A new mark generation unit is used to mark the corresponding geographical point in the preset map according to the location information of the added picture and form a corresponding new mark;
[0201] The editable route updating unit is used to generate a new editable route map according to the new mark and all the marks existing in the editable route map.
[0202] A third embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon. When executed by a processor, the computer program implements a method for planning a route as described in any one of the first embodiments. This method has the same beneficial effects as the aforementioned method for generating a route, and is not further described here.
[0203] Compared with the prior art, the travel route planning method, system, and storage medium provided by the present invention have the following advantages:
[0204] 1. A method for planning a route according to an embodiment of the present invention includes the following steps: obtaining at least two pictures arranged in sequence and identifying the location information of each picture; accessing a preset map and marking the geographical point corresponding to the location information of each picture on the preset map to form a marker; adjusting the position of the marker on the preset map and sequentially connecting the adjusted markers on the preset map based on the order in which the pictures are arranged to form a route; and navigating and / or sharing according to the route. By identifying the location information of the added pictures, the location information corresponding to the picture can be obtained, thereby forming a corresponding marker on the preset map; and when a marker on the preset map is selected, the marker can be adjusted directly on the preset map. Compared with existing text search methods, route creation is simpler, and the location adjustment method during the creation process is more flexible and simpler, which is more conducive to user creation.
[0205] 2. In an embodiment of the present invention, the location information of each image is identified, specifically comprising the following steps: obtaining an image upload signal; generating an information edit box corresponding to the image based on the image upload signal; displaying the image's associated location information within the information edit box; and if the location information within the information edit box is modified, determining the image's corresponding location information based on the modified content. By generating an information edit box corresponding to the image, the added image can be annotated with more information, making it easier for other users to understand the location information more clearly after sharing. Furthermore, by modifying the location information within the information edit box, inaccurate location identification of the image can be avoided, thereby improving the accuracy of the image's location information.
[0206] 3. In an embodiment of the present invention, after retrieving a preset map and marking the geographic point corresponding to the location information of each image on the preset map to form a marker, the method further includes: if the acquired image does not have location information, associating the preset location information with the image without location information; if the preset location information is different from the location information represented by the image without location information, directly adjusting the position of the marker corresponding to the image without associated location information on the preset map. By associating the preset location information with the image without location information, it is ensured that even if an image without location information is uploaded, the corresponding marker for the image will still be formed on the preset map, thereby preventing the image without location information from affecting the itinerary generation process.
[0207] 4. In this embodiment of the present invention, marker adjustment is achieved by selecting the marker to be adjusted and dragging it directly to the target location on the preset map. Once a marker is selected on the preset map, it becomes movable, allowing the actual location of the corresponding geographic point in the image to be adjusted by simply moving the marker. This simplifies route creation compared to existing methods such as text search, and allows for more flexible location adjustments, making route creation more user-friendly.
[0208] 5. In an embodiment of the present invention, if the preset location information is different from the location information represented by the picture without any location information, the position of the mark corresponding to the picture without any associated location information is directly adjusted on the preset map, specifically including the following steps: associating the mark corresponding to the picture with the location information displayed in the corresponding information editing box; if the user's current location information is different from the location information represented by the picture without any location information, modifying the location information in the information editing box; based on the modified location information, directly moving the mark of the geographic point corresponding to the user's current actual location information in the preset map to the geographic point corresponding to the modified location information in the information editing box. In this way, by modifying the location information in the information editing box corresponding to the picture, the position of the mark corresponding to the picture in the preset map can be changed, making it easier for users to adjust the position of the mark on the preset map. In addition, the adjustment method of the mark in the preset map has been increased, giving users more options.
[0209] 6. In an embodiment of the present invention, after adjusting the positions of the markers on the preset map and sequentially connecting the adjusted markers on the preset map based on the order of the pictures to form a travel route, the method further includes: obtaining the actual geographic locations corresponding to all markers in the formed travel route; if there is a deviation between the travel route formed on the preset map and the actual geographic location, drawing an editable connecting line between two adjacent markers with the deviation on the preset map; and regenerating the travel route based on the drawn editable connecting line. This achieves the goal of making the generated travel route more consistent with the actual route situation by drawing editable connecting lines when planning a route that is inaccurate in GPS positioning, road construction, untimely map updates, and inaccurate collection of geographical information for remote or distant locations when calling the preset map, thereby avoiding inaccuracies and detours in the generated travel route.
[0210] 7. In an embodiment of the present invention, navigation based on the itinerary route specifically includes: sequentially separating all markers in the itinerary route; obtaining the user's current actual location and the location information corresponding to the marker ranked first in the itinerary route to generate a navigation route between the user's current actual location and the location information corresponding to the marker ranked first; determining whether a marker switch is required; and if so, responding to the marker switch operation, obtaining the location information corresponding to the switched marker to regenerate a navigation route between the user's current actual location and the location information corresponding to the switched marker. This enables navigation switching between the user's current real-time location and the locations corresponding to each marker in the itinerary route, making it easier for users to temporarily change navigation locations, making navigation more consistent with the user's actual travel route, and improving user experience.
[0211] 8. A computer-readable storage medium having the same beneficial effects as the above-mentioned travel route planning method, which will not be described in detail here.
[0212] The above is a detailed introduction to a travel route planning method, system and storage medium disclosed in an embodiment of the present invention. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention. Any modifications, equivalent replacements and improvements made within the principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for planning a travel route, characterized in that: The following steps are involved: Obtain at least two pictures arranged in sequence and identify the position information of each picture; Retrieving a preset map, and marking the geographical point corresponding to the location information of each image in the preset map to form a mark; Adjust the position of the mark on the preset map, and sequentially connect the adjusted marks on the preset map based on the arrangement order of the pictures to form a travel route; Navigate and / or share the itinerary.
2. The method for planning a travel route according to claim 1, wherein: Recognize the location information of each picture, including the following steps: Get the image upload signal; Generate an information editing box corresponding to the picture according to the picture upload signal; display the location information associated with the picture in the information editing box; If the position information in the information editing box is modified, the position information corresponding to the image is determined based on the modified content.
3. The method for planning a trip route according to claim 2, wherein: After calling a preset map and marking the geographical point corresponding to the location information of each picture in the preset map to form a mark, the method further includes: If the acquired picture does not have location information, the preset location information is associated with the picture without location information; the preset location information is the user's current actual location information or the location information entered by the user in the information editing box; If the preset location information is different from the location information represented by the picture without the associated location information, the position of the mark corresponding to the picture without the associated location information is directly adjusted on the preset map.
4. The method for planning a trip route according to claim 3, wherein: The way to adjust a marker is to select the marker that needs to be adjusted and directly drag the selected marker to the target marking point on the preset map.
5. The method for planning a trip route according to claim 3, wherein: If the preset location information is different from the location information represented by the picture without the associated location information, the position of the mark corresponding to the picture without the associated location information is directly adjusted on the preset map, specifically including the following steps: Associating the mark corresponding to the image with the location information displayed in the corresponding information edit box; If the user's current location information is different from the location information represented by the image without location information, the location information in the information editing box is modified; Based on the modified location information, the mark of the geographical point corresponding to the user's current actual location information is directly moved in the preset map to the geographical point corresponding to the modified location information in the information editing box.
6. The method for planning a trip route according to claim 1, wherein: After adjusting the position of the mark on the preset map and sequentially connecting the adjusted marks on the preset map based on the arrangement order of the pictures to form a travel route, the method further includes: Get the actual geographic locations corresponding to all the marks in the formed itinerary; If there is a deviation between the itinerary route formed on the preset map and the route of the actual geographical location, an editable connecting line is drawn between two adjacent marks with the deviation on the preset map; Regenerate the itinerary based on the editable connecting lines you draw.
7. The method for planning a trip route according to claim 1, wherein: Navigate according to the itinerary, including: Separate all the marks on the itinerary in sequence; Obtaining the user's current actual location and the location information corresponding to the first-ranked marker in the itinerary, so as to generate a navigation route between the user's current actual location and the location information corresponding to the first-ranked marker; Determine whether the mark needs to be switched; If so, in response to the marker switching operation, the location information corresponding to the switched marker is obtained to regenerate a navigation route between the user's current actual location and the location information corresponding to the switched marker.
8. The method for planning a trip route according to claim 1, wherein: After navigating according to the travel route, the method further includes: Record the walking track corresponding to the itinerary route based on the preset map; Obtaining a picture corresponding to the walking track, associating the position information of the picture with the walking track, and forming a mark corresponding to the picture on the walking track; The walking trajectory is combined with the travel route to generate a new travel route.
9. A travel route planning system, used to implement the travel route planning method according to any one of claims 1 to 8, characterized in that: include: A picture acquisition module, used to acquire at least two pictures arranged in sequence and identify the position information of each picture; A marking forming module is used to call a preset map and mark the geographical point corresponding to the location information of each image in the preset map to form a mark; A mark adjustment module, used to adjust the position of the mark on the preset map, and sequentially connect the adjusted marks on the preset map in series based on the order of picture arrangement to form a travel route; The navigation sharing module is used for navigating and / or sharing according to the travel route.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, a travel route planning method as described in any one of claims 1 to 8 is implemented.
