Travel updating method and device, terminal equipment and storage medium

By dragging the target location on the map to update the current itinerary information, the problem of inefficiency of user manual input or querying the target location is solved, and a faster place addition and navigation experience is achieved.

CN120293176APending Publication Date: 2025-07-11HANGZHOU JIDOU TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510462717.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-14
Publication Date
2025-07-11

AI Technical Summary

Technical Problem

When using map navigation, users need to manually enter or query the target location, which leads to inefficient and inconvenient.

Method used

By the operation of the user dragging the target location on the display device to the current trip information, its sorting position is determined and updated to the current trip information.

Benefits of technology

It improves the convenience and speed of users to add target locations and improves the user experience of map navigation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120293176A_ABST
    Figure CN120293176A_ABST
Patent Text Reader

Abstract

The invention discloses a journey updating method and device, terminal equipment and a storage medium, and is applied to the terminal equipment with a display device, the method comprises the following steps: obtaining the position information of a target location, the target location being a location selected by a user from a map displayed by the display device and / or historical journey information; when a dragging operation of a user for the target location is received, determining a sorting position of the target location in the current travel information displayed by the display device; and updating the target location to the current travel information according to the sorting location and the location information of the target location. According to the technical scheme, the problem that at present, only a user can manually input or query the target location is solved, based on the operation that the user drags the target location to the current travel information, convenience and rapidness of adding the target location by the user are achieved and improved, and the use experience feeling of using a map by the user is further improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and particularly to a method, apparatus, terminal device, and storage medium for updating a travel itinerary. Background Art

[0002] With the gradual maturity of map navigation technology, people increasingly use maps for navigation during their daily travels to accurately and efficiently reach their destinations.

[0003] Currently, during the process of people using maps for navigation, they need to manually search for or input information such as the destination or waypoints in order to add the destination or waypoints to the map and achieve map navigation based on this information. However, manually searching for or inputting the destination makes it inefficient and inconvenient for users to use map navigation. Summary of the Invention

[0004] The present invention provides a method, apparatus, terminal device, and storage medium for updating a travel itinerary, which solves the problem that currently only users can manually input or query the target location, resulting in low efficiency and inconvenience for users when using map navigation. Based on the operation of the user dragging the target location to the current travel itinerary information, it realizes and improves the convenience and speed of the user adding the target location, and further improves the user experience of using the map.

[0005] According to one aspect of the present invention, there is provided a method for updating a travel itinerary, which is applied to a terminal device having a display device. The method includes:

[0006] Obtaining the location information of the target location, where the target location is a location selected by the user from the map and / or historical travel itinerary information displayed on the display device;

[0007] When receiving a dragging operation of the user on the target location, determining the sorting position of the target location in the current travel itinerary information displayed on the display device;

[0008] Updating the target location to the current travel itinerary information according to the sorting position and the location information of the target location.

[0009] According to another aspect of the present invention, there is provided a device for updating a travel itinerary, which is applied to a terminal device having a display device. The device includes:

[0010] An obtaining module, configured to obtain the location information of the target location, where the target location is a location selected by the user from the map and / or historical travel itinerary information displayed on the display device;

[0011] A determining module, configured to determine the sorting position of the target location in the current travel itinerary information displayed on the display device when receiving a dragging operation of the user on the target location;

[0012] An update module, configured to update a target location to current trip information according to the sorting position and the location information of the target location.

[0013] According to another aspect of the present invention, there is provided a terminal device, including:

[0014] At least one processor; and

[0015] A memory communicatively connected to the at least one processor; wherein,

[0016] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the trip update method according to any embodiment of the present invention.

[0017] According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for causing a processor to implement the trip update method according to any embodiment of the present invention when executed.

[0018] The trip update method provided by the embodiments of the present invention obtains the location information of a target location; when receiving a dragging operation of the user on the target location, determines the sorting position of the target location in the current trip information displayed on a display device; and updates the target location to the current trip information according to the sorting position and the location information of the target location. In the above technical solution, by using the dragging operation of the user on the target location, it is possible to directly add the target location to the current trip information in a dragging manner and update the current trip information, solving the problem that currently only the user can manually input or manually query the target location, resulting in low efficiency and inconvenience for the user when using map navigation, improving the convenience and speed of the user adding the target location, and further improving the user experience of using the map.

[0019] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present invention, nor is it used to limit the scope of the present invention. Other features of the present invention will become easily understandable through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention, and those of ordinary skill in the art can also obtain other drawings based on these drawings without creative efforts.

[0021] Figure 1Flowchart of a method for updating a travel itinerary provided by an embodiment of the present invention;

[0022] Figure 2 Flowchart of another method for updating a travel itinerary provided by an embodiment of the present invention;

[0023] Figure 3 Structural schematic diagram of a device for updating a travel itinerary provided by an embodiment of the present invention;

[0024] Figure 4 Structural schematic diagram of a terminal device provided by an embodiment of the present invention. Detailed implementation manners

[0025] In order to enable those skilled in the art to better understand the solution of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0026] It should be noted that the terms "historical", "current", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily need to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of the present invention described here can be implemented in an order other than those illustrated or described here. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.

[0027] Figure 1 Flowchart of a method for updating a travel itinerary provided by an embodiment of the present invention. This embodiment is applicable to the situation where a user needs to use a map for navigation. This method can be executed by a device for updating a travel itinerary, and the device for updating a travel itinerary can be implemented in the form of hardware and / or software. The device for updating a travel itinerary can be configured in a terminal device with a display device. In this embodiment, the terminal device with a display device can be an electronic device such as a computer. As Figure 1 shown, the method includes:

[0028] S101. Obtain the location information of the target location.

[0029] Among them, the target location is a location selected by the user from the map displayed on the display device and / or historical trip information. The location information is the longitude and latitude information corresponding to the target location, the specific address information, etc.

[0030] Specifically, before the user uses map navigation, the terminal device needs to establish a connection with a positioning and navigation system such as the Global Positioning System (GPS) or the Beidou Navigation Satellite System (BDS). When using map navigation, the map and historical trip information will be displayed on the display device of the terminal device. The map shows the locations near the user's current location, and the historical trip information can show the locations included in a certain section of the user's trip during the historical process. When the user needs to select a target location, a location can be selected from the map and / or historical trip information displayed on the display device as the target location. Also, the location information of the target location can be determined from the map or historical trip information.

[0031] S102. When receiving a drag operation of the user on the target location, determine the sorting position of the target location in the current trip information displayed on the display device.

[0032] Among them, the drag operation is an operation in which the user drags the target location. The sorting position is used to indicate the specific sorting of the target location in the current trip information. The current trip information is the user's current trip information, which may include the starting location, destination, and passing locations of the user's trip, etc.

[0033] Specifically, the user can perform a drag operation on the target location displayed on the display device and drag the target location from its original position to the current trip information displayed on the display device. The terminal device will determine the specific position where the user drags the target location to in the current trip information according to the user's drag operation, that is, the sorting position.

[0034] Exemplarily, after the user selects a target location from the map and / or historical trip information, an operation such as long-pressing the target location and dragging the target location to the current trip information displayed on the display device can be performed. The above process is the drag operation of the user on the target location. At this time, the terminal device can determine the specific position where the user drags the target location to in the current trip information based on the user's drag operation. This position is the sorting position of the target location in the current trip information. Since there may be multiple original locations in the current trip information itself, the position in front of or behind which the target location needs to be added can be determined according to the sorting position.

[0035] It should be noted that in the current trip information, multiple destination locations can be included. Each destination location corresponds to a drag operation.

[0036] S103. Update the destination location to the current trip information according to the sorting position and the location information of the destination location.

[0037] Specifically, according to the sorting position of the destination location, the specific arrangement position of the destination location in the current trip information can be determined. Moreover, adding the location information of the destination location to the current trip information can provide detailed location information of the destination location for navigation.

[0038] In this embodiment, by using the user's drag operation on the destination location, the destination location can be directly added to the current trip information and the current trip information can be updated, solving the problem that currently only the user can manually input or query the destination location, resulting in low efficiency and inconvenience when the user uses map navigation, improving the convenience and speed of the user adding the destination location, and enhancing the user experience of using the map.

[0039] The trip update method provided by the embodiment of the present invention includes: obtaining the location information of the destination location; when receiving the user's drag operation on the destination location, determining the sorting position of the destination location in the current trip information displayed on the display device; and updating the destination location to the current trip information according to the sorting position and the location information of the destination location. In the above technical solution, by using the user's drag operation on the destination location, the destination location can be directly added to the current trip information in a dragging manner and the current trip information can be updated, solving the problem that currently only the user can manually input or query the destination location, resulting in low efficiency and inconvenience when the user uses map navigation, improving the convenience and speed of the user adding the destination location, and further enhancing the user experience of using the map.

[0040] Figure 2 The flowchart of another trip update method provided by the embodiment of the present invention is shown. On the basis of the above embodiment, the steps of "obtaining the location information of the destination location", "determining the sorting position of the destination location in the current trip information displayed on the display device", and "updating the destination location to the current trip information according to the sorting position and the location information of the destination location" are described in detail. As Figure 2 shown, the method includes:

[0041] S201. Receive the user's selection operation and determine the source of the destination location according to the selection operation.

[0042] Among them, the selection operation is the operation when the user selects the destination location.

[0043] Specifically, when the user uses the map navigation function, the terminal device can establish a connection with the positioning and navigation system and display the map on the display device. At this time, the user can select one or more locations as the target location from the map displayed on the display device and / or from the historical itinerary information.

[0044] Exemplarily, in one implementation, if the user sees the location to be selected on the display device, the user directly clicks on the location on the display device, and this location is the target location. At this time, the user's selection operation is to click on the target location from the map. Therefore, the source of the determined target location is the map.

[0045] In another implementation, the user directly selects and clicks on a certain historical location from any historical itinerary information in the historical itinerary record, and this historical location is the target location. For example, the historical itinerary information includes historical itinerary information 1 in period A the day before yesterday, historical itinerary information 2 in period B, and historical itinerary information 3 in period C yesterday. Each historical itinerary information includes at least two historical locations. At this time, the user can click on the historical itinerary information of any period of any day from the display device and select any historical location from the historical itinerary information as the target location. For example, a certain historical location in historical itinerary information 2 in period B the day before yesterday can be selected as the target location. Therefore, the source of the determined target location is the historical itinerary information.

[0046] S202. If the source of the target location is the map, receive the location information of the target location determined by the positioning and navigation system.

[0047] Among them, the map is obtained from the positioning and navigation system after the positioning and navigation system establishes a connection relationship with the terminal device.

[0048] Specifically, if the source of the target location is the map, the location information of the target location needs to be obtained from the positioning and navigation system. For example, the terminal device sends a retrieval instruction to the positioning and navigation system, and the retrieval instruction carries the identification information of the target location. At this time, the positioning and navigation system determines the address data of the target location according to the identification information of the target location, and the address data includes the longitude and latitude information and the specific address information corresponding to the target location. Moreover, the terminal device receives the address data of the target location sent by the positioning and navigation system and uses it as the location information of the target location.

[0049] In this embodiment, if the target location is not in the historical itinerary information, or the target location is directly selected by the user from the map, the location information of the target location can be directly obtained from the positioning and navigation system, providing a basis for providing the address data corresponding to the target location for adding the target location to the current itinerary information later.

[0050] S203. If the source of the target location is historical trip information, obtain the location information of the target location recorded in the historical trip information.

[0051] Specifically, if the source of the target location is historical trip information, since the historical locations in the historical trip information already include the location information corresponding to the historical locations, therefore, the location information corresponding to the historical location can be directly determined as the location information of the target location.

[0052] In this embodiment, if the source of the target location selected by the user is historical trip information, the location information of the target location can be directly determined from the historical trip information, achieving a faster and more convenient determination of the location information of the target location.

[0053] S204. When receiving a drag operation on the target location by the user, determine the original sorting position of each original location in the current trip information.

[0054] Among them, the current trip information includes at least one original location. The original location can be any one of the starting location, destination, and passing locations of this trip. In this embodiment, the original location can also be a target location that has been added to the current trip information. The original sorting position is used to indicate the sorting position corresponding to the original location.

[0055] Specifically, since the current trip information includes at least one original location, therefore, it is necessary to first determine the sorting position corresponding to each original location. For example, if the current trip information includes four original locations A, B, C, and D, the original sorting position of the original location A can be directly determined according to the positional relationship between each original location and other original locations as "after B and before C, being the second original location", the original sorting position of the original location B is "before A and being the first original location", the original sorting position of the original location C is "after A and before D, being the third original location", and the original sorting position of the original location D is "after C and being the fourth original location". Therefore, the original sorting positions in the current trip information are B, A, C, and D.

[0056] S205. Determine the drag stationary position of the target location according to the drag operation, and determine the sorting position of the target location in the current trip information according to the relative distance between the drag stationary position and each original sorting position.

[0057] Among them, the drag stationary position is the final stop position after the user drags the target location.

[0058] Specifically, the terminal device can determine that the user has finally dragged the target location to a position according to the dragging operation, and the user stays at this position for more than a preset duration. At this time, this position can be determined as the dragging stationary position. Further, the dragging stationary position is used as a position point, and the relative distance between the position point and each original sorting position is determined. That is, each original location corresponding to each original sorting position can be used as a different reference point, and the distance between the position point and each reference point is calculated respectively as the relative distance between the dragging stationary position and each original sorting position. Finally, according to the relative distance, it can be determined which original locations are closer to the target location, and thus the sorting position of the target location in the current trip information can be determined.

[0059] Exemplarily, continuing with the above example, the original sorting positions are B, A, C, and D. The reference point corresponding to each original location can be determined according to the position where it is displayed on the display device. For example, the reference point of B can be determined as (x, 30), the reference point of A can be determined as (x, 25), the reference point of C can be determined as (x, 20), and the reference point of D can be determined as (x, 15). Here, it is assumed that the picture displayed on the display device is rectangular, the lower left corner is the coordinate origin, the distance from the lower left corner to the upper left corner is the maximum longitudinal distance of the coordinate axis, and the distance from the lower left corner to the lower right corner is the maximum transverse distance of the coordinate axis. At this time, the above x is the horizontal coordinate point where the historical trip information is displayed on the display device. 15, 20, 25, and 30 are the longitudinal coordinate points where each original location is displayed on the display device according to the original sorting position. Further, the position point (X, Y) where the target location is dragged by the user to the picture displayed on the display device can be determined according to the dragging stationary position, and the distances between the position point and other reference points are calculated respectively, so as to determine the sorting position of the target location in the current trip information.

[0060] Optionally, this step may specifically include:

[0061] (1) Calculate the relative distance between the dragging stationary position and each original sorting position.

[0062] Exemplarily, continuing with the above example, calculate the distance disB between the dragging stationary position (X, Y) and the original sorting position B (x, 30), calculate the distance disA between the dragging stationary position (X, Y) and the original sorting position A (x, 25), calculate the distance disC between the dragging stationary position (X, Y) and the original sorting position C (x, 20), and calculate the distance disD between the dragging stationary position (X, Y) and the original sorting position D (x, 15).

[0063] It should be noted that in actual calculations, the distance calculation method from a point to a line or from a point to a plane can also be used. That is, the calculation is carried out with the original sorting position as a line or a plane as a reference, and the specific calculation method is not limited here.

[0064] (2) Determine at most three candidate locations from the original locations according to the relative distance and a preset distance threshold.

[0065] Among them, the preset distance threshold is used to ensure that the dragged stationary position is within the preset range of the current itinerary information.

[0066] Specifically, the current itinerary information has a preset range in the display device. That is, only when the user drags the target location within the preset range, and the terminal device receives the user's drag operation and determines the dragged stationary position, will it be determined that the user needs to add the target location to the current itinerary information, rather than dragging a certain location due to accidental touch or other reasons. Therefore, it is necessary to determine whether the dragged stationary position of the final target location belongs to the preset range of the current itinerary information according to the relative distance and the preset distance threshold. If it belongs, there must be a relative distance less than or equal to the distance threshold, and the original location indicated by the original sorting position corresponding to the relative distance is the candidate location. If it does not belong, all relative distances are greater than the distance threshold. At this time, it can be determined that the dragged stationary position of the target location does not belong to the preset range of the current itinerary information. Among them, the dragged stationary position may be at a position close to the edge of the current itinerary information and is closest to two or three of the original locations. Therefore, when calculating the relative distance between the dragged stationary position and the original sorting positions of other original locations, there will be a phenomenon where the distance exceeds the threshold. Therefore, only at most three candidate locations need to be determined from the original locations here.

[0067] (3) Determine the sorting position of the target location in the current itinerary information according to the comparison result of the relative distance between the original sorting position of the candidate location and the dragged stationary position.

[0068] Among them, the relative distance comparison result is used to indicate the degree of proximity of the relative distance between the original sorting position of the candidate location and the dragged stationary position.

[0069] Specifically, since at most three candidate locations will be finally selected, it is necessary to determine the specific positional relationship between the target location and these at most three candidate locations. Therefore, the relative distances corresponding to these at most three candidate locations can be compared to determine the comparison result, and the sorting position of the target location in the current itinerary information can be determined according to the comparison result.

[0070] Exemplarily, in one implementation, if there is only one candidate location, the sorting position of the target location can be directly determined to be before or after the candidate location. Specifically, it is necessary to determine whether the candidate location is the first original location or the last original location in the current trip information. If it is the first original location, the target location is before this original location; if it is the last original location, the target location is after this original location. In another implementation, if there are two candidate locations, the sorting position of the target location can be determined to be between these two candidate locations. In still another implementation, assume that the candidate locations are B, A, and C, and the relative distance comparison result is that the relative distance corresponding to B is greater than the relative distance corresponding to C which is greater than the relative distance corresponding to A. Therefore, the sorting position of the target location can be determined to be between C and A.

[0071] In this embodiment, the dragging stationary position of the target location is determined according to the dragging operation, and the relative distance from the dragging stationary position to each original location is calculated, so as to determine the specific position where the user wants to add the target location, realizing the quick and accurate determination of the adding position of the target location.

[0072] S206. Update the target location to the corresponding position in the current trip information according to the sorting position.

[0073] Specifically, according to the sorting position, the target location can be updated to the corresponding position in the current trip information and displayed by the display device.

[0074] S207. Add the location information of the target location to the target location.

[0075] Specifically, after updating the target location to the corresponding position in the current trip information, the location information of the target location can also be added to the target location, so that each location in the current trip information corresponds to location information.

[0076] S208. Send an update instruction to the positioning and navigation system, so that the positioning and navigation system updates the mirror trip information in the positioning and navigation system according to the update instruction.

[0077] Among them, the update instruction includes the sorting position and the location information of the target location, and the mirror trip information is exactly the same as the current trip information.

[0078] Specifically, after the terminal device updates the current trip information, an update instruction can be sent to the positioning and navigation system, so that the mirror trip information stored in the positioning and navigation system corresponding to the current trip information is updated together, so that the positioning and navigation system can provide a navigation route for the terminal device according to the mirror trip information later.

[0079] It should be noted that multiple destination locations can be added to the current trip information, that is, the above steps can be cyclically executed multiple times according to user needs.

[0080] S209. When receiving a navigation instruction from the user, initiate a navigation instruction to the positioning and navigation system.

[0081] Among them, the navigation instruction includes an identifier of the current trip information.

[0082] Specifically, after the user determines that the current trip information is complete or the addition of the destination location is completed, the user can trigger a navigation operation on the current trip information on the display device of the terminal device. The terminal device then receives a navigation instruction including the identifier of the current trip information and initiates a navigation instruction to the positioning and navigation system. The positioning and navigation system will find the mirror trip information corresponding to the current trip information based on the identifier of the current trip information and generate a trip positioning and navigation route according to the mirror trip information.

[0083] S210. Receive the trip positioning and navigation route determined by the positioning and navigation system according to the navigation instruction, and display the trip positioning and navigation route on the map.

[0084] Specifically, after the positioning and navigation system finds the mirror trip information corresponding to the current trip information based on the identifier of the current trip information and generates a trip positioning and navigation route according to the mirror trip information, the positioning and navigation system will send the positioning and navigation route to the terminal device. At this time, the terminal device receives the trip positioning and navigation route and displays it on the map.

[0085] In this embodiment, by using the interaction between the terminal device and the positioning and navigation system after establishing a connection relationship, the update situation of the current trip information in the terminal device is synchronized to the mirror trip information in the positioning and navigation system in real time, and an accurate and fast navigation route is provided for the user based on the synchronized mirror trip information.

[0086] The itinerary update method provided by the embodiments of the present invention, on the one hand, if the destination is not in the historical itinerary information or the destination is directly selected by the user from the map, the location information of the destination can be directly obtained from the positioning and navigation system, providing the address data corresponding to the destination for adding the destination to the current itinerary information later. If the source of the destination selected by the user is the historical itinerary information, the location information of the destination can be directly determined from the historical itinerary information, achieving a faster and more convenient determination of the location information of the destination. On the other hand, the dragging static position of the destination is determined according to the dragging operation, and the relative distance from the dragging static position to each original location is calculated, so as to determine to which specific position the user wants to add the destination, achieving a fast and accurate determination of the adding position of the destination. Finally, through the interaction between the terminal device and the positioning and navigation system after establishing a connection relationship, the update situation of the current itinerary information in the terminal device is synchronized to the mirror itinerary information in the positioning and navigation system in real time, and an accurate and fast navigation route is provided for the user based on the synchronized mirror itinerary information. The above technical solution can enable the user to drag the destination from the map or historical itinerary information to the current itinerary information based on the map displayed on the display device or the historical itinerary information displayed on the display device, so as to update the current itinerary information. And based on establishing a connection with the positioning and navigation system, the navigation map information of the positioning and navigation system can be directly displayed on the display device via the terminal device to provide navigation services for the user. The user can directly drag the destination to the current required itinerary by dragging, which is more convenient and faster than inputting the address and other methods.

[0087] Figure 3 It is a schematic structural diagram of an itinerary update device provided by an embodiment of the present invention. As Figure 3 shown, the device includes:

[0088] An acquisition module 301, configured to acquire the location information of a destination, where the destination is a location selected by the user from the map and / or historical itinerary information displayed on the display device;

[0089] A determination module 302, configured to determine the sorting position of the destination in the current itinerary information displayed on the display device when receiving a dragging operation of the user on the destination;

[0090] An update module 303, configured to update the destination to the current itinerary information according to the sorting position and the location information of the destination.

[0091] Optionally, the acquisition module 301 is specifically configured to:

[0092] Receive the user's selection operation and determine the source of the target location based on the selection operation; if the source of the target location is a map, receive the location information of the target location determined by the positioning and navigation system, where the map is obtained from the positioning and navigation system after establishing a connection relationship between the positioning and navigation system and the terminal device; if the source of the target location is historical trip information, obtain the location information of the target location recorded in the historical trip information.

[0093] Optionally, the current trip information includes at least one original location; the determining module 302 is specifically configured to:

[0094] Determine the original sorting position of each original location according to each original location in the current trip information; determine the dragging stationary position of the target location according to the dragging operation, and determine the sorting position of the target location in the current trip information according to the relative distance between the dragging stationary position and each original sorting position.

[0095] Optionally, according to the relative distance between the dragging stationary position and each original sorting position, to determine the sorting position of the target location in the current trip information, the determining module 302 is specifically configured to:

[0096] Calculate the relative distance between the dragging stationary position and each original sorting position; determine at most three candidate locations from the original locations according to the relative distance and a preset distance threshold; determine the sorting position of the target location in the current trip information according to the comparison result of the relative distance between the original sorting position of the candidate location and the dragging stationary position, where the relative distance comparison result is used to indicate the degree of proximity of the relative distance between the original sorting position of the candidate location and the dragging stationary position.

[0097] Optionally, the updating module 303 is specifically configured to:

[0098] Update the target location to the corresponding position in the current trip information according to the sorting position; add the location information of the target location to the target location.

[0099] Optionally, after adding the location information of the target location to the target location, the updating module 303 is further configured to:

[0100] Send an update instruction to the positioning and navigation system so that the positioning and navigation system updates the mirror trip information in the positioning and navigation system according to the update instruction; where the update instruction includes the sorting position and the location information of the target location, and the mirror trip information is exactly the same as the current trip information.

[0101] Optionally, the device further includes: a navigation module; after sending the update instruction to the positioning and navigation system, the navigation module is specifically configured to:

[0102] When receiving a navigation instruction from a user, initiate a navigation instruction to a positioning and navigation system, where the navigation instruction includes an identifier of current trip information; receive a trip positioning and navigation route determined by the positioning and navigation system according to the navigation instruction, and display the trip positioning and navigation route on a map.

[0103] The trip update device provided by an embodiment of the present invention can execute the trip update method provided by any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution of the method.

[0104] Figure 4 It is a schematic structural diagram of a terminal device 10 provided by an embodiment of the present invention. The terminal device is intended to represent various forms of digital computers, such as, a laptop computer, a desktop computer, a workbench, a personal digital assistant, a server, a blade server, a mainframe computer, and other suitable computers. The terminal device can also represent various forms of mobile devices, such as, a personal digital processor, a cellular phone, a smart phone, a wearable device (such as a helmet, glasses, a watch, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are only examples and are not intended to limit the implementation of the present invention described and / or claimed herein.

[0105] As Figure 4 shown, the terminal device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., where the memory stores a computer program executable by the at least one processor, and the processor 11 can execute various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 into the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the terminal device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. The input / output (I / O) interface 15 is also connected to the bus 14.

[0106] Multiple components in the terminal device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disc, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the terminal device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0107] The processor 11 may be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the itinerary update method.

[0108] In some embodiments, the itinerary update method may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed onto the terminal device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the itinerary update method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the itinerary update method by any other suitable means (e.g., by means of firmware).

[0109] The various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuitry, integrated circuit systems, field-programmable gate arrays (FPGA), application-specific integrated circuits (ASIC), application-specific standard products (ASSP), systems-on-chip (SOC), complex programmable logic devices (CPLD), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special or general-purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit the data and instructions to the storage system, the at least one input device, and the at least one output device.

[0110] The computer programs for implementing the methods of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to the processors of general-purpose computers, special-purpose computers, or other programmable data processing devices, such that when the computer programs are executed by the processors, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The computer programs can be executed entirely on the machine, partially on the machine, as a stand-alone software package partially on the machine and partially on a remote machine, or entirely on a remote machine or server.

[0111] In the context of the present invention, a computer-readable storage medium can be a tangible medium that can contain or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer-readable storage medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, the computer-readable storage medium can be a machine-readable signal medium. More specific examples of the machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0112] To provide for interaction with a user, the systems and techniques described herein can be implemented on a terminal device that has: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the terminal device. Other kinds of devices can also be used to provide for interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0113] The systems and techniques described herein can be implemented in a computing system that includes backend components (such as, for example, a data server), or a computing system that includes middleware components (such as, for example, an application server), or a computing system that includes frontend components (such as, for example, a user computer having a graphical user interface or a web browser through which the user can interact with an implementation of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected by any form or medium of digital data communication (such as, for example, a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0114] A computing system may include a client and a server. The client and the server are generally far from each other and usually interact via a communication network. The relationship between the client and the server is created by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system, addressing the defects of difficult management and weak business scalability existing in traditional physical hosts and VPS services.

[0115] It should be understood that various forms of the processes shown above can be used, with steps reordered, added, or deleted. For example, the steps recited in the present invention can be executed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved, and no limitation is imposed herein.

[0116] The above specific embodiments do not constitute a limitation to the protection scope of the present invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.

Claims

1. A method for updating a travel, characterized in that, Applied to a terminal device with a display device, the method includes: Obtain the location information of a target location, where the target location is a location selected by the user from the map and / or historical trip information displayed on the display device; When receiving a drag operation of the user on the target location, determine the sorting position of the target location in the current trip information displayed on the display device; Update the target location to the current trip information according to the sorting position and the location information of the target location.

2. The method for updating the travel according to claim 1, wherein The obtaining the location information of the target location includes: Receive the selection operation of the user and determine the source of the target location according to the selection operation; If the source of the target location is the map, receive the location information of the target location determined by the positioning and navigation system, where the map is obtained from the positioning and navigation system after establishing a connection relationship between the positioning and navigation system and the terminal device; If the source of the target location is the historical trip information, obtain the location information of the target location recorded in the historical trip information.

3. The method for updating the travel according to claim 1, wherein The current trip information includes at least one original location; the determining the sorting position of the target location in the current trip information displayed on the display device includes: Determine the original sorting position of each original location according to each original location in the current trip information; Determine the drag static position of the target location according to the drag operation, and determine the sorting position of the target location in the current trip information according to the relative distance between the drag static position and each original sorting position.

4. The method for updating the travel according to claim 3, wherein The determining the sorting position of the target location in the current trip information according to the relative distance between the drag static position and each original sorting position includes: Calculate the relative distance between the drag static position and each original sorting position; Determine at most three candidate locations from the original locations according to the relative distance and a preset distance threshold; Determine the sorting position of the target location in the current trip information according to the comparison result of the relative distance between the original sorting position of the candidate location and the drag static position, where the relative distance comparison result is used to indicate the degree of proximity of the relative distance between the original sorting position of the candidate location and the drag static position.

5. The method for updating the travel according to claim 1, characterized in that, The updating the target location to the current trip information according to the sorting position and the location information of the target location includes: Update the target location to the corresponding position in the current trip information according to the sorting position; Add the location information of the target location to the target location.

6. The method for updating the travel according to claim 5, wherein After adding the location information of the target location to the target location, it further includes: Initiate an update instruction to the positioning and navigation system so that the positioning and navigation system updates the mirror trip information in the positioning and navigation system according to the update instruction; Wherein, the update instruction includes the sorting position and the location information of the target location, and the mirror trip information is exactly the same as the current trip information.

7. The method for updating the travel according to claim 6, characterized in that, After issuing an update instruction to the positioning and navigation system, it further includes: When receiving the navigation instruction of the user, issue a navigation instruction to the positioning and navigation system, where the navigation instruction includes an identifier of the current trip information; Receive the trip positioning and navigation route determined by the positioning and navigation system according to the navigation instruction, and display the trip positioning and navigation route in the map.

8. An update device for a travel, characterized in that, Applied to a terminal device with a display device, the device includes: An acquisition module, configured to acquire the location information of a target location, where the target location is a location selected by the user from the map and / or historical trip information displayed on the display device; A determination module, configured to determine the sorting position of the target location in the current trip information displayed on the display device when receiving a drag operation of the user on the target location; An update module, configured to update the target location to the current trip information according to the sorting position and the location information of the target location.

9. A terminal device, characterized in that, Includes: One or more processors; A memory, configured to store one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the trip update method according to any one of claims 1 to 7.

10. A readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the trip update method according to any one of claims 1 to 7.