Navigation method, device and computer program product
By using two independent rendering modules in the navigation device to render and display the intersection enlarged image and navigation information respectively, the problem of inconsistent display timing of the intersection enlarged image display in the existing technology is solved, and the display coordination and user experience of the navigation interface are improved.
Patent Information
- Application Number
- CN202110327415.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-26
- Publication Date
- 2025-06-06
- Estimated Expiration
- 2041-03-26
AI Technical Summary
In the existing navigation technology, the timing of displaying or hiding the magnified intersection image is inconsistent with the timing of displaying the junction guidance information in another area in the navigation interface, resulting in poor navigation guidance effect.
By determining whether the target image of the target object needs to be displayed in the positioning position of the navigation device, two independent rendering modules are used to render the target image and preset navigation information off-screen, and display it in different regions in the navigation interface to ensure that the rendering process is synchronized.
It avoids the display out-synchronization problem caused by the rendering process, improves the display coordination and user experience in the navigation interface, and ensures the quality of navigation services.
Smart Images

Figure CN115200605B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of geographic information technology, and in particular to a navigation method and device display interface rendering method and device, an electronic device, a storage medium and a computer program product. Background Art
[0002] With the development of Internet technology and map navigation technology, map navigation applications have become a commonly used software tool for users' travel. Whether it is an in-vehicle map navigation application or a mobile phone map navigation application, it brings great convenience to users' travel. At the same time, there are other applications that also integrate map navigation capabilities, such as online car-hailing applications.
[0003] In the existing navigation technology, when passing through a special location such as an intersection, in order to facilitate the user to intuitively understand the road to be traveled, an area is opened in the navigation interface to display an enlarged view of the intersection. However, the inventors found that the display or hiding of the enlarged view of the intersection is inconsistent with the timing of displaying the intersection guidance information in another area of the navigation interface, resulting in poor navigation guidance effect. Summary of the invention
[0004] The embodiment of the present application provides a navigation method to solve the problem in the prior art that, in the process of displaying an enlarged view of an intersection, the timing of displaying or hiding the enlarged view of the intersection is easily inconsistent with the timing of passing the intersection in the original navigation interface.
[0005] Correspondingly, an embodiment of the present application also provides a navigation device, an electronic device and a storage medium to ensure the implementation and application of the above method.
[0006] In order to solve the above problems, an embodiment of the present application discloses a navigation method, which includes:
[0007] Based on the positioning position of the navigation device, it is determined whether it is necessary to display a target image of the target object in the navigation interface; when the distance between the target object and the navigated object is within a preset distance range and the target object is located in front of the driving direction of the navigated object, the target image and preset navigation information are rendered;
[0008] If yes, rendering the target image of the target object off-screen by the first rendering module, and after the off-screen rendering is completed, performing synchronous display confirmation with the second rendering module;
[0009] When it is confirmed that the target image can be displayed on the navigation interface, the target image and the preset navigation information are simultaneously rendered in different regions in the navigation interface displayed on the screen of the navigation device by the first rendering module and the second rendering module.
[0010] The present application also discloses a navigation method, which includes:
[0011] Based on the positioning position of the navigation device, it is determined whether it is necessary to display a target image of the target object in the navigation interface, and when the distance between the target object and the navigated object is within a preset distance range and the target object is located in front of the driving direction of the navigated object, the target image and preset navigation information are rendered;
[0012] If yes, rendering the target image of the target object off-screen by the first rendering module, and after the off-screen rendering is completed, performing synchronous display confirmation with the second rendering module;
[0013] When it is confirmed that the target image can be displayed on the navigation interface, the target image and the preset navigation information are simultaneously rendered in different regions in the navigation interface displayed on the screen of the navigation device by the first rendering module and the second rendering module;
[0014] The indication information in the target image is broadcasted.
[0015] The present application also discloses a display interface rendering method, the method comprising:
[0016] Based on the positioning position of the navigation device, it is determined whether it is necessary to display a target image of the target object in the navigation interface, and when the distance between the target object and the navigated object is within a preset distance range and the target object is located in front of the driving direction of the navigated object, the target image and preset navigation information are rendered;
[0017] If yes, rendering the target image of the target object off-screen by the first rendering module, and after the off-screen rendering is completed, performing synchronous display confirmation with the second rendering module;
[0018] When it is confirmed that the target image can be displayed on the navigation interface, the target image and the preset navigation information are simultaneously rendered in different regions in the navigation interface displayed on the screen of the navigation device by the first rendering module and the second rendering module.
[0019] The present application also discloses a navigation device, which includes:
[0020] A first judgment module is used to judge whether it is necessary to display a target image of a target object in a navigation interface based on the positioning position of the navigation device, and render the target image and preset navigation information when the distance between the target object and the navigated object is within a preset distance range and the target object is located in front of the driving direction of the navigated object;
[0021] A first rendering module is used for rendering the target image of the target object off-screen by the first rendering module if it is necessary to display the target image of the target object in the navigation interface, and performing synchronous display confirmation with the second rendering module after the off-screen rendering is completed;
[0022] The first display module is used to simultaneously render the target image and preset navigation information in different areas in the navigation interface displayed on the screen of the navigation device through the first rendering module and the second rendering module when it is confirmed that the target image can be displayed on the navigation interface.
[0023] The present application also discloses a navigation device, which includes:
[0024] A second judgment module is used to judge whether it is necessary to display a target image of a target object in a navigation interface based on the positioning position of the navigation device, and render the target image and preset navigation information when the distance between the target object and the navigated object is within a preset distance range and the target object is located in front of the driving direction of the navigated object;
[0025] A second rendering module is used for rendering the target image of the target object off-screen by the first rendering module if it is necessary to display the target image of the target object in the navigation interface, and performing synchronous display confirmation with the second rendering module after the off-screen rendering is completed;
[0026] The second display module is used to simultaneously render the target image and preset navigation information in different areas in the navigation interface displayed on the screen of the navigation device through the first rendering module and the second rendering module when it is confirmed that the target image can be displayed on the navigation interface.
[0027] The information broadcasting module is used to broadcast the indication information in the target image.
[0028] The present application also discloses a display interface rendering device, the device comprising:
[0029] A third judgment module is used to judge whether it is necessary to display a target image of a target object in a navigation interface based on the positioning position of the navigation device, and render the target image and preset navigation information when the distance between the target object and the navigated object is within a preset distance range and the target object is located in front of the driving direction of the navigated object;
[0030] A third rendering module is used for rendering the target image of the target object off-screen through the first rendering module if it is necessary to display the target image of the target object in the navigation interface, and after the off-screen rendering is completed, performing synchronous display confirmation with the second rendering module;
[0031] The third display module is used to simultaneously render the target image and preset navigation information in different areas in the navigation interface displayed on the screen of the navigation device through the first rendering module and the second rendering module when it is confirmed that the target image can be displayed on the navigation interface.
[0032] An embodiment of the present application further discloses an electronic device, including: a processor; and a memory, on which executable code is stored. When the executable code is executed, the processor executes one or more methods described in the embodiments of the present application.
[0033] The embodiments of the present application also disclose one or more machine-readable storage media on which executable codes are stored. When the executable codes are executed, the processor executes one or more methods described in the embodiments of the present application.
[0034] The embodiments of the present application also disclose a computer program product, including a computer program or instructions, wherein when the computer program or instructions are executed, one or more methods described in the embodiments of the present application are implemented.
[0035] Compared with the prior art, the embodiments of the present application have the following advantages:
[0036] In an embodiment of the present application, based on the positioning position of the navigation device, when it is determined that the target image of the target object needs to be displayed in the navigation interface, the target image and the preset navigation information are simultaneously rendered in different areas in the navigation interface displayed on the screen of the navigation device through the first rendering module and the second rendering module; the preset navigation information and the target image are rendered by two independent rendering modules, so that the rendering process can be carried out synchronously, avoiding the display synchronization problem caused by the rendering process; and the target image and the preset navigation information are simultaneously rendered in different areas in the navigation interface displayed on the screen of the navigation device through the first rendering module and the second rendering module, so that the display of the target object is clearer and more intuitive, so that the user can know the situation of the target object, determine the driving direction, and improve the navigation service quality of the electronic device. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 It is one of the schematic diagrams of a display interface of an electronic device in an embodiment of the present application;
[0038] Figure 2 This is a second schematic diagram of a display interface of an electronic device according to an embodiment of the present application;
[0039] Figure 3 is one of the step flow charts of the seventh example of the embodiment of the present application;
[0040] Figure 4This is the second step flow chart of the seventh example of the embodiment of the present application;
[0041] Figure 5 It is one of the step flow charts of the navigation method embodiment of the present application;
[0042] Figure 6 This is the second step flow chart of the navigation method embodiment of the present application;
[0043] Figure 7 is a flowchart of the steps of the display interface rendering method embodiment of the present application;
[0044] Figure 8 It is one of the structural block diagrams of the navigation device embodiment of the present application;
[0045] Fig. 9 This is the second structural block diagram of the navigation device embodiment of the present application;
[0046] Fig.10 It is a structural block diagram of an embodiment of a display interface rendering device of an embodiment of the present application;
[0047] Fig.11 It is a schematic diagram of the structure of a device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0048] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0049] The terms "first", "second", etc. in the specification and claims of this application are used to distinguish similar objects, rather than to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein.
[0050] The embodiments of the present application can be applied to the field of map navigation. In the prior art, in some specific scenarios, it is necessary to display different navigation guidance information in the navigation interface. For example, when passing through an intersection, the navigation interface will display both the preset navigation information (or also known as conventional navigation information) and the enlarged view of the intersection, so that the user can accurately understand the direction to travel when passing through a complex intersection. However, the applicant has found that the timing of displaying or hiding the enlarged view of the intersection in the existing map navigation products is not synchronized with the timing of displaying the intersection in the preset navigation information. For example, the preset navigation information has shown that the user is approaching the intersection, but because the enlarged view of the intersection has not been rendered, the enlarged view of the intersection cannot be displayed at this time, resulting in a poor user experience.
[0051] In an embodiment of the present application, a target image of a target object is rendered by a first rendering module of a map navigation application, and a navigation interface is rendered by a second rendering module of the navigation device, wherein the first rendering module renders the target image of the target object off-screen, that is, renders the target image of the target object in advance, and then performs interactive rendering confirmation with the second rendering module. When the second rendering module confirms that the target image of the target object can be rendered, the first rendering module and the second rendering module respectively render preset navigation information and target image in different areas of the navigation interface, so that the rendering process can be carried out synchronously, thereby avoiding display asynchrony problems caused by the rendering process.
[0052] Combination Figure 1 , the embodiment of the present application provides a navigation method, Figure 1 The method is applied to a navigation device as an example. In addition, it can also be applied to other electronic devices with navigation functions. The navigation device can be a vehicle-mounted navigation device or a handheld navigation device, such as a smart phone. The navigation interface is an interface for displaying a navigation route, such as a display interface of a navigation device, which displays the navigation route and the surrounding environment, and points of interest (POI) in the surrounding environment. Specifically, in a geographic information system, a POI can be a house, a shop, a mailbox, a bus stop, etc. Figure 1 , Figure 1 The application scenario is the process of map navigation, wherein P1+P2 is a navigation interface, P1 is an area in the navigation interface for displaying preset navigation information, P2 is an area in the navigation interface for displaying a target image of a target object, L represents the target object, and the direction indicated by the arrow S is the direction of travel of the user.
[0053] In step 101, based on the positioning position of the navigation device, it is determined whether it is necessary to display a target image of the target object in the navigation interface, and the target image and preset navigation information are rendered when the distance between the target object and the navigated object is within a preset distance range and is located in front of the driving direction of the navigated object.
[0054] The navigation interface may occupy the entire area of the display screen of the navigation device, or may occupy a partial area of the display screen of the navigation device. The navigation interface may be one of the system interfaces of the navigation device, or one of the interfaces of a navigation application installed on the navigation device; optionally, the navigation interface may include a human-machine interaction (HMI) interface, such as a navigation operation interface.
[0055] Rendering is usually the last step of computer graphics (CG), which refers to the process of using software to generate images from models. Rendering mainly refers to the process of generating digital images through two-dimensional projection of models in three-dimensional scenes according to pre-set environment, lighting, materials and rendering parameters.
[0056] Among them, based on the positioning position of the navigation device, it is determined whether it is necessary to display the target image of the target object in the navigation interface, that is, to determine whether there is a target object within a preset distance range in front of the current positioning position; specifically, the target object and the navigation device are within a preset distance range, and the position of the target object is in front of the travel direction of the navigation device; the target object can be a geographical element on the navigation route, such as a building, a geographical location point, etc.; for the sake of ease of explanation, the embodiment of the present application is described as an intersection. It can be understood that when the target object is other geographical elements, the implementation process is similar to that of the present application. In order to avoid repetition, the embodiment of the present application will not be repeated here.
[0057] When the target object is a road element related to the road, the target object can be an intersection, such as a crossroads, a Y-shaped intersection, etc.; the target object can also be a location point where the number of lanes changes, such as a location point where a ramp on a highway merges into a main road, or a location point where the number of lanes is reduced; the target object can also be a point where the driving direction changes, for example, at a certain location point, the driving direction of the lane where the navigation device (the vehicle of the navigation device) is located changes from straight ahead to right driving, etc.
[0058] The preset distance of the preset distance range may be preset, for example, when the distance to the target intersection is 100 meters or 200 meters.
[0059] If yes, step 102 is executed to render the target image of the target object off-screen through the first rendering module, and after the off-screen rendering is completed, synchronize the display confirmation with the second rendering module.
[0060] If it is necessary to display the target image of the target object in the navigation interface, the target image of the target object is obtained and rendered. For example, when the vehicle travels to an intersection 100 meters ahead in the driving direction, the navigation device obtains the target image of the intersection, and renders the target image of the target object off-screen through the first rendering module; optionally, the preset distance range can also be a distance range corresponding to the speed of the vehicle where the navigation device is located. For example, when the speed is fast, such as 50 kilometers per hour, the preset distance range can be set relatively large, such as 80 meters; when on the contrary, the speed is slow, such as 30 kilometers per hour, the preset distance range can be set relatively small, such as 50 meters.
[0061] Optionally, the target image may be an enlarged image, a detailed image, etc. For example, an enlarged image of an intersection, which is clearer and more intuitive for users to understand the situation at the intersection and determine the direction of travel. When rendering the target image, the navigation device renders the target image off-screen through a first rendering module, and the preset navigation information of the navigation interface is rendered through a second rendering module of the navigation device. The preset navigation information is the regular navigation information of the original navigation interface. After the off-screen rendering is completed, the preset navigation information is synchronized with the second rendering module for display confirmation to confirm whether to display the target image and the regular navigation information at the same time.
[0062] In step 103, when it is confirmed that the target image can be displayed on the navigation interface, the first rendering module and the second rendering module simultaneously render the target image and the preset navigation information in different regions in the navigation interface displayed on the screen of the navigation device.
[0063] That is to say, the preset navigation information and the target image are rendered by two independent rendering modules, so that the rendering process can be performed synchronously, thereby avoiding the display asynchrony problem caused by the rendering process.
[0064] Specifically, in actual applications, there are situations where the layers used to display the target image and the preset navigation information are different. For example, the preset navigation information is displayed in the HMI layer, and the target image is another layer. If the same rendering module is used for rendering, for example, the HMI layer and the enlarged image of the intersection are rendered by the same rendering module (rendering program), since the rendering process of the two layers needs to be performed serially, it is easy to cause the timing of displaying and hiding the enlarged image of the intersection to be inconsistent with the timing of displaying and hiding set for the enlarged image of the intersection in the HMI layer. For example, the time to display and hide the enlarged image has arrived in the HMI layer, but since the rendering module has just rendered the HMI layer, the layer of the enlarged image of the intersection has not yet been rendered, resulting in the enlarged image of the intersection cannot be displayed normally, thus causing the problem of inconsistent timing.
[0065] In addition, in some navigation devices, the rendering module of the HMI layer and the rendering module of the enlarged intersection view belong to different programs (for example, from two applications) or are even developed by different companies, which results in an overlay effect drawn by the program when the enlarged intersection view is displayed, such as a blurred border effect and poor overall masking effect, resulting in a poor display effect. In the embodiment of the present application, the first rendering module and the second rendering module belong to the same navigation application of the navigation device. When the enlarged intersection view and the preset navigation information are displayed at the same time, there will be no overlay display effect, and the display effect is more coordinated.
[0066] In this way, when the first rendering module renders the target image and the second rendering module renders the preset navigation information display area at the same time, when it is confirmed that the target image can be displayed in the navigation interface, the first rendering module and the second rendering module simultaneously render the target image and the preset navigation information in different areas in the navigation interface displayed on the screen of the navigation device; it can be understood that, in the process of rendering the target image and the preset navigation information in different areas, the proportion of the preset navigation information and the target image occupied by the display interface can be pre-set, for example, the display ratio of the preset navigation information display area and the target image is 1:1, that is, the two respectively occupy one-half of the display interface; in addition, the display ratio can also be other values, for example, the display ratio of the preset navigation information display area and the target image is 2:1, etc., which is convenient for users to observe the actual situation of the target object.
[0067] As a first example, see Figure 1 , Figure 1 In the example, the target object is intersection L, wherein the navigation device includes a first rendering module and a second rendering module, the first rendering module is used to render an enlarged image of intersection L, P1 represents a preset navigation information display area, P2 represents a target image, and the direction indicated by the arrow S is the direction of travel of the user of the navigation device. When the vehicle in which the navigation device is located travels to a distance of 100 meters from the intersection L, the first rendering module obtains and renders an enlarged image of the intersection L to obtain the target image, the second rendering module renders the preset navigation information display area, and the display interface of the navigation device synchronously displays P1 and P2 in different regions. Since P1 and P2 are rendered by different rendering modules, the rendering processes of the two can be guaranteed not to conflict, and the display timing (or hiding timing) of P2 is avoided to be inconsistent with the display timing (or hiding timing) corresponding to P2 in P1. Optionally, the first rendering module and the second rendering module are run based on the same application, such as the same navigation application, to avoid inconsistent navigation effects and the effect of superimposing two pictures.
[0068] As a second example, take the target object as scenic spot A, where the navigation device includes a first rendering module and a second rendering module, the first rendering module is used to render a detailed image of scenic spot A, and the detailed image includes a route map (or road condition map) of scenic spot A. When the vehicle in which the navigation device is located travels to a distance of 100 meters from scenic spot A, the first rendering module acquires and renders the detailed image of scenic spot A to obtain the target image, and the second rendering module renders the preset navigation information display area, and the preset navigation information and the detailed image are synchronously displayed in the display interface of the navigation device. Since the preset navigation information display area and the detailed image are rendered by different rendering modules, respectively, it can be ensured that the rendering processes of the two do not conflict, and the display timing (or hiding timing) of the detailed image is avoided to be inconsistent with the display timing (or hiding timing) corresponding to the detailed image in the navigation interface.
[0069] As a third example, the target object is a position point B where the number of lanes in the direction of vehicle travel changes. The navigation device includes a first rendering module and a second rendering module. The first rendering module is used to render an enlarged image of the position point B. The enlarged image includes a change in the number of lanes at the position point B, such as an increase in the number of lanes or a decrease in the number of lanes. When the vehicle where the navigation device is located travels to a distance of 100 meters from the position point B, the first rendering module obtains and renders the enlarged image of the rendering position point B to obtain the target image. The second rendering module renders the preset navigation information display area. The preset navigation information and the enlarged image are synchronously displayed in the display interface of the navigation device. Since the navigation interface and the enlarged image are rendered by different rendering modules, the rendering processes of the two can be guaranteed not to conflict, and the display timing (or hiding timing) of the enlarged image is avoided. The display timing (or hiding timing) of the enlarged image is inconsistent with the display timing (or hiding timing) of the enlarged image in the navigation interface. In this way, the enlarged image of the position point B and the preset navigation information are displayed at the same time, so that the user can pay attention to the change in the number of lanes in the driving direction during driving, thereby improving driving safety.
[0070] In an embodiment of the present application, based on the positioning position of the navigation device, when it is determined that the target image of the target object needs to be displayed in the navigation interface, the first rendering module and the second rendering module are used to simultaneously render the target image and the preset navigation information in different regions in the navigation interface displayed on the screen of the navigation device; the preset navigation information display area and the target image are rendered by two independent rendering modules, so that the rendering process can be carried out synchronously, avoiding the display asynchronization problem caused by the rendering process; and the first rendering module and the second rendering module are used to simultaneously render the target image and the preset navigation information in different regions in the navigation interface displayed on the screen of the navigation device, so that the display of the target object is clearer and more intuitive, so that the user can know the situation of the target object, determine the driving direction, and improve the navigation service quality of the electronic device. The embodiment of the present application solves the problem in the prior art that, in the process of displaying an enlarged view of an intersection, the timing of displaying or hiding the enlarged view of the intersection is inconsistent with the timing of passing the intersection in the original navigation interface.
[0071] In an optional embodiment, the simultaneously rendering the target image and the preset navigation information in different regions in the navigation interface displayed on the screen of the navigation device by the first rendering module and the second rendering module includes:
[0072] Rendering a target image through a first rendering module, and rendering preset navigation information through a second rendering module;
[0073] The preset navigation information and the target image are simultaneously displayed in different regions in a navigation interface displayed on the screen of the navigation device; wherein the navigation interface includes an interactive control corresponding to the target object.
[0074] Among them, interactive controls include user interface (UI) controls, and UI controls include visual control controls, such as controls for adjusting the visual effects displayed by the target object, such as increasing or reducing the magnification ratio of the enlarged image; UI controls can also include interactive controls, such as controls for displaying the remaining distance to the destination, POI point information near the destination, and other controls.
[0075] In this way, during the process of displaying the preset navigation information and the target image in split screen, UI controls are displayed in the navigation interface to facilitate the user to interact with the navigation device, so that the navigation device can meet the user's service needs.
[0076] In an optional embodiment, the simultaneously rendering the target image and the conventional navigation information in different regions in the navigation interface displayed on the screen of the navigation device includes:
[0077] The navigation interface is displayed at a first display position of the navigation interface; and the target image is displayed at a second display position of the navigation interface.
[0078] Different from the overlay display solution in the prior art (i.e., the enlarged view of the intersection is overlaid on the preset navigation information, for example, the preset navigation information is fully covered), the first display position and the second display position can be in a parallel position relationship, for example Figure 1 In the direction shown in (the length direction of the navigation device), P1 corresponds to the first display position, and P2 corresponds to the second display position. The user can observe the preset navigation information display area and the target image interface at the same time, and can obtain the magnified information or detailed information of the target object on the one hand, and can also observe the global information of the target object in the preset navigation information on the other hand; in addition, as a fourth example, the first display position and the second display position can also be as follows Figure 2 The parallel position relationship shown is displayed side by side along the width direction of the navigation device, P1 corresponds to the first display position, and P2 corresponds to the second display position. For example, when the navigation device is a smart phone, the user uses the smart phone for navigation, then the first display position and the second display position can be as follows Figure 2 Display direction shown.
[0079] In an optional embodiment, after the off-screen rendering is completed, performing synchronous display confirmation with the second rendering module includes:
[0080] Obtaining the process priority corresponding to the operation performed on the navigation interface; the operation may be an operation performed by a user on the navigation interface, for example, the user is currently interacting with a UI control on the navigation interface. The operation may also be an operation currently actively performed by the navigation device, such as prompting the user with relevant information.
[0081] If the process priority is lower than the preset priority corresponding to displaying the target image, confirming that the target image can be displayed on the navigation interface, first determine whether the preset priority of the process displaying the target image is higher than (or equal to) the process priority corresponding to the operation performed on the navigation interface, if the process priority is lower than the preset priority corresponding to displaying the target image, then, confirming that the target image can be displayed on the navigation interface; otherwise, display the target image on the navigation interface after responding to the operation performed on the navigation interface to avoid the display of the target image affecting the progress of the operation.
[0082] As a fifth example, combining Figure 1 , Figure 1 In the example, the target object is intersection L, wherein the navigation device includes a first rendering module and a second rendering module, the first rendering module is used to render an enlarged image of intersection L, P1 represents a preset navigation information display area, P2 represents a target image, and the direction indicated by the arrow S is the direction of travel of the user of the navigation device. When the vehicle in which the navigation device is located travels to a distance of 100 meters from intersection L, the first rendering module obtains and renders an enlarged image of intersection L to obtain the target image, and the second rendering module renders the preset navigation information display area; at this time, the navigation device detects that the user is currently switching the navigation route by operating the target control, and the navigation device determines that the process priority of the operation of switching the navigation route is not lower than the preset priority corresponding to displaying the enlarged image of the intersection, and at this time, the operation of switching the navigation route is preferentially responded to and the switched navigation route is displayed; if the switched navigation route still includes intersection L, then it is confirmed that the target image can be displayed on the navigation interface, and the target image and the current navigation interface are displayed in split screen.
[0083] As a sixth example, take the target object as scenic spot A, where the navigation device includes a first rendering module and a second rendering module, the first rendering module is used to render a detailed image of scenic spot A, and the detailed image includes a route map (or road condition map) of scenic spot A. When the vehicle in which the navigation device is located travels to a distance of 100 meters from scenic spot A, the first rendering module obtains and renders the detailed image of scenic spot A to obtain the target image, and the second rendering module renders the preset navigation information display area, and the preset navigation information and the detailed image are synchronously displayed in the display interface of the navigation device. At this time, the navigation device detects that the user is currently operating the target control and clicks to display the detailed image of scenic spot B. The navigation device determines that the process priority of the operation of displaying the detailed image of scenic spot B is not lower than the preset priority corresponding to the display of the detailed image of scenic spot A, and then responds to the operation of displaying the detailed image of scenic spot B and displays the detailed image of scenic spot B first.
[0084] In an optional embodiment, after simultaneously rendering the target image and the conventional navigation information in different regions in the navigation interface displayed on the screen of the navigation device, the method includes:
[0085] If the navigation device passes the location of the target object, the target image is hidden.
[0086] If the vehicle where the navigation device is located has passed the target object, for example, the vehicle has passed the position of the target object in the forward direction, the target image is automatically hidden and the display of the current preset navigation information is restored. Taking the target object as an intersection as an example, when the vehicle where the navigation device is located travels to a distance of 100 meters from the intersection L, the first rendering module obtains and renders an enlarged image of the intersection L to obtain the target image P2, and the second rendering module renders the preset navigation information display area P1. P1 and P2 are displayed synchronously in the display interface of the navigation device, such as Figure 1 As shown; during the vehicle's forward movement, it has passed the intersection L on the route. At this time, P1 and P2 are no longer displayed in split screens, the target image P2 is hidden, and only the current preset navigation information is displayed.
[0087] In an optional embodiment, if the navigation device passes the position of the target object, hiding the target image includes:
[0088] If the navigation device passes the position of the target object and the navigation device does not receive any interactive operation for the target image, the target image is hidden.
[0089] Furthermore, in the process of hiding the target image, it is first necessary to determine whether an interactive operation on the target image or an operation in the split-screen interface corresponding to the target image is received. If an operation acting on the split-screen interface is received, the operation is responded to first, and then the target image is hidden; for example, the target image includes UI controls. If the vehicle where the navigation device is located has passed the target object, but the navigation device receives an operation of touching the UI control at this time (or within a preset time period before the current moment, such as 15 seconds), the operation is responded to first at this time, and after responding to the operation, the target image is hidden, and the full-screen display of the preset navigation information is restored.
[0090] In an optional embodiment, the target object includes at least one of an image of an intersection, an image of a first position point where the number of lanes changes, an image of a second position point with preset driving prompts, and an image of a third position point of a target information point.
[0091] The target object may include an image of an intersection, such as a crossroad, a Y-shaped intersection, or a roundabout; the target object may also include an image of a first location point where the number of lanes at the intersection changes, such as a location point where a ramp on a highway merges into a main road, or a location point where the number of lanes decreases or increases; the target object may also include an image of a second location point with a preset driving prompt, which may be a safety prompt, a road condition prompt, etc. The third location point of the target information point may be a house, a shop, a mailbox, a bus stop, etc.
[0092] In an optional embodiment, the target image includes at least one of an enlarged image, a thumbnail image, and a real-view image. The enlarged image is, for example, an enlarged image of an intersection, which is clearer and more intuitive for users to understand the situation of the intersection and determine the driving direction. The thumbnail is, for example, a thumbnail of a location point, which is used to show the location distribution of the location point in the larger geographical area where it is located. The real-view image is, for example, a real-view image of a scenic spot, which is used to show the actual scene and the flow of people at the current scenic spot.
[0093] As a seventh example, combining Figure 1 , Figure 1 Taking the target object as intersection L as an example, the navigation device includes a first rendering module and a second rendering module. The first rendering module is used to render an enlarged image of intersection L. The first rendering module forms a virtual screen. The screen does not display other elements such as a map, but only completes the rendering function of the enlarged intersection and provides a display and hiding control interface for the enlarged intersection to the outside.
[0094] P1 represents the preset navigation information display area, P2 represents the HMI interface, and the direction indicated by the arrow S is the direction of travel of the user of the navigation device. The first rendering module is used to render the enlarged image of the intersection L, and the second rendering module renders the HMI interface. When the vehicle where the navigation device is located travels to 100 meters away from the intersection L, the HMI interface controls the enlarged intersection image that has been displayed on the virtual screen to be displayed on the physical screen together with the corresponding UI controls. The main process is as follows: Figure 3 As shown, the following steps are included:
[0095] Step 1: When the vehicle in which the navigation device is located reaches a distance of 100 meters from the intersection L, an enlarged image of the intersection is rendered.
[0096] In step 2, the first rendering module sends a first indication message to the HMI interface, indicating that an enlarged view of the intersection needs to be displayed.
[0097] Step 3, the HMI interface (or navigation device) determines whether the enlarged view of the intersection can be displayed currently: the navigation device determines whether there is an operation currently being performed in the preset navigation information display area: if not, the enlarged view of the intersection can be displayed; if so, the process priority corresponding to the operation performed in the preset navigation information display area is obtained, and if the process priority is lower than the first preset priority for displaying the enlarged view of the intersection, the enlarged view of the intersection can be displayed; otherwise, the enlarged view of the intersection is displayed after the operation performed in the preset navigation information display area is completed.
[0098] Step 4, sending second instruction information to the first rendering module, indicating that the enlarged view of the intersection can be displayed;
[0099] Step 5: The preset navigation information display area and the enlarged view of the intersection are displayed on the navigation device screen at the same time.
[0100] See also Figure 4 , after step 5, the following steps are also included:
[0101] Step 1: The vehicle in which the navigation device is located passes through intersection L.
[0102] In step 2, the first rendering module sends a third indication message to the HMI interface, indicating that the enlarged view of the intersection needs to be hidden.
[0103] Step 3, the HMI interface (or navigation device) determines whether the enlarged view of the intersection can be hidden at present: the navigation device determines whether there is an operation currently being performed in the enlarged view of the intersection: if not, the enlarged view of the intersection can be displayed; if so, the process priority corresponding to the operation performed in the enlarged view of the intersection is obtained, and if the process priority is lower than the second preset priority for displaying the preset navigation information (or the third preset priority for hiding the enlarged view of the intersection), the enlarged view of the intersection can be hidden; otherwise, in response to the completion of the operation in the preset navigation information display area, the enlarged view of the intersection is hidden.
[0104] Step 4, sending fourth instruction information to the first rendering module, indicating that the enlarged image of the intersection can be hidden;
[0105] Step 5: Hide the enlarged view of the intersection and restore the full-screen display of the preset navigation information.
[0106] In the above process, when the HMI interface and the enlarged image of the intersection are rendered separately (for example, they can belong to different applications), it is ensured that the UI controls of the HMI interface and the enlarged image of the intersection can be displayed / hidden at the same time, solving the problem of asynchronous display. In addition, the display effect can be optimized to improve the consistency and integrity of the rendering effects of the UI controls of the HMI interface and the enlarged image of the intersection, such as making the border blur effect and the overall mask effect better. In addition, the code reuse degree of the first rendering module is high and the promotion is strong, and it can be applied to other scenarios that require independent rendering functions.
[0107] In an embodiment of the present application, based on the positioning position of the navigation device, when it is determined that the target image of the target object needs to be displayed in the navigation interface, the first rendering module and the second rendering module are used to simultaneously render the target image and the preset navigation information in different areas in the navigation interface displayed on the screen of the navigation device; the preset navigation information display area and the target image are rendered by two independent rendering modules, so that the rendering process can be carried out synchronously, avoiding the display asynchrony problem caused by the rendering process; and the first rendering module and the second rendering module are used to simultaneously render the target image and the preset navigation information in different areas in the navigation interface displayed on the screen of the navigation device, so that the display of the target object is clearer and more intuitive, so that the user can know the situation of the target object, determine the driving direction, and improve the navigation service quality of the electronic device.
[0108] According to another aspect of the embodiment of the present application, a navigation method is also provided to solve the problem of asynchronous display or hiding timing of the enlarged image of the intersection in the process of displaying the enlarged image of the intersection in the prior art. For example, the enlarged image of the intersection needs to be displayed in the navigation interface, but the enlarged image of the intersection has not been rendered and cannot be displayed normally, resulting in the asynchronous problem. Based on the positioning position of the navigation device, it is determined whether it is necessary to display the target image of the target object in the navigation interface, and the target image of the target object is rendered by the first rendering module of the map navigation application, and the navigation interface is rendered by the second rendering module of the navigation device, wherein the first rendering module renders the target image of the target object off-screen, that is, the target image of the target object is rendered in advance, and then, the rendering interaction is confirmed with the second rendering module. When the second rendering module confirms that the target image of the target object can be rendered, the first rendering module and the second rendering module respectively render the preset navigation information and target image in different areas of the navigation interface to avoid the display asynchronous problem caused by the rendering process.
[0109] See also Figure 5 , the method comprises the following steps:
[0110] Step 501, based on the positioning position of the navigation device, determine whether it is necessary to display a target image of a target object in the navigation interface, the target object is within a preset distance range from the navigated object, and is located ahead of the driving direction of the navigated object.
[0111] In step 501, the navigation interface may occupy the entire area of the display screen of the navigation device, or a partial area of the display screen of the navigation device. The navigation interface may be one of the system interfaces of the navigation device, or one of the interfaces of the navigation application installed on the navigation device; optionally, the navigation interface may include a human-machine interaction (HMI) interface, such as a navigation operation interface.
[0112] Rendering is usually the last step in computer animation, which refers to the process of using software to generate images from models. Rendering mainly refers to the process of generating digital images through two-dimensional projection of models in three-dimensional scenes according to pre-set environment, lighting, materials and rendering parameters.
[0113] Among them, based on the positioning position of the navigation device, it is determined whether it is necessary to display the target image of the target object in the navigation interface, that is, to determine whether there is a target object within a preset distance range in front of the current positioning position; specifically, the target object and the navigation device are within a preset distance range, and the position of the target object is in front of the travel direction of the navigation device; the target object can be a geographical element on the navigation route, such as a building, a geographical location point, etc.; for the sake of ease of explanation, the embodiment of the present application is described as an intersection. It can be understood that when the target object is other geographical elements, the implementation process is similar to that of the present application. In order to avoid repetition, the embodiment of the present application will not be repeated here.
[0114] When the target object is a road element related to the road, the target object can be an intersection, such as a crossroads, a Y-shaped intersection, etc.; the target object can also be a location point where the number of lanes changes, such as a location point where a ramp on a highway merges into a main road, or a location point where the number of lanes is reduced; the target object can also be a point where the driving direction changes, for example, at a certain location point, the driving direction of the lane where the navigation device (the vehicle of the navigation device) is located changes from straight ahead to right driving, etc.
[0115] The preset distance of the preset distance range may be preset, for example, when the distance to the target intersection is 100 meters or 200 meters.
[0116] If yes, step 502 is executed to render the target image of the target object off-screen through the first rendering module, and after the off-screen rendering is completed, synchronize the display confirmation with the second rendering module.
[0117] If it is necessary to display the target image of the target object in the navigation interface, the target image of the target object is obtained and rendered. For example, when the vehicle travels to an intersection 100 meters ahead in the driving direction, the navigation device obtains the target image of the intersection, and renders the target image of the target object off-screen through the first rendering module; optionally, the preset distance range can also be a distance range corresponding to the speed of the vehicle where the navigation device is located. For example, when the speed is fast, such as 50 kilometers per hour, the preset distance range can be set relatively large, such as 80 meters; when on the contrary, the speed is slow, such as 30 kilometers per hour, the preset distance range can be set relatively small, such as 50 meters.
[0118] Optionally, the target image may be an enlarged image, a detailed image, etc. For example, an enlarged image of an intersection, which is clearer and more intuitive for users to understand the situation at the intersection and determine the direction of travel. When rendering the target image, the navigation device renders the target image off-screen through a first rendering module, and the preset navigation information of the navigation interface is rendered through a second rendering module of the navigation device. The preset navigation information is the regular navigation information of the original navigation interface. After the off-screen rendering is completed, the preset navigation information is synchronized with the second rendering module for display confirmation to confirm whether to display the target image and the regular navigation information at the same time.
[0119] In step 503, when it is confirmed that the target image can be displayed on the navigation interface, the first rendering module and the second rendering module simultaneously render the target image and the preset navigation information in different regions in the navigation interface displayed on the screen of the navigation device.
[0120] That is to say, the preset navigation information display area and the target image are rendered by two independent rendering modules, so that the rendering process can be performed synchronously, avoiding the display asynchronization problem caused by the rendering process. Specifically, in actual applications, there are situations where the layers used to display the target image and the preset navigation information are different. For example, the preset navigation information is displayed in the HMI layer, and the target image is another layer. If the same rendering module is used for rendering, for example, the rendering of the HMI layer and the enlarged image of the intersection are both the same rendering module (rendering program), since the rendering process of the two layers needs to be performed serially, it is easy to cause the timing of displaying and hiding the enlarged image of the intersection to be inconsistent with the timing of displaying and hiding set for the enlarged image of the intersection in the HMI layer. For example, the time for displaying and hiding the enlarged image has arrived in the HMI layer, but since the rendering module has just rendered the HMI layer, the layer of the enlarged image of the intersection has not yet been rendered, resulting in the enlarged image of the intersection cannot be displayed normally, so there is a problem of inconsistent timing.
[0121] In addition, in some navigation devices, the rendering module of the HMI layer and the rendering module of the enlarged intersection view belong to different programs (for example, from two applications) or are even developed by different companies, which results in an overlay effect drawn by the program when the enlarged intersection view is displayed, such as a blurred border effect and poor overall masking effect, resulting in a poor display effect. In the embodiment of the present application, the first rendering module and the second rendering module belong to the same navigation application of the navigation device. When the enlarged intersection view and the preset navigation information are displayed at the same time, there will be no overlay display effect, and the display effect is more coordinated.
[0122] In this way, when the first rendering module renders the target image and the second rendering module renders the preset navigation information display area at the same time, when it is confirmed that the target image can be displayed in the navigation interface, the first rendering module and the second rendering module simultaneously render the target image and the preset navigation information in different areas in the navigation interface displayed on the screen of the navigation device; it can be understood that, in the process of rendering the target image and the preset navigation information in different areas, the proportion of the preset navigation information and the target image occupied by the display interface can be pre-set, for example, the display ratio of the preset navigation information display area and the target image is 1:1, that is, the two respectively occupy one-half of the display interface; in addition, the display ratio can also be other values, for example, the display ratio of the preset navigation information display area and the target image is 2:1, etc., which is convenient for users to observe the actual situation of the target object.
[0123] As a first example, see Figure 1 , Figure 1 In the example, the target object is intersection L, wherein the navigation device includes a first rendering module and a second rendering module, the first rendering module is used to render an enlarged image of intersection L, P1 represents a preset navigation information display area, P2 represents a target image, and the direction indicated by the arrow S is the direction of travel of the user of the navigation device. When the vehicle in which the navigation device is located travels to a distance of 100 meters from the intersection L, the first rendering module obtains and renders an enlarged image of the intersection L to obtain the target image, the second rendering module renders the preset navigation information display area, and the display interface of the navigation device synchronously displays P1 and P2 in different regions. Since P1 and P2 are rendered by different rendering modules, the rendering processes of the two can be guaranteed not to conflict, and the display timing (or hiding timing) of P2 is avoided to be inconsistent with the display timing (or hiding timing) corresponding to P2 in P1. Optionally, the first rendering module and the second rendering module are run based on the same application, such as the same navigation application, to avoid inconsistent navigation effects and the effect of superimposing two pictures.
[0124] As a second example, take the target object as scenic spot A, where the navigation device includes a first rendering module and a second rendering module, the first rendering module is used to render a detailed image of scenic spot A, and the detailed image includes a route map (or road condition map) of scenic spot A. When the vehicle in which the navigation device is located travels to a distance of 100 meters from scenic spot A, the first rendering module acquires and renders the detailed image of scenic spot A to obtain the target image, and the second rendering module renders the preset navigation information display area, and the preset navigation information and the detailed image are synchronously displayed in the display interface of the navigation device. Since the preset navigation information display area and the detailed image are rendered by different rendering modules, respectively, it can be ensured that the rendering processes of the two do not conflict, and the display timing (or hiding timing) of the detailed image is avoided to be inconsistent with the display timing (or hiding timing) corresponding to the detailed image in the navigation interface.
[0125] As a third example, the target object is a position point B where the number of lanes in the direction of vehicle travel changes. The navigation device includes a first rendering module and a second rendering module. The first rendering module is used to render an enlarged image of the position point B. The enlarged image includes a change in the number of lanes at the position point B, such as an increase in the number of lanes or a decrease in the number of lanes. When the vehicle where the navigation device is located travels to a distance of 100 meters from the position point B, the first rendering module obtains and renders the enlarged image of the rendering position point B to obtain the target image. The second rendering module renders the preset navigation information display area. The preset navigation information and the enlarged image are synchronously displayed in the display interface of the navigation device. Since the navigation interface and the enlarged image are rendered by different rendering modules, the rendering processes of the two can be guaranteed not to conflict, and the display timing (or hiding timing) of the enlarged image is avoided. The display timing (or hiding timing) of the enlarged image is inconsistent with the display timing (or hiding timing) of the enlarged image in the navigation interface. In this way, the enlarged image of the position point B and the preset navigation information display area are displayed at the same time, so that the user can pay attention to the change in the number of lanes in the driving direction during driving, thereby improving driving safety.
[0126] In an embodiment of the present application, based on the positioning position of the navigation device, when it is determined that the target image of the target object needs to be displayed in the navigation interface, the first rendering module and the second rendering module are used to simultaneously render the target image and the preset navigation information in different areas in the navigation interface displayed on the screen of the navigation device; the preset navigation information display area and the target image are rendered by two independent rendering modules, so that the rendering process can be carried out synchronously, avoiding the display asynchrony problem caused by the rendering process; and the first rendering module and the second rendering module are used to simultaneously render the target image and the preset navigation information in different areas in the navigation interface displayed on the screen of the navigation device, so that the display of the target object is clearer and more intuitive, so that the user can know the situation of the target object, determine the driving direction, and improve the navigation service quality of the electronic device.
[0127] In an optional embodiment, the simultaneously rendering the target image and the conventional navigation information in different regions in the navigation interface displayed on the screen of the navigation device includes:
[0128] The preset navigation information and the target image are displayed in split screen; wherein the navigation interface includes an interactive control corresponding to the target object.
[0129] In an optional embodiment, the simultaneously rendering the target image and the conventional navigation information in different regions in the navigation interface displayed on the screen of the navigation device includes:
[0130] The navigation interface is displayed at a first display position of the display interface; and the target image is displayed at a second display position of the display interface.
[0131] In an optional embodiment, after the off-screen rendering is completed, performing synchronous display confirmation with the second rendering module includes:
[0132] Obtaining the process priority corresponding to the operation performed on the navigation interface;
[0133] If the process priority is lower than a preset priority corresponding to displaying the target image, it is confirmed that the target image can be displayed on the navigation interface.
[0134] In an optional embodiment, after simultaneously rendering the target image and the conventional navigation information in different regions in the navigation interface displayed on the screen of the navigation device, the method includes:
[0135] If the navigation device passes the position of the target object, the target image is hidden.
[0136] In an optional embodiment, if the navigation device passes the position of the target object, hiding the target image includes:
[0137] If the navigation device passes the position of the target object and the navigation device does not receive any interactive operation for the target image, the target image is hidden.
[0138] In an optional embodiment, the target object includes at least one of an image of an intersection, an image of a first position point where the number of lanes changes, an image of a second position point with preset driving prompts, and an image of a third position point of a target information point.
[0139] In an optional embodiment, the target image includes at least one of an enlarged image, a thumbnail image, and a real scene image.
[0140] In an embodiment of the present application, based on the positioning position of the navigation device, when it is determined that the target image of the target object needs to be displayed in the navigation interface, the first rendering module and the second rendering module are used to simultaneously render the target image and the preset navigation information in different areas in the navigation interface displayed on the screen of the navigation device; the preset navigation information display area and the target image are rendered by two independent rendering modules, so that the rendering process can be carried out synchronously, avoiding the display asynchrony problem caused by the rendering process; and the first rendering module and the second rendering module are used to simultaneously render the target image and the preset navigation information in different areas in the navigation interface displayed on the screen of the navigation device, so that the display of the target object is clearer and more intuitive, so that the user can know the situation of the target object, determine the driving direction, and improve the navigation service quality of the electronic device.
[0141] See also Figure 6 On the basis of the above-mentioned embodiments, the embodiments of the present application further provide a navigation method to solve the problem in the prior art that, in the process of displaying the enlarged image of the intersection during navigation, the timing of displaying or hiding the enlarged image of the intersection is easily out of sync. For example, the enlarged image of the intersection needs to be displayed in the navigation interface, but the enlarged image of the intersection has not been rendered and cannot be displayed normally, resulting in the out of sync problem. Based on the positioning position of the navigation device, when it is determined that the target image of the target object needs to be displayed in the navigation interface, the target image of the target object is rendered by the first rendering module of the map navigation application, and the navigation interface is rendered by the second rendering module of the navigation device, wherein the first rendering module renders the target image of the target object off-screen, that is, renders the target image of the target object in advance, and then performs rendering interaction confirmation with the second rendering module. When the second rendering module confirms that the target image of the target object can be rendered, the first rendering module and the second rendering module respectively render the preset navigation information and target image in different areas of the navigation interface.
[0142] like Figure 6 As shown, the method comprises the following steps:
[0143] Step 601, based on the positioning position of the navigation device, determine whether it is necessary to display a target image of a target object in the navigation interface, the target object is within a preset distance range from the navigated object, and is located ahead of the driving direction of the navigated object.
[0144] The navigation interface may occupy the entire area of the display screen of the navigation device, or may occupy a partial area of the display screen of the navigation device. The navigation interface may be one of the system interfaces of the navigation device, or may be one of the interfaces of a navigation application installed on the navigation device. Optionally, the navigation interface may include a human-computer interaction interface, such as a navigation operation interface.
[0145] Rendering is usually the last step in computer animation, which refers to the process of using software to generate images from models. Rendering mainly refers to the process of generating digital images through two-dimensional projection of models in three-dimensional scenes according to pre-set environment, lighting, materials and rendering parameters.
[0146] Among them, based on the positioning position of the navigation device, it is determined whether it is necessary to display the target image of the target object in the navigation interface, that is, to determine whether there is a target object within a preset distance range in front of the current positioning position; specifically, the target object and the navigation device are within a preset distance range, and the position of the target object is in front of the travel direction of the navigation device; the target object can be a geographical element on the navigation route, such as a building, a geographical location point, etc.; for the sake of ease of explanation, the embodiment of the present application is described as an intersection. It can be understood that when the target object is other geographical elements, the implementation process is similar to that of the present application. In order to avoid repetition, the embodiment of the present application will not be repeated here.
[0147] When the target object is a road element related to the road, the target object can be an intersection, such as a crossroads, a Y-shaped intersection, etc.; the target object can also be a location point where the number of lanes changes, such as a location point where a ramp on a highway merges into a main road, or a location point where the number of lanes is reduced; the target object can also be a point where the driving direction changes, for example, at a certain location point, the driving direction of the lane where the navigation device (the vehicle of the navigation device) is located changes from straight ahead to right driving, etc.
[0148] The preset distance of the preset distance range may be preset, for example, when the distance to the target intersection is 100 meters or 200 meters.
[0149] If yes, step 602 is executed to render the target image of the target object off-screen through the first rendering module, and after the off-screen rendering is completed, synchronize the display confirmation with the second rendering module.
[0150] If it is necessary to display the target image of the target object in the navigation interface, the target image of the target object is obtained and rendered. For example, when the vehicle travels to an intersection 100 meters ahead in the driving direction, the navigation device obtains the target image of the intersection, and renders the target image of the target object off-screen through the first rendering module; optionally, the preset distance range can also be a distance range corresponding to the speed of the vehicle where the navigation device is located. For example, when the speed is fast, such as 50 kilometers per hour, the preset distance range can be set relatively large, such as 80 meters; when on the contrary, the speed is slow, such as 30 kilometers per hour, the preset distance range can be set relatively small, such as 50 meters.
[0151] Optionally, the target image may be an enlarged image, a detailed image, etc. For example, an enlarged image of an intersection, which is clearer and more intuitive for users to understand the situation at the intersection and determine the direction of travel. When rendering the target image, the navigation device renders the target image off-screen through a first rendering module, and the preset navigation information of the navigation interface is rendered through a second rendering module of the navigation device. The preset navigation information is the regular navigation information of the original navigation interface. After the off-screen rendering is completed, the preset navigation information is synchronized with the second rendering module for display confirmation to confirm whether to display the target image and the regular navigation information at the same time.
[0152] In step 603, when it is confirmed that the target image can be displayed on the navigation interface, the first rendering module and the second rendering module simultaneously render the target image and the preset navigation information in different regions in the navigation interface displayed on the screen of the navigation device.
[0153] That is to say, the preset navigation information display area and the target image are rendered by two independent rendering modules, so that the rendering process can be performed synchronously, avoiding the display asynchronization problem caused by the rendering process. Specifically, in actual applications, there are situations where the layers used to display the target image and the preset navigation information are different. For example, the preset navigation information is displayed in the HMI layer, and the target image is another layer. If the same rendering module is used for rendering, for example, the rendering of the HMI layer and the enlarged image of the intersection are both the same rendering module (rendering program), since the rendering process of the two layers needs to be performed serially, it is easy to cause the timing of displaying and hiding the enlarged image of the intersection to be inconsistent with the timing of displaying and hiding set for the enlarged image of the intersection in the HMI layer. For example, the time for displaying and hiding the enlarged image has arrived in the HMI layer, but since the rendering module has just rendered the HMI layer, the layer of the enlarged image of the intersection has not yet been rendered, resulting in the enlarged image of the intersection cannot be displayed normally, so there is a problem of inconsistent timing.
[0154] In addition, in some navigation devices, the rendering module of the HMI layer and the rendering module of the enlarged intersection view belong to different programs (for example, from two applications) or are even developed by different companies, which results in an overlay effect drawn by the program when the enlarged intersection view is displayed, such as a blurred border effect and poor overall masking effect, resulting in a poor display effect. In the embodiment of the present application, the first rendering module and the second rendering module belong to the same navigation application of the navigation device. When the enlarged intersection view and the preset navigation information are displayed at the same time, there will be no overlay display effect, and the display effect is more coordinated.
[0155] In this way, when the first rendering module renders the target image and the second rendering module renders the preset navigation information display area at the same time, when it is confirmed that the target image can be displayed in the navigation interface, the first rendering module and the second rendering module simultaneously render the target image and the preset navigation information in different areas in the navigation interface displayed on the screen of the navigation device; it can be understood that, in the process of rendering the target image and the preset navigation information in different areas, the proportion of the preset navigation information and the target image occupied by the display interface can be pre-set, for example, the display ratio of the preset navigation information display area and the target image is 1:1, that is, the two respectively occupy one-half of the display interface; in addition, the display ratio can also be other values, for example, the display ratio of the preset navigation information display area and the target image is 2:1, etc., which is convenient for users to observe the actual situation of the target object.
[0156] As a first example, see Figure 1 , Figure 1 In the example, the target object is intersection L, wherein the navigation device includes a first rendering module and a second rendering module, the first rendering module is used to render an enlarged image of intersection L, P1 represents a preset navigation information display area, P2 represents a target image, and the direction indicated by the arrow S is the direction of travel of the user of the navigation device. When the vehicle in which the navigation device is located travels to a distance of 100 meters from the intersection L, the first rendering module obtains and renders an enlarged image of the intersection L to obtain the target image, the second rendering module renders the preset navigation information display area, and the display interface of the navigation device synchronously displays P1 and P2 in different regions. Since P1 and P2 are rendered by different rendering modules, the rendering processes of the two can be guaranteed not to conflict, and the display timing (or hiding timing) of P2 is avoided to be inconsistent with the display timing (or hiding timing) corresponding to P2 in P1. Optionally, the first rendering module and the second rendering module are run based on the same application, such as the same navigation application, to avoid inconsistent navigation effects and the effect of superimposing two pictures.
[0157] As a second example, take the target object as scenic spot A, where the navigation device includes a first rendering module and a second rendering module, the first rendering module is used to render a detailed image of scenic spot A, and the detailed image includes a route map (or road condition map) of scenic spot A. When the vehicle in which the navigation device is located travels to a distance of 100 meters from scenic spot A, the first rendering module acquires and renders the detailed image of scenic spot A to obtain the target image, and the second rendering module renders the preset navigation information display area, and the preset navigation information and the detailed image are synchronously displayed in the display interface of the navigation device. Since the preset navigation information display area and the detailed image are rendered by different rendering modules, respectively, it can be ensured that the rendering processes of the two do not conflict, and the display timing (or hiding timing) of the detailed image is avoided to be inconsistent with the display timing (or hiding timing) corresponding to the detailed image in the navigation interface.
[0158] As a third example, the target object is a position point B where the number of lanes in the direction of vehicle travel changes. The navigation device includes a first rendering module and a second rendering module. The first rendering module is used to render an enlarged image of the position point B. The enlarged image includes a change in the number of lanes at the position point B, such as an increase in the number of lanes or a decrease in the number of lanes. When the vehicle where the navigation device is located travels to a distance of 100 meters from the position point B, the first rendering module obtains and renders the enlarged image of the rendering position point B to obtain the target image. The second rendering module renders the preset navigation information display area. The preset navigation information and the enlarged image are synchronously displayed in the display interface of the navigation device. Since the navigation interface and the enlarged image are rendered by different rendering modules, the rendering processes of the two can be guaranteed not to conflict, and the display timing (or hiding timing) of the enlarged image is avoided. The display timing (or hiding timing) of the enlarged image is inconsistent with the display timing (or hiding timing) of the enlarged image in the navigation interface. In this way, the enlarged image of the position point B and the preset navigation information are displayed at the same time, so that the user can pay attention to the change in the number of lanes in the driving direction during driving, thereby improving driving safety.
[0159] Step 604: broadcast the indication information in the target image.
[0160] The indication information includes parameter information in the target image, such as the location information of the intersection, the current traffic flow information, or the historical information of the scenic spot; while displaying the target image, the electronic device broadcasts the indication information so that the user can quickly obtain the parameter information.
[0161] In this embodiment, other steps in the aforementioned embodiments may also be executed, which will not be described again to avoid repetition.
[0162] In an embodiment of the present application, based on the positioning position of the navigation device, when it is determined that the target image of the target object needs to be displayed in the navigation interface, the first rendering module and the second rendering module are used to simultaneously render the target image and the preset navigation information in different areas in the navigation interface displayed on the screen of the navigation device, and the indication information in the target image is broadcast; the preset navigation information display area and the target image are rendered by two independent rendering modules, so that the rendering process can be carried out synchronously, avoiding the display asynchrony problem caused by the rendering process; and the first rendering module and the second rendering module are used to simultaneously render the target image and the preset navigation information in different areas in the navigation interface displayed on the screen of the navigation device, so that the display of the target object is clearer and more intuitive, so that the user can know the situation of the target object, determine the driving direction, and improve the navigation service quality of the electronic device.
[0163] See also Figure 7On the basis of the above-mentioned embodiments, the embodiments of the present application further provide a display interface rendering method to solve the problem in the prior art that, during the process of displaying the enlarged image of the intersection during navigation, the timing of displaying or hiding the enlarged image of the intersection is easily out of sync. For example, an enlarged image of the intersection needs to be displayed in the navigation interface, but the enlarged image of the intersection has not been rendered and cannot be displayed normally, resulting in an out of sync problem. Based on the positioning position of the navigation device, when it is determined that the target image of the target object needs to be displayed in the navigation interface, the target image of the target object is rendered by the first rendering module of the map navigation application, and the navigation interface is rendered by the second rendering module of the navigation device, so that the rendering process can be carried out synchronously, thereby avoiding the display out of sync problem caused by the rendering process.
[0164] like Figure 7 As shown, the method comprises the following steps:
[0165] Step 701, based on the positioning position of the navigation device, determine whether it is necessary to display a target image of a target object in the navigation interface, the target object is within a preset distance range from the navigated object, and is located ahead of the driving direction of the navigated object.
[0166] The navigation interface may occupy the entire area of the display screen of the navigation device, or may occupy a partial area of the display screen of the navigation device. The navigation interface may be one of the system interfaces of the navigation device, or may be one of the interfaces of a navigation application installed on the navigation device. Optionally, the navigation interface may include a human-computer interaction interface, such as a navigation operation interface.
[0167] Rendering is usually the last step in computer animation, which refers to the process of using software to generate images from models. Rendering mainly refers to the process of generating digital images through two-dimensional projection of models in three-dimensional scenes according to pre-set environment, lighting, materials and rendering parameters.
[0168] Among them, based on the positioning position of the navigation device, it is determined whether it is necessary to display the target image of the target object in the navigation interface, that is, to determine whether there is a target object within a preset distance range in front of the current positioning position; specifically, the target object and the navigation device are within a preset distance range, and the position of the target object is in front of the travel direction of the navigation device; the target object can be a geographical element on the navigation route, such as a building, a geographical location point, etc.; for the sake of ease of explanation, the embodiment of the present application is described as an intersection. It can be understood that when the target object is other geographical elements, the implementation process is similar to that of the present application. In order to avoid repetition, the embodiment of the present application will not be repeated here.
[0169] When the target object is a road element related to the road, the target object can be an intersection, such as a crossroads, a Y-shaped intersection, etc.; the target object can also be a location point where the number of lanes changes, such as a location point where a ramp on a highway merges into a main road, or a location point where the number of lanes is reduced; the target object can also be a point where the driving direction changes, for example, at a certain location point, the driving direction of the lane where the navigation device (the vehicle of the navigation device) is located changes from straight ahead to right driving, etc.
[0170] The preset distance of the preset distance range may be preset, for example, when the distance to the target intersection is 100 meters or 200 meters.
[0171] If yes, step 702 is executed to render the target image of the target object off-screen through the first rendering module, and after the off-screen rendering is completed, synchronize the display confirmation with the second rendering module.
[0172] If it is necessary to display the target image of the target object in the navigation interface, the target image of the target object is obtained and rendered. For example, when the vehicle travels to an intersection 100 meters ahead in the driving direction, the navigation device obtains the target image of the intersection, and renders the target image of the target object off-screen through the first rendering module; optionally, the preset distance range can also be a distance range corresponding to the speed of the vehicle where the navigation device is located. For example, when the speed is fast, such as 50 kilometers per hour, the preset distance range can be set relatively large, such as 80 meters; when on the contrary, the speed is slow, such as 30 kilometers per hour, the preset distance range can be set relatively small, such as 50 meters.
[0173] Optionally, the target image may be an enlarged image, a detailed image, etc. For example, an enlarged image of an intersection, which is clearer and more intuitive for users to understand the situation at the intersection and determine the direction of travel. When rendering the target image, the navigation device renders the target image off-screen through a first rendering module, and the preset navigation information of the navigation interface is rendered through a second rendering module of the navigation device. The preset navigation information is the regular navigation information of the original navigation interface. After the off-screen rendering is completed, the preset navigation information is synchronized with the second rendering module for display confirmation to confirm whether to display the target image and the regular navigation information at the same time.
[0174] In step 703, when it is confirmed that the target image can be displayed on the navigation interface, the first rendering module and the second rendering module simultaneously render the target image and the preset navigation information in different regions in the navigation interface displayed on the screen of the navigation device.
[0175] That is to say, the preset navigation information display area and the target image are rendered by two independent rendering modules, so that the rendering process can be performed synchronously, avoiding the display asynchrony problem caused by the rendering process.
[0176] Specifically, in actual applications, there are situations where the layers used to display the target image and the preset navigation information are different. For example, the preset navigation information is displayed in the HMI layer, and the target image is another layer. If the same rendering module is used for rendering, for example, the HMI layer and the enlarged image of the intersection are rendered by the same rendering module (rendering program), since the rendering process of the two layers needs to be performed serially, it is easy to cause the timing of displaying and hiding the enlarged image of the intersection to be inconsistent with the timing of displaying and hiding set for the enlarged image of the intersection in the HMI layer. For example, the time to display and hide the enlarged image has arrived in the HMI layer, but since the rendering module has just rendered the HMI layer, the layer of the enlarged image of the intersection has not yet been rendered, resulting in the enlarged image of the intersection cannot be displayed normally, thus causing the problem of inconsistent timing.
[0177] In addition, in some navigation devices, the rendering module of the HMI layer and the rendering module of the enlarged intersection view belong to different programs (for example, from two applications) or are even developed by different companies, which results in an overlay effect drawn by the program when the enlarged intersection view is displayed, such as a blurred border effect and poor overall masking effect, resulting in a poor display effect. In the embodiment of the present application, the first rendering module and the second rendering module belong to the same navigation application of the navigation device. When the enlarged intersection view and the preset navigation information are displayed at the same time, there will be no overlay display effect, and the display effect is more coordinated.
[0178] In this way, when the first rendering module renders the target image and the second rendering module renders the preset navigation information display area at the same time, when it is confirmed that the target image can be displayed in the navigation interface, the first rendering module and the second rendering module simultaneously render the target image and the preset navigation information in different areas in the navigation interface displayed on the screen of the navigation device; it can be understood that, in the process of rendering the target image and the preset navigation information in different areas, the proportion of the preset navigation information and the target image occupied by the display interface can be pre-set, for example, the display ratio of the preset navigation information display area and the target image is 1:1, that is, the two respectively occupy one-half of the display interface; in addition, the display ratio can also be other values, for example, the display ratio of the preset navigation information display area and the target image is 2:1, etc., which is convenient for users to observe the actual situation of the target object.
[0179] As a first example, see Figure 1 , Figure 1In the example, the target object is intersection L, wherein the navigation device includes a first rendering module and a second rendering module, the first rendering module is used to render an enlarged image of intersection L, P1 represents a preset navigation information display area, P2 represents a target image, and the direction indicated by the arrow S is the direction of travel of the user of the navigation device. When the vehicle in which the navigation device is located travels to a distance of 100 meters from the intersection L, the first rendering module obtains and renders an enlarged image of the intersection L to obtain the target image, the second rendering module renders the preset navigation information display area, and the display interface of the navigation device synchronously displays P1 and P2 in different regions. Since P1 and P2 are rendered by different rendering modules, the rendering processes of the two can be guaranteed not to conflict, and the display timing (or hiding timing) of P2 is avoided to be inconsistent with the display timing (or hiding timing) corresponding to P2 in P1. Optionally, the first rendering module and the second rendering module are run based on the same application, such as the same navigation application, to avoid inconsistent navigation effects and the effect of superimposing two pictures.
[0180] As a second example, take the target object as scenic spot A, where the navigation device includes a first rendering module and a second rendering module, the first rendering module is used to render a detailed image of scenic spot A, and the detailed image includes a route map (or road condition map) of scenic spot A. When the vehicle in which the navigation device is located travels to a distance of 100 meters from scenic spot A, the first rendering module acquires and renders the detailed image of scenic spot A to obtain the target image, and the second rendering module renders the preset navigation information display area, and the preset navigation information and the detailed image are synchronously displayed in the display interface of the navigation device. Since the preset navigation information and the detailed image are rendered by different rendering modules, respectively, it can be ensured that the rendering processes of the two do not conflict, and the display timing (or hiding timing) of the detailed image is avoided to be inconsistent with the display timing (or hiding timing) corresponding to the detailed image in the navigation interface.
[0181] As a third example, the target object is a position point B where the number of lanes in the direction of vehicle travel changes. The navigation device includes a first rendering module and a second rendering module. The first rendering module is used to render an enlarged image of the position point B. The enlarged image includes a change in the number of lanes at the position point B, such as an increase in the number of lanes or a decrease in the number of lanes. When the vehicle where the navigation device is located travels to a distance of 100 meters from the position point B, the first rendering module obtains and renders the enlarged image of the rendering position point B to obtain the target image. The second rendering module renders the preset navigation information display area. The preset navigation information and the enlarged image are synchronously displayed in the display interface of the navigation device. Since the navigation interface and the enlarged image are rendered by different rendering modules, the rendering processes of the two can be guaranteed not to conflict, and the display timing (or hiding timing) of the enlarged image is avoided. The display timing (or hiding timing) of the enlarged image is inconsistent with the display timing (or hiding timing) of the enlarged image in the navigation interface. In this way, the enlarged image of the position point B and the preset navigation information are displayed at the same time, so that the user can pay attention to the change in the number of lanes in the driving direction during driving, thereby improving driving safety.
[0182] In this embodiment, other steps in the aforementioned embodiments may also be executed, which will not be described again to avoid repetition.
[0183] In an embodiment of the present application, based on the positioning position of the navigation device, when it is determined that the target image of the target object needs to be displayed in the navigation interface, the first rendering module and the second rendering module are used to simultaneously render the target image and the preset navigation information in different areas in the navigation interface displayed on the screen of the navigation device; the preset navigation information display area and the target image are rendered by two independent rendering modules, so that the rendering process can be carried out synchronously, avoiding the display asynchrony problem caused by the rendering process; and the first rendering module and the second rendering module are used to simultaneously render the target image and the preset navigation information in different areas in the navigation interface displayed on the screen of the navigation device, so that the display of the target object is clearer and more intuitive, so that the user can know the situation of the target object, determine the driving direction, and improve the navigation service quality of the electronic device.
[0184] On the basis of the above embodiments, this embodiment further provides a navigation device, which is applied to electronic devices such as terminal devices and navigation devices.
[0185] Reference Figure 8 , shows a structural block diagram of an embodiment of a navigation device of the present application, which may specifically include the following modules:
[0186] The first judgment module 801 is used to judge whether it is necessary to display a target image of a target object in the navigation interface based on the positioning position of the navigation device, and render the target image and preset navigation information when the distance between the target object and the navigated object is within a preset distance range and the target object is located in front of the driving direction of the navigated object;
[0187] The first rendering module 802 is used for rendering the target image of the target object off-screen by the first rendering module if it is necessary to display the target image of the target object in the navigation interface, and performing synchronous display confirmation with the second rendering module after the off-screen rendering is completed;
[0188] The first display module 803 is used to simultaneously render the target image and preset navigation information in different areas in the navigation interface displayed on the screen of the navigation device through the first rendering module and the second rendering module when it is confirmed that the target image can be displayed on the navigation interface.
[0189] In an optional embodiment, the first display module 803 includes:
[0190] A first display submodule, configured to render a target image through a first rendering module and to render preset navigation information through a second rendering module;
[0191] The preset navigation information and the target image are simultaneously displayed in different regions in a navigation interface displayed on the screen of the navigation device; wherein the navigation interface includes an interactive control corresponding to the target object.
[0192] In an optional embodiment, the first rendering module 802 includes:
[0193] An acquisition submodule, used to acquire the process priority corresponding to the operation performed on the navigation interface;
[0194] The rendering submodule is used to confirm that the target image can be displayed on the navigation interface if the process priority is lower than the preset priority corresponding to displaying the target image.
[0195] In an optional embodiment, the device comprises:
[0196] A hiding module is used to hide the target image if the navigation device passes the position of the target object.
[0197] In an optional embodiment, the hidden module includes:
[0198] The hiding submodule is configured to hide the target image if the navigation device passes the position of the target object and the navigation device does not receive any interactive operation for the target image.
[0199] In an optional embodiment, the target object includes at least one of an image of an intersection, an image of a first position point where the number of lanes changes, an image of a second position point with preset driving prompts, and an image of a third position point of a target information point.
[0200] In an optional embodiment, the target image includes at least one of an enlarged image, a thumbnail image, and a real scene image.
[0201] In an embodiment of the present application, the first judgment module 801 determines whether it is necessary to display the target image of the target object in the navigation interface based on the positioning position of the navigation device; if it is necessary to display the target image of the target object in the navigation interface, the first rendering module 802 renders the target image of the target object off-screen through the first rendering module, and after the off-screen rendering is completed, synchronizes the display confirmation with the second rendering module; when it is confirmed that the target image can be displayed in the navigation interface, the first display module 803 simultaneously renders the target image and the preset navigation information in different areas in the navigation interface displayed on the screen of the navigation device through the first rendering module and the second rendering module; the preset navigation information display area and the target image are rendered by two independent rendering modules, so that the rendering process can be carried out synchronously to avoid the display asynchronization problem caused by the rendering process; the target image and the preset navigation information are simultaneously rendered in different areas in the navigation interface displayed on the screen of the navigation device by the first rendering module and the second rendering module, so that the display of the target object is clearer and more intuitive, so that the user can know the situation of the target object, determine the driving direction, and improve the navigation service quality of the electronic device.
[0202] Based on the above embodiments, see Fig. 9 This embodiment also provides a navigation device, which is applied to electronic devices such as terminal devices and navigation devices.
[0203] The second judgment module 901 is used to judge whether it is necessary to display a target image of a target object in the navigation interface based on the positioning position of the navigation device, wherein the distance between the target object and the navigated object is within a preset distance range and is located in front of the driving direction of the navigated object.
[0204] The second rendering module 902 is used for rendering the target image of the target object off-screen through the first rendering module if it is necessary to display the target image of the target object in the navigation interface, and performing synchronous display confirmation with the second rendering module after the off-screen rendering is completed;
[0205] The second display module 903 is used to simultaneously render the target image and preset navigation information in different areas in the navigation interface displayed on the screen of the navigation device through the first rendering module and the second rendering module when it is confirmed that the target image can be displayed in the navigation interface.
[0206] The information broadcasting module 904 is used to broadcast the indication information in the target image.
[0207] The indication information includes parameter information in the target image, such as the location information of the intersection, the current traffic flow information, or the historical information of the scenic spot; while displaying the target image, the electronic device broadcasts the indication information so that the user can quickly obtain the parameter information.
[0208] This embodiment also includes a module that can execute other steps in the navigation method described in the above embodiments, which will not be described again here to avoid repetition.
[0209] In the embodiment of the present application, the second judgment module 901 judges whether it is necessary to display the target image of the target object in the navigation interface based on the positioning position of the navigation device; if it is necessary to display the target image of the target object in the navigation interface, the first rendering module 902 renders the target image of the target object off-screen through the first rendering module, and after the off-screen rendering is completed, it confirms the synchronous display with the second rendering module; when it is confirmed that the target image can be displayed in the navigation interface, the second display module 903 simultaneously renders the target image and the preset navigation information in different areas in the navigation interface displayed on the screen of the navigation device through the first rendering module and the second rendering module; the information broadcasting module 904 broadcasts the indication information in the target image; the preset navigation information display area and the target image are rendered by two independent rendering modules, so that the rendering process can be carried out synchronously to avoid the display asynchronization problem caused by the rendering process; the display of the target object is clearer and more intuitive, so that the user can know the situation of the target object, determine the driving direction, and improve the navigation service quality of the electronic device.
[0210] Based on the above embodiments, see Fig.10 This embodiment also provides a display interface rendering device, which is applied to electronic devices such as terminal devices and navigation devices.
[0211] like Fig.10 As shown, the device comprises:
[0212] The third judgment module 1001 is used to judge whether it is necessary to display a target image of a target object in the navigation interface based on the positioning position of the navigation device, wherein the distance between the target object and the navigated object is within a preset distance range and is located in front of the driving direction of the navigated object.
[0213] The third rendering module 1002 is used for rendering the target image of the target object off-screen through the first rendering module if it is necessary to display the target image of the target object in the navigation interface, and performing synchronous display confirmation with the second rendering module after the off-screen rendering is completed;
[0214] The third display module 1002 is used to simultaneously render the target image and preset navigation information in different areas in the navigation interface displayed on the screen of the navigation device through the first rendering module and the second rendering module when it is confirmed that the target image can be displayed in the navigation interface.
[0215] In this embodiment, other steps in the aforementioned embodiments may also be executed, which will not be described again to avoid repetition.
[0216] In an embodiment of the present application, the third judgment module 1001 determines whether it is necessary to display the target image of the target object in the navigation interface based on the positioning position of the navigation device; if it is necessary to display the target image of the target object in the navigation interface, the third rendering module 1002 renders the target image of the target object off-screen through the first rendering module, and after the off-screen rendering is completed, synchronizes the display with the second rendering module to confirm; when it is confirmed that the target image can be displayed in the navigation interface, the third display module 1003 simultaneously renders the target image and the preset navigation information in different areas in the navigation interface displayed on the screen of the navigation device through the first rendering module and the second rendering module; the preset navigation information display area and the target image are rendered by two independent rendering modules, so that the rendering process can be carried out synchronously, avoiding the display asynchronism problem caused by the rendering process, and making the display of the target object clearer and more intuitive, so that the user can know the situation of the target object, so as to determine the driving direction, and improve the navigation service quality of the electronic device.
[0217] The embodiment of the present application also provides a non-volatile readable storage medium, which stores one or more modules (programs). When the one or more modules are applied to a device, the device can execute instructions (instructions) of each method step in the embodiment of the present application.
[0218] The present application embodiment provides one or more machine-readable storage media, on which instructions are stored, and when executed by one or more processors, the electronic device executes one or more of the methods described in the above embodiments. In the present application embodiment, the electronic device includes various types of devices such as terminal devices and servers (clusters).
[0219] The embodiments of the present application also disclose a computer program product, including a computer program or instructions, wherein when the computer program or instructions are executed, one or more methods described in the embodiments of the present application are implemented.
[0220] The embodiments of the present disclosure may be implemented as a device configured as desired using any appropriate hardware, firmware, software, or any combination thereof, and the device may include electronic devices such as terminal devices and servers (clusters). Fig.11An exemplary apparatus 1100 that can be used to implement various embodiments described in this application is schematically shown.
[0221] For one embodiment, Fig.11 An exemplary apparatus 1100 is shown having one or more processors 1102, a control module (chip set) 1104 coupled to at least one of the (one or more) processors 1102, a memory 1106 coupled to the control module 1104, a non-volatile memory (NVM) / storage device 1108 coupled to the control module 1104, one or more input / output devices 1110 coupled to the control module 1104, and a network interface 1112 coupled to the control module 1104.
[0222] The processor 1102 may include one or more single-core or multi-core processors, and the processor 1102 may include any combination of general-purpose processors or special-purpose processors (such as graphics processors, application processors, baseband processors, etc.). In some embodiments, the device 1100 can be used as a terminal device, server (cluster), etc. described in the embodiments of the present application.
[0223] In some embodiments, the apparatus 1100 may include one or more computer-readable media (e.g., memory 1106 or NVM / storage device 1108) having instructions 1114 and one or more processors 1102 combined with the one or more computer-readable media and configured to execute the instructions 1114 to implement a module to perform the actions described in the present disclosure.
[0224] For one embodiment, the control module 1104 may include any suitable interface controller to provide any suitable interface to at least one of the processor(s) 1102 and / or any suitable device or component in communication with the control module 1104 .
[0225] The control module 1104 may include a memory controller module to provide an interface to the memory 1106. The memory controller module may be a hardware module, a software module, and / or a firmware module.
[0226] The memory 1106 may be used, for example, to load and store data and / or instructions 1114 for the device 1100. For one embodiment, the memory 1106 may include any suitable volatile memory, such as a suitable DRAM. In some embodiments, the memory 1106 may include double data rate type four synchronous dynamic random access memory (DDR4 SDRAM).
[0227] For one embodiment, control module 1104 may include one or more input / output controllers to provide an interface to NVM / storage device 1108 and input / output device(s) 1110 .
[0228] For example, NVM / storage 1108 may be used to store data and / or instructions 1114. NVM / storage 1108 may include any suitable non-volatile memory (e.g., flash memory) and / or may include any suitable non-volatile storage device(s) (e.g., one or more hard disk drives (HDDs), one or more compact disk (CD) drives, and / or one or more digital versatile disk (DVD) drives).
[0229] NVM / storage device 1108 may include storage resources that are physically part of the device on which apparatus 1100 is installed, or it may be accessible to the device without being part of the device. For example, NVM / storage device 1108 may be accessed via input / output device(s) 1110 over a network.
[0230] (One or more) input / output devices 1110 may provide an interface for the apparatus 1100 to communicate with any other appropriate device, and the input / output device 1110 may include a communication component, an audio component, a sensor component, etc. The network interface 1112 may provide an interface for the apparatus 1100 to communicate through one or more networks, and the apparatus 1100 may wirelessly communicate with one or more components of a wireless network according to any of one or more wireless network standards and / or protocols, for example, access a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G, 5G, etc., or a combination thereof for wireless communication.
[0231] For one embodiment, at least one of the processor(s) 1102 may be packaged together with the logic of one or more controllers (e.g., a memory controller module) of the control module 1104. For one embodiment, at least one of the processor(s) 1102 may be packaged together with the logic of one or more controllers of the control module 1104 to form a system-in-package (SiP). For one embodiment, at least one of the processor(s) 1102 may be integrated on the same die with the logic of one or more controllers of the control module 1104. For one embodiment, at least one of the processor(s) 1102 may be integrated on the same die with the logic of one or more controllers of the control module 1104 to form a system-on-chip (SoC).
[0232] In various embodiments, the device 1100 may be, but is not limited to, a terminal device such as a server, a desktop computing device, or a mobile computing device (e.g., a laptop computing device, a handheld computing device, a tablet computer, a netbook, etc.). In various embodiments, the device 1100 may have more or fewer components and / or a different architecture. For example, in some embodiments, the device 1100 includes one or more cameras, a keyboard, a liquid crystal display (LCD) screen (including a touch screen display), a non-volatile memory port, multiple antennas, a graphics chip, an application-specific integrated circuit (ASIC), and a speaker.
[0233] Among them, the main control chip can be used as a processor or control module in the detection device, sensor data, location information, etc. are stored in a memory or NVM / storage device, the sensor group can be used as an input / output device, and the communication interface may include a network interface.
[0234] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0235] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0236] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0237] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0238] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0239] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present application.
[0240] Finally, it should 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 terminal 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 terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.
[0241] The above is a detailed introduction to a navigation method and device, a display interface rendering method and device, an electronic device and a storage medium, and a computer program product provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A navigation method, in, The method comprises: Based on the positioning position of the navigation device, determining whether it is necessary to display a target image of a target object in the navigation interface, the target object being within a preset distance range from the navigated object and being located ahead of the navigated object in the driving direction; If yes, rendering the target image of the target object off-screen by the first rendering module, and after the off-screen rendering is completed, performing synchronous display confirmation with the second rendering module; When it is confirmed that the target image is to be displayed on the navigation interface, the target image and preset navigation information are simultaneously rendered and displayed in different areas in the navigation interface displayed on the screen of the navigation device through the first rendering module and the second rendering module which are independent of each other, wherein the first rendering module is used to render the target image and the second rendering module is used to render the preset navigation information.
2. The navigation method according to claim 1, in, The navigation interface includes an interactive control corresponding to the target object.
3. The navigation method according to claim 1, in, After the off-screen rendering is completed, performing synchronous display confirmation with the second rendering module includes: Obtaining the process priority corresponding to the operation performed on the navigation interface; If the process priority is lower than a preset priority corresponding to displaying the target image, it is confirmed that the target image can be displayed on the navigation interface.
4. The navigation method according to claim 1, in, After the target image and the preset navigation information are simultaneously rendered in different regions in the navigation interface displayed on the screen of the navigation device, the method includes: If the navigation device passes the location of the target object, the target image is hidden.
5. The navigation method according to claim 4, in, If the navigation device passes the position of the target object, hiding the target image comprises: If the navigation device passes the position of the target object and the navigation device does not receive any interactive operation for the target image, the target image is hidden.
6. The navigation method according to claim 1, in, The target object includes at least one of an image of a road intersection, an image of a first position point where the number of lanes changes, an image of a second position point with a preset driving prompt, and an image of a third position point of a target information point.
7. A navigation device, in, The device comprises: A first judgment module is used to judge whether it is necessary to display a target image of a target object in the navigation interface based on the positioning position of the navigation device, the target object is within a preset distance range from the navigated object, and is located in front of the driving direction of the navigated object; A first rendering module is used for rendering the target image of the target object off-screen by the first rendering module if it is necessary to display the target image of the target object in the navigation interface, and performing synchronous display confirmation with the second rendering module after the off-screen rendering is completed; A first display module is used for simultaneously rendering and displaying the target image and preset navigation information in different areas in the navigation interface displayed on the screen of the navigation device through the first rendering module and the second rendering module which are independent of each other when it is confirmed that the target image is displayed in the navigation interface, wherein the first rendering module is used for rendering the target image and the second rendering module is used for rendering the preset navigation information.
8. An electronic device, in, include: processor; and A memory having executable codes stored thereon, which, when executed, cause the processor to perform the method as claimed in one or more of claims 1 to 7.
9. One or more machine-readable storage media having executable code stored thereon, in, When the executable code is executed, the processor is caused to perform the method as claimed in one or more of claims 1 to 7.
10. A computer program product comprising a computer program or instructions, in, When the computer program or instructions are executed, the method according to one or more of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Online rendering method and offline rendering method and relevant device based on cloud application
CN103299347A
On-vehicle navigation system
JP2003294474A