Travel trajectory adjustment method and device based on ride records
By obtaining and adjusting the user's ride record, combined with the travel arrangement and the ride record accompanying the user, the problem of inaccurate travel trajectory determination in the existing technology is solved, and high accuracy of the travel trajectory and rapid response in emergency situations are achieved. deal with.
Patent Information
- Application Number
- CN202011579501.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-28
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2040-12-28
AI Technical Summary
In emergency situations, it is difficult to accurately determine the user's travel trajectory with existing technology, especially fuzzy queries caused by false reports by users or incomplete query coverage by base stations.
By obtaining the user's ride record, verifying and adjusting their travel trajectory, estimating the travel trajectory, and combining the travel arrangements and the ride records accompanying the user to accurately determine the user's travel trajectory.
It improves the accuracy of travel trajectory determination and can handle emergencies in a timely and effective manner.
Smart Images

Figure CN112597189B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Internet technology, and in particular to a travel trajectory adjustment method and device based on ride records. Background Art
[0002] When an emergency occurs, such as a theft or epidemic investigation, it is often necessary to quickly and accurately determine the user's travel trajectory in order to respond to the emergency.
[0003] In real life, the existing methods for determining the user's travel trajectory are generally: determining the user's travel trajectory by verbally describing the places they have been to, but some users, for some reasons, often falsely report the places they have been to, resulting in the inability to accurately determine the user's specific travel trajectory; or, determining the places the user has been to by sending a signal to a telecom operator to query a base station, but not every place has a base station, so the method of querying the base station can only perform fuzzy queries and cannot accurately reproduce the user's specific travel trajectory. It can be seen that in an emergency situation where the user's travel trajectory needs to be determined, how to improve the accuracy of determining the user's travel trajectory is particularly important. Summary of the invention
[0004] The technical problem to be solved by the present invention is to provide a travel trajectory adjustment method and device based on riding records, which can improve the accuracy of determining the user's travel trajectory.
[0005] In order to solve the above technical problems, the first aspect of the embodiment of the present invention discloses a travel trajectory adjustment method based on riding records, the method comprising:
[0006] Obtain relevant travel records of a target user taking a means of transportation within a target time period, and verify the target travel trajectory of the target user based on the relevant travel records;
[0007] When it is verified that the target travel trajectory is incomplete or has errors, determining the first travel trajectory of the target user within the target time period according to the relevant riding records, and estimating the second travel trajectory of the target user within the target time period according to the relevant riding records;
[0008] The target travel trajectory is adjusted according to the first travel trajectory and the second travel trajectory to obtain the adjusted target travel trajectory.
[0009] As an optional implementation manner, in the first aspect of the embodiment of the present invention, the method further includes:
[0010] Collecting the travel arrangements of the target user within the target time period;
[0011] The estimating the second travel trajectory of the target user within the target time period according to the relevant riding record includes:
[0012] A second travel trajectory of the target user within the target time period is estimated based on the relevant riding records and the travel arrangements.
[0013] As an optional implementation manner, in the first aspect of the embodiment of the present invention, after collecting the travel arrangement of the target user within the target time period, the method further includes:
[0014] Determine, based on the travel arrangement, whether there are other users accompanying the target user during the target time period;
[0015] When it is determined that there are other users accompanying the target user on a trip, obtaining relevant riding records of the other users riding the transportation tool within the target time period;
[0016] The estimating the second travel trajectory of the target user within the target time period according to the relevant riding record and the travel arrangement includes:
[0017] A second travel trajectory of the target user within the target time period is estimated based on the relevant riding records, the travel arrangements, and the relevant riding records of other users.
[0018] As an optional implementation manner, in the first aspect of the embodiment of the present invention, judging whether there are other users accompanying the target user to travel within the target time period according to the travel arrangement situation includes:
[0019] Determine whether there is identification information uniquely corresponding to another user in the travel arrangement, and when it is determined that there is identification information uniquely corresponding to another user, determine that there are other users accompanying the target user to travel within the target time period;
[0020] When it is determined that there is no identification information uniquely corresponding to the other user, it is determined whether there is a target travel arrangement situation matching the travel arrangement situation of the target user in the determined travel arrangement situation set; when it is determined that there is a target travel arrangement situation matching the travel arrangement situation of the target user, it is determined that there are other users accompanying the target user on the travel within the target time period, wherein the travel users corresponding to the target travel arrangement situation matching the travel arrangement situation of the target user are the other users accompanying the target user on the travel.
[0021] As an optional implementation, in the first aspect of the embodiment of the present invention, the related ride record includes at least one sub-related ride record;
[0022] And, determining the first travel trajectory of the target user within the target time period according to the relevant riding record includes:
[0023] According to each of the sub-ride records, determine the travel trajectory of each of the sub-ride records, and query the occurrence time of each of the sub-ride records;
[0024] According to the occurrence time of all the sub-ride records, the travel trajectory of each sub-ride record is sorted in order from early to late or from late to early, to obtain the sorted travel trajectory of all the sub-ride records, and the travel trajectory of all the sorted sub-ride records is determined as the first travel trajectory of the target user within the target time period for the relevant ride record.
[0025] A second aspect of an embodiment of the present invention discloses a travel trajectory adjustment device based on a ride record, the device comprising:
[0026] An acquisition module is used to acquire relevant riding records of a target user taking a means of transportation within a target time period;
[0027] A verification module, used for verifying the target travel trajectory of the target user based on the relevant riding record;
[0028] a determination module, configured to determine a first travel trajectory of the target user within the target time period according to the relevant riding records when the verification module verifies that the target travel trajectory is incomplete or has errors;
[0029] An estimation module, configured to estimate a second travel trajectory of the target user within the target time period according to the relevant riding record;
[0030] An adjustment module is used to adjust the target travel trajectory according to the first travel trajectory and the second travel trajectory to obtain the adjusted target travel trajectory.
[0031] As an optional implementation manner, in the second aspect of the embodiment of the present invention, the device further includes:
[0032] A collection module, used to collect the travel arrangements of the target user within the target time period;
[0033] The method in which the estimation module estimates the second travel trajectory of the target user within the target time period according to the relevant riding record is specifically:
[0034] A second travel trajectory of the target user within the target time period is estimated based on the relevant riding records and the travel arrangements.
[0035] As an optional implementation manner, in the second aspect of the embodiment of the present invention, the device further includes:
[0036] A judgment module, configured to judge whether there are other users accompanying the target user to travel within the target time period according to the travel arrangement situation after the collection module collects the travel arrangement situation of the target user within the target time period;
[0037] The acquisition module is further configured to acquire relevant riding records of the other users riding the transportation tool within the target time period when the determination module determines that there are other users accompanying the target user on a trip;
[0038] The method in which the estimation module estimates the second travel trajectory of the target user within the target time period according to the relevant riding records and the travel arrangement is specifically:
[0039] A second travel trajectory of the target user within the target time period is estimated based on the relevant riding records, the travel arrangements, and the relevant riding records of other users.
[0040] As an optional implementation, in the second aspect of the embodiment of the present invention, the judgment module judges whether there are other users accompanying the target user to travel within the target time period according to the travel arrangement situation in a specific manner:
[0041] Determine whether there is identification information uniquely corresponding to another user in the travel arrangement, and when it is determined that there is identification information uniquely corresponding to another user, determine that there are other users accompanying the target user to travel within the target time period;
[0042] When it is determined that there is no identification information uniquely corresponding to the other user, it is determined whether there is a target travel arrangement situation matching the travel arrangement situation of the target user in the determined travel arrangement situation set; when it is determined that there is a target travel arrangement situation matching the travel arrangement situation of the target user, it is determined that there are other users accompanying the target user on the travel within the target time period, wherein the travel users corresponding to the target travel arrangement situation matching the travel arrangement situation of the target user are the other users accompanying the target user on the travel.
[0043] As an optional implementation, the related ride record includes at least one sub-related ride record;
[0044] And, the determination module determines the first travel trajectory of the target user within the target time period according to the relevant riding record in a specific manner:
[0045] According to each of the sub-ride records, determine the travel trajectory of each of the sub-ride records, and query the occurrence time of each of the sub-ride records;
[0046] According to the occurrence time of all the sub-ride records, the travel trajectory of each sub-ride record is sorted in order from early to late or from late to early, to obtain the sorted travel trajectory of all the sub-ride records, and the travel trajectory of all the sorted sub-ride records is determined as the first travel trajectory of the target user within the target time period for the relevant ride record.
[0047] The third aspect of the present invention discloses another travel trajectory adjustment device based on riding records, the device comprising:
[0048] A memory storing executable program code;
[0049] a processor coupled to the memory;
[0050] The processor calls the executable program code stored in the memory to execute the travel trajectory adjustment method based on riding records disclosed in the first aspect of the present invention.
[0051] The fourth aspect of the present invention discloses a computer storable medium, which stores computer instructions. When the computer instructions are called, they are used to execute the travel trajectory adjustment method based on riding records disclosed in the first aspect of the present invention.
[0052] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0053] In an embodiment of the present invention, a method and device for adjusting a travel trajectory based on a ride record are disclosed. The method includes: obtaining a relevant ride record of a target user riding a vehicle within a target time period, and verifying the target user's existing target travel trajectory based on the relevant ride record; when the target travel trajectory is verified to be incomplete or erroneous, determining the first travel trajectory of the target user within the target time period according to the relevant ride record, and estimating the second travel trajectory of the target user within the target time period according to the relevant ride record; adjusting the target travel trajectory according to the first travel trajectory and the second travel trajectory to obtain the adjusted target travel trajectory. It can be seen that after the implementation of the embodiment of the present invention obtains the relevant ride record of the user riding a vehicle, the user's existing travel trajectory is verified based on the relevant ride record. If the verification shows that there is an error or incompleteness, the actual travel trajectory corresponding to the relevant ride record of the user is automatically determined, and the estimated travel trajectory corresponding to the relevant ride record of the user is estimated, and the user's existing travel trajectory is adjusted based on the actual travel trajectory and the estimated travel trajectory, which can improve the accuracy of determining the user's travel trajectory and facilitate timely handling of emergencies. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] 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 description of the embodiments. 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 creative work.
[0055] Figure 1 It is a flow chart of a travel trajectory adjustment method based on ride records disclosed in an embodiment of the present invention;
[0056] Figure 2 It is a flow chart of another travel trajectory adjustment method based on riding records disclosed in an embodiment of the present invention;
[0057] Figure 3 It is a structural schematic diagram of a travel trajectory adjustment device based on riding records disclosed in an embodiment of the present invention;
[0058] Figure 4 It is a structural schematic diagram of another travel trajectory adjustment device based on riding records disclosed in an embodiment of the present invention;
[0059] Figure 5 It is a structural schematic diagram of another travel trajectory adjustment device based on riding records disclosed in an embodiment of the present invention. DETAILED DESCRIPTION
[0060] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0061] The terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, device, product or equipment that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or equipment.
[0062] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0063] The present invention discloses a travel trajectory adjustment method and device based on ride records, which can verify the user's existing travel trajectory based on the relevant ride records after obtaining the relevant ride records of the user's riding in a means of transportation. If the verification shows that there is an error or incompleteness, the actual travel trajectory corresponding to the relevant ride records of the user is automatically determined, and the estimated travel trajectory corresponding to the relevant ride records of the user is estimated, and the user's existing travel trajectory is adjusted based on the actual travel trajectory and the estimated travel trajectory, which can improve the accuracy of determining the user's travel trajectory and facilitate timely handling of emergencies. The following are detailed descriptions.
[0064] Embodiment 1
[0065] See also Figure 1 , Figure 1 is a flow chart of a travel trajectory adjustment method based on ride records disclosed in an embodiment of the present invention. Figure 1The described travel trajectory adjustment method based on riding records can be applied to terminal devices with trajectory adjustment functions. Among them, the terminal devices with the function of tracing passenger information include trajectory adjustment terminal devices or user terminal devices, wherein the user terminal devices include smart phones (Android phones, iOS phones, etc.), smart phone watches, tablet computers, PDAs, car computers, desktop computers, netbooks, personal digital assistants (PDA), smart navigators, and mobile Internet devices (MID) and other terminal devices, which are not limited in the embodiments of the present invention. Figure 1 As shown, the travel trajectory adjustment method based on the riding record may include the following steps:
[0066] 101. Obtain relevant riding records of a target user using a means of transportation within a target time period.
[0067] In an embodiment of the present invention, the target time period can be understood as a complete time period, for example: 10:30:50 am on October 10, 2020 - 4:45:20 pm on October 12, 2020, or it can be understood as a time period composed of multiple scattered time periods, for example: 10:30:50 am on October 10, 2020 - 4:45:20 pm on October 12, 2020 and 9:30:50 am on October 13, 2020 - 4:45:20 pm on October 13, 2020.
[0068] In the embodiment of the present invention, the target user is any person whose relevant riding record needs to be obtained, and the number of target users can be one or more. When the number of target users is multiple, the steps of the embodiment of the present invention are executed for each target user respectively.
[0069] In an embodiment of the present invention, the relevant ride record includes the target user's ride identification record and / or the target user's fee deduction record, wherein the target user's ride identification record includes the target user's scan code identification record and / or the target user's biometric identification record; wherein the target user's biometric identification record includes at least one of the target user's face recognition record, the target user's fingerprint recognition record, the target user's iris recognition record, the target user's retina recognition record, and the target user's voiceprint recognition record. Among them, the target user's scan code identification record at least includes the corresponding scan code identification record when the target user just starts to ride the vehicle, and further optionally, the target user's scan code identification record may also include the corresponding scan code identification record when the target user leaves the vehicle and / or the scan code identification record obtained by the target user scanning other identification codes on the vehicle during the ride. Among them, other identification codes are identification codes other than the identification codes corresponding to the scan code payment required for riding the vehicle, for example: the identification code of a hospital. Further optionally, the relevant ride record also includes the recording time of each content and / or the recording location of each content. In this way, the more content the user's ride identification record includes, the more conducive it is to improving the accuracy and reliability of generating the user's traceability information, thereby improving the accuracy and reliability of tracing the user's travel trajectory.
[0070] In the embodiment of the present invention, the target time period may be any time period, or may be a time period obtained through voting by multiple acquirers who need to obtain relevant riding records of the target user, and the time period obtained through voting is preferably selected.
[0071] In the embodiment of the present invention, each user may have a corresponding ride record account, and each user's ride record account is used to record the user's ride record. Optionally, the target user's ride record of a transportation tool in a target time period is obtained from the target user's ride record account.
[0072] 102. Verify the target travel trajectory of the target user based on relevant riding records.
[0073] In an embodiment of the present invention, optionally, the target travel trajectory of the target user may be a travel trajectory formed by receiving keywords input by the target user, or may be a travel trajectory directly drawn by the target user on a virtual map of a terminal device with a trajectory adjustment function, or may be a travel trajectory drawn by the target user on a real map identified by a terminal device with a trajectory adjustment function, and the embodiment of the present invention does not limit this.
[0074] 103. When it is verified that the target travel trajectory is incomplete or has errors, the first travel trajectory of the target user within the target time period is determined based on relevant riding records.
[0075] For example: when the relevant ride records are used to indicate that the target user has been to areas A, B, and C, but the target user's existing travel trajectory only corresponds to areas A and B, and there is no area C, it means that the verified travel trajectory of the target user is incomplete, or, when the relevant ride records are used to indicate that the target user has been to areas A, B, and C and the corresponding travel trajectories are A, C, and B, but the target user's existing travel trajectory is A, B, and C, it means that the verified travel trajectory of the target user is wrong.
[0076] 104. Estimate the second travel trajectory of the target user within the target time period based on the relevant riding records.
[0077] 105. Adjust the target travel trajectory according to the first travel trajectory and the second travel trajectory to obtain an adjusted target travel trajectory.
[0078] It can be seen that the implementation Figure 1 The described travel trajectory adjustment method based on riding records can, after obtaining the relevant riding records of the user taking a means of transportation, verify the user's existing travel trajectory based on the relevant riding records. If the verification finds that there are errors or incompleteness, the actual travel trajectory corresponding to the relevant riding records of the user is automatically determined, and the estimated travel trajectory corresponding to the relevant riding records of the user is estimated. In addition, the user's existing travel trajectory is adjusted based on the actual travel trajectory and the estimated travel trajectory, which can improve the accuracy of determining the user's travel trajectory and is conducive to timely handling of emergencies that occur.
[0079] In an optional embodiment, the travel trajectory adjustment method based on the ride record may further include the following steps:
[0080] Collect the travel arrangements of target users within the target time period;
[0081] Among them, estimating the second travel trajectory of the target user within the target time period based on the relevant riding records includes:
[0082] Estimate the target user's second travel trajectory within the target time period based on relevant riding records and travel arrangements.
[0083] In this optional embodiment, the travel arrangement includes all the travel arrangement locations and the time corresponding to each travel arrangement location, which can further improve the estimation accuracy of the user's estimated travel trajectory within the corresponding time period.
[0084] It can be seen that this optional embodiment can improve the accuracy and reliability of the user's estimated travel trajectory by collecting the user's travel arrangements within the corresponding time period and estimating the user's estimated travel trajectory within the corresponding time period based on the user's travel arrangements and related ride records, thereby improving the accuracy and reliability of adjusting the user's existing travel trajectory.
[0085] In another optional embodiment, after collecting the travel arrangements of the target user within the target time period, the travel trajectory adjustment method based on the ride record may further include the following steps:
[0086] Determine whether there are other users accompanying the target user during the target time period based on the travel arrangements;
[0087] When it is determined that there are other users accompanying the target user on a trip, obtain the relevant travel records of other users taking transportation within the target time period;
[0088] Among them, the second travel trajectory of the target user within the target time period is estimated based on the relevant riding records and travel arrangements, including:
[0089] The second travel trajectory of the target user within the target time period is estimated based on the relevant riding records, travel arrangements, and the relevant riding records of other users.
[0090] It can be seen that after collecting the user's travel arrangements, this optional embodiment further determines whether there are other users accompanying the user based on the user's travel arrangements. If so, it further estimates the user's estimated travel trajectory based on the relevant ride records of other users, the user's own relevant ride records, and the user's own travel arrangements. This can further improve the estimated accuracy and reliability of the user's estimated travel trajectory, thereby improving the accuracy and reliability of adjusting the user's existing travel trajectory.
[0091] In yet another optional embodiment, the travel trajectory adjustment method based on the ride record may further include the following steps:
[0092] When it is determined that there are no other users accompanying the target user on a trip, or the target user has no travel arrangement plan within the target time period, a target historical ride record matching the relevant ride record of the target user taking a means of transportation within the target time period is determined from the target user's historical ride record set;
[0093] Among them, estimating the second travel trajectory of the target user within the target time period based on the relevant riding records includes:
[0094] Estimate the target user's second travel trajectory within the target time period based on the target's historical ride records and related ride records.
[0095] It can be seen that when this optional embodiment cannot collect the user's travel arrangements within the corresponding time period or there are no other users accompanying the user within the corresponding time period, it can provide a variety of estimation methods for the estimated travel trajectories of users by determining the target historical ride record that matches the current relevant ride record from the user's set of all historical ride records, and estimating the user's estimated travel trajectory based on the target historical ride record, which can not only realize the estimation of the user's estimated travel trajectory, but also improve the estimation accuracy of the user's estimated travel trajectory.
[0096] In this optional embodiment, optionally, determining a target historical ride record that matches a relevant ride record of the target user riding a vehicle in a target time period from the target user's historical ride record set includes:
[0097] Obtain the identification information of the means of transportation taken by the target user, and query the historical ride records that match the identification information of the means of transportation from the target user's historical ride record set, as the target historical ride records that match the relevant ride records of the target user taking the means of transportation during the target time period.
[0098] In yet another optional embodiment, judging whether there are other users accompanying the target user to travel within the target time period according to the travel arrangement situation includes:
[0099] Determine whether there is identification information uniquely corresponding to another user in the travel arrangement, and when it is determined that there is identification information uniquely corresponding to another user, determine that there are other users accompanying the target user on the travel within the target time period;
[0100] When it is determined that there is no identification information uniquely corresponding to a certain other user, it is determined whether there is a target travel arrangement that matches the travel arrangement of the target user in the determined travel arrangement set. When it is determined that there is a target travel arrangement that matches the travel arrangement of the target user, it is determined that there are other users accompanying the target user on the travel within the target time period, wherein the travel users corresponding to the target travel arrangement are the other users accompanying the target user on the travel.
[0101] It can be seen that this optional embodiment determines whether there is identification information uniquely corresponding to other users in the user's travel arrangement. If so, it is determined that there are other users accompanying the user in the corresponding time period. If there is no identification information uniquely corresponding to other users, it is determined whether there is a target travel arrangement that matches the user's travel arrangement. If so, it is determined that there are other users accompanying the user in the corresponding time period, and the users corresponding to the target travel arrangement are the other users accompanying the user. This can improve the possibility and accuracy of determining the existence of other users accompanying the user in the corresponding time period, and enrich the intelligent functions of the terminal device with trajectory adjustment function.
[0102] Embodiment 2
[0103] See also Figure 2 , Figure 2 is a flow chart of another method for adjusting travel trajectory based on ride records disclosed in an embodiment of the present invention. Figure 2 The described travel trajectory adjustment method based on riding records can be applied to terminal devices with trajectory adjustment functions. Among them, the terminal devices with the function of tracing passenger information include trajectory adjustment terminal devices or user terminal devices, wherein the user terminal devices include smart phones (Android phones, iOS phones, etc.), smart phone watches, tablet computers, PDAs, car computers, desktop computers, netbooks, personal digital assistants (PDA), smart navigators, and mobile Internet devices (MID) and other terminal devices, which are not limited in the embodiments of the present invention. Figure 2 As shown, the travel trajectory adjustment method based on the riding record may include the following steps:
[0104] 201. Obtain relevant riding records of a target user taking a means of transportation within a target time period, where the relevant riding records include at least one sub-related riding record.
[0105] 202. Verify the target travel trajectory of the target user based on the relevant riding records.
[0106] 203. When it is verified that the target travel trajectory is incomplete or has errors, the travel trajectory of each sub-travel record is determined according to each sub-travel record, and the occurrence time of each sub-travel record is queried.
[0107] 204. Sort the travel trajectory of each sub-ride record in order from early to late or from late to early according to the occurrence time of all the sub-ride records, to obtain the sorted travel trajectory of all the sub-ride records.
[0108] 205. Determine the travel trajectories of all sorted sub-ride records as the first travel trajectory of the target user in the target time period for the relevant ride records.
[0109] It can be seen that the embodiment of the present invention can also sort the sub-ride records according to the occurrence time of each sub-ride record, in order from late to early or from early to late, and use the travel trajectory of all sorted sub-ride records as the actual travel trajectory of the user in the corresponding time period, which can improve the accuracy and efficiency of determining the user's actual travel trajectory, thereby helping to improve the accuracy and efficiency of adjusting the user's existing travel trajectory.
[0110] 206. Estimate a second travel trajectory of the target user within the target time period based on the relevant riding records.
[0111] 207. Adjust the target travel trajectory according to the first travel trajectory and the second travel trajectory to obtain an adjusted target travel trajectory.
[0112] In the embodiment of the present invention, for the relevant description of step 201, step 202, step 206 and step 207, please refer to the detailed description of step 101 to step 103 and step 105 in embodiment 1, and the embodiment of the present invention will not be repeated here.
[0113] It can be seen that the implementation Figure 2 The described travel trajectory adjustment method based on riding records can, after obtaining the relevant riding records of the user taking the transportation tool, verify the user's existing travel trajectory based on the relevant riding records. If the verification finds that there are errors or incompleteness, the actual travel trajectory corresponding to the relevant riding records of the user is automatically determined, and the estimated travel trajectory corresponding to the relevant riding records of the user is estimated. In addition, the user's existing travel trajectory is adjusted based on the actual travel trajectory and the estimated travel trajectory. This can improve the accuracy of determining the user's travel trajectory, facilitate timely handling of emergencies, and improve the accuracy and efficiency of determining the user's actual travel trajectory, thereby facilitating improving the accuracy and efficiency of adjusting the user's existing travel trajectory.
[0114] Embodiment 3
[0115] See also Figure 3 , Figure 3 is a schematic diagram of the structure of a travel trajectory adjustment device based on ride records disclosed in an embodiment of the present invention. Figure 3The described travel trajectory adjustment device based on riding records can be applied to terminal devices with trajectory adjustment functions. Among them, the terminal devices with the function of tracing passenger information include trajectory adjustment terminal devices or user terminal devices, wherein the user terminal devices include smart phones (Android phones, iOS phones, etc.), smart phone watches, tablet computers, PDAs, car computers, desktop computers, netbooks, personal digital assistants (PDA), smart navigators, and mobile Internet devices (MID) and other terminal devices, which are not limited in the embodiments of the present invention. Figure 3 As shown, the travel trajectory adjustment device based on the riding record may include an acquisition module 301, a verification module 302, a determination module 303, an estimation module 304 and an adjustment module 305, wherein:
[0116] The acquisition module 301 is used to acquire the relevant riding records of a target user taking a means of transportation within a target time period.
[0117] The verification module 302 is used to verify the target travel trajectory of the target user based on the relevant riding records.
[0118] The determination module 303 is used to determine the first travel trajectory of the target user within the target time period according to the relevant riding records when the verification module 302 verifies that the target travel trajectory is incomplete or has errors.
[0119] The estimation module 304 is used to estimate the second travel trajectory of the target user within the target time period according to the relevant riding records.
[0120] The adjustment module 305 is used to adjust the target travel trajectory according to the first travel trajectory and the second travel trajectory to obtain an adjusted target travel trajectory.
[0121] It can be seen that the implementation Figure 3 The described travel trajectory adjustment device based on riding records can, after obtaining the relevant riding records of the user taking a means of transportation, verify the user's existing travel trajectory based on the relevant riding records. If the verification finds that there are errors or incompleteness, it will automatically determine the actual travel trajectory corresponding to the relevant riding records of the user, and estimate the estimated travel trajectory corresponding to the relevant riding records of the user. In addition, the user's existing travel trajectory can be adjusted based on the actual travel trajectory and the estimated travel trajectory, which can improve the accuracy of determining the user's travel trajectory and is conducive to timely handling of emergencies.
[0122] In an optional embodiment, if Figure 4As shown, the travel trajectory adjustment device based on the riding record may further include a collection module 306, wherein:
[0123] The collection module 306 is used to collect the travel arrangements of the target user within the target time period.
[0124] The method in which the estimation module 304 estimates the second travel trajectory of the target user within the target time period according to the relevant riding records is specifically as follows:
[0125] Estimate the target user's second travel trajectory within the target time period based on relevant riding records and travel arrangements.
[0126] It can be seen that the implementation Figure 4 The described travel trajectory adjustment device based on riding records can collect the user's travel arrangements within the corresponding time period, and estimate the user's estimated travel trajectory within the corresponding time period based on the user's travel arrangements and relevant riding records, thereby improving the estimated accuracy and reliability of the user's estimated travel trajectory, thereby improving the adjustment accuracy and reliability of the user's existing travel trajectory.
[0127] In another optional embodiment, Figure 4 As shown, the travel trajectory adjustment device based on the riding record may further include a judgment module 307, wherein:
[0128] The judgment module 307 is used to judge whether there are other users accompanying the target user to travel within the target time period according to the travel arrangements after the collection module 306 collects the travel arrangements of the target user within the target time period.
[0129] The acquisition module 301 is also used to acquire relevant riding records of other users taking transportation within the target time period when the judgment module 307 determines that there are other users accompanying the target user on a trip.
[0130] The method in which the estimation module 304 estimates the second travel trajectory of the target user within the target time period according to the relevant riding records and travel arrangements is specifically as follows:
[0131] The second travel trajectory of the target user within the target time period is estimated based on the relevant riding records, travel arrangements, and the relevant riding records of other users.
[0132] It can be seen that the implementation Figure 4The described travel trajectory adjustment device based on riding records can, after collecting the user's travel arrangements, further determine whether there are other users accompanying the user on the trip based on the user's travel arrangements. If so, the user's estimated travel trajectory is estimated based on the relevant riding records of other users, the user's own relevant riding records, and the user's own travel arrangements, which can further improve the estimated accuracy and reliability of the user's estimated travel trajectory, thereby improving the accuracy and reliability of the adjustment of the user's existing travel trajectory.
[0133] In yet another optional embodiment, Figure 4 As shown, the judgment module 307 judges whether there are other users accompanying the target user to travel within the target time period according to the travel arrangement situation in the following specific manner:
[0134] Determine whether there is identification information uniquely corresponding to another user in the travel arrangement, and when it is determined that there is identification information uniquely corresponding to another user, determine that there are other users accompanying the target user on the travel within the target time period;
[0135] When it is determined that there is no identification information uniquely corresponding to a certain other user, it is determined whether there is a travel arrangement situation matching the travel arrangement situation in the determined travel arrangement situation set. When it is determined that there is a travel arrangement situation matching the travel arrangement situation, it is determined that there are other users accompanying the target user on the travel within the target time period, wherein the travel users corresponding to the travel arrangement situation matching the travel arrangement situation are the other users accompanying the target user on the travel.
[0136] It can be seen that the implementation Figure 4 The described travel trajectory adjustment device based on riding records can also determine whether there is identification information uniquely corresponding to other users in the user's travel arrangement. If so, it is determined that there are other users accompanying the user in the corresponding time period. If there is no identification information uniquely corresponding to other users, it is determined whether there is a target travel arrangement that matches the user's travel arrangement. If so, it is determined that there are other users accompanying the user in the corresponding time period, and the users corresponding to the target travel arrangement are the other users accompanying the user. This can improve the possibility and accuracy of determining the existence of other users accompanying the user in the corresponding time period, and enrich the intelligent functions of terminal devices with trajectory adjustment functions.
[0137] In another optional embodiment, the above-mentioned related ride record includes at least one sub-related ride record, such as Figure 4 As shown, the method in which the determination module 303 determines the first travel trajectory of the target user within the target time period according to the relevant riding records is specifically:
[0138] According to each sub-ride record, determine the travel trajectory of each sub-ride record, and query the occurrence time of each sub-ride record;
[0139] According to the occurrence time of all sub-ride records, the travel trajectory of each sub-ride record is sorted in order from early to late or from late to early, to obtain the travel trajectory of all sorted sub-ride records, and the travel trajectory of all sorted sub-ride records is determined as the first travel trajectory of the target user within the target time period determined by the relevant ride record.
[0140] It can be seen that the implementation Figure 4 The described travel trajectory adjustment device based on riding records can also verify the user's existing travel trajectory based on the relevant riding records after obtaining the relevant riding records of the user's riding in a means of transportation. If the verification finds that there are errors or incompleteness, the actual travel trajectory corresponding to the relevant riding records of the user is automatically determined, and the estimated travel trajectory corresponding to the relevant riding records of the user is estimated. In addition, the user's existing travel trajectory is adjusted based on the actual travel trajectory and the estimated travel trajectory. This can improve the accuracy of determining the user's travel trajectory, which is conducive to timely handling of emergencies that occur, and can also improve the accuracy and efficiency of determining the user's actual travel trajectory, thereby helping to improve the accuracy and efficiency of adjusting the user's existing travel trajectory.
[0141] Embodiment 4
[0142] See also Figure 5 , Figure 5 It is another travel trajectory adjustment device based on the riding record disclosed in the embodiment of the present invention. Figure 5 The described travel trajectory adjustment device based on the riding record can be applied to a terminal device with a trajectory adjustment function. Figure 5 As shown, the travel trajectory adjustment device based on the riding record may include:
[0143] A memory 501 storing executable program codes;
[0144] a processor 502 coupled to the memory 501;
[0145] The processor 502 calls the executable program code stored in the memory 501 to execute the operations of the travel trajectory adjustment method based on the riding record described in the first or second embodiment.
[0146] Embodiment 5
[0147] An embodiment of the present invention discloses a computer-readable storage medium storing a computer program for electronic data exchange, wherein the computer program enables a computer to execute the operations of the travel trajectory adjustment method based on ride records described in Embodiment 1 or Embodiment 2.
[0148] Embodiment 6
[0149] An embodiment of the present invention discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable a computer to execute the operations of the travel trajectory adjustment method based on ride records described in Example 1 or Example 2.
[0150] The device embodiments described above are only illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0151] Through the specific description of the above embodiments, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the above technical solution can be essentially or partly contributed to the prior art in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.
[0152] Finally, it should be noted that the travel trajectory adjustment method and device based on riding records disclosed in the embodiment of the present invention only discloses the preferred embodiments of the present invention, which are only used to illustrate the technical solution of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions recorded in the aforementioned embodiments can still be modified, or some of the technical features therein can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims
1. A travel trajectory adjustment method based on ride records, It is characterized in that The method comprises: Obtain relevant travel records of a target user taking a means of transportation within a target time period, and verify the target travel trajectory of the target user based on the relevant travel records; When it is verified that the target travel trajectory is incomplete or has errors, determining the first travel trajectory of the target user within the target time period according to the relevant riding records, and estimating the second travel trajectory of the target user within the target time period according to the relevant riding records; Adjusting the target travel trajectory according to the first travel trajectory and the second travel trajectory to obtain the adjusted target travel trajectory; The method further comprises: Collecting the travel arrangements of the target user within the target time period; Determine, based on the travel arrangement, whether there are other users accompanying the target user during the target time period; When it is determined that there are other users accompanying the target user on a trip, obtaining relevant riding records of the other users riding the transportation tool within the target time period; The estimating the second travel trajectory of the target user within the target time period according to the relevant riding record includes: estimating a second travel trajectory of the target user within the target time period according to the relevant riding records, the travel arrangement and the relevant riding records of other users; When it is determined that there are no other users accompanying the target user on a trip, or the target user has no travel arrangement plan within the target time period, a target historical ride record matching the relevant ride record of the target user taking a means of transportation within the target time period is determined from the target user's historical ride record set; The estimating the second travel trajectory of the target user within the target time period according to the relevant riding record includes: A second travel trajectory of the target user within the target time period is estimated based on the target historical riding record and the related riding records.
2. The travel trajectory adjustment method based on the riding record according to claim 1, It is characterized in that The determining, according to the travel arrangement, whether there are other users accompanying the target user to travel within the target time period includes: Determine whether there is identification information uniquely corresponding to another user in the travel arrangement, and when it is determined that there is identification information uniquely corresponding to another user, determine that there are other users accompanying the target user to travel within the target time period; When it is determined that there is no identification information uniquely corresponding to the other user, it is determined whether there is a target travel arrangement situation matching the travel arrangement situation of the target user in the determined travel arrangement situation set; when it is determined that there is a target travel arrangement situation matching the travel arrangement situation of the target user, it is determined that there are other users accompanying the target user on the travel within the target time period, wherein the travel users corresponding to the target travel arrangement situation are the other users accompanying the target user on the travel.
3. The travel trajectory adjustment method based on the riding record according to claim 1 or 2, It is characterized in that The related ride record includes at least one sub-ride record; And, determining the first travel trajectory of the target user within the target time period according to the relevant riding record includes: According to each of the sub-ride records, determine the travel trajectory of each of the sub-ride records, and query the occurrence time of each of the sub-ride records; According to the occurrence time of all the sub-ride records, the travel trajectory of each sub-ride record is sorted in order from early to late or from late to early, to obtain the sorted travel trajectory of all the sub-ride records, and the travel trajectory of all the sorted sub-ride records is determined as the first travel trajectory of the target user within the target time period for the relevant ride record.
4. A travel trajectory adjustment device based on ride records, It is characterized in that The device comprises: An acquisition module is used to acquire relevant riding records of a target user taking a means of transportation within a target time period; A verification module, used for verifying the target travel trajectory of the target user based on the relevant riding record; a determination module, configured to determine a first travel trajectory of the target user within the target time period according to the relevant riding records when the verification module verifies that the target travel trajectory is incomplete or has errors; An estimation module, configured to estimate a second travel trajectory of the target user within the target time period according to the relevant riding record; an adjustment module, configured to adjust the target travel trajectory according to the first travel trajectory and the second travel trajectory to obtain the adjusted target travel trajectory; The device also includes: A collection module, used to collect the travel arrangements of the target user within the target time period; A judgment module, configured to judge whether there are other users accompanying the target user to travel within the target time period according to the travel arrangement situation after the collection module collects the travel arrangement situation of the target user within the target time period; The acquisition module is further configured to acquire relevant riding records of the other users riding the transportation tool within the target time period when the determination module determines that there are other users accompanying the target user on a trip; The method in which the estimation module estimates the second travel trajectory of the target user within the target time period according to the relevant riding record is specifically: estimating a second travel trajectory of the target user within the target time period according to the relevant riding records, the travel arrangement and the relevant riding records of other users; The determination module is further configured to determine, from the target user's historical ride record set, a target historical ride record that matches a relevant ride record of the target user taking a means of transportation during the target time period when the determination module determines that there is no other user accompanying the target user on a trip, or when the target user has no travel arrangement plan during the target time period; The method in which the estimation module estimates the second travel trajectory of the target user within the target time period according to the relevant riding record is specifically: A second travel trajectory of the target user within the target time period is estimated based on the target historical riding record and the related riding records.
5. A travel trajectory adjustment device based on ride records, It is characterized in that The device comprises: A memory storing executable program code; a processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the travel trajectory adjustment method based on the ride record as described in any one of claims 1-3.
6. A computer storage medium, It is characterized in that The computer storage medium stores computer instructions, which, when called, are used to execute the travel trajectory adjustment method based on ride records as described in any one of claims 1-3.
Citation Information
Patent Citations
Information processing method, first terminal, and second terminal
CN105764033A
GPS trajectory data complementing method based on third-order Bezier curve and interpolation
CN106646518A
Trajectory data processing method and device and electronic equipment
CN110727757A
Mining Correlation Between Locations Using Location History
US20110208425A1
Travel pattern discovery using mobile device sensors
US20130260791A1
