Navigation interface display method, device, terminal and storage medium
By adjusting the display position of the object logo within the fixed visual focus area of the navigation interface and updating the electronic map, the problem of difficulty in determining the position due to the large movement range of the vehicle logo is solved, and the position and route can be determined quickly and accurately, improving driving safety and efficiency.
Patent Information
- Application Number
- CN202110959201.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-20
- Publication Date
- 2025-09-26
- Estimated Expiration
- 2041-08-23
AI Technical Summary
The vehicle icon in the existing navigation interface has a large movement range, making it difficult for users to quickly and accurately determine the vehicle's location and subsequent driving route with a single glance, affecting driving safety.
The display position of the object identifier is adjusted within the fixed visual focus area of the navigation interface, and the electronic map is updated based on the display position of the object identifier, thereby limiting the display area of the object identifier and reducing the degree of change in the electronic map.
Users can quickly scan to determine their current location and subsequent driving route, reducing dizziness and improving driving safety and efficiency.
Smart Images

Figure CN113590070B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of vehicle networking technology, and in particular to a method, device, terminal, and storage medium for displaying a navigation interface. Background Art
[0002] Currently, online navigation functions are widely used. For example, online car-hailing applications, navigation applications, map applications, etc. all need to provide vehicle driving navigation functions.
[0003] In related technologies, the terminal displays a map within a certain range around the user through the navigation interface, and indicates the current position of the vehicle driven by the user through the vehicle logo. The vehicle logo is controlled to move in the map of the navigation interface according to the position change of the vehicle, reflecting the driving route of the vehicle in real time.
[0004] However, the display method of the navigation interface in the related art makes the movement range of the vehicle logo in the navigation interface relatively large. Especially when driving a vehicle, it is difficult for the user to quickly and accurately determine the position of the vehicle logo on the map with a single glance. That is, it may take multiple or long observations to clearly determine the current position of the vehicle and the subsequent driving route, which affects driving safety. Summary of the Invention
[0005] The embodiments of the present application provide a method, device, terminal, and storage medium for displaying a navigation interface, which facilitates users to quickly determine their vehicle's location and navigation route with a single glance, thereby ensuring driving safety. The technical solution is as follows:
[0006] In one aspect, an embodiment of the present application provides a method for displaying a navigation interface, the method comprising:
[0007] Displaying an object identifier of a navigation object in a target area of the navigation interface, wherein the target area is a visual focus area at a fixed position in the navigation interface, and the object identifier is displayed on an electronic map;
[0008] In response to a change in the driving state of the navigation object, adjusting a display position of the object identifier in the target area;
[0009] In response to the display position of the object identifier in the target area being adjusted, the display of the electronic map is updated based on the display position of the object identifier in the target area.
[0010] On the other hand, an embodiment of the present application provides a display device for a navigation interface, the device comprising:
[0011] a first display module, configured to display an object identifier of a navigation object in a target area of the navigation interface, wherein the target area is a visual focus area at a fixed position in the navigation interface, and the object identifier is displayed on an electronic map;
[0012] a first adjusting module, configured to adjust a display position of the object identifier in the target area in response to a change in the driving state of the navigation object;
[0013] The first updating module is configured to update the display of the electronic map based on the display position of the object identifier in the target area in response to an adjustment of the display position of the object identifier in the target area.
[0014] On the other hand, an embodiment of the present application provides a terminal, which includes a processor and a memory; the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set are loaded and executed by the processor to implement the display method of the navigation interface as described in the above aspects.
[0015] On the other hand, an embodiment of the present application provides a computer-readable storage medium, in which at least one computer program is stored. The computer program is loaded and executed by a processor to implement the method for displaying a navigation interface as described in the above aspects.
[0016] According to one aspect of the present application, a computer program product or computer program is provided, comprising computer instructions stored in a computer-readable storage medium. A processor of a terminal reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the terminal to perform the navigation interface display method provided in various optional implementations of the above aspects.
[0017] The technical solutions provided by the embodiments of the present application include at least the following beneficial effects:
[0018] In an embodiment of the present application, the display position of the object identifier is adjusted and the electronic map is updated to display the changes in the driving status. The object identifier is located in the target area before and after the adjustment, so that regardless of the driving status, the object identifier is always displayed in the target area, limiting the display area of the object identifier. While displaying the changes in the driving status, it can ensure that the user can determine the current position and subsequent driving route by quickly scanning during driving, thereby improving the efficiency of the user in determining the position and viewing the navigation route, and ensuring driving safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1It is a schematic diagram of a navigation interface in the related art;
[0020] Figure 2 is a flowchart of a method for displaying a navigation interface provided by an exemplary embodiment of the present application;
[0021] Figure 3 is a schematic diagram of a navigation interface provided by an exemplary embodiment of the present application;
[0022] Figure 4 is a flowchart of a method for displaying a navigation interface provided by another exemplary embodiment of the present application;
[0023] Figure 5 is a schematic diagram of a navigation interface change process at a target node provided by an exemplary embodiment of the present application;
[0024] Figure 6 is a schematic diagram of a navigation interface change process at a target node provided by another exemplary embodiment of the present application;
[0025] Figure 7 is a schematic diagram of a navigation interface change process when changing lanes provided by an exemplary embodiment of the present application;
[0026] Figure 8 is a flowchart of a method for displaying a navigation interface provided by another exemplary embodiment of the present application;
[0027] Figure 9 is a flowchart of a method for displaying a navigation interface provided by another exemplary embodiment of the present application;
[0028] Figure 10 is a flowchart of a method for displaying a navigation interface provided by another exemplary embodiment of the present application;
[0029] Figure 11 is a schematic diagram of a process for determining a logo display area provided by an exemplary embodiment of the present application;
[0030] Figure 12 This is a structural block diagram of a display device for a navigation interface provided by an exemplary embodiment of the present application;
[0031] Figure 13 It is a structural block diagram of a terminal provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0032] In order to make the objectives, technical solutions and advantages of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.
[0033] In this document, "plurality" refers to two or more. "And / or" describes a relationship between associated objects, indicating that three possible relationships exist. For example, "A and / or B" can mean: A exists alone, A and B exist simultaneously, or B exists alone. The character " / " generally indicates an "or" relationship between the associated objects.
[0034] In related technologies, the terminal displays a map within a certain range around the user through the navigation interface, and indicates the current position of the vehicle driven by the user through the vehicle logo. The vehicle logo is controlled to move in the map of the navigation interface according to the position change of the vehicle, reflecting the driving route of the vehicle in real time.
[0035] However, the display method of the navigation interface in the related art makes the movement range of the vehicle icon in the navigation interface relatively large. Especially when driving a vehicle, it is difficult for the user to quickly and accurately determine the position of the vehicle icon on the map with a single glance. In other words, it may take multiple or long observations to clearly determine the current position of the vehicle and the subsequent driving route, which affects driving safety. Figure 1 As shown, the navigation interface 101 displays a map and an object identifier 102. The terminal controls the movement of the object identifier 102 in real time based on the changes in the location of the navigation object. If the user does not check the navigation interface for a long period of time, the position of the object identifier 102 may differ significantly between the two views of the navigation interface, making it difficult for the user to quickly determine the location of the object identifier 102 in the navigation interface. Furthermore, when the vehicle's driving direction changes (e.g., turning or making a U-turn), the object identifier or map changes significantly with the change in driving direction, which can easily cause dizziness in the user.
[0036] In order to solve the above technical problems, the present application provides a method for displaying a navigation interface, which adjusts the display position of an object identifier in a target area and updates an electronic map based on the display position of the object identifier. While ensuring that the object identifier is always displayed in a fixed visual focus area in the navigation interface, the degree of change of the map is slowed down as much as possible, so that the user can quickly determine the position of the vehicle, while reducing the dizziness caused by map changes when the driving direction changes. The method for displaying a navigation interface provided in the embodiment of the present application can be applied to terminals such as navigators, smart phones, and tablet computers. In a possible implementation, the method for displaying a navigation interface provided in the embodiment of the present application can be implemented as an application or a part of an application, and installed in a terminal, so that the terminal has positioning and navigation functions. For the convenience of description, the following embodiments are described by taking the application of the method for displaying a navigation interface to a terminal as an example, but this does not constitute a limitation.
[0037] Figure 2A flowchart of a method for displaying a navigation interface provided by an exemplary embodiment of the present application is shown. This embodiment is described by taking the method applied to a terminal with a navigation function as an example, and the method includes the following steps.
[0038] Step 201: Display an object identifier of a navigation object in a target area of a navigation interface. The target area is a visual focus area at a fixed position in the navigation interface, and the object identifier is displayed on an electronic map.
[0039] In one possible implementation, in response to receiving an operation to enable the navigation function, the terminal obtains current location information and displays a navigation interface based on the current location information. The navigation interface includes an electronic map and an object identifier of a navigation object, where the position of the object identifier on the electronic map can reflect the geographic location of the navigation object. The navigation object refers to the object being navigated, such as a user who has enabled the navigation function and a vehicle driven by the user. The terminal determines its own location as the location of the navigation object.
[0040] Optionally, the electronic map of the navigation interface also displays navigation route indication information, which is text information or graphic information, such as a guide line that takes the object identifier as the starting point and is used to indicate the driving direction.
[0041] Schematically, the terminal displays the object identifier at a default position in the navigation interface and displays an electronic map based on the current position information of the navigation object, thereby simulating the position and movement of the navigation object in the real environment based on the object identifier and the electronic map.
[0042] The terminal displays the object identifier in the target area of the navigation interface, where the target area is a fixed visual focus area. The visual focus area is an area that is convenient for focusing the user's line of sight. For example, based on the user's driving and scanning behavior habits of the terminal interface, the visual focus area is determined to be located on the right side of the navigation interface, and the distance between each boundary of the visual focus area and each boundary of the navigation interface is not less than the distance threshold, that is, the visual focus area is located at a position that is not a corner of the interface and not an edge of the interface, and its position is fixed. In addition, in order to focus the user's line of sight, the user can roughly determine the display position of the object identifier in the navigation interface before viewing the navigation interface. The area of the visual focus area is small, less than a preset area threshold, for example, the display area of the visual focus area is 1 / 40 of the display area of the navigation interface. In one possible embodiment, the visual focus area (i.e., the target area) in the navigation interface is obtained by pre-rasterizing the navigation interface.
[0043] The target area is not perceptible, that is, the user cannot perceive the existence of the target area in the interface through the navigation interface, and can only perceive that the object logo is displayed at a fixed position.
[0044] Optionally, the edge of the object identifier cannot exceed the edge of the target area, or the center of the object identifier cannot exceed the edge of the target area, which is not limited in this embodiment of the present application.
[0045] Indicative, Figure 3 The navigation interface 301 includes an electronic map 302 and an object identifier 303. When the user drives the vehicle in a straight line along the current lane, the terminal adjusts the electronic map 302 downward and keeps the object identifier 303 at the current display position.
[0046] Step 202: In response to a change in the driving state of the navigation object, adjust the display position of the object identifier in the target area.
[0047] In one possible embodiment, when the navigation object is traveling straight ahead on the current road and its driving status remains unchanged, the terminal displays the navigation object's driving progress by fixing the object identifier and adjusting the electronic map. For example, if the navigation object is traveling due north in the current lane, the terminal fixes the object identifier and adjusts the electronic map downward in the navigation interface, allowing the user to easily determine the vehicle's location with a single glance. When the navigation object's driving status is about to change, such as during a lane change, a turn, a U-turn, or entering a fork in the road, if the terminal continues to display the driving progress and navigation route by simply adjusting the electronic map, the electronic map must be significantly altered (moved and rotated) within a short period of time. Such significant changes in the electronic map can cause user disorientation and hinder safe driving. Therefore, the terminal no longer displays the navigation object's driving progress by simply moving the electronic map. Instead, it adjusts the display position of the object identifier within the target area and simultaneously controls the relative movement of the electronic map to minimize and slow down the changes in the electronic map, thereby reducing disorientation and allowing the user to quickly understand how to change the driving status through the navigation interface display.
[0048] The target area is a small and fixed visual focus area in the navigation interface. Therefore, even if the terminal adjusts the display position of the object logo, the object logo is always located in the target area, and the user can still quickly locate the display position of the object logo.
[0049] Optionally, when the driving status of the navigation object changes, the terminal only adjusts the display position of the object logo in the target area and fixes the electronic map to reduce the dizziness caused by large changes in the electronic map; or, the terminal adjusts the display position of the object logo and adjusts the display of the electronic map at the same time, thereby reducing the degree of change of the two relative to the navigation interface.
[0050] Step 203 : In response to the display position of the object identifier in the target area being adjusted, the display of the electronic map is updated based on the display position of the object identifier in the target area.
[0051] After the object marker's display position is adjusted, the terminal must update the electronic map based on the adjusted object marker's display position. This ensures that changes in the electronic map align with the changes in the object marker's display position, achieving the effect of displaying the object marker's changing driving status along the navigation route. Since the object marker's display position is adjusted based on the changing driving status, changes to the electronic map can be slowed down, preventing significant changes that would require the user to check the navigation interface multiple times or for extended periods of time to determine their current location and route.
[0052] To sum up, in the embodiment of the present application, the display position of the object identifier is adjusted and the electronic map is updated to display the changes in the driving status, and the object identifier is located in the target area before and after the adjustment, so that no matter what the driving status is, the object identifier is always displayed in the target area, limiting the display area of the object identifier. While displaying the changes in the driving status, it can ensure that the user can determine the current position and subsequent driving route by quickly scanning during driving, thereby improving the efficiency of the user in determining the position and viewing the navigation route, and ensuring driving safety.
[0053] In a possible implementation, the map in the navigation interface is a three-dimensional map, and the object identifier is a three-dimensional model of the navigation object (eg, a car model). Figure 4 A flowchart of a method for displaying a navigation interface provided by another exemplary embodiment of the present application is shown. This embodiment is described by taking the method applied to a terminal with a navigation function as an example, and the method includes the following steps.
[0054] Step 401: Using a first perspective as a navigation perspective, displaying an object identifier in a target area. The object identifier is displayed on an electronic map under the first perspective.
[0055] In one possible implementation, the terminal displays the electronic map and object identifiers from a first perspective by default. Illustratively, the first perspective is the shooting perspective of a virtual camera. The terminal generates a three-dimensional map and object identifiers of navigation objects through three-dimensional modeling, and controls the virtual camera to shoot from behind the object identifier at a predetermined top-down angle, thereby displaying the electronic map and object identifiers captured by the virtual camera on the navigation interface.
[0056] During normal driving, when there is no need to change the driving status, in order to facilitate the user to view the road conditions ahead and changes in the navigation route, the terminal controls the virtual camera to shoot at a lower altitude and a smaller downward angle (for example, 20°) to obtain an electronic map with a long-distance field of view, so that the user can see the electronic map and navigation route at a farther distance through the navigation interface, which is convenient for the user to grasp the approximate changes of a longer navigation route.
[0057] The specific implementation of step 401 can refer to the above step 201, and will not be repeated here in this embodiment of the present application.
[0058] Step 402 : In response to a change in the driving state of the navigation object, determining an adjustment method for the object identifier based on the type of change in the driving state.
[0059] Among them, the types of changes in driving status include changes in driving direction (such as turning, turning around, entering a fork in the road, etc.) and changes in driving lanes (lane changes). The terminal adjusts the object identifier differently under the two types of changes. Specifically, the adjustment methods of the object identifier within the target area include horizontal adjustment and vertical adjustment. Step 402 includes the following steps:
[0060] In step 402a, in response to the change type being a change in driving direction and the distance between the object identifier and the target node being less than a first distance threshold, the adjustment mode is determined to be a longitudinal adjustment, and the target node is the node in the electronic map where the driving direction has changed.
[0061] It is worth mentioning that in an embodiment of the present application, when the change type is a change in driving direction, the terminal does not adjust the display position of the object identifier after the actual driving direction of the navigation object begins to change, but performs the step of adjusting the display position of the object identifier before the actual driving direction begins to change. That is, the terminal determines whether the driving direction of the navigation object is about to change based on the pre-generated navigation route and the current position of the navigation object, that is, whether the object identifier reaches a first distance threshold from the target node. If so, the display position of the object identifier begins to be adjusted longitudinally.
[0062] In response to the impending change in the driving direction of the navigation object, the terminal controls the relative movement of the object identifier and the electronic map. By controlling the small movement of the object identifier within the target area, the degree of change of the electronic map is reduced to avoid the user feeling dizzy due to drastic changes in the electronic map when the object identifier is fixed.
[0063] In one possible implementation, the terminal determines the geographic location of the navigation object in real time and, based on a predetermined navigation route, determines whether the navigation object needs to change direction. If it is determined that the navigation object needs to change direction after traveling a preset distance, the terminal longitudinally adjusts the display position of the object identifier within the target area. The object identifier position adjustment is completed before the navigation object begins to change direction, and the navigation interface displays the moved electronic map and object identifier. This allows the user to more clearly observe the nearby navigation route and understand how to change direction, while minimizing the extent of changes to the electronic map.
[0064] In response to the distance between the object identifier and the target node being less than a first distance threshold (i.e., the distance between the location corresponding to the navigation object and the target node is less than the actual distance corresponding to the first distance threshold), the terminal vertically adjusts the display position of the object representation. The target node is the node where the driving direction indicated by the navigation route on the map changes. For example, if the navigation route indicates that the next intersection on the map requires a left turn, then the intersection is the target node.
[0065] For example, developers have determined through testing that starting the relative movement of the map and the object marker 50 meters before changing direction allows for the relative movement to end at an appropriate time, that is, before the navigation object reaches the location corresponding to the target node. Therefore, the terminal is configured to determine the first distance threshold based on 50 meters and the current map scale. For example, the first distance threshold is 5 cm.
[0066] Step 402b: In response to a change in the driving state of the navigation object, where the change type is a driving lane change, determining that the adjustment method is a lateral adjustment.
[0067] When the change type of the driving state is a driving lane change, the terminal determines that the adjustment method of the object identifier is lateral adjustment.
[0068] Unlike turns and U-turns, when a vehicle changes lanes, its road and direction remain unchanged, but its lane changes. In one possible implementation, the map in this embodiment is a lane-level three-dimensional map. In response to a change in the navigation object's lane, the terminal controls the relative movement of the object identifier and the map, reflecting the navigation object's lane change in real time.
[0069] Step 403: Adjust the display position of the object identifier in the target area according to the adjustment method.
[0070] After determining an adjustment method for the object identifier based on the type of change in the driving state, the terminal adjusts a display position of the object identifier within the target area according to the adjustment method.
[0071] When the driving state change type is a driving direction change and the terminal determines that the adjustment method is longitudinal adjustment, step 403 further includes the following steps:
[0072] Step 403a: Switch the navigation perspective from the first perspective to the second perspective, where the viewing distance under the first perspective is greater than the viewing distance under the second perspective.
[0073] In one possible embodiment, the navigation interface corresponds to at least two navigation perspectives, namely, at least a first perspective and a second perspective, wherein the first perspective is a long-distance perspective and the second perspective is a short-distance perspective, namely, the field of view distance under the first perspective is greater than the field of view distance under the second perspective (for example, the top-down angle and height of the virtual camera under the first perspective are less than the top-down angle and height of the virtual camera under the second perspective). The terminal displays the electronic map and object identifier under the first perspective by default. In response to the distance between the object identifier and the target node being less than the first distance threshold, the terminal switches the navigation perspective of the navigation interface from the first perspective to the second perspective, for example, controlling the virtual camera to move upward on a sphere with the object identifier as the center of the sphere, and the virtual camera is always directed towards the object identifier.
[0074] When the navigation perspective switches from the first perspective to the second perspective, the user's attention can be shifted from the distant navigation route to the nearby navigation route, allowing the user to pay attention to how the driving direction ahead changes.
[0075] During the perspective switching process, the terminal still updates the display of the electronic map based on the driving direction and speed of the navigation object.
[0076] Indicative, such as Figure 5 As shown, the navigation interface 501 includes an electronic map 502 and an object identifier 503. In response to determining that the distance between the object identifier 503 and the target node is less than 5 cm, that is, the navigation object needs to drive to the right front after 50 m and enter the fork in the road, the terminal changes the navigation perspective from the first perspective (corresponding to Figure 5 The perspective of the first picture) switches to the second perspective (corresponding to Figure 5 During the perspective switching process, the display of the electronic map 502 is still updated based on the driving situation of the navigation object, that is, the electronic map 502 is moved downward.
[0077] Step 403b: Adjust the display position of the object identifier upward within the target area and increase the map scale of the electronic map.
[0078] The display position of the target node in the navigation interface remains unchanged as the map scale increases. When the navigation perspective switches to the second perspective, the terminal controls the relative movement of the map and the object identifier to minimize the degree of map change. It is worth noting that the adjustment range of the object identifier is always within the target area. If the object identifier has been adjusted to the edge of the target area, the display position of the object identifier will stop being adjusted.
[0079] If the navigation target's driving progress is simply displayed by moving the electronic map and adjusting the object identifier, the electronic map will still change significantly. Therefore, the terminal increases the electronic map scale, that is, continuously zooming in on the map while maintaining the displayed position of the target node unchanged, thereby achieving the effect of the object identifier continuously moving toward the target node. Simultaneously, the terminal adjusts the displayed position of the object identifier upward, slowing the speed of map scale magnification. This allows the user to clearly see the changes in driving direction at the target node, while also reducing the degree of electronic map changes and the feeling of dizziness. At the same time, it ensures that the object identifier moves within a fixed visual focus area, making it easier for the user to quickly determine the vehicle's position.
[0080] When the driving state change type is a driving lane change and the terminal determines that the adjustment method is a lateral adjustment, step 403 further includes the following steps:
[0081] Step 403c: Determine the lane change direction.
[0082] The terminal determines the position change of the navigation object through real-time positioning, and when it is determined that the lane where the navigation object is located has changed, determines the lane change direction of the navigation object.
[0083] Step 403d: Laterally adjust the display position of the object identifier in the target area based on the lane change direction.
[0084] Based on the lane-changing direction of the navigation object, the terminal controls the relative movement of the object identifier and the map accordingly, that is, controls the object identifier to move in the navigation interface according to the lane-changing direction of the navigation object, and controls the electronic map to move in the opposite direction based on the display position of the object identifier, thereby achieving the display effect of the object identifier changing lanes on the map. Moreover, since the display position of the object identifier is adjusted, the degree of change of the electronic map can be reduced while ensuring that the object identifier is within the identifier display range.
[0085] In one possible implementation, step 403d includes the following steps:
[0086] In response to the lane change direction being a right lane change, the display position of the object marker in the target area is adjusted rightward; in response to the lane change direction being a left lane change, the display position of the object marker in the target area is adjusted leftward.
[0087] Optionally, the terminal first adjusts the display position of the object identifier based on the lane change direction, and then adjusts the electronic map laterally when the display position of the object identifier cannot be adjusted further. Alternatively, the terminal adjusts both the object identifier and the electronic map simultaneously. Specifically, if the lane change direction is right, the terminal controls the object identifier to move right within the target area and controls the electronic map to move left. If the lane change direction is left, the terminal controls the object identifier to move left within the target area and controls the electronic map to move right.
[0088] Indicative, Figure 7 The figure shows how the navigation interface changes when the navigation object changes lanes. Based on the positioning information, the terminal determines that the navigation object has moved one lane to the right, that is, the lane change direction is right. Therefore, the terminal controls the object identifier 703 in the navigation interface 701 to move right within the target area, and simultaneously controls the electronic map 702 to move left.
[0089] Step 404 : In response to the object identifier being adjusted to the edge of the target area, the display of the electronic map is updated based on the display position of the object identifier in the target area.
[0090] Optionally, the terminal synchronously updates the display of the electronic map during the process of adjusting the display position of the object identifier, or the terminal fixedly displays the electronic map when adjusting the display position of the object identifier, and updates the electronic map after the object identifier is adjusted to the edge of the target area.
[0091] When the type of change in the driving state is a change in the driving direction and the adjustment method of the object identifier is longitudinal adjustment, step 404 includes the following steps:
[0092] Step 404a: in response to the object identifier being adjusted to the upper edge of the target area and the map scale reaching a first scale, rotating the electronic map based on the display position of the object identifier in the target area.
[0093] When the map scale is zoomed in to the first scale and cannot be further zoomed in, the terminal continues to move the map, even if the target node moves downward, thereby achieving a display effect in which the object identifier is constantly approaching the target node. During this process, if the object identifier has already moved to the upper edge of the identifier display area before the map scale is zoomed in to the first scale, the terminal controls the object identifier to remain stationary and only moves the map downward until the object identifier moves to the upper edge. If the object identifier has not moved to the upper edge, the terminal controls the object identifier to move upward and simultaneously controls the map to move downward.
[0094] Indicative, such as Figure 5 As shown, after the terminal switches the navigation perspective to the second perspective, the control object identifier 503 moves upward in the identifier display area and increases the map scale. Figure 5 Comparing the second and third images, we can see that the terminal maintains the display position of the target node (i.e., the fork in the road ahead on the right) in navigation interface 501. Object identifier 503 is simply moved and the map scale is increased to achieve the effect of moving the object identifier 503 toward the target node. The user can now view the enlarged electronic map on the navigation interface and quickly identify changes in driving direction along the navigation route.
[0095] In order to facilitate the demonstration of the change process of map and object identification, such as Figure 6 As shown, navigation interface 601 is gridded (the dotted lines corresponding to the grid are not visible in the actual navigation interface), and object marker 603 is located within a fixed visual focus area (i.e., within the grid corresponding to the third column horizontally and the fourth row vertically). Initially, object marker 603 is located at the lower edge of the target area, and the terminal only moves electronic map 602. Then, the navigation perspective switches to the second perspective, and the terminal controls object marker 603 to move upward within the target area and increases the map scale.
[0096] The object identifier begins to change its driving direction after reaching the target node. At this time, the terminal has completed the adjustment of the object identifier and the scale method, thereby controlling the electronic map to move and rotate relative to the object identifier based on the change in the driving direction of the navigation object, so as to achieve the display effect of the object identifier changing its driving direction at the target node.
[0097] Accordingly, after the navigation object leaves the target node, the terminal needs to restore the navigation perspective and the display position of the object identifier so as to continue to observe the distant navigation route from a long-distance perspective and prepare to reach the next node. Therefore, after the above step 404, the display method of the navigation interface provided by the embodiment of the present application further includes the following steps:
[0098] Step 1: In response to the distance between the object identifier and the target node being greater than a second distance threshold, adjusting the display position of the object identifier in the target area.
[0099] In response to the distance between the object identifier and the target node being greater than the second distance threshold, the electronic map and the object identifier are controlled to move relative to each other. In one possible implementation, step 1 includes the following steps:
[0100] In response to the distance between the object identifier and the target node being greater than a second distance threshold, the display position of the object identifier is adjusted downward within the target area, and the map scale is reduced.
[0101] Optionally, in response to the distance between the object identifier and the target node being greater than a second distance threshold, and the distance between the object identifier and the next target node being greater than a first distance threshold, the terminal controls the electronic map and the object identifier to move relative to each other; in response to the distance between the object identifier and the target node being greater than the second distance threshold, and the distance between the object identifier and the next target node being less than the first distance threshold, the terminal controls the object identifier to remain stationary at the current display position, and updates the display of the electronic map only based on the driving direction.
[0102] Step 2: in response to the object identifier being adjusted to the edge of the target area, updating the display of the electronic map based on the display position of the object identifier in the target area and the driving direction of the navigation object.
[0103] In one possible implementation, step 2 includes the following steps:
[0104] In response to the object identifier being adjusted to the lower edge of the target area and the map scale reaching a second scale, the display of the electronic map is updated based on the display position of the object identifier in the target area and the driving direction of the navigation object.
[0105] In response to the distance between the object identifier and the target node being greater than a second distance threshold, the terminal first controls the object identifier to move downward within the target area, while reducing the map scale to achieve a display effect in which the object identifier is far away from the target node; when the map scale is reduced to the second scale, the terminal controls the electronic map to move downward. If the object identifier has been adjusted to the lower edge of the target area at this time, only the electronic map is moved. If the object identifier has not reached the lower edge of the target area, both the object identifier and the electronic map are controlled to move downward simultaneously, but the relative movement speed of the two is consistent with the relative movement speed of the navigation object and the actual road (i.e., the map movement speed is greater than the movement speed of the object identifier).
[0106] In another possible embodiment, in response to the distance between the object identifier and the target node being greater than a second distance threshold, the terminal controls the electronic map and the object identifier to move downward. When the object identifier moves to the lower edge of the identifier display area, the terminal controls the object identifier and the electronic map to remain stationary, gradually reduces the scale of the electronic map, and continues to move the electronic map when the map scale is reduced to the second scale.
[0107] When the driving state change type is a driving lane change and the object identifier adjustment method is a lateral adjustment, step 404 includes the following steps:
[0108] In step 404b, in response to the lane change direction being a right lane change and the object marker being adjusted to the right edge of the target area, the electronic map is adjusted leftward based on the display position of the object marker.
[0109] In step 404c, in response to the lane change direction being a left lane change and the object marker being adjusted to the left edge of the target area, the electronic map is adjusted rightward based on the display position of the object marker.
[0110] When the terminal determines the lane change method of the navigation object and adjusts the display position of the object indicator accordingly, it adjusts the electronic map in the opposite direction. This causes both the electronic map and the object indicator to move in opposite directions simultaneously. This reduces the degree of change in the navigation interface compared to adjusting only the position of the map or the object indicator. If the object indicator moves to the edge of the target area and the navigation object continues to change lanes, the terminal stops adjusting the display position of the object indicator, freezes the display, and continues adjusting the electronic map. This causes the display position of the object indicator to change significantly, making it difficult for the user to quickly determine the vehicle's location.
[0111] In another possible implementation, when the object identifier has not moved to the edge of the target area, the navigation object may have stopped changing lanes. In this case, the terminal stops adjusting the display position of the object identifier and continues to update the display of the electronic map. After step 403, the method for displaying the navigation interface provided in this embodiment of the present application further includes the following steps:
[0112] In response to the object identifier not moving to the edge of the target area and the navigation object stopping lane change, the object identifier in the target area is fixedly displayed, and the display of the electronic map is updated based on the display position of the object identifier and the driving direction of the navigation object.
[0113] The terminal adjusts the display position of the object identifier in real time based on the position changes of the navigation object. When the navigation object stops changing lanes, if the object identifier has not moved to the edge of the target area, the target object is fixedly displayed and the electronic map display continues to be updated based on the driving direction of the navigation object.
[0114] In an embodiment of the present application, when it is determined that the navigation object is about to reach the target node, the navigation perspective is first switched from a first perspective of a long-distance field of view to a second perspective of a close-range field of view, and then combined with changing the map scale, adjusting the display position of the object identifier in the target area, and moving the electronic map, while ensuring that the object identifier is always displayed in a fixed grid area, it can not only reduce the degree of change of the electronic map and reduce the user's dizziness, but also make it easier for the user to clearly view the route changes at the target node, making it convenient for the user to quickly change the driving direction according to the navigation route, improving driving efficiency, and ensuring driving safety.
[0115] In a possible implementation, the terminal determines in real time based on the geographic location of the navigation object and the navigation route whether the driving direction of the navigation object has changed, that is, whether it is necessary to control the relative movement of the object identifier and the map. The above step 203 also includes the following steps:
[0116] In response to a change in a driving road in a navigation route, a navigation instruction is generated based on the change in the driving road in the navigation route; in response to a navigation object driving according to the navigation instruction and a change in driving status, a display position of the object identifier in a target area is adjusted, and the display of the electronic map is updated.
[0117] In another possible implementation, the above-mentioned navigation instructions are generated by the server and sent to the terminal. The terminal sends the positioning information of the navigation object to the server in real time. The server determines whether the driving road of the navigation object needs to be changed (i.e., whether the navigation object is about to reach the target node) based on the location of the navigation object and the pre-generated navigation route. If so, a navigation instruction is generated and sent to the terminal. After receiving the navigation instruction, the terminal prompts the user to change the driving direction according to the navigation instruction through the interface or voice. If it is detected that the navigation object is driving according to the navigation instruction, the display position of the object logo is adjusted and the electronic map is updated. The interaction process between the terminal and the server is as follows: Figure 8 As shown: Step 801, the server calculates the relationship between the current lane of the navigation object and the navigation route's guide lane in real time. Step 802, the server determines whether the current lane of the navigation object matches the navigation route's guide lane. If so, the server returns to step 801; if not, the server proceeds to step 803. Step 803, the server sends a navigation instruction to the terminal prompting it to change direction. Step 804, the server determines whether the navigation object is traveling in accordance with the navigation instruction. If so, the server proceeds to step 805; if not, the server returns to step 803. Step 805, the display position of the object identifier within the target area is adjusted, and the electronic map display is updated based on the display position of the object identifier.
[0118] In one possible implementation, when the driving state of the navigation object does not change (driving in a straight line in a certain direction), since the relative position between the object identifier and the electronic map also changes according to the fixed driving direction, the terminal fixes the object identifier and updates the electronic map to display the driving process of the object identifier and the surrounding environment. Figure 9 A flowchart of a method for displaying a navigation interface provided by another exemplary embodiment of the present application is shown. This embodiment is described by taking the method applied to a terminal with a navigation function as an example, and the method includes the following steps.
[0119] Step 901: Display an object identifier of a navigation object in a target area of a navigation interface. The target area is a visual focus area at a fixed position in the navigation interface. The object identifier is displayed on an electronic map.
[0120] The specific implementation of step 901 can refer to the above-mentioned step 201, and will not be repeated here in this embodiment of the present application.
[0121] Step 902 : In response to the driving state of the navigation object not changing, the object identifier in the target area is fixedly displayed, and the display of the electronic map is updated based on the display position of the object identifier and the driving direction of the navigation object.
[0122] In one possible implementation, when the navigation object is traveling straight ahead on the current road and its driving status remains unchanged, the terminal displays the object's identifier in a fixed manner and adjusts the electronic map to display the navigation object's driving progress. For example, if the navigation object is traveling due north in the current lane, the terminal will fix the object identifier and move the electronic map downward in the navigation interface.
[0123] Optionally, the terminal determines the moving speed of the electronic map based on the driving speed of the navigation object and the map scale corresponding to the map; or, the terminal determines the location information of the navigation object once every preset time period and moves the electronic map based on the location information.
[0124] In an embodiment of the present application, when the driving status of the navigation object has not changed, the terminal displays the object identifier in a fixed manner, and only by adjusting the electronic map can the display effect of the object identifier moving in the electronic map be achieved. The user can determine that the object identifier is always displayed in the same position, so that the current position of the navigation object can be obtained from the navigation interface by a quick scan, thereby improving the efficiency of the user in determining the position and viewing the navigation route, and ensuring driving safety.
[0125] The above embodiments illustrate the process of the terminal executing the method for displaying the navigation interface in three-dimensional maps and three-dimensional model scenarios. The method for displaying the navigation interface provided in the embodiments of the present application can also be applied to displaying the navigation interface corresponding to two-dimensional maps and two-dimensional logos.
[0126] The above embodiments illustrate the process of the terminal displaying the object identification based on the target area and moving the map and the object identification relative to each other under various driving conditions of the navigation object. Since the navigation interface is large in size and the object identification is small in size, it is necessary to determine a suitable target area for user viewing. Figure 10 A flowchart of a method for displaying a navigation interface provided by another exemplary embodiment of the present application is shown. This embodiment is described by taking the method applied to a terminal with a navigation function as an example, and the method includes the following steps.
[0127] Step 1001: Determine a target area in a second display area.
[0128] In one possible embodiment, the navigation interface includes a first display area and a second display area, wherein the first display area and the second display area jointly display a map. A guide panel containing navigation guidance information is superimposed above the map in the first display area. In addition, the guide panel also displays basic function controls such as voice control and navigation shutdown control.
[0129] The terminal determines the target area based on the second display area, and step 1001 further includes the following steps:
[0130] Step 1001a: performing rasterization processing on the second display area.
[0131] In one possible implementation, the terminal performs grid processing on the second display area or the entire navigation interface. For example, the terminal divides the second display area into m columns horizontally and n rows vertically to generate n*m fixed grid areas, and determines a target grid area from the obtained n*m grid areas as the target area.
[0132] Step 1001b: determine the target grid area in the second display area as the target area, and the midpoint of the target grid area is the golden section point of the second display area.
[0133] In one possible implementation, to improve the convenience of viewing the navigation interface and facilitate quick identification of the vehicle's location, the terminal determines an indicator display area based on the golden section points of the second display area. For example, the terminal determines the horizontal and vertical golden sections of the second display area, and identifies the grid area containing the intersection of the two golden sections as the target grid area. The display area corresponding to the target grid area is the target area.
[0134] Indicative, such as Figure 11 As shown, navigation interface 1101 includes a stable display area (first display area) 1102 on the left and a dynamic display area (second display area) 1104 on the right. A guide panel 1103 is superimposed above the map in stable display area 1102. The terminal rasterizes dynamic display area 1104 and determines a target grid area 1105 as the target area based on the golden section point.
[0135] Step 1002: Display the object identifier of the navigation object in the target area of the navigation interface.
[0136] Step 1003: In response to a change in the driving state of the navigation object, adjust the display position of the object identifier in the target area.
[0137] Step 1004 : In response to the display position of the object identifier in the target area being adjusted, the display of the electronic map is updated based on the display position of the object identifier in the target area.
[0138] The specific implementation of steps 1002 to 1004 can refer to the above steps 201 to 203, and will not be repeated here in this embodiment of the present application.
[0139] In an embodiment of the present application, the terminal first rasterizes the second display area of the navigation interface, and then determines the target area from the generated grid areas based on the golden section, and controls the object identifier to always be displayed in the target area, thereby improving the readability of the navigation interface and the convenience for the user to view the location of the vehicle.
[0140] Figure 12 This is a structural block diagram of a display device for a navigation interface provided by an exemplary embodiment of the present application. The device includes the following structure:
[0141] A first display module 1201 is configured to display an object identifier of a navigation object in a target area of the navigation interface, wherein the target area is a visual focus area at a fixed position in the navigation interface, and the object identifier is displayed on an electronic map;
[0142] A first adjusting module 1202 is configured to adjust a display position of the object identifier in the target area in response to a change in the driving state of the navigation object;
[0143] The first updating module 1203 is configured to update the display of the electronic map based on the display position of the object identifier in the target area in response to the display position of the object identifier in the target area being adjusted.
[0144] Optionally, the first adjustment module 1202 includes:
[0145] a first determining unit, configured to determine, in response to a change in the driving state of the navigation object, an adjustment method for the object identifier based on a type of change in the driving state, the type of change including a change in driving direction and a change in driving lane;
[0146] a first adjusting unit, configured to adjust a display position of the object identifier in the target area according to the adjustment method;
[0147] The first updating module 1203 includes:
[0148] The first updating unit is configured to update the display of the electronic map based on a display position of the object identifier in the target area in response to the object identifier being adjusted to an edge of the target area.
[0149] Optionally, the first determining unit is further configured to:
[0150] In response to the change type being the driving direction change and the distance between the object identifier and the target node being less than a first distance threshold, the adjustment mode is determined to be longitudinal adjustment, and the target node is the node in the electronic map where the driving direction has changed.
[0151] Optionally, the first adjustment unit is further configured to:
[0152] The display position of the object identifier is adjusted upward within the target area, and the map scale of the electronic map is increased.
[0153] Optionally, the first updating unit is further configured to:
[0154] In response to the object identifier being adjusted to the upper edge of the target area and the map scale reaching a first scale, the electronic map is rotated based on the display position of the object identifier in the target area.
[0155] Optionally, the first display module 1201 includes:
[0156] A display unit, configured to display the object identifier in the target area using a first viewing angle as a navigation viewing angle, wherein the object identifier is displayed on the electronic map under the first viewing angle;
[0157] The device further comprises:
[0158] A perspective switching unit is used to switch the navigation perspective from the first perspective to a second perspective, wherein the viewing distance under the first perspective is greater than the viewing distance under the second perspective.
[0159] Optionally, the device further includes:
[0160] a second adjusting module, configured to adjust a display position of the object identifier in the target area in response to a distance between the object identifier and the target node being greater than a second distance threshold;
[0161] The second updating module is configured to update the display of the electronic map in response to the object identifier being adjusted to the edge of the target area, based on the display position of the object identifier in the target area and the driving direction of the navigation object.
[0162] Optionally, the second adjustment module includes:
[0163] The second adjustment unit is configured to adjust the display position of the object identifier downward within the target area and reduce the map scale in response to the distance between the object identifier and the target node being greater than the second distance threshold.
[0164] Optionally, the second update module includes:
[0165] a second updating unit configured to update the display of the electronic map based on a display position of the object identifier in the target area and a driving direction of the navigation object in response to the object identifier being adjusted to a lower edge of the target area and the map scale reaching a second scale.
[0166] Optionally, the first determining unit is further configured to:
[0167] In response to a change in the driving state of the navigation object, where the change type is a driving lane change, determining that the adjustment mode is a lateral adjustment;
[0168] The first adjustment unit is further configured to:
[0169] Determine the direction of lane change;
[0170] A display position of the object marker in the target area is laterally adjusted based on the lane change direction.
[0171] Optionally, the first adjustment unit is further configured to:
[0172] In response to the lane change direction being a right lane change, adjusting a display position of the object marker in the target area to the right;
[0173] In response to the lane change direction being a left lane change, a display position of the object marker in the target area is adjusted leftward.
[0174] Optionally, the first updating unit is further configured to:
[0175] In response to the lane change direction being a right lane change and the object marker being adjusted to the right edge of the target area, adjusting the electronic map leftward based on a display position of the object marker;
[0176] In response to the lane change direction being a left lane change and the object marker being adjusted to a left edge of the target area, the electronic map is adjusted rightward based on a display position of the object marker.
[0177] Optionally, the device further includes:
[0178] a third updating module, configured to, in response to the object identifier not moving to the edge of the target area and the navigation object stopping lane changing, fix the display of the object identifier in the target area, and update the display of the electronic map based on the display position of the object identifier and the driving direction of the navigation object.
[0179] Optionally, the device further includes:
[0180] The second display module is configured to, in response to the driving state of the navigation object not changing, fixedly display the object identifier within the target area, and update the display of the electronic map based on the display position of the object identifier and the driving direction of the navigation object.
[0181] Optionally, the navigation interface includes a first display area and a second display area, the first display area and the second display area jointly display the map, and a guide panel is superimposed and displayed above the map in the first display area, the guide panel including navigation guidance information;
[0182] The device further comprises:
[0183] A determination module is configured to determine the target area in the second display area.
[0184] Optionally, the determining module includes:
[0185] a processing unit, configured to perform rasterization processing on the second display area;
[0186] The second determining unit is configured to determine a target grid area in the second display area as the target area, wherein a midpoint of the target grid area is a golden section point of the second display area.
[0187] Optionally, the map is a three-dimensional map, and the object identifier is a three-dimensional model of the navigation object; or, the map is a two-dimensional map, and the object identifier is a two-dimensional identifier of the navigation object.
[0188] To sum up, in the embodiment of the present application, the display position of the object identifier is adjusted and the electronic map is updated to display the changes in the driving status, and the object identifier is located in the target area before and after the adjustment, so that no matter what the driving status is, the object identifier is always displayed in the target area, limiting the display area of the object identifier. While displaying the changes in the driving status, it can ensure that the user can determine the current position and subsequent driving route by quickly scanning during driving, thereby improving the efficiency of the user in determining the position and viewing the navigation route, and ensuring driving safety.
[0189] Please refer to Figure 13, which shows a block diagram of the structure of a terminal 1300 provided by an exemplary embodiment of the present application. Terminal 1300 may be a portable mobile terminal, such as a smartphone, a tablet computer, a Moving Picture Experts Group Audio Layer III (MP3) player, or a Moving Picture Experts Group Audio Layer IV (MP4) player. Terminal 1300 may also be referred to as user equipment, a portable terminal, or other names.
[0190] Typically, the terminal 1300 includes a processor 1301 and a memory 1302 .
[0191] The processor 1301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1301 may be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 1301 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a central processing unit (CPU); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 1301 may be integrated with a graphics processing unit (GPU), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1301 may also include an artificial intelligence (AI) processor, which is used to process computing operations related to machine learning.
[0192] Memory 1302 may include one or more computer-readable storage media, which may be tangible and non-transitory. Memory 1302 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in memory 1302 is used to store at least one instruction, which is used to be executed by processor 1301 to implement the method provided in the embodiments of the present application.
[0193] In some embodiments, the terminal 1300 may further optionally include a peripheral device interface 1303 and at least one peripheral device. Specifically, the peripheral device includes at least one of a radio frequency circuit 1304 , a touch screen display 1305 , a camera 1306 , an audio circuit 1307 , and a power supply 1309 .
[0194] The peripheral device interface 1303 can be used to connect at least one input / output (I / O)-related peripheral device to the processor 1301 and the memory 1302. In some embodiments, the processor 1301, the memory 1302, and the peripheral device interface 1303 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1301, the memory 1302, and the peripheral device interface 1303 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.
[0195] The radio frequency circuit 1304 is used to receive and transmit radio frequency (RF) signals, also known as electromagnetic signals. The radio frequency circuit 1304 communicates with communication networks and other communication devices via electromagnetic signals. The radio frequency circuit 1304 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the radio frequency circuit 1304 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The radio frequency circuit 1304 can communicate with other terminals via at least one wireless communication protocol. Such wireless communication protocols include, but are not limited to, the World Wide Web, a metropolitan area network, an intranet, various generations of mobile communication networks (2G, 3G, 4G, and 5G), a wireless local area network, and / or a wireless fidelity (WiFi) network. In some embodiments, the radio frequency circuit 1304 may also include circuits related to near field communication (NFC), which is not limited in this application.
[0196] The touchscreen display 1305 is used to display a user interface (UI). This UI may include graphics, text, icons, videos, or any combination thereof. The touchscreen display 1305 is also capable of collecting touch signals on or above the surface of the touchscreen display 1305. These touch signals can be input as control signals to the processor 1301 for processing. The touchscreen display 1305 is used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there may be a single touchscreen display 1305, located on the front panel of the terminal 1300. In other embodiments, there may be at least two touchscreen displays 1305, located on different surfaces of the terminal 1300 or in a foldable design. In still other embodiments, the touchscreen display 1305 may be a flexible display, located on a curved or foldable surface of the terminal 1300. Furthermore, the touchscreen display 1305 may be configured as a non-rectangular, irregular shape, also known as a special-shaped screen. The touchscreen display 1305 may be made of materials such as a liquid crystal display (LCD) or an organic light-emitting diode (OLED).
[0197] The camera assembly 1306 is used to capture images or videos. Optionally, the camera assembly 1306 includes a front camera and a rear camera. Typically, the front camera is used to realize video calls or selfies, and the rear camera is used to realize photo or video shooting. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, and a wide-angle camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, and the fusion of the main camera and the wide-angle camera to realize panoramic shooting and virtual reality (VR) shooting function. In some embodiments, the camera assembly 1306 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.
[0198] The audio circuit 1307 is used to provide an audio interface between the user and the terminal 1300. The audio circuit 1307 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals that are input into the processor 1301 for processing, or input into the RF circuit 1304 to achieve voice communication. For the purpose of stereo sound collection or noise reduction, there may be multiple microphones, each located in different parts of the terminal 1300. The microphone may also be an array microphone or an omnidirectional collection microphone. The speaker is used to convert electrical signals from the processor 1301 or the RF circuit 1304 into sound waves. The speaker may be a traditional thin-film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert electrical signals into sound waves audible to humans, but also convert electrical signals into sound waves inaudible to humans for purposes such as distance measurement. In some embodiments, the audio circuit 1307 may also include a headphone jack.
[0199] Power supply 1309 is used to power various components in terminal 1300. Power supply 1309 can be AC power, DC power, a disposable battery, or a rechargeable battery. When power supply 1309 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is charged via a wired line, while a wireless rechargeable battery is charged via a wireless coil. The rechargeable battery can also support fast charging technology.
[0200] In some embodiments, the terminal 1300 further includes one or more sensors 1310 , including but not limited to: an acceleration sensor 1311 , a gyroscope sensor 1312 , a pressure sensor 1313 , an optical sensor 1315 , and a proximity sensor 1316 .
[0201] The accelerometer 1311 can detect the magnitude of acceleration along the three coordinate axes of the coordinate system established by the terminal 1300. For example, the accelerometer 1311 can be used to detect the components of gravity acceleration along the three coordinate axes. The processor 1301 can control the touch screen display 1305 to display the user interface in a landscape or portrait view based on the gravity acceleration signal collected by the accelerometer 1311. The accelerometer 1311 can also be used to collect game or user motion data.
[0202] The gyroscope sensor 1312 can detect the orientation and rotation angle of the terminal 1300. It can work with the accelerometer 1311 to collect the user's 3D movements on the terminal 1300. Based on the data collected by the gyroscope sensor 1312, the processor 1301 can implement the following functions: motion sensing (for example, changing the UI based on the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.
[0203] The pressure sensor 1313 can be located on the side frame of the terminal 1300 and / or below the touchscreen display 1305. When located on the side frame of the terminal 1300, the pressure sensor 1313 can detect a user's gripping signal on the terminal 1300 and perform left-hand or right-hand identification or shortcut operations based on the gripping signal. When located below the touchscreen display 1305, the pressure sensor 1313 can be used to control operable controls on the UI based on the user's pressure on the touchscreen display 1305. Operable controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.
[0204] Optical sensor 1315 is used to detect ambient light intensity. In one embodiment, processor 1301 can control the display brightness of touchscreen display 1305 based on the ambient light intensity detected by optical sensor 1315. Specifically, when the ambient light intensity is high, the display brightness of touchscreen display 1305 is increased; when the ambient light intensity is low, the display brightness of touchscreen display 1305 is decreased. In another embodiment, processor 1301 can also dynamically adjust the shooting parameters of camera assembly 1306 based on the ambient light intensity detected by optical sensor 1315.
[0205] Proximity sensor 1316, also known as a distance sensor, is typically located on the front of terminal 1300. Proximity sensor 1316 is used to measure the distance between the user and the front of terminal 1300. In one embodiment, when proximity sensor 1316 detects that the distance between the user and the front of terminal 1300 is gradually decreasing, processor 1301 controls touchscreen display 1305 to switch from the screen-on state to the screen-off state. When proximity sensor 1316 detects that the distance between the user and the front of terminal 1300 is gradually increasing, processor 1301 controls touchscreen display 1305 to switch from the screen-off state to the screen-on state.
[0206] Those skilled in the art will understand that Figure 13 The structure shown in the figure does not constitute a limitation on the terminal 1300, and the terminal 1300 may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.
[0207] An embodiment of the present application further provides a computer-readable storage medium storing at least one instruction, wherein the at least one instruction is loaded and executed by a processor to implement the method for displaying a navigation interface as described in the above embodiments.
[0208] According to one aspect of the present application, a computer program product or computer program is provided, comprising computer instructions stored in a computer-readable storage medium. A processor of a terminal reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the terminal to perform the navigation interface display method provided in various optional implementations of the above aspects.
[0209] Those skilled in the art will appreciate that in one or more of the above examples, the functions described in the embodiments of the present application can be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable storage medium or transmitted as one or more instructions or codes on a computer-readable storage medium. Computer-readable storage media include computer storage media and communication media, wherein communication media include any media that facilitates the transmission of computer programs from one place to another. The storage medium can be any available medium that can be accessed by a general-purpose or special-purpose computer.
[0210] The above description is merely an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.
Claims
1. A method for displaying a navigation interface, characterized in that: The method comprises: Displaying an object identifier of a navigation object in a target area of the navigation interface, wherein the target area is a visual focus area at a fixed position in the navigation interface, and the object identifier is displayed on an electronic map; the visual focus area is an area that facilitates focusing the user's line of sight; In response to a change in the driving direction of the navigation object and a distance between the object identifier and a target node being less than a first distance threshold, determining that the adjustment mode of the object identifier is longitudinal adjustment, and the target node is the node in the electronic map whose driving direction has changed; and in response to a change in the driving lane of the navigation object, determining that the adjustment mode is lateral adjustment; When the adjustment mode is vertical adjustment, the display position of the object identifier is adjusted upward within the target area, and the map scale of the electronic map is increased; when the adjustment mode is horizontal adjustment, a lane change direction is determined, and the display position of the object identifier within the target area is adjusted horizontally based on the lane change direction; In response to the object identifier being adjusted to the edge of the target area, the display of the electronic map is updated based on the display position of the object identifier in the target area.
2. The method according to claim 1, characterized in that In response to the object identifier being adjusted to the edge of the target area, updating the display of the electronic map based on the display position of the object identifier in the target area includes: In response to the object identifier being adjusted to the upper edge of the target area and the map scale reaching a first scale, the electronic map is rotated based on the display position of the object identifier in the target area.
3. The method according to claim 1, characterized in that The displaying of the object identifier of the navigation object in the target area of the navigation interface includes: Taking the first perspective as the navigation perspective, displaying the object identifier in the target area, and displaying the object identifier on the electronic map under the first perspective; Before upwardly adjusting the display position of the object identifier within the target area and increasing the map scale of the electronic map, the method further includes: The navigation perspective is switched from the first perspective to a second perspective, wherein the viewing distance under the first perspective is greater than the viewing distance under the second perspective.
4. The method according to claim 3, characterized in that After updating the display of the electronic map based on the display position of the object identifier in the target area in response to the object identifier being adjusted to the edge of the target area, the method further includes: In response to a distance between the object identifier and the target node being greater than a second distance threshold, adjusting a display position of the object identifier in the target area; In response to the object identifier being adjusted to the edge of the target area, the display of the electronic map is updated based on the display position of the object identifier in the target area and the driving direction of the navigation object.
5. The method according to claim 4, characterized in that In response to the distance between the object identifier and the target node being greater than a second distance threshold, adjusting the display position of the object identifier in the target area includes: In response to the distance between the object identifier and the target node being greater than the second distance threshold, the display position of the object identifier is adjusted downward within the target area, and the map scale is reduced.
6. The method according to claim 5, characterized in that In response to the object identifier being adjusted to the edge of the target area, updating the display of the electronic map based on the display position of the object identifier in the target area and the driving direction of the navigation object includes: In response to the object identifier being adjusted to the lower edge of the target area and the map scale reaching a second scale, the display of the electronic map is updated based on the display position of the object identifier in the target area and the driving direction of the navigation object.
7. The method according to claim 1, characterized in that The laterally adjusting the display position of the object identifier in the target area based on the lane change direction includes: In response to the lane change direction being a right lane change, adjusting a display position of the object marker in the target area to the right; In response to the lane change direction being a left lane change, a display position of the object marker in the target area is adjusted leftward.
8. The method according to claim 7, characterized in that In response to the object identifier being adjusted to the edge of the target area, updating the display of the electronic map based on the display position of the object identifier in the target area includes: In response to the lane change direction being a right lane change and the object marker being adjusted to the right edge of the target area, adjusting the electronic map leftward based on a display position of the object marker; In response to the lane change direction being a left lane change and the object marker being adjusted to a left edge of the target area, the electronic map is adjusted rightward based on a display position of the object marker.
9. The method according to claim 1, characterized in that After laterally adjusting the display position of the object marker in the target area based on the lane change direction, the method includes: In response to the object identifier not moving to the edge of the target area and the navigation object stopping lane change, the object identifier in the target area is fixedly displayed, and the display of the electronic map is updated based on the display position of the object identifier and the driving direction of the navigation object.
10. The method according to any one of claims 1 to 9, characterized in that: After displaying the object identifier of the navigation object in the target area of the navigation interface, the method further includes: In response to the driving state of the navigation object not changing, the object identifier within the target area is fixedly displayed, and the display of the electronic map is updated based on the display position of the object identifier and the driving direction of the navigation object.
11. The method according to any one of claims 1 to 9, characterized in that: The navigation interface includes a first display area and a second display area, the first display area and the second display area jointly display the map, and a guide panel is superimposed and displayed above the map in the first display area, the guide panel including navigation guidance information; Before displaying the object identifier of the navigation object in the target area of the navigation interface, the method further includes: The target area in the second display area is determined.
12. The method according to claim 11, characterized in that The determining the target area in the second display area includes: performing rasterization processing on the second display area; A target grid area in the second display area is determined as the target area, and a midpoint of the target grid area is a golden section point of the second display area.
13. The method according to any one of claims 1 to 11, characterized in that The map is a three-dimensional map, and the object identifier is a three-dimensional model of the navigation object; or, the map is a two-dimensional map, and the object identifier is a two-dimensional identifier of the navigation object.
14. A display device for a navigation interface, characterized in that: The device comprises: a first display module, configured to display an object identifier of a navigation object in a target area of the navigation interface, wherein the target area is a visual focus area at a fixed position in the navigation interface, and the object identifier is displayed on an electronic map; the visual focus area is an area that facilitates focusing the user's line of sight; a first adjustment module configured to, in response to a change in the driving direction of the navigation object and a distance between the object identifier and a target node being less than a first distance threshold, determine that the adjustment mode of the object identifier is longitudinal adjustment, with the target node being the node in the electronic map whose driving direction has changed; in response to a change in the driving lane of the navigation object, determine that the adjustment mode is lateral adjustment; if the adjustment mode is longitudinal adjustment, adjust the display position of the object identifier upward within the target area and increase the map scale of the electronic map; if the adjustment mode is lateral adjustment, determine a lane change direction, and adjust the display position of the object identifier within the target area laterally based on the lane change direction; The first updating module is configured to update the display of the electronic map based on a display position of the object identifier in the target area in response to the object identifier being adjusted to an edge of the target area.
15. A terminal, characterized in that: The terminal includes a processor and a memory; the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set are loaded and executed by the processor to implement the display method of the navigation interface as described in any one of claims 1 to 13.
16. A computer-readable storage medium, characterized in that At least one computer program is stored in the computer-readable storage medium, and the computer program is loaded and executed by the processor to implement the method for displaying a navigation interface according to any one of claims 1 to 13.
Citation Information
Patent Citations
Navigation display method and device
CN101852619A
Navigation map display method and device, vehicle and machine readable medium
CN110514219A
Display method and system of steering arrow
CN110779541A
Navigation guidance method and device, live-action three-dimensional model establishing method and device, equipment and medium
CN112710325A