Navigation method and device and electronic equipment
By obtaining the lane change cost of the user when he is about to reach the intersection in the navigation software, and adjusting the navigation prompt broadcasting strategy, the problem of the user's yaw and navigation prompts being repeatedly broadcast at the intersection is solved, and the navigation experience is improved.
Patent Information
- Application Number
- CN202410797531.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-19
- Publication Date
- 2024-09-10
AI Technical Summary
Existing navigation software can easily lead to yaw problems if users do not pay attention to navigation prompts when driving to an intersection, and repeated navigation prompts to users who are paying attention to the direction will affect the user experience.
By obtaining the user's position and navigation route, the lane change cost of the intersection that the user is about to arrive is determined, and the broadcast strategy of navigation prompts is adjusted based on the cost, reducing or increasing the frequency and intensity of broadcasts to ensure that the user drives correctly at the intersection.
It effectively avoids the user's yaw problem at intersections, reduces the interruption to users in the direction of attention, and improves the navigation experience.
Smart Images

Figure CN118623902A
Abstract
Description
Technical Field
[0001] The present application relates to the field of navigation technology, and in particular to a navigation method, device and electronic equipment. Background Art
[0002] At present, many users are accustomed to using applications with map navigation functions to inquire about travel routes before traveling. The application software can also provide navigation services to users based on the travel routes selected by users, so as to guide users to reach their destinations safely and smoothly along the selected travel routes.
[0003] In the process of providing navigation services to users, users are prone to choosing the wrong direction of travel at intersections and other places. If, for some reason, they do not pay attention to the navigation prompts and choose the wrong direction of travel, the road the user actually travels on is not the road planned by the navigation route, that is, the user deviates from the navigation route (referred to as deviation). In order to solve the problem of deviation, existing application software usually uses the method of broadcasting navigation prompts multiple times to remind users to pay attention to the direction of travel of such places. However, the inventors of the present application have found that for users who pay attention to the navigation prompts and choose the correct driving direction, repeated broadcasting of the navigation prompts will disturb the users and affect the user experience. Summary of the invention
[0004] In view of this, the present application provides a navigation method, device and electronic device to adjust the broadcast frequency and / or broadcast strength of the same navigation prompt, reduce disturbance to users and improve user experience.
[0005] To solve the above problems, the technical solutions provided by this application are as follows:
[0006] In a first aspect of the present application, a navigation method is provided, which is applied to a process of navigating based on an acquired navigation route, and the method comprises:
[0007] Get the location of the navigated object;
[0008] Determining a driving lane of the navigated object and a nearest intersection ahead of the driving lane based on the positioning position and the navigation route;
[0009] Detecting whether the distance from the positioning position of the navigated object to the intersection is less than or equal to a preset distance threshold, and if so, obtaining a lane change cost for the navigated object to enter the intersection from the driving lane according to the lane planned by the navigation route;
[0010] According to the lane change cost, a broadcasting strategy for navigation prompts related to the intersection is determined.
[0011] In a second aspect of the present application, a navigation device is provided, wherein the device is applied to a process of navigating based on an acquired navigation route, comprising:
[0012] An acquisition unit, used for acquiring the location of the navigated object;
[0013] A determination unit, configured to determine a driving lane of the navigated object and a nearest intersection ahead of the driving lane based on the positioning position and the navigation route;
[0014] The acquisition unit is further used to detect whether the distance from the positioning position of the navigated object to the intersection is less than or equal to a preset distance threshold, and if so, to obtain the lane change cost of the navigated object entering the intersection from the driving lane according to the lane planned by the navigation route;
[0015] The determining unit is used to determine a broadcasting strategy for the navigation prompt related to the intersection according to the lane change cost.
[0016] In a third aspect of the present application, an electronic device is provided, including:
[0017] one or more processors;
[0018] a memory having one or more programs stored therein,
[0019] When the one or more programs are executed by the one or more processors, the one or more processors implement the navigation method as described in the first aspect.
[0020] In a fourth aspect of the present application, 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 as described in the first aspect is implemented.
[0021] In a fifth aspect of the present application, a computer program product is provided, which, when executed by a processor, implements the navigation method as described in the first aspect.
[0022] It can be seen that this application has the following beneficial effects:
[0023] The present application provides a navigation method, in the process of navigation, the current positioning position and navigation route of the navigated object are obtained, and the driving lane of the navigated object and the nearest intersection in front of the driving lane are determined according to the positioning position and the navigation route. It is detected whether the distance from the positioning position of the navigated object to the intersection is less than or equal to the preset distance threshold. If the distance is less than or equal to the preset distance threshold, it indicates that the navigated object is about to reach the nearest intersection in front, then the lane change cost of the navigated object entering the intersection from the current driving lane is obtained, and according to the lane change cost, the broadcast strategy of the navigation prompt related to the intersection is determined. In the technical solution provided by the present application, the lane change cost represents the difficulty of the navigated object to change lanes from the current driving lane according to the lane planned by the navigation route to the intersection. Therefore, according to the lane change cost, the broadcast strategy of the navigation prompt related to the intersection is adjusted, which can ensure that the navigated object enters the intersection according to the lane planned by the navigation route. If the navigated object enters the intersection according to the lane planned by the navigation route, it is ensured that the navigated object is driving according to the navigation route at the intersection, avoiding the problem of deviation of the navigated object at the intersection. At the same time, compared with the existing fixed multiple playback of navigation prompts, adjusting the broadcast strategy of the navigation prompts related to the intersection according to the lane change cost is equivalent to adjusting the broadcast strategy of the navigation prompts related to the intersection according to the difficulty of lane change. This makes the broadcast strategy of the navigation prompts related to the intersection match the difficulty of lane change faced by the navigated object, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 A flowchart of a navigation method provided in an embodiment of the present application;
[0025] Figure 2 A schematic diagram of an application scenario provided for an embodiment of the present application;
[0026] Figure 3 A schematic diagram of another application scenario provided for an embodiment of the present application;
[0027] Figure 4 A schematic diagram of the structure of a navigation device provided in an embodiment of the present application;
[0028] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0029] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the embodiments of the present application are further described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0030] In order to facilitate the understanding and explanation of the technical solutions provided by the embodiments of the present application, the technologies involved in the present application will be described below.
[0031] During navigation, if the user fails to hear the navigation prompt for some reason and goes the wrong way at an intersection, the road the user is actually traveling on is not the road planned by the navigation route, which is called the deviation problem. Usually, to solve the deviation problem, the same navigation prompt will be broadcasted multiple times. However, for users who pay attention to the navigation prompt and choose the correct driving direction, multiple broadcasts will disturb the user and affect the user experience.
[0032] Based on this, in order to improve the user's navigation experience, the present application provides a navigation method. During the navigation process, when it is determined that the navigated object is about to arrive at the nearest intersection ahead, the lane change cost of the navigated object from the current driving lane according to the lane planned by the navigation route to the intersection is obtained, and the broadcast strategy of the navigation prompt related to the intersection is determined according to the lane change cost. That is, the present application dynamically adjusts the broadcast strategy of the navigation prompt according to the lane change cost, for example, adjusts the frequency of the navigation prompt and / or the strength of the navigation prompt, to ensure that the user is driving correctly at the intersection, so that the navigation prompt is reasonable to the user, thereby improving the user experience.
[0033] For example, if the lane-changing cost for the navigated object to enter the intersection from the current driving lane according to the lane planned for the navigation route is low, the frequency of navigation prompts can be reduced, thereby reducing the disturbance to the user; if the lane-changing cost for the navigated object to enter the intersection from the current driving lane according to the lane planned for the navigation route is high, the intensity of the navigation prompts can be increased, so that the user can change lanes in time in advance, avoid the user from going the wrong way at the intersection, and reduce the yaw rate.
[0034] It should be noted that the application software with navigation function in this application has a road-level positioning function or a lane-level positioning function, or can obtain a road-level positioning result or a lane-level positioning result. Among them, road-level positioning can be to use the Global Navigation Satellite System (GNSS) signal to determine the position of the navigated object, and the position can be matched to a certain road.
[0035] Lane-level positioning can use carrier phase differential technology to determine the position of the navigated object. The accuracy of lane-level positioning can reach centimeter level, so the position can be matched to a certain lane of the road.
[0036] To facilitate understanding of the technical solution of the present application, an explanation will be given below with reference to the accompanying drawings.
[0037] The navigation method provided in the present application is executed by a mobile device installed with application software having a navigation function. The mobile device may be a smart phone, a tablet computer, a laptop computer, a vehicle-mounted multimedia device (vehicle computer), or the like.
[0038] See also Figure 1 , which is a flow chart of a navigation method provided in an embodiment of the present application, the method is applied to a process in which a navigation route has been acquired and navigation guidance is performed based on the navigation route (referred to as the navigation process), and the method includes:
[0039] S101: Acquire the location of the navigated object.
[0040] During the navigation process, the real-time positioning position of the navigated object can be obtained based on GNSS positioning signals or carrier phase difference technology.
[0041] The navigation object may be a vehicle or a mobile device located on a vehicle. The navigation route is a travel route planned based on a starting position and a destination position, wherein the starting position may be the position where the navigation object first obtains the navigation route, or may be a certain location of the navigation object during the navigation object's travel.
[0042] S102: Determine the driving lane of the guided object and the nearest intersection ahead of the driving lane based on the positioning position and the navigation route.
[0043] The driving lane of the navigated object refers to the lane in which the navigated object is currently traveling. If the positioning position obtained in step S101 is at the lane level, the lane in which the navigated object is currently traveling can be determined based on the positioning position of the navigated object and the lane-level road network data. If the positioning position obtained in step S101 is at the road level, the road where the navigated object is located can be determined based on the positioning position, and then the lane in which the navigated object is currently traveling on the road can be further determined based on the image taken by the visual device carried by the navigated object.
[0044] Among them, the lane-level road network data records the attribute information of the lanes included in the road and the connectivity between lanes. The attribute information of the lane includes the type of lane (bus lane, emergency lane, etc.), the type of lane line, and the direction of the lane. The direction of travel includes but is not limited to left turn, right turn, straight, U-turn, etc. The lane line type includes but is not limited to white single solid line, white single dashed line, yellow single dashed line, yellow single solid line, yellow double dashed line, yellow double solid line, etc. The connectivity between lanes includes another lane that can be entered from a certain lane, and the intersection that can be entered from a certain lane.
[0045] In this embodiment, according to the location of the navigated object, an intersection located in front of the navigated object and closest to the location of the navigated object can be determined from the navigation route, so as to adjust the navigation prompt associated with the intersection.
[0046] S103: Detect whether the distance from the positioning position of the navigated object to the intersection is less than or equal to a preset distance threshold, and if so, obtain the lane change cost of the navigated object entering the intersection from the driving lane according to the lane planned by the navigation route.
[0047] After determining the intersection in front of the navigated object and closest to the location of the navigated object in the navigation route based on S102, the dynamic distance between the location of the navigated object and the intersection can be obtained based on the real-time location of the navigated object, and it can be determined whether the distance is less than or equal to the preset distance threshold. If the distance is less than or equal to the preset distance threshold, indicating that the navigated object is about to approach the intersection, the cost that the navigated object needs to pay to enter the intersection from the current driving lane according to the lane planned for the navigation route, that is, the lane change cost, is obtained. The lane change cost reflects the difficulty of the navigated object entering the intersection from the driving lane according to the lane of the navigation planned route. The smaller the lane change cost, the easier it is to enter the intersection from the driving lane according to the navigation planned route; the larger the lane change cost, the more difficult it is to enter the intersection from the driving lane according to the lane of the navigation planned route.
[0048] In some application scenarios, in order to avoid affecting the user experience by adjusting the broadcast strategy of the navigation prompt before the user is given a navigation prompt, before detecting whether the distance from the location of the navigation object to the intersection is less than or equal to the preset distance threshold, it is also possible to first determine whether the navigation prompt associated with the intersection has been broadcasted. If so, it indicates that the user has been reminded, and then the above-mentioned distance judgment is performed. Specifically, after the navigation prompt is broadcasted for the first time, it can be determined whether the user has entered the lane planned for the navigation route according to the navigation prompt. If the user has driven in the correct lane according to the navigation prompt, it can be determined that the vehicle will not deviate, and the same guidance can be no longer broadcast; if the user has not driven into the lane planned for the navigation route according to the navigation prompt, the above-mentioned distance judgment is performed, so that when the vehicle is about to approach the intersection, the lane change cost of entering the intersection from the current driving lane according to the lane planned for the navigation route is obtained, and the navigation prompt is adjusted according to the lane change cost (for example, the broadcast frequency is increased and / or the broadcast intensity is enhanced) to avoid the user from deviating at the intersection.
[0049] Among them, obtaining the lane change cost of the navigated object from the driving lane according to the lane planned for the navigation route to enter the intersection specifically includes: from the navigation route, obtaining the lane for entering the intersection planned for the navigation route as the target lane; based on the lane attributes of the driving lane and the target lane, determining the topological relationship between the driving lane and the target lane; based on the topological relationship, determining the lane change cost of the navigated object from the driving lane according to the target lane planned for the navigation route to enter the intersection.
[0050] The target lane refers to the lane entering the intersection planned by the navigation route, such as Figure 2As shown, the vehicle is currently traveling in lane 1. According to the navigation route, the vehicle needs to enter intersection 1, and intersection 1 is connected to lane 4 on the road. Lane 4 is the target lane for entering the intersection planned by the navigation route.
[0051] In specific implementation, the topological relationship between the driving lane and the target lane can be determined by the lane number in the lane attribute. The lane number can include the number of the road to which the lane belongs and the number of the lane in the road to which it belongs. That is, a lane is uniquely identified by the road number of the road to which it belongs and its number in the road. In areas where the driver's seat is on the left, the lane number in the road can be numbered in order from left to right, or vice versa. This embodiment has no limitation on this. For example, Figure 2 As shown, the road includes 4 lanes, the first lane from the left is numbered as lane 1, followed by lane 2, lane 3 and lane 4.
[0052] In this embodiment, the topological relationship is used to indicate the positional relationship between the driving lane and the target lane. Specifically, when the lane attribute is the lane number, the lane numbers of the driving lane and the target lane can be compared, and the topological relationship between the driving lane and the target lane can be obtained according to the comparison result. That is, by comparing the lane number of the driving lane with the lane number of the target lane, the topological relationship between the driving lane and the target lane is determined.
[0053] Specifically, when the lane number includes the number of the road to which the lane belongs and the number of the lane in the road to which it belongs, the lane numbers of the driving lane and the target lane are compared. If the comparison result is that the lane numbers are the same, that is, the number of the road to which the driving lane belongs is the same as the number of the road to which the target lane belongs and the number of the driving lane in the road to which it belongs is the same as the number of the target lane in the road, indicating that the driving lane and the target lane are the same lane, then the topological relationship between the driving lane and the target lane is determined to be the same lane.
[0054] If the comparison result is that the lanes have the same numbers in the roads they belong to, but different numbers in the roads they belong to, indicating that the driving lane and the target lane are different lanes belonging to the same road, then the topological relationship between the driving lane and the target lane is determined to be a parallel lane.
[0055] It should be noted that, since the present application obtains the lane change cost of the navigated object from the driving lane according to the lane planned for the navigation route into the intersection when the distance from the positioning position of the navigated object to the intersection is less than or equal to a preset distance threshold, there is basically no situation in the aforementioned comparison result where the driving lane and the target lane do not belong to the same road.
[0056] After the topological relationship is obtained, based on the topological relationship, the lane change cost of the navigated object from the driving lane to the target lane planned by the navigation route into the intersection is determined, including:
[0057] If the topological relationship between the driving lane and the target lane is the same lane, the lane change cost of the guided object entering the intersection from the driving lane is determined to be the preset first lane change cost. Figure 3 As shown, the driving lane of the vehicle and the target lane are the same lane, namely lane 4, and the lane change cost of the vehicle entering intersection 1 from lane 4 is determined as the first lane change cost.
[0058] If the topological relationship between the driving lane and the target lane is a parallel lane, then based on the lane numbers of the driving lane and the target lane, the number of merging lanes for the navigated object to enter the intersection from the driving lane is determined, and based on the number of merging lanes, the second lane change cost for the navigated object to enter the intersection from the driving lane according to the target lane planned by the navigation route is determined. Among them, the second lane change cost is positively correlated with the number of merging lanes, that is, the larger the number of merging lanes, the larger the second lane change cost. That is, when the topological relationship between the driving lane and the target lane is a parallel lane, since it is necessary to merge from the driving lane to the target lane, when the number of lanes required for merging is different, the corresponding lane change cost may also be different. In order to more finely reflect the difficulty of lane change represented by the lane change cost, the second lane change cost will be determined according to the number of merging lanes.
[0059] The expression form of the lane change cost can be determined according to the actual application situation. For example, the lane change cost is expressed in numbers, the value of the first lane change cost is 0, and the value of the second lane change cost is 1 to N. In this case, the greater the number of merging lanes, the greater the value of the second lane change cost. Figure 2 In the application scenario, lane 1 and lane 4 are 3 lanes apart, so merging from lane 1 to lane 4 requires 3 lane changes, and the second lane change cost is 3; lane 2 and lane 4 are 2 lanes apart, so merging from lane 2 to lane 4 requires 2 lane changes, and the second lane change cost is 2; lane 3 and lane 4 are 1 lane apart, so merging from lane 3 to lane 4 requires 1 lane change, and the second lane change cost is 1. It can be seen that merging from lane 1 to lane 4 is the most difficult.
[0060] Among them, in a specific implementation, based on the lane numbers of the driving lane and the target lane, the number of merging lanes for the navigated object to enter the intersection from the driving lane according to the target lane planned in the navigation route is determined, including: from the lane numbers of the driving lane and the target lane, obtaining the lane numbers of the driving lane and the target lane in the corresponding roads; obtaining the absolute value of the difference between the lane numbers of the driving lane and the target lane as the number of merging lanes.
[0061] Since the driving lane and the target lane belong to the same road in this embodiment, the number of merging lanes can be determined directly by obtaining the difference between the lane number of the driving lane in the road to which it belongs and the lane number of the target lane in the road to which it belongs. Figure 2 In the example, the driving lane is lane 1 and the target lane is lane 4. The absolute value of the difference between the two lane numbers is 3, so the number of merging lanes is 3.
[0062] It should be noted that, in this embodiment, the lane change cost of the navigated object from the driving lane to the intersection can be obtained in real time in the above manner based on the positioning position of the navigated object. Alternatively, when planning the navigation route, the lane change cost from each lane in the road to the intersection is pre-calculated and stored in the lane data of the corresponding lane. When it is necessary to obtain the lane change cost, the driving lane is determined based on the positioning position of the navigated object, and then the lane change cost is read from the lane data of the driving lane.
[0063] When the lane change cost is obtained in advance, each lane in the road is regarded as a possible driving lane, and the topological relationship between the driving lane and the target lane is obtained. Then, based on the topological relationship between the driving lane and the target lane, the lane change cost from the driving lane to the target lane is determined.
[0064] S104: Determine a broadcasting strategy for navigation prompts related to the intersection according to the lane change cost.
[0065] In this embodiment, after obtaining the lane change cost of entering the intersection from the driving lane, a broadcast strategy for navigation prompts related to the intersection is determined according to the lane change cost. The broadcast strategy may include adjusting the frequency and intensity of navigation prompts.
[0066] Specifically, if the lane change cost is the first lane change cost, indicating that the lane the vehicle is currently traveling in is the target lane, the frequency of navigation prompts can be reduced or the navigation prompts will no longer be broadcast after being broadcast, thereby reducing interference to the user.
[0067] If the lane change cost is the second lane change cost, it indicates that the vehicle has approached the intersection but has not yet entered the target lane. To avoid the user walking through the intersection, the intensity and / or frequency of the navigation prompts may be increased to attract the attention of the navigated object and allow the navigated object to merge from the driving lane to the target lane in time.
[0068] Furthermore, when the lane change cost is the second lane change cost, the intensity and / or frequency of the navigation prompt can be adjusted to different degrees according to the specific value of the second lane change cost. The larger the value of the second lane change cost, the greater the difficulty of entering the target lane from the driving lane, and the greater the adjustment degree of the navigation prompt. For example, if the second lane change cost is 1, the intensity of the lane change prompt is increased from L1 to L2; if the second lane change cost is 2, the intensity of the navigation prompt is increased from L1 to L3.
[0069] That is, this embodiment can determine whether the user has entered the target lane of the entrance to the intersection planned by the navigation route according to the navigation prompt after the first navigation prompt. If the user is already driving in the target lane, the subsequent same navigation prompts may no longer be broadcast; if the user does not merge into the target lane according to the navigation prompt, and the user is approaching the intersection, strong voice and picture reminders can be used to attract the user's attention so that the user can drive to the target lane in time to avoid going the wrong way at the intersection.
[0070] It can be seen that the present application dynamically adjusts the broadcast strategy of navigation prompts according to the lane change cost, for example, adjusts the frequency of navigation prompts and / or the strength of navigation prompts to ensure that users drive correctly at intersections, reduces the disturbance of navigation prompts to users, and improves user experience.
[0071] Based on the above method embodiments, the present application provides a navigation device and an electronic device, which will be described below in conjunction with the accompanying drawings.
[0072] See also Figure 4 , which is a structural diagram of a navigation device provided in an embodiment of the present application, such as Figure 4 As shown, the device 400 is capable of executing Figure 1 The method shown is applied to a process of navigating based on an acquired navigation route, and includes: an acquiring unit 401 and a determining unit 402 .
[0073] Specifically, the acquisition unit 401 is used to acquire the location of the navigated object;
[0074] A determination unit 402, configured to determine a driving lane of the navigated object and a nearest intersection ahead of the driving lane based on the positioning position and the navigation route;
[0075] The acquisition unit 401 is used to detect whether the distance from the positioning position of the navigated object to the intersection is less than or equal to a preset distance threshold, and if so, to obtain the lane change cost of the navigated object from the driving lane to the intersection according to the lane planned by the navigation route;
[0076] The determination unit 402 is used to determine a broadcasting strategy of the navigation prompt related to the intersection according to the lane change cost.
[0077] In a possible implementation, the device further includes: a judgment unit;
[0078] The judging unit is used to judge whether the navigation prompt associated with the intersection has been broadcast;
[0079] The acquisition unit is used to detect whether the distance from the positioning position of the navigated object to the intersection is less than or equal to a preset distance threshold if the navigation prompt associated with the intersection has been broadcast, and if so, to obtain the lane change cost of the navigated object from the driving lane into the intersection.
[0080] In a possible implementation, the acquisition unit 401 is specifically used to acquire, from the navigation route, the lane planned for entering the intersection as the target lane; determine the topological relationship between the driving lane and the target lane based on the lane attributes of the driving lane and the target lane; and determine the lane change cost of the navigated object from the driving lane into the intersection based on the topological relationship between the driving lane and the target lane.
[0081] In a possible implementation, the lane attribute is a lane sequence number, and the acquisition unit 401 is specifically configured to compare the lane sequences of the driving lane and the target lane to obtain a topological relationship between the driving lane and the target lane.
[0082] In a possible implementation, the lane number includes: the number of the road to which the lane belongs and the number of the lane in the road to which it belongs. The acquisition unit 401 is specifically used to compare the lane numbers of the driving lane and the target lane to obtain a comparison result; if the comparison result is that the lane numbers are the same, it is determined that the topological relationship between the driving lane and the target lane is the same lane; if the comparison result is that the numbers of the roads to which the lanes belong are the same but the numbers of the lanes in the roads to which they belong are different, it is determined that the topological relationship between the driving lane and the target lane is a parallel lane.
[0083] In a possible implementation, the acquisition unit 401 is specifically used to determine, if the topological relationship between the driving lane and the target lane is the same lane, that the lane change cost for the navigated object to enter the intersection from the driving lane according to the target lane planned on the navigation route is a preset first lane change cost; if the topological relationship between the driving lane and the target lane is a parallel lane, then based on the lane numbers of the driving lane and the target lane, the number of merging lanes for the navigated object to enter the intersection from the driving lane is determined, and based on the number of merging lanes, a second lane change cost for the navigated object to enter the intersection from the driving lane according to the target lane planned on the navigation route is determined, and the second lane change cost is positively correlated with the number of merging lanes.
[0084] In a possible implementation, the acquisition unit 401 is specifically used to acquire the lane numbers of the driving lane and the target lane in the corresponding road from the lane numbers of the driving lane and the target lane; and acquire the absolute value of the difference between the lane numbers of the driving lane and the target lane as the number of merging lanes.
[0085] In one possible implementation, the determination unit 402 is specifically used to reduce the broadcast frequency of the navigation prompt or stop broadcasting the navigation prompt if the lane change cost is the first lane change cost; if the lane change cost is the second lane change cost, increase the intensity and / or frequency of the navigation prompt so that the navigated object can drive from the driving lane into the target lane.
[0086] It should be noted that the specific implementation of each unit in this embodiment can refer to the relevant description in the above method embodiment. The division of units in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. The functional units in the embodiment of the present application can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. For example, in the above embodiment, the processing unit and the sending unit can be the same unit or different units. The above integrated units can be implemented in the form of hardware or in the form of software functional units.
[0087] Based on a navigation method provided by the above method embodiment, the present application also provides an electronic device, including: one or more processors; a memory, on which one or more programs are stored, when the one or more programs are executed by the one or more processors, the one or more processors implement the navigation method described in any of the above embodiments.
[0088] Reference below Figure 5 , which shows a schematic diagram of the structure of an electronic device 500 suitable for implementing the embodiment of the present application. The terminal device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (portable android devices), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs (televisions), desktop computers, etc. Figure 5 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0089] like Figure 5 As shown, the electronic device 500 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic device 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0090] Typically, the following devices may be connected to the I / O interface 505: an input device 506 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 508 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 509. The communication device 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 5 The electronic device 500 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0091] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 509, or installed from the storage device 508, or installed from the ROM502. When the computer program is executed by the processing device 501, the above-mentioned functions defined in the method of the embodiment of the present application are executed.
[0092] The electronic device provided in the embodiment of the present application and the navigation processing method provided in the above embodiment belong to the same inventive concept. The technical details not fully described in this embodiment can be referred to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.
[0093] Based on a navigation method provided by the above method embodiment, an embodiment of the present application provides a computer-readable medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the navigation method as described in any of the above embodiments.
[0094] It should be noted that the computer-readable medium mentioned above in the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0095] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (Hyper Text Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0096] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0097] The computer-readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device executes the navigation method.
[0098] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0099] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0100] The units involved in the embodiments described in this application may be implemented by software or hardware. The name of a unit / module does not limit the unit itself in some cases. For example, a voice data acquisition module may also be described as a "data acquisition module".
[0101] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0102] It should be noted that the various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the various embodiments can be referred to each other. For the system or device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.
[0103] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0104] It should also be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0105] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0106] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A navigation method, characterized in that: The method is applied to a process of navigating based on an acquired navigation route, and the method comprises: Get the location of the navigated object; Determining a driving lane of the navigated object and a nearest intersection ahead of the driving lane based on the positioning position and the navigation route; Detecting whether the distance from the positioning position of the navigated object to the intersection is less than or equal to a preset distance threshold, and if so, obtaining a lane change cost for the navigated object to enter the intersection from the driving lane according to the lane planned by the navigation route; According to the lane change cost, a broadcasting strategy for navigation prompts related to the intersection is determined.
2. The method according to claim 1, characterized in that The method further comprises: Determine whether the navigation prompt associated with the intersection has been broadcast. If so, execute the step of detecting whether the distance from the positioning position of the navigated object to the intersection is less than or equal to a preset distance threshold.
3. The method according to claim 2, characterized in that The obtaining of the lane change cost of the navigated object from the driving lane into the intersection according to the lane planned by the navigation route specifically includes: From the navigation route, obtaining a lane entering the intersection planned by the navigation route as a target lane; Determining a topological relationship between the driving lane and the target lane based on lane attributes of the driving lane and the target lane; Based on the topological relationship between the driving lane and the target lane, a lane change cost for the navigated object to enter the intersection from the driving lane according to the target lane planned by the navigation route is determined.
4. The method according to claim 3, characterized in that The lane attribute is a lane sequence number, and based on the lane attributes of the driving lane and the target lane, determining a topological relationship between the driving lane and the target lane includes: The lane numbers of the driving lane and the target lane are compared to obtain a topological relationship between the driving lane and the target lane.
5. The method according to claim 4, characterized in that: The lane sequence number includes: the number of the road to which the lane belongs and the number of the lane in the road to which the lane belongs. The lane sequence numbers of the driving lane and the target lane are compared to obtain the topological relationship between the driving lane and the target lane, specifically including: Comparing the lane numbers of the driving lane and the target lane to obtain a comparison result; If the comparison result is that the lane numbers are the same, determining that the topological relationship between the driving lane and the target lane is the same lane; If the comparison result is that the numbers of the roads to which the lanes belong are the same, but the numbers of the lanes in the roads to which the lanes belong are different, it is determined that the topological relationship between the driving lane and the target lane is a parallel lane.
6. The method according to claim 5, characterized in that The determining, based on the topological relationship between the driving lane and the target lane, a lane change cost for the navigated object to enter the intersection from the driving lane according to the target lane planned by the navigation route includes: If the topological relationship between the driving lane and the target lane is the same lane, determining that the lane change cost of the guided object from the driving lane to the target lane planned by the navigation route into the intersection is a preset first lane change cost; If the topological relationship between the driving lane and the target lane is a parallel lane, then based on the lane numbers of the driving lane and the target lane, the number of merging lanes for the navigated object to enter the intersection from the driving lane is determined, and based on the number of merging lanes, a second lane change cost for the navigated object to enter the intersection from the driving lane according to the target lane planned by the navigation route is determined, and the second lane change cost is positively correlated with the number of merging lanes.
7. The method according to claim 6, characterized in that The determining, based on the lane numbers of the driving lane and the target lane, the number of the merging lanes for the guided object to enter the intersection from the driving lane comprises: From the lane numbers of the driving lane and the target lane, obtaining the lane numbers of the driving lane and the target lane in the road to which they belong; The absolute value of the difference between the lane numbers of the driving lane and the target lane is obtained as the number of merging lanes.
8. The method according to claim 6, characterized in that The step of determining a broadcasting strategy of the navigation prompt associated with the intersection according to the lane change cost includes: If the lane change cost is the first lane change cost, reducing the broadcast frequency of the navigation prompt or not broadcasting the navigation prompt; If the lane change cost is the second lane change cost, the intensity and / or frequency of the navigation prompt is increased so that the navigated object can enter the target lane from the driving lane.
9. A navigation device, characterized in that: The device is applied in a process of navigating based on an acquired navigation route, and includes: An acquisition unit, used for acquiring the location of the navigated object; A determination unit, configured to determine a driving lane of the navigated object and a nearest intersection ahead of the driving lane based on the positioning position and the navigation route; The acquisition unit is further used to detect whether the distance from the positioning position of the navigated object to the intersection is less than or equal to a preset distance threshold, and if so, to obtain the lane change cost of the navigated object entering the intersection from the driving lane according to the lane planned by the navigation route; The determining unit is used to determine a broadcasting strategy for the navigation prompt related to the intersection according to the lane change cost.
10. An electronic device, characterized in that: include: one or more processors; a memory having one or more programs stored therein, When the one or more programs are executed by the one or more processors, the one or more processors implement the navigation method as described in any one of claims 1-8.
Citation Information
Cited By
Lane changing cost generation method and device and computer program product
CN119901305A
