Commute route updating method, device, equipment and storage medium
By determining the matching degree between the current driving route and the preset commuting route in the vehicle, and obtaining the overlap point to update the commuting route, the problem of vehicles being unable to identify the home and company locations in weak network environments is solved. This enables accurate positioning and personalized commuting route updates under no-network conditions, improving the driving experience.
Patent Information
- Application Number
- CN202311570982.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-22
- Publication Date
- 2025-10-28
- Estimated Expiration
- 2043-11-22
AI Technical Summary
In existing technologies, vehicles cannot identify the user's home and workplace locations in weak or no network environments, making it impossible to make intelligent commuting route decisions and reducing the user's driving experience.
By determining the match between the vehicle's current driving path and the preset commuting path, the nearest overlapping point to the starting point and the destination is obtained, and the target commuting path is updated to ensure the accuracy of the starting point and destination location range.
It enables accurate location of commuting routes in weak or no network environments, meets users' personalized needs, and improves vehicle intelligence and driving experience.
Smart Images

Figure CN117606503B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of navigation technology, specifically to a commuting route update method, apparatus, electronic device, and computer-readable storage medium. Background Technology
[0002] With the development of technology, the intelligence of the vehicle industry is constantly improving. For most office workers, the requirements for vehicle products to adapt to people and routes are getting higher and higher. At present, most vehicles can adaptively calculate the range between home and office by analyzing the vehicle's driving trajectory. This can provide location range data for the vehicle's intelligent decision-making, improve the intelligence and personalization of the vehicle, and facilitate the user's driving experience.
[0003] However, in most related technologies, the vehicle's recognition of the user's home and workplace location information is achieved by pre-setting the home and workplace location information in the vehicle's navigation device. As a result, when there is no navigation or the user is not used to navigation software, the vehicle cannot recognize the location of home and workplace, and therefore cannot make intelligent decisions on the commuting route, which greatly reduces the user's driving experience and fails to meet the user's personalized needs. Summary of the Invention
[0004] To address the aforementioned technical problems, embodiments of this application provide a commuting route update method, apparatus, electronic device, and computer-readable storage medium.
[0005] According to one aspect of the embodiments of this application, a commuter route update method is provided, comprising: if the current driving route of the vehicle matches a preset commuter route, then determining the current driving route as a target commuter route; obtaining the first point of convergence between the target commuter route and the preset commuter route that is closest to the starting point and the first point of convergence between the starting point and the first point of convergence between the starting point and the first point of convergence between the starting point and the first point of convergence between the starting point and the ending point, and updating the target commuter route to obtain an updated target commuter route.
[0006] According to one aspect of the embodiments of this application, updating the target commuting route based on the first overlapping point closest to the starting point and the first overlapping point closest to the ending point to obtain an updated target commuting route includes: if the distance between the first overlapping point closest to the starting point and the starting point is greater than a first fixed point set after the previous driving cycle, then updating the first fixed point to the first overlapping point closest to the starting point; wherein, the first fixed point is the first overlapping point closest to the starting point in the previous driving cycle and the preset commuting route; if the distance between the first overlapping point closest to the ending point and the ending point is greater than a second fixed point set after the previous driving cycle, then updating the second fixed point to the first overlapping point closest to the ending point; wherein, the second fixed point is the first overlapping point closest to the ending point in the previous driving cycle and the preset commuting route; and obtaining the updated target commuting route based on the updated first fixed point and the updated second fixed point.
[0007] According to one aspect of the embodiments of this application, updating the target commuting route based on the first overlapping point closest to the starting point and the first overlapping point closest to the ending point to obtain the updated target commuting route includes: obtaining the latitude and longitude information of the first overlapping point closest to the starting point; if the latitude and longitude information of the first overlapping point closest to the starting point exceeds the latitude and longitude limit of the starting point, then updating the latitude and longitude information of the starting point to the latitude and longitude information of the first overlapping point closest to the starting point; obtaining the latitude and longitude information of the first overlapping point closest to the ending point; if the latitude and longitude information of the first overlapping point closest to the ending point exceeds the latitude and longitude limit of the ending point, then updating the latitude and longitude information of the ending point to the latitude and longitude information of the first overlapping point closest to the ending point.
[0008] According to one aspect of the present application, before determining the current driving path as the target commuting path if the current driving path of the vehicle matches a preset commuting path, the method further includes: calculating the overlap between the current driving path of the vehicle and the preset commuting path; if the overlap is greater than a preset overlap threshold, determining that the current driving path of the vehicle matches the preset commuting path.
[0009] According to one aspect of the embodiments of this application, the method further includes: dividing the current driving path of the vehicle into multiple path points according to a preset equidistant division; calculating the overlap degree between the multiple path points and multiple path points on the preset commuting path; if the overlap degree is greater than a preset overlap degree threshold, then determining that the current driving path of the vehicle matches the preset commuting path.
[0010] According to one aspect of the embodiments of this application, the method further includes: determining a first path point and a last path point divided on the target commuting path; obtaining latitude and longitude information corresponding to the first path point and the last path point; updating the target commuting path based on the latitude and longitude information corresponding to the first path point, the last path point pair, the first overlapping point closest to the starting point, and the first overlapping point closest to the ending point, to obtain an updated target commuting path.
[0011] According to one aspect of the embodiments of this application, updating the target commuting route based on the latitude and longitude information corresponding to the first path point, the last path point pair, the first overlapping point closest to the starting point, and the first overlapping point closest to the ending point to obtain the updated target commuting route includes: if the latitude and longitude information corresponding to the first path point or the first overlapping point closest to the starting point exceeds the latitude and longitude limit of the starting point, then the latitude and longitude information of the starting point is replaced with latitude and longitude information exceeding the latitude and longitude limit of the starting point; if the latitude and longitude information corresponding to the last path point or the first overlapping point closest to the ending point exceeds the latitude and longitude limit of the ending point, then the latitude and longitude information of the ending point is replaced with latitude and longitude information exceeding the latitude and longitude limit of the ending point.
[0012] According to one aspect of the embodiments of this application, a commuter route update apparatus is provided. The apparatus includes: a determining module, configured to determine the current driving route as a target commuter route if the current driving route of a vehicle matches a preset commuter route; an acquiring module, configured to acquire the first overlapping point closest to the starting point and the first overlapping point closest to the ending point between the target commuter route and the preset commuter route; and an updating module, configured to update the target commuter route based on the first overlapping point closest to the starting point and the first overlapping point closest to the ending point, to obtain an updated target commuter route.
[0013] According to one aspect of the embodiments of this application, an electronic device is provided, including: one or more processors; and a storage device for storing one or more programs, which, when executed by the one or more processors, cause the electronic device to implement the commuting route update method as described above.
[0014] According to one aspect of the embodiments of this application, a computer-readable storage medium is provided that stores computer-readable instructions thereon, which, when executed by a computer's processor, cause the computer to perform the commuting route update method as described above.
[0015] In the technical solution provided by the embodiments of this application, by determining whether the current driving route of the vehicle matches the preset commuting route, the method avoids determining whether the current route is a commuting route through navigation. Furthermore, by determining the location of the first overlapping point closest to the starting point and the first overlapping point closest to the ending point between the vehicle's target commuting route and the preset commuting route, the target commuting route is updated. This expands the specific location range of the starting point and the ending point of the commuting route, realizes the determination of the commuting route, ensures the user's personalized commuting requirements, and improves the intelligence of the vehicle.
[0016] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description
[0017] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort. In the drawings:
[0018] Figure 1 This is a schematic diagram illustrating a commuting route in an exemplary embodiment of this application;
[0019] Figure 2 This is a schematic diagram illustrating an implementation environment for updating commuting routes, as shown in an exemplary embodiment of this application.
[0020] Figure 3 This is a flowchart illustrating a commuter route update method in an exemplary embodiment of this application;
[0021] Figure 4 This is a schematic diagram illustrating a commuting route in an exemplary embodiment;
[0022] Figure 5 This is a flowchart illustrating a commuter route update method, as shown in another exemplary embodiment of this application;
[0023] Figure 6 This is a schematic diagram illustrating a work path, as shown in another exemplary embodiment of this application;
[0024] Figure 7 This is a flowchart illustrating a commuter route update method, as shown in another exemplary embodiment of this application;
[0025] Figure 8 This is a schematic diagram illustrating a commuting route and commuting environment, as shown in another exemplary embodiment.
[0026] Figure 9 This is a flowchart illustrating a commuter route update method, as shown in another exemplary embodiment of this application;
[0027] Figure 10 This is a flowchart illustrating a commuter route update method, as shown in another exemplary embodiment of this application;
[0028] Figure 11 This is a flowchart illustrating a commuter route update method, as shown in another exemplary embodiment of this application;
[0029] Figure 12 This is a schematic diagram illustrating a commuting route and commuting environment, as shown in another exemplary embodiment.
[0030] Figure 13 This is a flowchart illustrating a commuter route update method, as shown in another exemplary embodiment of this application;
[0031] Figure 14 This is a simplified flowchart illustrating the process of updating commuting routes in an exemplary application scenario.
[0032] Figure 15 This is a block diagram illustrating a commuter route updating device in an exemplary embodiment of this application;
[0033] Figure 16 A schematic diagram of the structure of a computer system suitable for implementing the electronic device of the present application is shown. Detailed Implementation
[0034] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0035] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.
[0036] The flowcharts shown in the accompanying drawings are merely illustrative and do not necessarily include all content and operations / steps, nor do they necessarily have to be performed in the described order. For example, some operations / steps can be broken down, while others can be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.
[0037] In this application, "multiple" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.
[0038] First, it should be noted that commuting refers to the process of traveling from home to work. In a broader sense, commuting also refers to regular or frequent travel between different locations.
[0039] The routes and scenery encountered during commuting are often similar. With the development of intelligent driving technology, the requirements for vehicle products to adaptively adjust to people and routes are becoming increasingly higher. Currently, most vehicles can adaptively calculate the distance between home and work by analyzing the vehicle's driving trajectory. This provides location range data for the vehicle's intelligent decision-making, improves the vehicle's intelligence and personalization, and facilitates the user's driving experience.
[0040] Figure 1 This is a schematic diagram of a commuting interface shown in an exemplary embodiment of this application. The commuting interface includes the starting point of the commuting (home area) and the ending point of the commuting (company area). Since commuting refers to regular or frequent travel by users, the commuting route is fixed. The commuting route includes the commuting route, buildings along the commuting route, etc. The commuting route interface can also display information other than the starting point and the ending point. The embodiments of this application do not limit the detailed information displayed on the commuting interface, and can be set according to actual needs.
[0041] Figure 2 This is a schematic diagram illustrating an implementation environment for updating commuting routes, as shown in an exemplary embodiment of this application. Figure 2 As shown, during vehicle operation, the smart terminal 210 compares the vehicle's current driving path with the preset commuting path. If they match, the current driving path is determined to be the target commuting path, and then reported to the server 220. The server 220 obtains the first point of convergence between the target commuting path and the preset commuting path that is closest to the commuting start point and the first point of convergence between the target commuting path and the commuting end point. The server 220 can then update the target commuting path using the determined first point of convergence between the start point and the first point of convergence between the end point, thus obtaining the updated target commuting path.
[0042] in, Figure 2The smart terminal 210 shown can be any terminal device that supports the installation of navigation map software, such as a smartphone, in-vehicle computer, tablet computer, laptop computer, or wearable device, but is not limited to these. Figure 2 The navigation server 220 shown is a navigation server, which can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. No restrictions are placed on this. The smart terminal 210 can communicate with the navigation server 220 via wireless networks such as 3G (third-generation mobile information technology), 4G (fourth-generation mobile information technology), and 5G (fifth-generation mobile information technology). No restrictions are placed on this as well.
[0043] A weak network, also known as a low-network environment, is characterized by low network transmission speeds. In environments with weak or no network access, the smart terminal 210 cannot send network requests to the navigation server 220, resulting in the remaining time displayed on the navigation interface failing to refresh, leading to an incorrect display of the remaining time. The following example illustrates the impact of the inability to refresh the remaining time to reach the destination on user experience:
[0044] For example, in scenarios where drivers are not accustomed to using navigation, when a driver needs to get from home to work, the system mostly identifies the home and work locations that the driver has set in the car's navigation system. Without navigation, the system cannot identify these locations. For drivers who are not used to using navigation on their commuting routes, the vehicle cannot identify the location range of their home and work, and therefore cannot make the corresponding intelligent decision to get to home or work, which is inconvenient for the user's driving experience.
[0045] For example, in a vehicle driving scenario, when a driver follows the road conditions displayed on the navigation interface, the driver is prone to mental sensitivity after driving for a long time. In the case of weak or no network, if the driver finds that the remaining time displayed on the navigation interface has not been updated, it will bring a certain degree of pressure to the driver, causing abnormal emotions. On the one hand, it will cause the driver to distrust the navigation map software, and on the other hand, it may affect driving safety.
[0046] The problems mentioned above are universally applicable in common travel scenarios. It can be seen that in situations with weak or no network, the inability to guarantee the refresh frequency of the remaining time to reach the destination can lead to various problems. To address these issues, embodiments of this application propose a commuter route update method, a commuter route update device, an electronic device, a computer-readable storage medium, and a computer program product, which will be described in detail below.
[0047] Please see Figure 3 , Figure 3 This is a flowchart illustrating a commuter route update method in an exemplary embodiment of this application. This method can be applied to... Figure 2 The implementation environment shown is specifically executed by the smart terminal 210 within that implementation environment. It should be understood that this method can also be applied to other exemplary implementation environments and executed by devices in other implementation environments; this embodiment does not limit the implementation environment to which the method is applicable.
[0048] like Figure 3 As shown in the exemplary embodiment, the specific implementation flowchart of the commuting route update method includes steps S310 to S330, which are described in detail below:
[0049] Step S310: If the vehicle's current driving route matches the preset commuting route, then the current driving route is determined as the target commuting route.
[0050] First, it should be noted that the preset commuting route can be a route pre-set by the user based on actual circumstances. For example, the user can pre-set their home and company locations in the current in-vehicle terminal, i.e., input the start and end points of their commute. The in-vehicle terminal can then automatically generate the corresponding pre-set commuting route. Alternatively, if the user frequently and regularly travels between two fixed points, the commuting route between those two points can be used as the preset commuting route. In one feasible embodiment, the driving route generated after the user's previous driving cycle can also be used as the preset commuting route.
[0051] In step S310, the current driving route of the vehicle is obtained, and it is calculated whether the current driving route of the vehicle matches the preset commuting route. If the current driving route of the vehicle matches the preset commuting route, it can be determined by judging the degree of overlap between the current driving route of the vehicle and the preset commuting route, or by judging the distance between the starting point and the ending point of the current driving route of the vehicle and the starting point and the ending point of the commuting route.
[0052] Optionally, in some feasible embodiments, the starting point (home) and the ending point (company) of the pre-set commuting route can be determined. Then, by comparing whether the starting point and the ending point of the vehicle's current driving route match and whether they are within the position error range, it can be determined that the current driving route matches the preset commuting route, and the current driving route can be used as the target commuting route.
[0053] For example, if the user only sets the home and work areas in the vehicle terminal, that is, only sets the start and end points of the commute, then by determining whether the location information of the start and end points in the vehicle's current driving route matches the pre-set location information of the start and end points of the commute, if they match, then it can be determined that the vehicle's current driving route matches the preset commute route, and thus the vehicle's current driving route can be determined as the target commute route.
[0054] Step S320: Obtain the first point of overlap between the target commuting route and the preset commuting route that is closest to the starting point and the first point of overlap between the target commuting route and the destination.
[0055] Specifically, following the above embodiments, if it is determined that the vehicle's current driving path matches the preset commuting path and is the target commuting driving path, then the first point of overlap between the target commuting driving path and the preset commuting driving path that is closest to the commuting start point and the first point of overlap between the target commuting driving path and the preset commuting driving path that is closest to the commuting end point can be extracted.
[0056] If the preset commuting route is the commuting route generated in the previous driving cycle, the first point of convergence between the vehicle's current driving route and the commuting route generated in the previous driving cycle, which is closest to the starting point of the commuting, and the first point of convergence between the commuting destination and the commuting route generated in the previous driving cycle, can be obtained by comparing the current driving route with the commuting route generated in the previous driving cycle.
[0057] Optionally, in some feasible embodiments, if the user only sets the range of home and company in the vehicle terminal, that is, only sets the start point and end point of the commute, then the first overlapping point closest to the start point is the user-set commute start point, and the first overlapping point closest to the end point is the user-set commute end point.
[0058] Step S330: Update the target commuting route based on the first overlapping point closest to the starting point and the first overlapping point closest to the ending point to obtain the updated target commuting route.
[0059] Specifically, based on the above embodiments, the target commuting route can be updated by determining the location information of the nearest overlapping point to the start point on the commuting route and the location information of the nearest overlapping point to the end point on the commuting route, thereby obtaining the updated target commuting route.
[0060] Optional, such as Figure 4 As shown, the range of the first overlapping point closest to the commuting start point from home may be greater than the range of the commuting start point. Therefore, the range of home on the target commuting route can be updated based on the location information of the first overlapping point closest to the start point. For example, in some situations, if the parking lot near home is far away, the vehicle's current driving route may be compared with the preset commuting route, and its first overlapping point closest to the start point is farther than the first overlapping point closest to the start point in the previous driving cycle. Therefore, the range of the commuting start point on the target commuting route can be updated based on the first overlapping point closest to the start point.
[0061] Similarly, if the distance from the first overlapping point closest to the destination to the company is greater than the distance to the destination, the company's location on the target commuting route can be updated based on the location information of the first overlapping point closest to the destination. For example, in some scenarios, the company's parking lot may be far from the office building. In such cases, when comparing the vehicle's current driving path with the preset commuting route, if the first overlapping point closest to the destination is farther than the first overlapping point closest to the destination in the previous driving cycle, the destination's location on the target commuting route can be updated based on the first overlapping point closest to the destination.
[0062] In this embodiment, by determining whether the vehicle's current driving path matches the preset commuting path, the system avoids relying on navigation to determine whether the current path is a commuting path. Furthermore, by determining the positions of the first point of convergence between the vehicle's target commuting path and the preset commuting path that is closest to the starting point and the first point of convergence between the starting point and the ending point, the target commuting path is updated. This process identifies the specific location range of the starting and ending points of the commuting route, thus enabling the determination of the commuting path, ensuring the user's personalized commuting requirements, and improving the vehicle's intelligence.
[0063] Furthermore, based on the above implementation, please refer to... Figure 5In one exemplary embodiment provided in this application, the specific implementation process of updating the target commuting route based on the first overlapping point closest to the starting point and the first overlapping point closest to the ending point to obtain the updated target commuting route may further include steps S510 and S530, which are described in detail below:
[0064] Step S510: If the distance between the first overlapping point closest to the starting point and the starting point is greater than the first fixed point set after the previous driving cycle, then the first fixed point is updated to the first overlapping point closest to the starting point; wherein, the first fixed point is the parking point closest to the starting point in the previous driving cycle.
[0065] Specifically, in step S510, it is first necessary to obtain the first fixed point set after the previous driving cycle of the vehicle. The first fixed point can be the parking point closest to the starting point in the previous driving cycle. Specifically, taking home as the starting point in the commuting route, since there is a certain distance between the parking range and home, and the parking position of the vehicle may be different each time without a fixed parking space, the first overlapping point closest to the starting point of the commuting route in the current driving route of the vehicle is the parking position of the vehicle. If the distance of the first overlapping point closest to the starting point of the commuting route is greater than the parking point closest to the starting point of the commuting route in the previous driving cycle, the first fixed point corresponding to the parking point closest to the starting point in the previous driving cycle can be replaced with the first overlapping point closest to the starting point in the current driving route of the vehicle and the preset commuting route.
[0066] Optionally, taking home as the starting point of commuting as an example, if the user does not have a fixed parking space near home, the parking location may be different each time. Therefore, if the vehicle's current driving path and the preset commuting path have the first point of overlap with the starting point, and if the first point of overlap with the starting point is farther away from home, the range of home can be updated based on the location information of the first point of overlap with the starting point, thereby making the range of home larger and making subsequent vehicle intelligent control more comprehensive and accurate.
[0067] Step S520: If the distance between the first overlapping point closest to the destination and the destination is greater than the second fixed point set after the previous driving cycle, then the second fixed point is updated to the first overlapping point closest to the destination; wherein, the second fixed point is the parking point closest to the destination in the previous driving cycle.
[0068] Specifically, in step S520, it is first necessary to obtain the second fixed point set after the previous driving cycle of the vehicle. The second fixed point can be the parking point closest to the commuting destination in the previous driving cycle. Specifically, taking the company as the destination in the commuting route as an example, since there is a certain distance between the parking range and the company, and the parking position of the vehicle may be different each time without a fixed parking space, the first overlapping point closest to the commuting destination in the current driving route of the vehicle and the preset commuting route is the parking position of the vehicle. If the distance of the first overlapping point closest to the commuting destination is greater than the distance of the parking point closest to the commuting destination in the previous driving cycle, the second fixed point corresponding to the parking point closest to the destination in the previous driving cycle can be replaced with the first overlapping point closest to the destination in the current driving route of the vehicle and the preset commuting route.
[0069] Optionally, taking the company as the starting point of commuting as an example, if the user does not have a fixed parking space near the company, the parking location may be different each time. Therefore, if the vehicle's current driving path and the preset commuting path have the first point of overlap with the destination that is closest to the destination, and if the first point of overlap with the destination is farther away from the company, the company's range can be updated based on the location information of the first point of overlap with the destination, thereby making the company's range larger and making subsequent vehicle intelligent control more comprehensive and accurate.
[0070] Step S530: Obtain the updated target commuting route based on the updated first fixed point and the updated second fixed point.
[0071] Specifically, following steps S510 and S520 above, the updated target commuting route can be obtained based on the updated location information of the first order and the updated second fixed point, such as... Figure 6 As shown, if the distance between the first overlapping point A1, which is closest to the commuting start point, and the preset commuting route is greater than the distance between the first fixed point A set after the previous driving cycle, then the range of the commuting start point is updated based on the first overlapping point A1, which is closest to the commuting start point; if the distance between the first overlapping point B1, which is closest to the commuting end point, and the preset commuting route is greater than the distance between the first overlapping point B1, which is closest to the commuting end point, and the distance between the first overlapping point B1, which is closest to the commuting end point, is greater than the distance between the first overlapping point B1, which is closest to the commuting end point, then the range of the commuting end point is updated based on the first overlapping point B1, which is closest to the commuting end point.
[0072] In this embodiment, by replacing the position of the first overlapping point closest to the commuting start point generated at the end of the previous round of driving and the position of the first overlapping point closest to the commuting end point generated at the end of the previous round of driving, the range of both the commuting start point and the commuting end point is made wider.
[0073] Furthermore, based on the above embodiments, please refer to... Figure 7 In one exemplary embodiment provided in this application, the specific implementation process of updating the target commuting path based on the first overlapping point closest to the starting point and the first overlapping point closest to the ending point to obtain the updated target commuting path may further include steps S710 and S720, which are described in detail below:
[0074] Step S710: Obtain the latitude and longitude information of the first overlapping point closest to the starting point. If the latitude and longitude information of the first overlapping point closest to the starting point exceeds the latitude and longitude limit of the starting point, then update the latitude and longitude information of the starting point to the latitude and longitude information of the first overlapping point closest to the starting point.
[0075] For details, please refer to Figure 8 The system obtains the latitude and longitude information of the first point of convergence between the current driving path of the vehicle on the target commuting route and the preset commuting route, which is closest to the commuting start point. It then compares whether the latitude and longitude information of the first point of convergence between the vehicle and the preset commuting start point exceeds the latitude and longitude limit of the commuting start point. If the latitude and longitude information of the first point of convergence between the vehicle and the preset commuting start point exceeds the latitude and longitude limit of the commuting start point, the latitude and longitude limit of the commuting start point can be updated by using the latitude and longitude information of the first point of convergence between the vehicle and the preset commuting start point.
[0076] Step S720: Obtain the latitude and longitude information of the first overlapping point closest to the endpoint. If the latitude and longitude information of the first overlapping point closest to the endpoint exceeds the latitude and longitude limit of the endpoint, then update the latitude and longitude information of the endpoint to the latitude and longitude information of the first overlapping point closest to the endpoint.
[0077] For details, please refer to Figure 8 The system obtains the latitude and longitude information of the first point of convergence between the current driving path of the vehicle on the target commuting route and the preset commuting route, which is closest to the commuting destination. It then compares whether the latitude and longitude information of the first point of convergence between the vehicle and the preset commuting destination exceeds the latitude and longitude limit of the commuting destination. If it does, it updates the latitude and longitude limit of the commuting destination.
[0078] In this embodiment, the range of the commuting start point and the range of the commuting end point on the target commuting path are updated by using the latitude and longitude information corresponding to the first overlapping point closest to the start point and the first overlapping point closest to the end point between the target commuting path and the preset commuting path, so that the obtained target commuting path is accurate.
[0079] Furthermore, based on the above embodiments, please refer to... Figure 9In one exemplary embodiment provided in this application, before determining the current driving path as the target commuting path if the vehicle's current driving path matches a preset commuting path, the specific implementation process of the above-mentioned commuting path update method may further include steps S910 and S920, which are described in detail below:
[0080] Step S910: Calculate the overlap between the vehicle's current driving route and the preset commuting route;
[0081] Step S920: If the overlap is greater than the preset overlap threshold, then determine that the vehicle's current driving path matches the preset commuting path.
[0082] Specifically, the overlap between the vehicle's current driving route and the preset commuting route can be calculated. If the overlap between the vehicle's current driving route and the preset commuting route is greater than a preset overlap threshold, then the vehicle's current driving route and the preset commuting route can be determined to be a match.
[0083] Optionally, in some feasible embodiments, the overlap between the roads and blocks traversed by the vehicle's current driving route and the roads and blocks traversed by the preset commuting route can be compared. If the overlap is greater than a preset overlap threshold, it can be determined that the vehicle's current driving route matches the preset commuting route.
[0084] In this embodiment, the overlap between the vehicle's current driving path and the preset commuting path is calculated. Only when the overlap point meets the preset overlap point threshold is the vehicle's current driving path determined to be the target commuting path that matches the preset commuting path, thus ensuring the accuracy of the target commuting path.
[0085] Furthermore, based on the above embodiments, please refer to... Figure 10 In one exemplary embodiment provided in this application, the specific implementation process of the above-mentioned commuting route update method may further include steps S1010 and S1020, which are described in detail below:
[0086] Step S1010: Divide the vehicle's current driving path into multiple path points according to a preset equidistant division.
[0087] Specifically, in some feasible embodiments, the vehicle's current driving path can be divided into equal intervals. For example, a waypoint can be defined every 300 meters, and then the next 300 meters can be defined as the next waypoint, and so on, dividing the vehicle's current driving path into multiple waypoints according to a preset distance. Similarly, a preset commuting path can also be divided into equal intervals, again using the method of defining a waypoint every 300 meters, thus dividing the preset commuting path into multiple waypoints.
[0088] Optionally, in some feasible embodiments, the vehicle's current driving path can be divided into a fixed array of path points. For example, the vehicle's current driving path can be divided into a fixed array of path points, such as path points corresponding to 300 data groups. Alternatively, a preset commuting route can be divided into path points corresponding to 300 arrays. The length of the distance corresponding to each data group is determined according to the length of the vehicle's current driving path.
[0089] Optionally, in some feasible embodiments, during vehicle travel, a waypoint is recorded every 50 meters. If the current travel path of the vehicle is too long, resulting in too many waypoints being recorded, the already recorded waypoints can be compressed proportionally. For example, two adjacent waypoints can be merged into one waypoint, thereby changing the distance between each waypoint from 50 meters to 100 meters, and thus dividing the vehicle's travel path into multiple waypoints at equal intervals.
[0090] Step S1020: Calculate the overlap between multiple waypoints and multiple waypoints on the preset commuting route. If the overlap is greater than the preset overlap threshold, then determine that the vehicle's current driving route matches the preset commuting route.
[0091] Following the above embodiments, since the vehicle's current driving path is divided into multiple waypoints, the preset commuting path can also be divided according to the same distance. For example, the vehicle's current driving path can be divided into waypoints every 50 meters, and the preset commuting path can also be divided into waypoints every 50 meters, thus obtaining multiple waypoints corresponding to the preset commuting path. The method for calculating the overlap between the vehicle's current driving path and the preset commuting path can calculate the overlap rate between the multiple waypoints of the current driving path and the multiple waypoints of the commuting path. Considering the errors in the actual application environment, if the distance between the waypoints on the current driving path and the waypoints on the commuting path is within a preset distance threshold range, it can be determined that the waypoints on the current driving path and the waypoints on the commuting path overlap. For example, if the distance between the waypoints on the current driving path and the waypoints on the commuting path is less than 10 meters (the preset distance threshold), it is considered that the waypoints on the current driving path and the waypoints on the commuting path overlap.
[0092] Optionally, by comparing the number of overlapping path points between the current driving path and the commuting path, and calculating the proportion of the overlapping path points to the total number of path points on the current commuting path, the overlap between the vehicle's current path point and the preset commuting path is determined based on the proportion. If the overlap between the vehicle's current path point and the preset commuting path reaches or exceeds a preset overlap threshold, the vehicle's current driving path can be determined as the target commuting path.
[0093] In this implementation, the vehicle's current driving path and the preset commuting path are divided into multiple equidistant path points. Then, by comparing the overlap points between the current driving path and the commuting path, it is determined whether the current driving path is the target commuting path. This ensures the accuracy and effectiveness of the obtained target commuting path, which further facilitates the intelligent control of the vehicle and improves the user experience.
[0094] Furthermore, based on the above embodiments, please refer to... Figure 11 In one exemplary embodiment provided in this application, the specific implementation process of the above-mentioned commuting route update method may further include steps S1110 to S1130, which are described in detail below:
[0095] Step S1110: Determine the first and last waypoints on the target commuting route.
[0096] Step S1120: Obtain the latitude and longitude information corresponding to the first and last waypoints.
[0097] Specifically, following the above embodiments, the current driving path of the vehicle, which serves as the target commuting route, is divided into multiple equally spaced path points according to a preset equidistant distance. Each path point is equidistant from its adjacent path points. Thus, the first and last path points of the target commuting route can be extracted. For example, if the target commuting route is from home to the company, the first path point of the target commuting route is the path point closest to home, and the last path point of the target commuting route is the path point closest to the company.
[0098] Optionally, in some feasible embodiments, the latitude and longitude information of the first path point defined on the already determined target commuting route can be obtained, that is, the latitude and longitude information of the first path point closest to home when taking home as the commuting starting point, and the latitude and longitude information of the first path point closest to the company on the target commuting route when taking the company as the commuting destination.
[0099] Latitude and longitude are coordinate systems composed of longitude and latitude. They are spherical coordinate systems that use a three-dimensional sphere to define space on Earth, capable of marking any location on the planet. Longitude is a geographic coordinate used to determine the east-west position of different points on the Earth's surface. Longitude is an angular quantity, usually expressed in degrees; latitude is the north-south geographic location of a point on the Earth's surface. Latitude and longitude are often used together to determine the precise location of a point on the Earth's surface.
[0100] Step S1130: Update the target commuting route based on the latitude and longitude information corresponding to the first waypoint, the last waypoint pair, the first overlapping point closest to the starting point, and the first overlapping point closest to the ending point, to obtain the updated target commuting route.
[0101] Specifically, following the above embodiments, if the current driving path of the vehicle is determined to be the target commuting path, the target commuting path is divided into a first path point and a last path point at equal intervals. Furthermore, based on the comparison between the target commuting path and the preset commuting path, there also exist a first overlapping point between the target commuting path and the preset commuting path that is closest to the starting point and a first overlapping point between the target commuting path and the preset commuting path that is closest to the ending point.
[0102] Optional, such as Figure 12 As shown, in Figure 12 The route map corresponding to the target commuting route shown includes the commuting start point (taking home as an example), the commuting end point (taking the company as an example), and the target commuting route also has a first path point D1 and a last path point D2 divided at equal intervals, as well as the first overlapping point A1 closest to the start point and the first overlapping point B1 closest to the end point between the target commuting route and the preset commuting route.
[0103] In some feasible embodiments, the range of the commuting start point and the range of the commuting end point on the target commuting path can be updated by the first waypoint D1 and the last waypoint D2, as well as the first overlapping point A1 closest to the start point and the first overlapping point B1 closest to the end point between the target commuting path and the preset commuting path.
[0104] In this embodiment, the target commuting route is updated using the latitude and longitude information of the first and last path points defined on the target commuting route, as well as the latitude and longitude information of the first overlapping point closest to the starting point and the first overlapping point closest to the ending point. This ensures the accuracy and effectiveness of the target commuting route and effectively protects the user experience.
[0105] Furthermore, based on the above embodiments, please refer to... Figure 13 In one exemplary embodiment provided in this application, the specific implementation process of updating the target commuting path based on the latitude and longitude information corresponding to the first waypoint, the last waypoint pair, the first overlapping point closest to the starting point, and the first overlapping point closest to the ending point to obtain the updated target commuting path may further include steps S1310 and S1320, which are described in detail below:
[0106] Step S1310: If the latitude and longitude information corresponding to the first path point or the first overlapping point closest to the starting point exceeds the latitude and longitude limit of the starting point, then replace the latitude and longitude information of the starting point with the latitude and longitude information that exceeds the latitude and longitude limit of the starting point.
[0107] Specifically, the latitude and longitude information of the first path point on the target commuting route, the latitude and longitude information of the first overlapping point closest to the commuting start point, and the latitude and longitude information of the commuting start point, as well as the corresponding maximum and minimum latitude and longitude values (i.e., latitude and longitude limits) of the commuting start point, can be obtained. The range of the commuting start point can be updated by obtaining the latitude and longitude information of the first path point on the target commuting route and the latitude and longitude information of the first overlapping point closest to the start point.
[0108] Specifically, if the latitude and longitude of the first path point or the first overlapping point closest to the starting point exceeds the latitude and longitude limit of the commuting starting point, the latitude and longitude limit of the commuting starting point can be updated based on the latitude and longitude information that exceeds the latitude and longitude limit of the commuting starting point, thereby expanding the range of the commuting starting point to facilitate subsequent intelligent control of the vehicle.
[0109] Optionally, a large range of commuting starting points can be constructed based on the latitude and longitude information of the first path point divided on the target commuting route, the latitude and longitude information of the first overlapping point between the target commuting route and the preset commuting route that is closest to the commuting starting point, and the latitude and longitude limit of the preset commuting starting point. This range is the range of commuting starting points.
[0110] Step S1320: If the latitude and longitude information corresponding to the last path point or the first overlapping point closest to the destination exceeds the latitude and longitude limit of the destination, then replace the latitude and longitude information of the destination with the latitude and longitude information that exceeds the latitude and longitude limit of the destination.
[0111] Specifically, firstly, obtain the latitude and longitude information of the last path point on the target commuting route, the latitude and longitude information of the first overlapping point closest to the commuting destination, and the latitude and longitude information of the commuting destination, as well as the corresponding maximum and minimum latitude and longitude values (i.e., latitude and longitude limits) of the commuting destination. Among these, the range of the commuting starting point can be updated by obtaining the latitude and longitude information of the last path point on the target commuting route and the latitude and longitude information of the first overlapping point closest to the destination.
[0112] Specifically, if the latitude and longitude of the last waypoint or the first overlapping point closest to the destination exceeds the latitude and longitude limit of the commuting destination, the latitude and longitude limit of the commuting destination can be updated based on the latitude and longitude information that exceeds the latitude and longitude limit of the commuting destination, thereby expanding the range of the commuting destination to facilitate subsequent intelligent control of the vehicle.
[0113] Optionally, in some feasible embodiments, a large range can be formed based on the latitude and longitude information of the last path point divided on the target commuting route, the latitude and longitude information of the first overlapping point between the target commuting route and the preset commuting route that is closest to the commuting destination, and the preset latitude and longitude limit of the commuting destination. This range is the range of the commuting destination.
[0114] In this embodiment, the commuting starting point is a rectangular area formed by the maximum longitude, maximum latitude, minimum longitude, and minimum latitude derived from the first point and the first overlapping point or the last point and the last overlapping point of multiple commuting routes. The commuting ending point is a rectangular area formed by the maximum longitude, maximum latitude, minimum longitude, and minimum latitude derived from the first point and the first overlapping point or the last point and the last overlapping point of multiple commuting routes, thereby making the obtained commuting routes more accurate and effective.
[0115] Figure 14 This is a simplified flowchart illustrating a commuter route update in an exemplary application scenario. Figure 14In the application scenario shown, the vehicle's current driving path is divided into multiple path points. The preset commuting path is divided into multiple path points according to the same path point interval distance. The overlap of path points between the current driving path and the preset commuting path is determined. By judging whether the overlap of path points between the vehicle's current driving path and the preset commuting path reaches a preset overlap threshold, if so, the vehicle's current driving path is taken as the target commuting path. The first overlap point closest to the commuting start point and the first overlap point closest to the end point between the target commuting path and the preset commuting path are obtained. Furthermore, the target commuting path is divided into multiple path points, and the first and last path points that cycle from the commuting start point on the target commuting path are extracted. This allows the latitude and longitude information of the commuting start point to be updated based on the latitude and longitude information of the first overlapping point closest to the commuting start point and the first path point on the target commuting path that loops from the commuting start point. Similarly, the latitude and longitude information of the commuting end point is updated based on the latitude and longitude information of the first overlapping point closest to the commuting end point and the last path point on the target commuting path that loops from the commuting start point. For detailed implementation details, please refer to the descriptions in the aforementioned embodiments; they will not be repeated here.
[0116] Figure 15 This is a block diagram illustrating a commuter route update device according to an exemplary embodiment of this application. The device can be applied to… Figure 2 The implementation environment shown is specifically configured in the smart terminal 210. This device can also be applied to other exemplary implementation environments and specifically configured in other devices. This embodiment does not limit the implementation environment to which the device is applicable.
[0117] like Figure 15 As shown, the exemplary commuter route update device 1500 includes: a determination module 1510, configured to determine the current driving route as the target commuter route if the current driving route of the vehicle matches a preset commuter route; an acquisition module 1520, configured to acquire the first point of convergence between the target commuter route and the preset commuter route that is closest to the starting point and the first point of convergence between the starting point and the preset commuter route; and an update module 1530, configured to update the target commuter route based on the first point of convergence between the starting point and the first point of convergence between the starting point and the ending point, thereby obtaining the updated target commuter route.
[0118] According to one aspect of the embodiments of this application, the above-mentioned update module 1530 further includes: a first determination unit, configured to update the first fixed point to the first overlapping point closest to the starting point if the distance between the first overlapping point closest to the starting point and the starting point is greater than the first fixed point set after the previous driving cycle; wherein the first fixed point is the parking point closest to the starting point in the previous driving cycle; a second determination unit, configured to update the second fixed point to the first overlapping point closest to the ending point if the distance between the first overlapping point closest to the ending point and the ending point is greater than the second fixed point set after the previous driving cycle; wherein the second fixed point is the parking point closest to the ending point in the previous driving cycle; and a route update unit, configured to obtain an updated target commuting route based on the updated first fixed point and the updated second fixed point.
[0119] In one aspect of this application embodiment, the above-mentioned update module 1530 further includes: a first acquisition unit, configured to acquire the latitude and longitude information of the first overlapping point closest to the starting point; if the latitude and longitude information of the first overlapping point closest to the starting point exceeds the latitude and longitude limit of the starting point, then the latitude and longitude information of the starting point is updated to the latitude and longitude information of the first overlapping point closest to the starting point; and a second acquisition unit, configured to acquire the latitude and longitude information of the first overlapping point closest to the ending point; if the latitude and longitude information of the first overlapping point closest to the ending point exceeds the latitude and longitude limit of the ending point, then the latitude and longitude information of the ending point is updated to the latitude and longitude information of the first overlapping point closest to the ending point.
[0120] According to one aspect of the embodiments of this application, the above-mentioned commuting route update device further includes: a first calculation module, configured to calculate the overlap between the current driving route of the vehicle and the preset commuting route; and a judgment module, configured to determine that the current driving route of the vehicle matches the preset commuting route if the overlap is greater than a preset overlap threshold.
[0121] According to one aspect of the embodiments of this application, the above-mentioned commuting route update device further includes: a division module, used to divide the current driving route of the vehicle into multiple path points according to a preset equidistant division; and a second calculation module, used to calculate the overlap between the multiple path points and multiple path points on the preset commuting route, and if the overlap is greater than a preset overlap threshold, then it is determined that the current driving route of the vehicle matches the preset commuting route.
[0122] According to one aspect of the embodiments of this application, the above-mentioned commuting route updating device further includes: a determining module, used to determine the first path point and the last path point divided on the target commuting route; a latitude and longitude acquisition module, used to acquire the latitude and longitude information corresponding to the first path point and the last path point; and a route updating module, used to update the target commuting route based on the latitude and longitude information corresponding to the first path point, the last path point pair, the first overlapping point closest to the starting point, and the first overlapping point closest to the ending point, to obtain the updated target commuting route.
[0123] According to one aspect of the embodiments of this application, the above-mentioned path update module further includes: a first update unit, configured to replace the latitude and longitude information of the starting point with latitude and longitude information exceeding the latitude and longitude limit of the starting point if the latitude and longitude information corresponding to the first path point or the first overlapping point closest to the starting point exceeds the latitude and longitude limit of the starting point; and a second update unit, configured to replace the latitude and longitude information of the endpoint with latitude and longitude information exceeding the latitude and longitude limit of the endpoint if the latitude and longitude information corresponding to the last path point or the first overlapping point closest to the endpoint exceeds the latitude and longitude limit of the endpoint.
[0124] It should be noted that the commuting route updating device and the commuting route updating method provided in the above embodiments belong to the same concept. The specific ways in which each module and unit performs operations have been described in detail in the method embodiments and will not be repeated here. In practical applications, the commuting route updating device provided in the above embodiments can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. This is not a limitation here.
[0125] Embodiments of this application also provide an electronic device, including: one or more processors; and a storage device for storing one or more programs, which, when executed by the one or more processors, cause the electronic device to implement the commuting route update method provided in the above embodiments.
[0126] Figure 16 A schematic diagram of a computer system suitable for implementing the embodiments of this application is shown. It should be noted that... Figure 16 The computer system 1600 of the electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.
[0127] like Figure 12As shown, the computer system 1600 includes a Central Processing Unit (CPU) 1601, which can perform various appropriate actions and processes based on programs stored in Read-Only Memory (ROM) 1602 or programs loaded from storage portion 1608 into Random Access Memory (RAM) 1603, such as performing the methods described in the above embodiments. Various programs and data required for system operation are also stored in RAM 1603. The CPU 1601, ROM 1602, and RAM 1603 are interconnected via bus 1604. An Input / Output (I / O) interface 1605 is also connected to bus 1604.
[0128] The following components are connected to I / O interface 1605: an input section 1606 including a keyboard, mouse, etc.; an output section 1607 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 1608 including a hard disk, etc.; and a communication section 1609 including a network interface card such as a LAN (Local Area Network) card, modem, etc. The communication section 1609 performs communication processing via a network such as the Internet. A drive 1610 is also connected to I / O interface 1605 as needed. Removable media 1611, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., are installed on drive 1610 as needed so that computer programs read from them can be installed into storage section 1608 as needed.
[0129] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program including a computer program for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 1609, and / or installed from removable medium 1611. When the computer program is executed by central processing unit (CPU) 1601, it performs various functions defined in the system of this application.
[0130] It should be noted that the computer-readable medium shown in the embodiments of this application can be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, portable compact disc read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this application, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying a computer-readable computer program. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media can also be any computer-readable medium other than computer-readable storage media, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to wireless, wired, etc., or any suitable combination thereof.
[0131] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. Each block in a flowchart or block diagram may represent a module, segment, or portion of code, which contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0132] The units described in the embodiments of this application can be implemented in software or hardware, and the described units can also be located in a processor. The names of these units do not necessarily limit the specific unit itself.
[0133] Another aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the commuting route update method as described above. This computer-readable storage medium may be included in the electronic device described in the above embodiments, or it may exist independently and not incorporated into the electronic device.
[0134] Another aspect of this application provides a computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the commuting route update method provided in the various embodiments described above.
[0135] The above description is merely a preferred exemplary embodiment of this application and is not intended to limit the implementation of this application. Those skilled in the art can easily make corresponding modifications or alterations based on the main concept and spirit of this application. Therefore, the scope of protection of this application should be determined by the scope of protection claimed in the claims.
Claims
1. A commuter route update method, characterized in that, include: If the vehicle's current driving route matches the preset commuting route, then the current driving route is determined as the target commuting route; Obtain the first point of convergence between the target commuting route and the preset commuting route that is closest to the starting point and the first point of convergence between the destination and the target commuting route. The target commuting route is updated based on the first overlapping point closest to the starting point and the first overlapping point closest to the ending point to obtain the updated target commuting route. The step of updating the target commuting route based on the first overlapping point closest to the starting point and the first overlapping point closest to the ending point, to obtain the updated target commuting route, includes: If the distance between the first coincident point closest to the starting point and the starting point is greater than the first fixed point set after the previous driving cycle, then the first fixed point is updated to the first coincident point closest to the starting point; wherein, the first fixed point is the first coincident point closest to the starting point in the previous driving cycle and the preset commuting route. If the distance between the first coincident point closest to the destination and the destination is greater than the distance between the second fixed point set after the previous driving cycle, then the second fixed point is updated to the first coincident point closest to the destination; wherein, the second fixed point is the first coincident point closest to the destination in the previous driving cycle and the preset commuting route. The updated target commuting route is obtained based on the updated first fixed point and the updated second fixed point. And / or, obtain the latitude and longitude information of the first overlapping point closest to the starting point; if the latitude and longitude information of the first overlapping point closest to the starting point exceeds the latitude and longitude limit of the starting point, then update the latitude and longitude information of the starting point to the latitude and longitude information of the first overlapping point closest to the starting point; obtain the latitude and longitude information of the first overlapping point closest to the ending point; if the latitude and longitude information of the first overlapping point closest to the ending point exceeds the latitude and longitude limit of the ending point, then update the latitude and longitude information of the ending point to the latitude and longitude information of the first overlapping point closest to the ending point.
2. The method as described in claim 1, characterized in that, Before determining the current driving path as the target commuting path if it matches a preset commuting path, the method further includes: Calculate the overlap between the vehicle's current driving path and the preset commuting path; If the overlap is greater than a preset overlap threshold, then the vehicle's current driving path is determined to match a preset commuting path.
3. The method as described in claim 2, characterized in that, The method further includes: The vehicle's current driving path is divided into multiple path points according to a preset equidistant division. Calculate the overlap between the multiple waypoints and multiple waypoints on the preset commuting route. If the overlap is greater than a preset overlap threshold, then determine that the vehicle's current driving route matches the preset commuting route.
4. The method as described in claim 3, characterized in that, The method further includes: Determine the first and last waypoints on the target commuting route; Obtain the latitude and longitude information corresponding to the first path point and the last path point; The target commuting route is updated based on the latitude and longitude information corresponding to the first waypoint, the last waypoint, the first overlapping point closest to the starting point, and the first overlapping point closest to the ending point, to obtain the updated target commuting route.
5. The method as described in claim 4, characterized in that, The process of updating the target commuting route based on the latitude and longitude information corresponding to the first waypoint, the last waypoint, the first overlapping point closest to the starting point, and the first overlapping point closest to the ending point, to obtain the updated target commuting route, includes: If the latitude and longitude information corresponding to the first path point or the first overlapping point closest to the starting point exceeds the latitude and longitude limit of the starting point, then the latitude and longitude information of the starting point is replaced with latitude and longitude information that exceeds the latitude and longitude limit of the starting point. If the latitude and longitude information corresponding to the last path point or the first overlapping point closest to the endpoint exceeds the latitude and longitude limit of the endpoint, then the latitude and longitude information of the endpoint will be replaced with latitude and longitude information that exceeds the latitude and longitude limit of the endpoint.
6. A commuter route updating device, characterized in that, The device comprises: The determination module is used to determine the current driving route as the target commuting route if the current driving route of the vehicle matches the preset commuting route. The acquisition module is used to acquire the first overlapping point closest to the starting point and the first overlapping point closest to the ending point between the target commuting route and the preset commuting route; The update module is used to update the target commuting route based on the first overlapping point closest to the starting point and the first overlapping point closest to the ending point, so as to obtain the updated target commuting route. The update module includes: a first determination unit, configured to update the first fixed point to the first closest overlapping point to the starting point if the distance between the first overlapping point closest to the starting point and the starting point is greater than the first fixed point set after the previous driving cycle; wherein the first fixed point is the first closest overlapping point to the starting point in the previous driving cycle and the preset commuting route; a second determination unit, configured to update the second fixed point to the first closest overlapping point to the ending point if the distance between the first overlapping point closest to the ending point and the ending point is greater than the second fixed point set after the previous driving cycle; wherein the second fixed point is the first closest overlapping point to the ending point in the previous driving cycle and the preset commuting route; and a route update unit, configured to obtain an updated target commuting route based on the updated first fixed point and the updated second fixed point. And / or, the update module includes: a first acquisition unit, configured to acquire the latitude and longitude information of the first overlapping point closest to the starting point; if the latitude and longitude information of the first overlapping point closest to the starting point exceeds the latitude and longitude limit of the starting point, then update the latitude and longitude information of the starting point to the latitude and longitude information of the first overlapping point closest to the starting point; and a second acquisition unit, configured to acquire the latitude and longitude information of the first overlapping point closest to the ending point; if the latitude and longitude information of the first overlapping point closest to the ending point exceeds the latitude and longitude limit of the ending point, then update the latitude and longitude information of the ending point to the latitude and longitude information of the first overlapping point closest to the ending point.
7. An electronic device, characterized in that, include: One or more processors; A storage device for storing one or more programs, which, when executed by the one or more processors, cause the electronic device to implement the commuting route update method as described in any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that, It stores computer-readable instructions that, when executed by the computer's processor, cause the computer to perform the commuting route update method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Automatic gathering and analysis of data on commute paths
US20030100993A1
User segmentation method based on toll data of expressway electronic toll collection
US20230245007A1