Navigation method, device, computer equipment, storage medium and computer program product
By displaying the virtual vehicle's front direction dynamically deviating with the degree of curve curvature in the navigation interface, and adding over-the-horizon content in front of the curve, the problem of insufficient navigation screen content when driving on curves is solved and the navigation effect is improved.
Patent Information
- Application Number
- CN202210547448.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-19
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2042-05-19
AI Technical Summary
In vehicle navigation, less content is displayed on the navigation screen when driving on curves, which results in the driver's prediction of the road ahead being reduced and the navigation effect being poor.
By displaying in the navigation interface that the head direction of the virtual vehicle deviates dynamically with the degree of curve curvature, the navigation map also deviates accordingly, and the over-the-horizon content display in front of the curve is added to improve the navigation effect.
It increases the driver's prediction and guidance of the road ahead, improves the vehicle navigation effect, and provides more comprehensive road environment information especially when driving on curves.
Smart Images

Figure CN115112145B
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a navigation method, apparatus, computer equipment, storage medium and computer program product. Background Art
[0002] With the development of computer technology and positioning technology, electronic map navigation has emerged that can serve vehicles. The navigation perspective of the navigation screen is usually with the front of the vehicle facing upward. In the navigation screen with the navigation perspective of the front of the vehicle facing upward, the top of the navigation map always changes with the driving direction, keeping the front of the vehicle facing upward, so that the vehicle can be guided efficiently and conveniently by moving left and right.
[0003] In this type of navigation screen, when the vehicle is traveling on a curve, the navigation screen displays less content about the curve, and the driver's prediction of the road ahead will be reduced, resulting in poor vehicle navigation results. Summary of the invention
[0004] Based on this, it is necessary to provide a navigation method, device, computer equipment, computer-readable storage medium and computer program product that can improve navigation effects in response to the above technical problems.
[0005] In a first aspect, the present application provides a navigation method. The method comprises:
[0006] Displaying a navigation interface, wherein the navigation interface is used to navigate the target vehicle;
[0007] In the navigation interface, a navigation map and a virtual vehicle moving along with the target vehicle in the navigation map are displayed; the navigation base map includes a curve;
[0008] When the virtual vehicle is displayed in the curve, the navigation map and the front direction of the virtual vehicle are dynamically deviated according to the curvature of the curve, and the degree of the dynamic deviation varies with the curvature of the moving position of the virtual vehicle in the curve.
[0009] In a second aspect, the present application also provides a navigation device. The device comprises:
[0010] A first display module is used to display a navigation interface, wherein the navigation interface is used to navigate the target vehicle; in the navigation interface, a navigation map and a virtual vehicle moving along with the target vehicle in the navigation map are displayed; the navigation base map includes a curve;
[0011] The second display module is used to display that the navigation map and the front direction of the virtual vehicle both dynamically deviate with the curvature of the curve when the virtual vehicle is displayed in the curve, and the degree of deviation of the dynamic deviation changes with the change of the curvature of the moving position of the virtual vehicle in the curve.
[0012] In one embodiment, the second display module is also used to dynamically deviate the front direction of the virtual vehicle along with the curvature of the curve; when the front direction of the virtual vehicle dynamically deviates along with the curvature of the curve, the navigation map deviates accordingly in the direction of deviation of the front direction of the vehicle; the first display module is also used to move beyond-visual-range content about the front of the curve into the navigation map when the navigation map deviates accordingly in the direction of deviation of the front direction of the vehicle.
[0013] In one embodiment, the navigation perspective of the navigation interface is with the front of the vehicle facing upward; the second display module is further used to display the virtual vehicle moving into the curve from the starting point of the curve at an initial angle deviating from the upward direction of the front of the vehicle.
[0014] In one embodiment, the second display module is also used to display the navigation map and the front direction of the virtual vehicle after the virtual vehicle moves into the curve at an initial angle deviating from the upward direction of the front of the vehicle at the starting point of the curve, and dynamically deviates from the upward direction of the front of the vehicle with the degree of curvature at the moving position of the virtual vehicle until the virtual vehicle moves out of the curve.
[0015] In one embodiment, the curve is located on the navigation route of the target vehicle, and the device also includes an initial angle calculation module, which is used to use the position point on the navigation route of the target vehicle when the curvature changes from zero to non-zero as the curve starting point of the curve; obtain the coordinates of the center of curvature corresponding to the starting point of the curve; and calculate the deviation angle between the tangent at the starting point of the curve and the upward direction of the vehicle head based on the starting point of the curve and the coordinates of the center of curvature, as the initial angle when the virtual vehicle moves into the curve.
[0016] In one embodiment, the navigation perspective of the navigation interface is with the front of the vehicle facing upward, and the dynamic deviation is the angle at which the front direction of the virtual vehicle deviates from the upward direction of the front of the vehicle, which changes with the degree of curvature at the moving position of the virtual vehicle in the curve, and the navigation map deviates along with the deviation of the front direction.
[0017] In one embodiment, the device also includes a dynamic deviation angle calculation module, which is used to estimate the trajectory offset of the virtual vehicle at the next moment compared to the current moment based on the curvature radius and the driving speed of the virtual vehicle's current moving position starting from the time when the virtual vehicle moves into the curve; estimate the moving position of the virtual vehicle at the next moment based on the virtual vehicle's current moving position and the trajectory offset; obtain the estimated curvature center coordinates corresponding to the virtual vehicle's estimated moving position at the next moment; and determine the deviation angle of the moving position at the next moment based on the moving position at the next moment and the curvature center coordinates corresponding to the moving position at the next moment.
[0018] In one embodiment, the coordinates of the center of curvature of the virtual vehicle's moving position in the curve are a point on the normal line of the curve at the moving position and a point whose distance from the moving position is a curvature radius, and the curvature radius is the inverse of the curvature of the curve at the moving position, and the curvature represents the degree of bending of the curve at the moving position.
[0019] In one embodiment, the second display module is also used for, between the moment when the virtual vehicle moves to the target distance for entering the curve and the moment when the virtual vehicle enters the curve, there are multiple moments when the navigation map and the front direction of the virtual vehicle deviate in the opposite direction of the curve, and the degree of deviation of the multiple deviations gradually increases in time sequence.
[0020] In one embodiment, the device also includes: a target distance calculation module, which is used to determine the initial angle of the virtual vehicle when it moves into the curve based on the curve starting point of the curve and the coordinates of the center of curvature corresponding to the curve starting point; and calculate the target distance based on the current driving speed of the target vehicle and the initial angle.
[0021] In one embodiment, the target distance calculation module is also used to estimate the trajectory offset of the virtual vehicle after it moves into the curve based on the current driving speed of the target vehicle and the curvature radius corresponding to the starting point of the curve; estimate the vehicle position of the virtual vehicle after it moves into the curve based on the trajectory offset; calculate the estimated deviation angle corresponding to the vehicle position based on the vehicle position and the coordinates of the center of curvature corresponding to the vehicle position; determine the deviation angle change of the front angle of the virtual vehicle based on the initial angle when the virtual vehicle moves into the curve and the estimated deviation angle after moving into the curve; calculate the target distance based on the current driving speed, the initial angle and the deviation angle change.
[0022] In one embodiment, the second display module is further used to display, in the navigation interface, the virtual vehicle moving in an upward direction of the front of the vehicle in the navigation map before the virtual vehicle moves into the curve and the distance from the curve is greater than the target distance.
[0023] In one embodiment, the second display module is also used to display the navigation map and the front direction of the virtual vehicle starting to deviate toward the upward direction of the front of the vehicle in the navigation interface after the virtual vehicle moves out of the curve, until the navigation map and the front direction of the virtual vehicle are in the upward direction of the front of the vehicle, then end the offset and display the virtual vehicle continuing to move in the navigation route of the navigation map in the upward direction of the front of the vehicle.
[0024] In one embodiment, the device also includes an acquisition module for acquiring the real-time position of the target vehicle; displaying a navigation map matching the real-time position in the navigation interface; acquiring route curvature data of the navigation route in the navigation map, the route curvature data including the curvature, curvature radius and curvature center coordinates corresponding to each position point on the navigation route in the navigation map.
[0025] In one embodiment, the acquisition module is also used to acquire real-time data collected by a sensor provided on the target vehicle; the sensor includes at least one of a camera and a radar; based on the real-time data collected by the sensor, the target vehicle is positioned and calibrated to obtain the real-time position of the target vehicle.
[0026] In one embodiment, the acquisition module is further used to determine a preset distance; based on the real-time position of the target vehicle, obtain route curvature data of a portion of the navigation route in the navigation map that is located a preset distance ahead of the real-time position.
[0027] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
[0028] Displaying a navigation interface, wherein the navigation interface is used to navigate the target vehicle;
[0029] In the navigation interface, a navigation map and a virtual vehicle moving along with the target vehicle in the navigation map are displayed; the navigation base map includes a curve;
[0030] When the virtual vehicle is displayed in the curve, the navigation map and the front direction of the virtual vehicle are dynamically deviated according to the curvature of the curve, and the degree of the dynamic deviation varies according to the curvature of the moving position of the virtual vehicle in the curve.
[0031] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0032] Displaying a navigation interface, wherein the navigation interface is used to navigate the target vehicle;
[0033] In the navigation interface, a navigation map and a virtual vehicle moving along with the target vehicle in the navigation map are displayed; the navigation base map includes a curve;
[0034] When the virtual vehicle is displayed in the curve, the navigation map and the front direction of the virtual vehicle are dynamically deviated according to the curvature of the curve, and the degree of the dynamic deviation varies according to the curvature of the moving position of the virtual vehicle in the curve.
[0035] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0036] Displaying a navigation interface, wherein the navigation interface is used to navigate the target vehicle;
[0037] In the navigation interface, a navigation map and a virtual vehicle moving along with the target vehicle in the navigation map are displayed; the navigation base map includes a curve;
[0038] When the virtual vehicle is displayed in the curve, the navigation map and the front direction of the virtual vehicle are dynamically deviated according to the curvature of the curve, and the degree of the dynamic deviation varies according to the curvature of the moving position of the virtual vehicle in the curve.
[0039] The above-mentioned navigation method, apparatus, computer equipment, storage medium and computer program product, during the process of navigating a target vehicle, display a navigation interface for navigating the target vehicle, wherein the navigation interface includes a virtual vehicle corresponding to the target vehicle and moving as the target vehicle travels on the road. When the virtual vehicle moves into a curve on the navigation route as the target vehicle travels, the navigation map and the front direction of the virtual vehicle no longer always maintain the same direction, such as keeping the front of the vehicle upward, but dynamically deviate as the degree of curvature of the position to which the virtual vehicle moves changes until the virtual vehicle moves out of the curve. This allows the navigation interface to display more road environment about the curve ahead when the target vehicle is traveling in the curve, thereby increasing the driver's prediction and guidance of the road ahead, thereby improving the vehicle navigation effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 A diagram of an application environment of a navigation method in an embodiment;
[0041] Figure 2 It is a schematic diagram of keeping the front of the vehicle facing upward all the time in the related art in one embodiment;
[0042] Figure 3 A schematic diagram of a corresponding navigation interface when a target vehicle passes through a curve in one embodiment;
[0043] Figure 4 is a flowchart of a navigation method in an embodiment;
[0044] Figure 5 is a schematic diagram of the deviation of the vehicle head angle in one embodiment;
[0045] Figure 6 is a schematic diagram of a deviation angle of a virtual vehicle in a curve in one embodiment;
[0046] Figure 7 A schematic diagram of a dynamic deviation angle of a virtual vehicle at each moment in an embodiment;
[0047] Figure 8 A timing diagram for calculating a dynamic deviation angle in one embodiment;
[0048] Fig. 9 It is a schematic diagram of an embodiment in which the front angle of the vehicle is uniformly rotated in the opposite direction of the curve before entering the curve;
[0049] Fig.10 It is a schematic diagram of an interface for always keeping the front of the vehicle facing upward in a curve in the related art;
[0050] Fig.11 A schematic diagram of an interface showing a dynamic change in the vehicle head angle in a curve along with the road curvature in an embodiment;
[0051] Fig.12 is a structural block diagram of a navigation device in one embodiment;
[0052] Fig.13 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0053] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0054] The navigation method provided in the embodiment of the present application can be applied to an intelligent traffic system (ITS), which is also called an intelligent transportation system (ITS). It effectively integrates advanced science and technology (information technology, computer technology, data communication technology, sensor technology, electronic control technology, automatic control theory, operations research, artificial intelligence, etc.) into transportation, service control and vehicle manufacturing, strengthens the connection between vehicles, roads and users, and thus forms a comprehensive transportation system that ensures safety, improves efficiency, improves the environment and saves energy.
[0055] The navigation method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other servers. In one embodiment, the server 104 provides navigation services for the terminal. During navigation for the target vehicle, the terminal 102 displays a navigation interface, which is used to navigate the target vehicle; in the navigation interface, a navigation map and a virtual vehicle that moves with the target vehicle in the navigation map are displayed; the navigation base map includes curves; when the virtual vehicle is displayed in a curve, the navigation map and the direction of the head of the virtual vehicle are dynamically deviated with the degree of curvature of the curve, and the degree of deviation of the dynamic deviation changes with the change of the degree of curvature at the moving position of the virtual vehicle in the curve.
[0056] In one embodiment, an electronic map client may be run on the terminal 102, and the electronic map client may support vehicle navigation. When the driver drives the target vehicle, the driver may use the terminal 102 to start the electronic map client to navigate the target vehicle. During the navigation process, the server 104 communicates with the terminal 102 through the network, obtains the positioning information of the target vehicle and the road information of the driving road, calculates the navigation map and the head direction of the virtual vehicle in the navigation interface, and the deviation angle deviated with the dynamic change of the curve, so that the terminal 102 can implement the vehicle navigation method provided in the embodiment of the present application. Among them, the terminal 102 can be, but is not limited to, various desktop computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart voice interaction devices, smart car-mounted devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The server 104 can be implemented with an independent server or a server cluster composed of multiple servers. The embodiment of the present application can be applied to various scenarios, including but not limited to cloud technology, artificial intelligence, smart transportation, assisted driving, etc.
[0057] Usually, the navigation perspectives of the electronic map navigation screen that can serve the vehicle usually include the vehicle head-up and due north-up. In the navigation screen with the vehicle head-up navigation perspective, the top of the navigation map always changes with the driving direction. Keep the vehicle head facing up, such as Figure 2 As shown in the figure, whether driving in a straight line or passing a curve, the virtual vehicle in the navigation map is presented with the front of the vehicle facing upward. The navigation map changes with the front direction of the virtual vehicle, so that the vehicle can be efficiently and conveniently guided by left and right. In the navigation screen with the navigation perspective of due north, you need to navigate the route by direction or adjust the phone to due north. Compared with the navigation perspective with the front of the vehicle facing upward, this method has a poorer navigation effect, but it is easy to know the location of the vehicle.
[0058] In the vehicle head-up navigation mode, when the target vehicle is driving in a curve, the virtual vehicle always keeps its head up. Figure 2 As shown, the front of the vehicle will always be facing upwards in a curve, resulting in a very short visible distance in the curve, and the forward beyond-visual-range information (information that originally could not be displayed in the navigation interface) cannot be displayed in the navigation interface. The driver's prediction of the road ahead will be reduced, resulting in poor vehicle navigation effect and low driving safety when passing through the curve.
[0059] The navigation method provided in the embodiment of the present application displays a navigation interface for navigating the target vehicle during navigation for the target vehicle, the navigation interface including a virtual vehicle corresponding to the target vehicle that moves as the target vehicle travels on the road, when the virtual vehicle moves into a curve on the navigation route as the target vehicle travels, the navigation map and the front direction of the virtual vehicle no longer keep the front of the vehicle upward, but dynamically deviate as the degree of curvature of the virtual vehicle's moving position changes until the virtual vehicle moves out of the curve, so that when the target vehicle travels in the curve, the navigation interface displays more road environment ahead about the curve, thereby increasing the driver's prediction and guidance of the road ahead, thereby improving the vehicle navigation effect.
[0060] like Figure 3 FIG. 1 is a schematic diagram of a navigation interface corresponding to a target vehicle passing through a curve in one embodiment. Figure 2 In the navigation interface, the virtual vehicle always keeps its head facing upwards. Figure 3 When the target vehicle passes through a curve, more information about the road environment ahead of the curve can be displayed in the navigation interface, and the beyond-visual-range information that was originally not displayed can be presented in the navigation map, such as point A in the figure. This can increase the driver's prediction and guidance of the road ahead, thereby improving the vehicle navigation effect.
[0061] In one embodiment, Figure 4 As shown, a navigation method is provided, which is applied to Figure 1 The terminal 102 in the example is used as an example to illustrate, and the following steps are included:
[0062] Step 402, displaying a navigation interface, where the navigation interface is used to navigate the target vehicle.
[0063] Step 404: Displaying a navigation map and a virtual vehicle that moves along with the target vehicle in the navigation map in the navigation interface, wherein the navigation map includes curves.
[0064] The navigation interface is an interface for displaying an electronic navigation map. The electronic map related to the road in the navigation interface is called a navigation map. In the process of navigating the target vehicle, the navigation interface displays the navigation route, which includes curves and a virtual vehicle corresponding to the target vehicle. Of course, the target vehicle can also be referred to by other marks in the navigation interface, such as arrows, circles, etc. The target vehicle is the vehicle traveling on the actual road in the vehicle navigation.
[0065] In actual applications, the navigation interface can have a variety of navigation perspectives, including head-on and north-up. Head-on means that the top of the navigation map changes with the driving direction of the target vehicle. For example, when the target vehicle is traveling to the west, the top of the navigation map is facing the west. When the target vehicle is traveling to the east, the top of the navigation map is facing the east. In this way, when the driver refers to the navigation map, he only needs to judge which direction to turn by looking left and right, which is convenient for the driver to control the driving direction of the vehicle. North-up means that the orientation of the navigation map always keeps the top as north, which is fixed and unchanged, and will not change with the driving of the target vehicle. The driver mainly determines which direction to turn by the direction or adjusting the navigation device to the north direction. It is suitable for users with a good sense of direction, and allows users to grasp the driving direction of the vehicle at any time. The embodiment of the present application is mainly applicable to the navigation mode with the navigation perspective of head-on.
[0066] In actual applications, the road conditions displayed in the navigation interface can be three-dimensional, and the navigation interface is the navigation interface of a three-dimensional electronic navigation map. Of course, the road environment displayed in the navigation interface can also be flat, and the navigation interface is the navigation interface of a two-dimensional electronic navigation map. The driver or user can select or switch according to actual needs.
[0067] Specifically, when a user needs vehicle navigation, he or she can start an application that supports vehicle navigation through the terminal, and a navigation interface for navigating the target vehicle is displayed in the navigation application. The virtual vehicle displayed in the navigation interface moves in the navigation map as the target vehicle travels.
[0068] Step 406, when the virtual vehicle is displayed in a curve, the navigation map and the front direction of the virtual vehicle are dynamically deviated according to the curvature of the curve, and the degree of the dynamic deviation varies with the curvature of the moving position of the virtual vehicle in the curve.
[0069] Among them, a curve is a section of the road where the curvature of the road is not zero. The curve can be an intersection, a fork in the road, a roundabout road, etc. where a turn or U-turn is required. In addition, the navigation route for navigating the target vehicle can also include a straight road. In the process of moving in a curve, the position where the virtual vehicle moves is a position point in the curve. The degree of curvature of the moved position can be represented by the curvature of the curve at the corresponding position point. The larger the curvature, the smaller the radius of curvature, and the higher the degree of curvature. The smaller the curvature, the larger the radius of curvature, and the lower the degree of curvature. The specific manifestation of dynamic deviation with the degree of curvature of the position where the virtual vehicle moves is that the deviation angle of the position where the virtual vehicle moves is related to the curvature of the position where the virtual vehicle moves, and the deviation angle changes dynamically. The deviation angle changes dynamically with the change of the curvature at the position where the virtual vehicle moves.
[0070] The deviation angle corresponding to each position point of the virtual vehicle in the curve can be determined according to the position point and the coordinates of the center of curvature corresponding to the position point. The coordinates of the center of curvature are the coordinates of the center of the curvature circle corresponding to the position point of the curve on the curve. The coordinates of the center of curvature corresponding to each position point in the curve are different. The coordinates of the center of curvature are a point on the normal line of the curve at the position point O(x,y). The distance from this point to the position point O(x,y) is equal to the radius of curvature R at the point. The radius of curvature R is the inverse of the curvature k. The curvature k can be determined according to the first-order derivative and the second-order derivative of the curve at the position point O(x,y). It can be seen that the deviation angle corresponding to each position point in the curve is related to the curvature.
[0071] The front direction of the virtual vehicle is the direction indicated by the front of the virtual vehicle. In the navigation screen with the navigation perspective of the vehicle head facing upward, the front direction of the virtual vehicle always keeps the vehicle head facing upward. In the present embodiment, when the target vehicle is traveling in a curve of the road, in the navigation interface, the displayed navigation map and the front direction of the virtual vehicle no longer always keep the front direction unchanged, but both dynamically deviate from the original vehicle head facing upward direction with the degree of curvature of the position where the virtual vehicle moves, until the virtual vehicle moves out of the curve. That is, when the virtual vehicle is displayed in a curve of the navigation map, the displayed navigation map deviates with the degree of curvature at the position where the virtual vehicle moves, and the displayed front direction of the virtual vehicle deviates with the degree of curvature at the position where the virtual vehicle moves. It can be understood that in the process of navigating the target vehicle, the front direction of the target vehicle during the actual driving process is controlled by the driver or the automatic driving system, and has no direct connection with the dynamic deviation of the front direction of the virtual vehicle.
[0072] In the above navigation method, during the process of navigating the target vehicle, a navigation interface for navigating the target vehicle is displayed, and the navigation interface includes a virtual vehicle representing the target vehicle, which moves as the target vehicle travels on the road. When the virtual vehicle moves to a curve on the navigation route as the target vehicle travels, the navigation map and the front direction of the virtual vehicle no longer always maintain the same direction, such as keeping the front of the vehicle upward, but dynamically deviate with the degree of curvature of the position to which the virtual vehicle moves until the virtual vehicle moves out of the curve. This allows the navigation interface to display more road environment about the curve ahead when the target vehicle is traveling in the curve, thereby increasing the driver's prediction and guidance of the road ahead, thereby improving the vehicle navigation effect.
[0073] In one embodiment, the navigation method may further include: displaying beyond-visual-range content in front of the curve in the navigation interface while the navigation map and the front direction of the virtual vehicle both dynamically deviate with the curvature of the curve.
[0074] Specifically, the navigation map and the front direction of the virtual vehicle both deviate dynamically with the curvature of the curve, that is, the front direction of the virtual vehicle deviates dynamically with the curvature of the curve, and at the same time, when the front direction of the virtual vehicle deviates dynamically with the curvature of the curve, the navigation map deviates accordingly in the deviation direction of the front direction of the vehicle. In this way, when the navigation map deviates accordingly in the deviation direction of the front direction of the vehicle, the navigation map can move into the beyond-visual-range content about the front of the curve.
[0075] The beyond-visual-distance information ahead of the curve is information ahead of the curve that cannot be displayed in the navigation interface and is beyond the driver's line of sight. Such beyond-visual-distance information is displayed in the navigation interface in advance due to the deviation of the front angle of the vehicle to assist the driver in predicting the road. The beyond-visual-distance information ahead of the curve can include the direction, shape, number of lanes, etc. of the curve itself, and can also include other road environments near the curve, such as green plants, buildings, signs, etc. Figure 2 and Figure 3 By comparison, we can see that Figure 2 In the display, less information about the road conditions ahead of the curve is shown. Figure 3 More information about the road conditions ahead of the curve is displayed (point A, which was not originally displayed, is displayed in the navigation interface), and more beyond-visual-range information can be displayed in the navigation interface.
[0076] In one embodiment, the navigation perspective of the navigation interface is the vehicle head-up. Dynamic deviation is the angle at which the direction of the virtual vehicle head deviates from the vehicle head-up direction. It changes with the degree of curvature at the moving position of the virtual vehicle in the curve, and the navigation map deviates with the deviation of the direction of the vehicle head. That is,
[0077] When the virtual vehicle is displayed in a curve on the navigation map, the navigation map and the front direction of the virtual vehicle are both dynamically deviated from the upward direction of the front of the vehicle according to the degree of curvature of the position where the virtual vehicle moves.
[0078] The embodiment of the present application is mainly used in a navigation interface with a navigation perspective of the vehicle head upward, and the vehicle head upward direction is the direction directly above the navigation interface. The purpose of dynamically deviating from the vehicle head upward direction is to display more beyond-visual-range content in the navigation interface. It can be understood that the direction deviated from by the dynamic deviation from the vehicle head upward direction is the opposite direction of the curvature of the curve. In order to display more beyond-visual-range content about the curve, when the curvature of the position where the virtual vehicle moves indicates that the curve is curved to the right, the terminal displays the direction of the virtual vehicle's head and the navigation map, both of which are dynamically deviated to the left, thereby deviating from the vehicle head upward direction; when the curvature of the position where the virtual vehicle moves indicates that the curve is curved to the left, the terminal displays the direction of the virtual vehicle's head and the navigation map, both of which are dynamically deviated to the right, thereby deviating from the vehicle head upward direction.
[0079] like Figure 5 FIG. 1 is a schematic diagram of the deviation of the vehicle head angle in one embodiment. Figure 5 Part (a) is when the virtual vehicle passes through the curve point O, the front of the virtual vehicle always keeps the vehicle head upward and does not deviate from the top, and the navigation map is displayed in accordance with the front direction of the virtual vehicle. Figure 5 In part (b), the method provided in an embodiment of the present application is used. Similarly, when passing through the position point O of the curve, the front direction of the virtual vehicle deviates to the right by an angle α, and the navigation map is rotated accordingly, so that the left area of the navigation map can display more beyond-visual-range content in front of the curve.
[0080] In one embodiment, the navigation perspective of the navigation interface is that the vehicle head is facing upward; the navigation method further includes: displaying the virtual vehicle moving into the curve from the starting point of the curve at an initial angle that deviates from the vehicle head facing upward. Specifically, during the movement of the virtual vehicle in the navigation map, in response to the virtual vehicle moving to the starting point of the curve, the virtual vehicle is displayed in the navigation interface moving into the curve at an initial angle that deviates from the vehicle head facing upward.
[0081] In the embodiment of the present application, the navigation map is known data, and the road data of the navigation map includes route curvature data, and the route curvature data includes the coordinates of each position point on the road and the curvature, curvature radius and curvature center coordinates corresponding to each position point. During the driving process of the target vehicle, the terminal moves the virtual vehicle accordingly in the navigation map according to the real-time position of the target vehicle. The computer device can determine the coordinates of the starting point of the curve on the navigation route ahead. When the positioning coordinates of the virtual vehicle are the coordinates, it means that the virtual vehicle has moved into the starting point of the curve. It can be understood that the road curvature of the straight road is zero. When the curvature of the position where the virtual vehicle moves changes from zero to non-zero, it means that the virtual vehicle has moved into the curve. When moving into the curve, there is an initial deviation angle, and the terminal displays that the virtual vehicle moves into the curve at the initial angle.
[0082] like Figure 6 FIG. 1 is a schematic diagram of a process for deriving an angle at which a virtual vehicle deviates from the upward direction of the front of the vehicle in a curve in one embodiment. Figure 6, assuming that the position point where the virtual vehicle moves into the curve is O(x,y), that is, the vehicle coordinates are O(x,y), and the curvature center coordinates of the curvature circle corresponding to O(x,y) are obtained according to the route curvature data as P(a,b). It should be noted that the curvature center coordinates corresponding to each position point in the curve are different. The curvature center coordinates are a point on the normal line of the curve at the position point O(x,y). The distance from this point to the position point O(x,y) is equal to the curvature radius at this point. The curvature radius is the inverse of the curvature k, which can be determined based on the first-order derivative and second-order derivative of the curve at the position point O(x,y). The curvature radius of the curvature circle is R (the distance between points P and O), then (xa) 2 +(yb) 2 =R 2 The normal line of the vehicle position point is m, the front direction of the virtual vehicle is the direction of the tangent line of the vehicle position point on the curvature circle, the tangent line is n, the slope of the tangent line n is K, the deviation angle of the front direction is α, α = β, and 1 / K = (by) / (ax) = tanα, then α = arctan ((by) / (ax)) is derived.
[0083] It can be seen that the deviation angle α is related to the coordinates O(x, y) of the position point to which the virtual vehicle moves and the coordinates P(a, b) of the center of the curvature circle, and the coordinates O(x, y) of the position point to which the virtual vehicle moves and the coordinates P(a, b) of the center of the curvature circle are related to the curvature of the position point O(x, y) to which the virtual vehicle moves. In other words, the deviation angle α changes dynamically with the curvature of the position to which the virtual vehicle moves.
[0084] Furthermore, when the virtual vehicle moves in a curve, the navigation map and the front direction of the virtual vehicle are displayed in the navigation interface, and they deviate dynamically with the degree of curvature of the virtual vehicle's moving position, including: after the virtual vehicle moves into the curve at an initial angle that deviates from the upward direction of the front of the vehicle at the starting point of the curve, the navigation map and the front direction of the virtual vehicle are displayed, and they deviate dynamically from the upward direction of the front of the vehicle with the degree of curvature at the moving position of the virtual vehicle until the virtual vehicle moves out of the curve.
[0085] According to the above derivation, after the virtual vehicle moves into the curve as the target vehicle drives, the front angle of the virtual vehicle can continue to dynamically deviate from the initial angle, that is, deviate according to the deviation angle of each position point as the degree of curvature of the position where the virtual vehicle moves, thereby achieving dynamic deviation of the front of the vehicle in the upward direction to pass through the curve.
[0086] In one embodiment, the curve is located on the navigation route of the target vehicle, and the navigation method may further include: taking the position point on the navigation route of the target vehicle when the curvature changes from zero to non-zero as the curve starting point of the curve; obtaining the coordinates of the center of curvature corresponding to the starting point of the curve; and calculating the deviation angle between the tangent at the starting point of the curve and the upward direction of the front of the vehicle based on the starting point of the curve and the coordinates of the center of curvature, as the initial angle when the virtual vehicle moves into the curve.
[0087] The navigation route is a route calculated based on the set navigation starting point and navigation end point, that is, starting from the navigation starting point, passing through a series of roads, and finally reaching the navigation end point. In the embodiment of the present application, the navigation route includes a curve. A curve is a position point on the navigation route where the curvature changes from zero to non-zero. The navigation route may include a recommended lane for each road that needs to be passed, or may not distinguish lanes. Of course, it is also possible to distinguish lanes on some roads and not distinguish lanes on some roads.
[0088] The terminal can obtain the coordinates of each position point on the navigation route and the curvature of each position point, so as to use the position point where the curvature changes from a continuous non-zero value to a non-zero value as the starting point of the curve, obtain the coordinates of the center of curvature corresponding to the starting point of the curve, and calculate the deviation angle between the tangent line at the starting point of the curve and the upward direction of the vehicle head according to the starting point of the curve and the coordinates of the center of curvature as the initial angle when the virtual vehicle moves into the curve. It can be understood that the terminal can use the position point on the navigation route where the curvature changes from a non-zero value to a continuous zero value as the end point of the curve, that is, the position point when the virtual vehicle moves out of the curve.
[0089] In one embodiment, the navigation method may also include: starting from the virtual vehicle moving into the curve, based on the curvature radius and driving speed of the curve position point where the vehicle is currently located, estimating the trajectory offset of the virtual vehicle at the next moment compared to the current moment; based on the curve position point where the virtual vehicle is currently located and the trajectory offset, estimating the curve position point where the virtual vehicle will be located at the next moment; obtaining the curvature center coordinates corresponding to the estimated curve position point where the virtual vehicle will be located at the next moment; determining the deviation angle of the curve position point at the next moment based on the curve position point at the next moment and the curvature center coordinates corresponding to the curve position point at the next moment.
[0090] Among them, the current moment and the next moment are two adjacent moments when the virtual vehicle moves into the curve, such as the tth moment and the t+1th moment. It has been deduced above that the deviation angle of each position point of the virtual vehicle in the curve is related to the coordinates of the vehicle position and the coordinates of the center of curvature corresponding to the vehicle position. The terminal predicts the position to which the virtual vehicle moves at the t+1th moment based on the data at the tth moment, and then calculates the deviation angle corresponding to the position to which the virtual vehicle moves at the t+1th moment based on the coordinates corresponding to the position to which the virtual vehicle moves at the t+1th moment and the coordinates of the center of curvature corresponding to the position.
[0091] like Figure 7 FIG. 1 is a schematic diagram showing the calculation of the dynamic deviation angle of a virtual vehicle at each moment in an embodiment. Figure 7 , the real-time calculation process of the deviation angle of the front direction of the virtual vehicle can be derived: the speed of the target vehicle is recorded as v, the interval time of the vehicle driving in the curve from the tth moment to the t+1th moment is △t, the driving arc length is L, the vehicle trajectory offset is ε°, and the curvature radius corresponding to the position of the vehicle at the tth moment is R. When △t is smaller, the vehicle's driving trajectory in the curve is closer to a circular arc, then L=v*△t; △t=2πR*ε° / 360°; ε°=180°*v*△t / πR; Assuming that the tth moment and the t+1th moment are separated by 1 second, that is, △t=1, then ε°=180°*v / πR, that is, the vehicle trajectory offset ε° is only related to the vehicle's driving speed. According to the vehicle trajectory offset ε°, the position Q(x',y') to which the virtual vehicle moves at the t+1th moment can be estimated.
[0092] After estimating the position Q(x',y') to which the virtual vehicle moves at time t+1, the center coordinates P'(a',b') of the curvature circle corresponding to Q(x',y') are obtained. The offset angle of the front direction of the virtual vehicle at time t+1 is α'=arctan((b'-y') / (a'-x')).
[0093] In one embodiment, the navigation method may further include: obtaining the real-time position of the target vehicle; displaying a navigation map matching the real-time position in the navigation interface; obtaining route curvature data of the navigation route in the navigation map, the route curvature data including the curvature, curvature radius and curvature center coordinates corresponding to each position point on the navigation route in the navigation map.
[0094] In this embodiment, the navigation map displays a navigation map that matches the real-time location of the target vehicle. The terminal can obtain the curvature data of a section of the route at the real-time location in the navigation route. The route curvature data can reflect the shape of the road and may include the coordinates of each position point on the navigation route, as well as the curvature, curvature radius, and curvature center coordinates corresponding to each position point. In this way, the real-time positioning information of the target vehicle can be mapped to each position point on the navigation route, thereby determining the position point to which the virtual vehicle moves and the route curvature data corresponding to the position point, which can be used to calculate the deviation angle of the next second.
[0095] In one embodiment, obtaining the real-time position of the target vehicle includes: obtaining real-time data collected by a sensor installed on the target vehicle; the sensor includes at least one of a camera and a radar; based on the real-time data collected by the sensor, positioning and calibrating the target vehicle to obtain the real-time position of the target vehicle.
[0096] It should be noted that the real-time data collected by the sensor installed on the target vehicle can be sent to the server through the vehicle-mounted terminal, and the server can perform positioning and calibration on the target vehicle based on the collected real-time data to obtain the real-time position of the target vehicle. The server can also send the collected real-time data to the terminal, and the terminal can perform positioning and calibration on the target vehicle to obtain the real-time position of the target vehicle.
[0097] The sensors installed on the target vehicle may include radar, lidar, camera, etc. The real-time image data collected by these sensors can be used to calibrate the real-time position of the target vehicle. The calibrated real-time position can be used to determine the display position of the virtual vehicle in the navigation map.
[0098] In one embodiment, obtaining route curvature data of a navigation route in a navigation map includes: determining a preset distance; and obtaining route curvature data of a portion of the navigation route in the navigation map that is located a preset distance ahead of the real-time position of the target vehicle based on the real-time position of the target vehicle.
[0099] The preset distance may be, for example, 2 kilometers. Specifically, after the server determines the real-time position of the target vehicle, it may obtain the route curvature data of the 2-kilometer range ahead of the real-time position in the navigation map, and based on the route curvature data, calculate the deviation angle corresponding to each position point on the curve within the 2-kilometer range ahead when the virtual vehicle moves. In one embodiment, the terminal determines whether there is a curve ahead based on the route curvature data within the 2-kilometer range ahead. If so, the starting point of the curve may be determined based on the curve curvature data. When the target vehicle travels to the starting point of the curve, the deviation angle of the vehicle head angle per second in the curve may be calculated in real time.
[0100] For example, when the virtual vehicle moves to the starting point of the curve, the virtual vehicle can be estimated according to the radius of curvature when it moves into the starting point of the curve and the driving speed of the target vehicle, and the deviation angle of the head direction of the virtual vehicle on the curve within the range of 2 kilometers ahead every second with the dynamic deviation of the curvature of the position point. For example, when the coordinate of the virtual vehicle moves into the starting point of the curve is M1, the vehicle position P2 of the next second can be estimated according to the radius of curvature and the driving speed when it moves into the starting point of the curve M1, and the deviation angle of the head direction of the virtual vehicle in the next second can be calculated according to the route curvature data corresponding to P2. Similarly, if the actual position of the virtual vehicle in the next second is M2, the vehicle position P3 of the next second can be estimated according to the radius of curvature and the driving speed corresponding to M2, and the deviation angle of the head direction of the virtual vehicle in the next second can be calculated according to the route curvature data corresponding to P3, and so on, until the virtual vehicle moves out of the curve. The embodiment of the present application does not limit the frequency of counting the deviation angle of the head direction of the virtual vehicle, for example, the terminal can also update the deviation angle of the head direction of the virtual vehicle every 2 seconds.
[0101] like Figure 8 FIG. 1 is a timing diagram of calculating a dynamic deviation angle in one embodiment. Figure 8 The on-board terminal on the target vehicle can send images sent back by sensors such as cameras, radars, and lidars to the server in real time. After the server performs positioning calibration based on the real-time data collected by the sensor, it obtains the real-time position of the target terminal, and obtains the route curvature data of the navigation route within 2 kilometers in front of the real-time position from the map database based on the real-time position. The server then calculates the deviation angle of the virtual vehicle's head direction that changes dynamically with the route curvature every second after the virtual vehicle moves into the curve based on these data. When the target vehicle moves into the curve, the electronic map navigation application on the terminal displays the real-time dynamic change of the virtual vehicle's head angle with the route curvature according to the deviation angle.
[0102] In one embodiment, the navigation method may further include: between the moment when the virtual vehicle moves to the target distance for entering the curve and the moment when the virtual vehicle enters the curve, there are multiple moments when the navigation map and the front direction of the virtual vehicle deviate in the opposite direction of the curve, and the degree of deviation of the multiple deviations gradually increases in time sequence.
[0103] Usually, in a navigation interface with a vehicle head-up navigation perspective, before the vehicle enters a curve and is driving on a straight road, the direction of the front of the virtual vehicle always remains upward and does not deviate from the top of the navigation map. This causes the navigation map to rotate violently due to the sharp increase in the curvature of the curve when entering the curve, causing the driver to feel dizzy and increasing the cost of reading the map. In this embodiment, from the moment of a target distance before entering the curve to the moment of entering the curve, the angle of the front of the vehicle deviates uniformly in the opposite direction with the direction of the curve until the virtual vehicle moves into the curve, so that the navigation map rotates gradually, which can overcome the above problem.
[0104] The target distance can be a set distance. When the virtual vehicle moves to the target distance from the curve, it starts to deviate in the opposite direction of the curve in advance. The purpose is to reduce the change in the deviation angle of the navigation map before and after entering the curve, thereby overcoming the problem of violent rotation of the navigation map when entering the curve.
[0105] In one embodiment, the target distance is the distance that makes the change in the deviation angle of the virtual vehicle after entering the curve and when entering the curve connect and connect with the change in the deviation angle before entering the curve. For example, the time when entering the curve is recorded as t, and the time after entering the curve is recorded as t+1, then the deviation angle of the virtual vehicle at the tth moment and the change in the deviation angle at the t-1th moment should be consistent with the change in the deviation angle of the virtual vehicle at the t+1th moment and the tth moment. For example, if the change in the deviation angle is exactly the same, it means that the deviation angle changes at a uniform speed; for another example, if the change in the deviation angle gradually increases, it means that the deviation angle changes at a uniform acceleration.
[0106] Between the time when the virtual vehicle moves to the target distance for entering the curve and the time when the virtual vehicle enters the curve, there are multiple times when the navigation map and the front direction of the virtual vehicle deviate in the opposite direction of the curve.
[0107] For example, the moment when the virtual vehicle moves to the target distance for entering the curve is recorded as tn, and the moment when the virtual vehicle enters the curve is recorded as t. When the virtual vehicle moves to the target distance from the curve at tn, the navigation map and the front direction of the virtual vehicle begin to deviate in the opposite direction of the curve, and as the virtual vehicle continues to move toward the curve, from tn to t, the navigation map and the front direction of the virtual vehicle continue to deviate, and the degree of each deviation of the front direction gradually increases in time sequence. For example, at tn, the degree of deviation of the front direction is 5°, at t-n+5, the degree of deviation of the front direction is 10°, and at t-n+10, the degree of deviation of the front direction is 15°. Similarly, since the degree of deviation of the navigation map is consistent with the degree of deviation of the front direction, the degree of each deviation of the navigation map also gradually increases in time sequence.
[0108] The degree of deviation of the virtual vehicle after entering the curve is connected with the degree of deviation before entering the curve, which can be reflected by the change in the deviation angle, that is, the change in the deviation angle after the virtual vehicle enters the curve and when entering the curve is connected with the change in the deviation angle before entering the curve. For example, let the time when the virtual vehicle enters the curve be t, the time t-1 before the virtual vehicle enters the curve, and the time t+1 after the virtual vehicle enters the curve, the change in the deviation angle from t-1 to t and the change in the deviation angle from t to t+1 are uniform. Among them, the deviation angle is the angle at which the head direction of the virtual vehicle at a certain moment deviates from the upward direction of the head, which can be recorded as α. The change in the deviation angle from time t-1 to time t and the change in the deviation angle from time t to time t+1 are uniform, which is specifically reflected in: the change in the deviation angle from time t-1 to time t can be the same as the change in the deviation angle from time t to time t+1, for example, both are 2°; the change in the deviation angle from time t-1 to time t and the change in the deviation angle from time t to time t+1 can increase uniformly, for example: the change in the deviation angle from time t to time t+1 is 2°, and the change in the deviation angle from time t+1 to time t+2 is 2.5°. It can be determined that after the virtual vehicle moves into the curve, the change in the deviation angle increases uniformly by 0.5°. Therefore, it can be determined that the change in the deviation angle from time t-1 to time t is 2°-0.5°=1.5°.
[0109] Furthermore, the navigation method may also include: determining the initial angle of the virtual vehicle when it moves into the curve based on the curve starting point and the coordinates of the center of curvature corresponding to the curve starting point; and calculating the target distance based on the current driving speed and the initial angle of the target vehicle.
[0110] In one embodiment, the terminal determines whether there is a curve ahead based on the route curvature data within a range of 2 kilometers ahead. If so, the starting point of the curve can be determined based on the curve curvature data, and the initial angle of the virtual vehicle when moving into the curve is calculated based on the route curvature data at the starting point of the curve. Then, based on the initial angle a and the current driving speed of the vehicle, the deviation angle change required for uniform deviation from the target distance is calculated. According to the current driving speed, the deviation angle change and the current driving speed, the target distance can be calculated.
[0111] Furthermore, the target distance is calculated based on the current driving speed and initial angle of the vehicle, including: estimating the trajectory offset of the virtual vehicle after it moves into the curve based on the current driving speed of the target vehicle and the radius of curvature corresponding to the starting point of the curve; estimating the vehicle position of the virtual vehicle after it moves into the curve based on the trajectory offset; calculating the estimated deviation angle corresponding to the vehicle position based on the vehicle position and the coordinates of the center of curvature corresponding to the vehicle position; determining the deviation angle change of the front angle of the virtual vehicle based on the initial angle when the virtual vehicle moves into the curve and the estimated deviation angle after moving into the curve; and calculating the target distance based on the current driving speed, the initial angle and the deviation angle change.
[0112] In order to achieve a uniform connection between the front angle and the front deviation speed before and during the curve, it is assumed that the front angle starts to rotate at a uniform speed s meters before the curve, the change in the front angle is v1, the driving speed of the target vehicle is v2, and the initial angle of the virtual vehicle when entering the curve is α0. The front angle deviates from 0° to α0 within s meters, then v2 / s=v1 / α0; v1=v2*α0 / s, and it can be seen that the value of v1 changes with the driving speed v2. Assuming that the deviation angle of the virtual vehicle after entering the curve is α1, the angular offset of the virtual vehicle in the curve is α1-α0. When v1=α1-α0, the uniform connection between the front angle and the front deviation speed before and during the curve can be achieved, so v2*α0 / s=α1-α0, s=v2*α0 / (α1-α0).
[0113] For example, when the speed of the virtual vehicle entering the curve is v2=60km / h, the initial angle of the virtual vehicle entering the curve is α0, which is 30°. After entering the curve, that is, after entering curve 1, the front angle α1 is 32°, then the change in the front angle is 2°, and the distance s=v2*α0 / (α1-α0)=255 meters. That is, when the distance to the front of the curve is 255 meters, the front angle begins to deviate from the upward direction of the front at a speed of 2° per second, until the virtual vehicle enters the curve with an initial angle of 30°, and the deviation angle in the next second is 32°.
[0114] like Fig. 9 , which is a schematic diagram of an embodiment in which the vehicle head angle and the navigation map rotate evenly in the opposite direction of the curve before entering the curve until entering the curve. Fig. 9 , the direction of the curve is to the right, and the angle of the front of the car deviates slightly to the left.
[0115] like Fig.10 As shown in FIG. 1 , it is a schematic diagram of the interface for keeping the front of the vehicle facing upward in a curve in the related art. It can be seen that the front of the vehicle always faces upward. Fig.11As shown, it is a schematic diagram of the interface in which the front angle of the vehicle in a curve changes dynamically with the curvature of the road in an embodiment. It can be seen that the front angle of the vehicle and the navigation map are both rotated to the left by an angle, so that more beyond-visual-range information is displayed on the right.
[0116] In one embodiment, the navigation method may further include: before the virtual vehicle moves into a curve and the distance from the curve is greater than a target distance, displaying in the navigation interface that the virtual vehicle is moving in an upward direction in the navigation map.
[0117] That is to say, when the distance from the curve before the virtual vehicle is about to enter the curve exceeds the target distance, the virtual vehicle travels on a straight road, and the virtual vehicle keeps the front of the vehicle facing upward, and the vehicle can be guided efficiently and conveniently by turning left and right.
[0118] In one embodiment, the navigation method may further include: after the virtual vehicle moves out of the curve, in the navigation interface, displaying the navigation map and the front direction of the virtual vehicle starting to deviate toward the front upward direction, until the navigation map and the front direction of the virtual vehicle are in the front upward direction, ending the offset and displaying the virtual vehicle continuing to move in the navigation route of the navigation map in the front upward direction.
[0119] That is to say, after the virtual vehicle moves out of the curve, the front direction of the virtual vehicle is not directly converted to the front-up direction, but it is gradually and evenly deviated so that the front angle evenly begins to approach and deviate from the original front-up direction until it is exactly in the front-up direction. The deviation is then ended, and the virtual vehicle is kept moving in the navigation route in the front-up direction. This can avoid the situation where the base map rotates violently when the virtual vehicle moves out of the curve.
[0120] In a specific embodiment, the present application provides a navigation method, which can be executed by a terminal, and the method includes the following steps:
[0121] Acquire real-time data collected by a sensor installed on the target vehicle; the sensor includes at least one of a camera and a radar;
[0122] Acquire real-time data collected by sensors, perform positioning calibration on the target vehicle to obtain the real-time position of the target vehicle;
[0123] A navigation interface for navigating the target vehicle is displayed, wherein a navigation map matching the real-time position is displayed in the navigation interface; the navigation interface includes a virtual vehicle that moves along with the target vehicle in the navigation map, and the navigation perspective of the navigation interface is with the front of the vehicle facing upward;
[0124] Obtaining route curvature data of a navigation route in a navigation map, the route curvature data including the curvature, the curvature radius and the coordinates of the center of the curvature corresponding to each position point on the navigation route in the navigation map;
[0125] When it is determined according to the route curvature data that there is a curve at a preset distance ahead, determining the starting point of the curve;
[0126] According to the current speed of the target vehicle and the radius of curvature corresponding to the starting point of the curve, the trajectory deviation of the virtual vehicle after entering the curve is estimated;
[0127] Estimate the position of the virtual vehicle after it moves into the curve based on the trajectory offset;
[0128] Calculate the estimated deviation angle corresponding to the vehicle position according to the vehicle position and the coordinates of the center of curvature corresponding to the vehicle position;
[0129] Determining a deviation angle change of a front angle of the virtual vehicle according to an initial angle of the virtual vehicle when entering the curve and an estimated deviation angle after entering the curve;
[0130] Calculate the target distance based on the current driving speed, initial angle and deviation angle change;
[0131] Before the virtual vehicle moves into a curve and the distance from the curve is greater than the target distance, in the navigation interface, the virtual vehicle is displayed moving in an upward direction in the navigation map;
[0132] Before the virtual vehicle moves into the curve and is at the target distance from the curve, the navigation map and the head direction of the virtual vehicle are displayed in the navigation interface, and the vehicle head starts to deviate uniformly from the upward direction in the opposite direction of the curve until the virtual vehicle moves into the curve at an initial angle deviating from the upward direction of the vehicle head;
[0133] After the virtual vehicle moves into the curve at an initial angle deviating from the upward direction of the front of the vehicle, during the movement of the virtual vehicle in the curve, the trajectory deviation of the virtual vehicle at the next moment compared with the current moment is estimated according to the curvature radius and driving speed of the curve position point where the vehicle is currently located;
[0134] According to the current curve position of the virtual vehicle and the track offset, the curve position of the virtual vehicle at the next moment is estimated;
[0135] Obtain the coordinates of the center of curvature corresponding to the estimated curve position point where the virtual vehicle will be located at the next moment;
[0136] Determine the deviation angle of the curve position point at the next moment according to the coordinates of the center of curvature corresponding to the curve position point at the next moment;
[0137] According to the deviation angle at each moment, the navigation map and the head direction of the virtual vehicle are displayed, starting from the initial angle, and dynamically deviating from the head upward direction according to the degree of curvature of the virtual vehicle's moving position;
[0138] As the navigation map and the front direction of the virtual vehicle dynamically deviate according to the degree of curvature of the virtual vehicle's moving position, beyond-visual-range content about the curve ahead is displayed in the navigation interface.
[0139] In this embodiment, starting from the target distance before the curve, the front angle of the vehicle deviates uniformly in the opposite direction with the direction of the curve until the virtual vehicle moves into the curve, and is connected with the initial angle when entering the curve, so that the navigation map rotates gradually, which can avoid the problem of the navigation map rotating violently due to the sharp increase in the curvature of the curve when entering the curve, causing dizziness to the driver and increased map reading costs; when the virtual vehicle moves to the curve on the navigation route as the target vehicle travels, the navigation map and the front direction of the virtual vehicle no longer always maintain the same direction, such as keeping the front of the vehicle upward, but dynamically deviate with the degree of curvature of the virtual vehicle's moving position until the virtual vehicle moves out of the curve. When the target vehicle is traveling in the curve, the navigation interface can display more road environment about the curve in front, increase the driver's prediction and guidance of the road ahead, and thus improve the vehicle navigation effect.
[0140] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0141] Based on the same inventive concept, the embodiment of the present application also provides a navigation device for implementing the navigation method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more navigation device embodiments provided below can refer to the limitations on the navigation method above, and will not be repeated here.
[0142] In one embodiment, Fig.12 As shown, a navigation device 1200 is provided, comprising: a first display module 1202 and a second display module 1204, wherein:
[0143] The first display module 1202 is used to display a navigation interface, which is used to navigate the target vehicle; in the navigation interface, a navigation map and a virtual vehicle moving along with the target vehicle in the navigation map are displayed; the navigation base map includes curves;
[0144] The second display module 1204 is used to display the navigation map and the front direction of the virtual vehicle dynamically deviating with the curvature of the curve when the virtual vehicle is displayed in the curve, and the degree of dynamic deviation changes with the curvature of the moving position of the virtual vehicle in the curve.
[0145] In one embodiment, the second display module is also used to dynamically deviate the front direction of the virtual vehicle with the degree of curvature of the curve; when the front direction of the virtual vehicle dynamically deviates with the degree of curvature of the curve, the navigation map deviates accordingly in the deviation direction of the front direction of the vehicle; the first display module is also used to move beyond-visual-range content about the front of the curve into the navigation map when the navigation map deviates accordingly in the deviation direction of the front direction of the vehicle.
[0146] In one embodiment, the navigation perspective of the navigation interface is with the front of the vehicle facing upward; the second display module is also used to display the virtual vehicle moving into the curve from the starting point of the curve at an initial angle deviating from the upward direction of the front of the vehicle.
[0147] In one embodiment, the second display module is also used to display the navigation map and the front direction of the virtual vehicle after the virtual vehicle moves into the curve at an initial angle deviating from the upward direction of the front of the vehicle at the starting point of the curve, and dynamically deviates from the upward direction of the front of the vehicle with the degree of curvature at the moving position of the virtual vehicle until the virtual vehicle moves out of the curve.
[0148] In one embodiment, the curve is located on the navigation route of the target vehicle, and the device also includes an initial angle calculation module, which is used to use the position point on the navigation route of the target vehicle when the curvature changes from zero to non-zero as the curve starting point of the curve; obtain the coordinates of the center of curvature corresponding to the starting point of the curve; and calculate the deviation angle between the tangent at the starting point of the curve and the upward direction of the front of the vehicle based on the starting point of the curve and the coordinates of the center of curvature, as the initial angle when the virtual vehicle moves into the curve.
[0149] In one embodiment, the navigation perspective of the navigation interface is with the front of the vehicle facing upward, and the dynamic deviation is the angle at which the front direction of the virtual vehicle deviates from the upward direction of the front of the vehicle. It changes with the degree of curvature of the moving position of the virtual vehicle in the curve, and the navigation map deviates with the deviation of the front direction of the vehicle.
[0150] In one embodiment, the device also includes a dynamic deviation angle calculation module, which is used to estimate the trajectory offset of the virtual vehicle at the next moment compared to the current moment based on the curvature radius and driving speed of the virtual vehicle's current moving position starting from the virtual vehicle moving into the curve; estimate the moving position of the virtual vehicle at the next moment based on the virtual vehicle's current moving position and the trajectory offset; obtain the curvature center coordinates corresponding to the estimated moving position of the virtual vehicle at the next moment; determine the deviation angle of the moving position at the next moment based on the moving position at the next moment and the curvature center coordinates corresponding to the moving position at the next moment.
[0151] In one embodiment, the coordinates of the center of curvature of the moving position of the virtual vehicle in the curve are the points on the normal line of the curve at the moving position and the distance from the moving position is the radius of curvature, the radius of curvature is the inverse of the curvature of the curve at the moving position, and the curvature represents the degree of curvature of the curve at the moving position.
[0152] In one embodiment, the second display module is also used for, between the moment when the virtual vehicle moves to the target distance for entering the curve and the moment when the virtual vehicle enters the curve, there are multiple moments when the navigation map and the front direction of the virtual vehicle deviate in the opposite direction of the curve, and the degree of deviation of the multiple deviations gradually increases in time sequence.
[0153] In one embodiment, the device also includes: a target distance calculation module, which is used to determine the initial angle of the virtual vehicle when it moves into the curve based on the curve starting point and the coordinates of the center of curvature corresponding to the curve starting point; and calculate the target distance based on the current driving speed and initial angle of the target vehicle.
[0154] In one embodiment, the target distance calculation module is also used to estimate the trajectory offset of the virtual vehicle after it moves into the curve based on the current driving speed of the target vehicle and the curvature radius corresponding to the starting point of the curve; estimate the vehicle position of the virtual vehicle after it moves into the curve based on the trajectory offset; calculate the estimated deviation angle corresponding to the vehicle position based on the vehicle position and the coordinates of the center of curvature corresponding to the vehicle position; determine the deviation angle change of the front angle of the virtual vehicle based on the initial angle when the virtual vehicle moves into the curve and the estimated deviation angle after moving into the curve; calculate the target distance based on the current driving speed, the initial angle and the deviation angle change.
[0155] In one embodiment, the second display module is further used to display the virtual vehicle moving in an upward direction in the navigation map in the navigation interface when the virtual vehicle moves into a curve and the distance from the curve is greater than the target distance.
[0156] In one embodiment, the second display module is also used to display the navigation map and the front direction of the virtual vehicle in the navigation interface after the virtual vehicle moves out of the curve, and the direction of the front of the vehicle starts to deviate toward the upward direction until the navigation map and the front direction of the virtual vehicle are in the upward direction, then the deviation ends and the virtual vehicle is displayed to continue moving in the navigation route of the navigation map in the upward direction.
[0157] In one embodiment, the device also includes an acquisition module for acquiring the real-time position of the target vehicle; displaying a navigation map matching the real-time position in the navigation interface; acquiring route curvature data of the navigation route in the navigation map, the route curvature data including the curvature, curvature radius and curvature center coordinates corresponding to each position point on the navigation route in the navigation map.
[0158] In one embodiment, the acquisition module is also used to acquire real-time data collected by a sensor installed on the target vehicle; the sensor includes at least one of a camera and a radar; based on the real-time data collected by the sensor, the target vehicle is positioned and calibrated to obtain the real-time position of the target vehicle.
[0159] In one embodiment, the acquisition module is further used to determine a preset distance; based on the real-time position of the target vehicle, obtain route curvature data of a portion of the navigation route in the navigation map that is located a preset distance ahead of the real-time position.
[0160] The above-mentioned navigation device 1200, during the process of navigating the target vehicle, displays a navigation interface for navigating the target vehicle, and the navigation interface includes a virtual vehicle representing the target vehicle, which moves as the target vehicle travels on the road. When the virtual vehicle moves to a curve on the navigation route as the target vehicle travels, the navigation map and the front direction of the virtual vehicle no longer always maintain the same direction, such as keeping the front of the vehicle upward, but dynamically deviate with the degree of curvature of the position to which the virtual vehicle moves until the virtual vehicle moves out of the curve. This allows the navigation interface to display more road environment about the curve ahead when the target vehicle travels in the curve, thereby increasing the driver's prediction and guidance of the road ahead, thereby improving the vehicle navigation effect.
[0161] Each module in the above navigation device 1200 can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0162] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Fig.13As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface, the display unit and the input device are connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a navigation method is implemented. The display unit of the computer device is used to form a visually visible image, and can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer covered on the display screen, or a button, trackball or touchpad set on the computer device casing, or an external keyboard, touchpad or mouse, etc.
[0163] Those skilled in the art will understand that Fig.13 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0164] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the navigation method in any one or more embodiments of the present application is implemented.
[0165] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the navigation method in any one or more embodiments of the present application is implemented.
[0166] In one embodiment, a computer program product is provided, including a computer program, which implements the navigation method in any one or more embodiments of the present application when executed by a processor.
[0167] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
[0168] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0169] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0170] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A navigation method, characterized in that: The method comprises: Displaying a navigation interface, wherein the navigation interface is used to navigate the target vehicle, and the navigation perspective of the navigation interface is with the front of the vehicle facing upward; In the navigation interface, a navigation map and a virtual vehicle moving along with the target vehicle in the navigation map are displayed; the navigation base map includes a curve; When the virtual vehicle is displayed in the curve, the navigation map and the front direction of the virtual vehicle are dynamically deviated according to the curvature of the curve, and the degree of the dynamic deviation varies according to the curvature of the moving position of the virtual vehicle in the curve.
2. The method according to claim 1, characterized in that The navigation map and the front direction of the virtual vehicle are both dynamically deviated according to the curvature of the curve, including: The front direction of the virtual vehicle deviates dynamically according to the curvature of the curve; In the case where the front direction of the virtual vehicle deviates dynamically according to the curvature of the curve, the navigation map deviates accordingly in the deviation direction of the front direction of the virtual vehicle; The method further comprises: When the navigation map deviates accordingly in the deviation direction of the vehicle head direction, beyond-visual-range content regarding the road ahead is moved into the navigation map.
3. The method according to claim 1, characterized in that The method further comprises: The front direction of the virtual vehicle is displayed to move into the curve from the starting point of the curve at an initial angle deviating from the upward direction of the front direction of the vehicle.
4. The method according to claim 3, characterized in that When the virtual vehicle is displayed on the curve, displaying the navigation map and the front direction of the virtual vehicle are dynamically deviated according to the curvature of the curve, including: After the virtual vehicle moves into the curve at the starting point of the curve at an initial angle deviating from the upward direction of the vehicle front, the navigation map and the vehicle front direction of the virtual vehicle are displayed, and the virtual vehicle dynamically deviates from the upward direction of the vehicle front according to the degree of curvature at the moving position of the virtual vehicle until the virtual vehicle moves out of the curve.
5. The method according to claim 3, characterized in that: The curve is located on the navigation route of the target vehicle, and the method further includes: The position point on the navigation route of the target vehicle where the curvature changes from zero to non-zero is used as the curve starting point of the curve; Obtaining the coordinates of the center of curvature corresponding to the starting point of the curve; According to the curve starting point and the coordinates of the center of curvature, the deviation angle between the tangent line at the curve starting point and the upward direction of the vehicle head is calculated as the initial angle when the virtual vehicle moves into the curve.
6. The method according to claim 1, characterized in that The dynamic deviation is the angle at which the front direction of the virtual vehicle deviates from the upward direction of the front of the vehicle, which changes with the change of the curvature at the moving position of the virtual vehicle in the curve, and the navigation map deviates following the deviation of the front direction of the vehicle.
7. The method according to claim 6, characterized in that The method further comprises: Starting from the time when the virtual vehicle moves into the curve, based on the curvature radius and the driving speed of the virtual vehicle's current moving position, estimating the trajectory offset of the virtual vehicle at the next moment compared to the current moment; According to the current moving position of the virtual vehicle and the track offset, estimating the moving position of the virtual vehicle at the next moment; Obtaining the estimated coordinates of the center of curvature corresponding to the moving position of the virtual vehicle at the next moment; The deviation angle of the moving position at the next moment is determined according to the moving position at the next moment and the coordinates of the center of curvature corresponding to the moving position at the next moment.
8. The method according to claim 7, characterized in that The coordinates of the center of curvature of the virtual vehicle's moving position in the curve are a point on the normal line of the curve at the moving position and a point whose distance from the moving position is the radius of curvature. The radius of curvature is the inverse of the curvature of the curve at the moving position, and the curvature represents the degree of bending of the curve at the moving position.
9. The method according to claim 1, characterized in that: The method further comprises: Between the moment when the virtual vehicle moves to the target distance for entering the curve and the moment when the virtual vehicle enters the curve, there are multiple moments when the navigation map and the front direction of the virtual vehicle deviate in the opposite direction of the curve, and the degree of deviation of the multiple deviations gradually increases in time sequence.
10. The method according to claim 9, characterized in that The method further comprises: Determining an initial angle of the virtual vehicle when it moves into the curve according to the curve starting point of the curve and the coordinates of the center of curvature corresponding to the curve starting point; The target distance is calculated according to the current driving speed of the target vehicle and the initial angle.
11. The method according to claim 10, characterized in that The step of calculating the target distance according to the current driving speed of the vehicle and the initial angle includes: According to the current driving speed of the target vehicle and the curvature radius corresponding to the starting point of the curve, estimating the trajectory deviation of the virtual vehicle after moving into the curve; estimating the position of the virtual vehicle after it moves into the curve according to the trajectory offset; Calculating an estimated deviation angle corresponding to the vehicle position according to the vehicle position and the coordinates of the center of curvature corresponding to the vehicle position; Determining a deviation angle change of a front angle of the virtual vehicle according to an initial angle of the virtual vehicle when the virtual vehicle moves into the curve and an estimated deviation angle after the virtual vehicle moves into the curve; The target distance is calculated according to the current driving speed, the initial angle and the deviation angle change.
12. The method according to claim 1, characterized in that The method further comprises: Before the virtual vehicle moves into the curve and the distance from the curve is greater than the target distance, the navigation interface displays the virtual vehicle moving in the navigation map in an upward direction with the front of the vehicle facing upward.
13. The method according to claim 1, characterized in that The method further comprises: After the virtual vehicle moves out of the curve, in the navigation interface, the navigation map and the front direction of the virtual vehicle begin to deviate toward the upward direction of the front of the vehicle until the navigation map and the front direction of the virtual vehicle are in the upward direction of the front of the vehicle, then the deviation ends and the virtual vehicle is displayed to continue moving in the navigation route of the navigation map in the upward direction of the front of the vehicle.
14. The method according to any one of claims 1 to 13, characterized in that: The method further comprises: Obtaining the real-time position of the target vehicle; In the navigation interface, displaying a navigation map matching the real-time location; The route curvature data of the navigation route in the navigation map is obtained, wherein the route curvature data includes the curvature, the curvature radius and the curvature center coordinates corresponding to each position point on the navigation route in the navigation map.
15. The method according to claim 14, characterized in that The obtaining of the real-time position of the target vehicle comprises: Acquiring real-time data collected by a sensor disposed on the target vehicle; the sensor includes at least one of a camera and a radar; Based on the real-time data collected by the sensor, the target vehicle is positioned and calibrated to obtain the real-time position of the target vehicle.
16. The method according to claim 14, characterized in that The obtaining of route curvature data of the navigation route in the navigation map includes: Determine the preset distance; Based on the real-time position of the target vehicle, route curvature data of a portion of the navigation route in the navigation map that is located a preset distance ahead of the real-time position is obtained.
17. A navigation device, characterized in that: The device comprises: A first display module is used to display a navigation interface, wherein the navigation interface is used to navigate the target vehicle, and the navigation perspective of the navigation interface is that the front of the vehicle faces upward; in the navigation interface, a navigation map and a virtual vehicle that moves with the target vehicle in the navigation map are displayed; the navigation base map includes a curve; The second display module is used to display that the navigation map and the front direction of the virtual vehicle both dynamically deviate with the curvature of the curve when the virtual vehicle is displayed in the curve, and the degree of deviation of the dynamic deviation changes with the change of the curvature of the moving position of the virtual vehicle in the curve.
18. The device according to claim 17, characterized in that The second display module is further used to dynamically deviate the front direction of the virtual vehicle according to the curvature of the curve; when the front direction of the virtual vehicle dynamically deviates according to the curvature of the curve, the navigation map deviates accordingly in the direction of deviation of the front direction of the virtual vehicle; The first display module is further configured to move beyond-visual-range content related to the curve ahead into the navigation map when the navigation map deviates accordingly in the deviation direction of the vehicle front direction.
19. The device according to claim 17, characterized in that The second display module is further used to display the front direction of the virtual vehicle moving into the curve from the starting point of the curve at an initial angle deviating from the upward direction of the front direction of the vehicle.
20. The device according to claim 19, characterized in that The second display module is also used to display the navigation map and the front direction of the virtual vehicle after the virtual vehicle moves into the curve at an initial angle deviating from the upward direction of the front of the vehicle at the starting point of the curve, and dynamically deviates from the upward direction of the front of the vehicle according to the degree of curvature at the moving position of the virtual vehicle until the virtual vehicle moves out of the curve.
21. The device according to claim 19, characterized in that The curve is located on the navigation route of the target vehicle, and the device further comprises: The initial angle calculation module is used to use the position point on the navigation route of the target vehicle when the curvature changes from zero to non-zero as the starting point of the curve; obtain the coordinates of the center of curvature corresponding to the starting point of the curve; and calculate the deviation angle between the tangent at the starting point of the curve and the upward direction of the vehicle head according to the starting point of the curve and the coordinates of the center of curvature, as the initial angle when the virtual vehicle moves into the curve.
22. The device according to claim 17, characterized in that The dynamic deviation is the angle at which the front direction of the virtual vehicle deviates from the upward direction of the front of the vehicle, which changes with the change of the curvature at the moving position of the virtual vehicle in the curve, and the navigation map deviates following the deviation of the front direction of the vehicle.
23. The device according to claim 22, characterized in that The device also includes: The dynamic deviation angle calculation module is used to estimate the trajectory offset of the virtual vehicle at the next moment compared with the current moment according to the curvature radius and the driving speed of the virtual vehicle's current moving position starting from the time when the virtual vehicle moves into the curve; estimate the moving position of the virtual vehicle at the next moment according to the moving position of the virtual vehicle at the current moment and the trajectory offset; obtain the curvature center coordinates corresponding to the estimated moving position of the virtual vehicle at the next moment; and determine the deviation angle of the moving position at the next moment according to the moving position at the next moment and the curvature center coordinates corresponding to the moving position at the next moment.
24. The device according to claim 23, characterized in that The coordinates of the center of curvature of the virtual vehicle's moving position in the curve are a point on the normal line of the curve at the moving position and a point whose distance from the moving position is the radius of curvature. The radius of curvature is the inverse of the curvature of the curve at the moving position, and the curvature represents the degree of bending of the curve at the moving position.
25. The device according to claim 17, characterized in that The second display module is also used for, between the moment when the virtual vehicle moves to the target distance for entering the curve and the moment when the virtual vehicle enters the curve, there are multiple moments when the navigation map and the front direction of the virtual vehicle deviate in the opposite direction of the curve, and the degree of deviation of the multiple deviations gradually increases in time sequence.
26. The device according to claim 25, characterized in that The device also includes: The target distance calculation module is used to determine the initial angle of the virtual vehicle when it moves into the curve according to the curve starting point of the curve and the coordinates of the center of curvature corresponding to the curve starting point; and calculate the target distance according to the current driving speed of the target vehicle and the initial angle.
27. The device according to claim 26, characterized in that The target distance calculation module is further used to estimate the trajectory offset of the virtual vehicle after it moves into the curve based on the current driving speed of the target vehicle and the curvature radius corresponding to the starting point of the curve; estimate the vehicle position of the virtual vehicle after it moves into the curve based on the trajectory offset; calculate the estimated deviation angle corresponding to the vehicle position based on the vehicle position and the coordinates of the center of curvature corresponding to the vehicle position; determine the deviation angle change of the front angle of the virtual vehicle based on the initial angle when the virtual vehicle moves into the curve and the estimated deviation angle after moving into the curve; calculate the target distance based on the current driving speed, the initial angle and the deviation angle change.
28. The device according to claim 17, characterized in that The second display module is further used to display, in the navigation interface, the virtual vehicle moving in an upward direction of the front of the vehicle in the navigation map before the virtual vehicle moves into the curve and the distance from the curve is greater than a target distance.
29. The device according to claim 17, characterized in that The second display module is also used to display, in the navigation interface, after the virtual vehicle moves out of the curve, that the navigation map and the front direction of the virtual vehicle begin to deviate toward the upward direction of the front of the vehicle, until the navigation map and the front direction of the virtual vehicle are in the upward direction of the front of the vehicle, then end the offset and display the virtual vehicle continuing to move in the navigation route of the navigation map in the upward direction of the front of the vehicle.
30. The device according to any one of claims 17 to 29, characterized in that The device also includes an acquisition module for acquiring the real-time position of the target vehicle; in the navigation interface, a navigation map matching the real-time position is displayed; The route curvature data of the navigation route in the navigation map is obtained, wherein the route curvature data includes the curvature, the curvature radius and the curvature center coordinates corresponding to each position point on the navigation route in the navigation map.
31. The device according to claim 30, characterized in that The acquisition module is also used to acquire real-time data collected by a sensor installed on the target vehicle; the sensor includes at least one of a camera and a radar; based on the real-time data collected by the sensor, the target vehicle is positioned and calibrated to obtain the real-time position of the target vehicle.
32. The device according to claim 30, characterized in that The acquisition module is further used to determine a preset distance; based on the real-time position of the target vehicle, obtain route curvature data of a portion of the navigation route in the navigation map that is located a preset distance ahead of the real-time position.
33. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 16 are implemented.
34. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 16 are implemented.
35. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 16 are implemented.
