Navigation information display method and apparatus, electronic device, computer-readable storage medium, and computer program product
By differentially displaying the map object styles around the navigation object in the navigation map interface, the problem of complex map object details affecting navigation is solved, and a concise navigation interface and efficient information display are achieved.
Patent Information
- Application Number
- PCT/CN2025/082961
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-04-08
- Filing Date
- 2025-03-17
- Publication Date
- 2025-10-16
AI Technical Summary
The display details of map objects in existing navigation maps are complex, which affects the navigation route information, causes low user recognition and poor navigation effect.
In the navigation map interface, navigation objects and map objects of the first style are displayed, and within the target area, the target map object is switched from the first style to the second style with less information. By controlling the display styles of the map objects to be differentiated, the amount of information is reduced.
The navigation map interface has been simplified, information interference has been reduced, the user's ability to identify effective information has been improved, the navigation effect has been enhanced and display resources have been saved.
Smart Images

Figure CN2025082961_16102025_PF_FP_ABST
Abstract
Description
Navigation information display method and device, electronic device, computer readable storage medium, and computer program product
[0001] Cross-reference to Related Applications
[0002] The present application is based on and claims priority to Chinese Patent Application No. 2024104179739, filed on April 8, 2024, the entire contents of which are incorporated herein by reference. TECHNICAL FIELD
[0003] The present application relates to the technical field of Internet, and in particular to a navigation information display method and device, electronic device, computer readable storage medium, and computer program product. BACKGROUND
[0004] With the rapid development of computer technology and communication technology, route navigation has been widely used in people's daily travel. Generally speaking, route navigation mainly refers to calculating a navigation route according to a user-set starting point and ending point, and guiding the user to travel to the ending point according to the navigation route.
[0005] In related technologies, map objects (such as buildings, trees, etc.) around the navigation route need to be displayed in the navigation map interface. In order to make the display of map objects more realistic, the details of the map objects are often displayed in a complex manner, which greatly affects the information of roads and intersections in the navigation route, and the user's recognition of effective navigation information is low, and the navigation effect is not good. SUMMARY
[0006] The present application provides a navigation information display method and device, electronic device, computer readable storage medium, and computer program product, which can improve the display effect of navigation information and the navigation effect.
[0007] The technical solutions of the present application embodiment are as follows:
[0008] The present application provides a navigation information display method, comprising:
[0009] In the navigation map interface, display a navigation object and at least one map object in a first style;
[0010] In response to a target map object being in a target region set around the navigation object, display a process in which the target map object changes from the first style to a second style;
[0011] The at least one map object includes the target map object, and the information amount of the target map object in the second style is less than the information amount of the target map object in the first style.
[0012] The embodiment of the present application further provides a display device of navigation information, comprising:
[0013] The display module is configured to display the navigation object and at least one map object in a first style in the navigation map interface.
[0014] The switching module is configured to display a process in which the target map object changes from the first style to a second style in response to the target map object being in a target region set around the navigation object.
[0015] The at least one map object comprises the target map object, and the information amount of the target map object in the second style is less than that of the target map object in the first style.
[0016] The embodiment of the present application further provides an electronic device, comprising:
[0017] The memory is configured to store computer executable instructions.
[0018] The processor is configured to execute the computer executable instructions stored in the memory, and implement the display method of navigation information provided by the embodiment of the present application.
[0019] The embodiment of the present application further provides a computer readable storage medium, which stores computer executable instructions, and the computer executable instructions are executed by a processor to implement the display method of navigation information provided by the embodiment of the present application.
[0020] The embodiment of the present application further provides a computer program product, which comprises computer executable instructions, and the computer executable instructions are executed by a processor to implement the display method of navigation information provided by the embodiment of the present application.
[0021] The embodiment of the present application has the following beneficial effects:
[0022] According to the above-mentioned embodiment of the present application, the navigation object and at least one map object in a first style are displayed in a navigation map interface, and when a target map object is in a target region set around the navigation object, a process in which the target map object changes from the first style to a second style is displayed, and the information amount of the target map object in the second style is less than that of the target map object in the first style.
[0023] Here, when the target map object is in the target region set around the navigation object, that is, the target map object is close to the navigation object, the first style of the target map object is switched to the second style of the target map object; in this way, the amount of information of the target map object displayed in the navigation map interface is reduced, the interference of the information of the target map object to the navigation map interface is reduced, the navigation map interface is more concise, the user can quickly identify effective information from the navigation map interface, the display effect of the navigation information and the navigation effect are improved; and the display resource occupation is also reduced, and the utilization rate of the display resource is improved. BRIEF DESCRIPTION OF DRAWINGS
[0024] FIG. 1 is an architecture schematic diagram of a navigation information display system provided by an embodiment of the present application;
[0025] FIG. 2 is a structure schematic diagram of an electronic device provided by an embodiment of the present application;
[0026] FIG. 3 is a first flow schematic diagram of a navigation information display method provided by an embodiment of the present application;
[0027] FIG. 4 is a first schematic diagram of a navigation map interface provided by an embodiment of the present application;
[0028] FIG. 5 is a second schematic diagram of a navigation map interface provided by an embodiment of the present application;
[0029] FIG. 6 is a third schematic diagram of a navigation map interface provided by an embodiment of the present application;
[0030] FIG. 7 is a change schematic diagram of a map object model of a target map object provided by an embodiment of the present application;
[0031] FIG. 8 is a cross-sectional schematic diagram of a navigation map interface provided by an embodiment of the present application;
[0032] FIG. 9 is a fourth schematic diagram of a navigation map interface provided by an embodiment of the present application
[0033] FIG. 10 is a second flow schematic diagram of a navigation information display method provided by an embodiment of the present application;
[0034] FIG. 11 is a third flow schematic diagram of a navigation information display method provided by an embodiment of the present application;
[0035] FIG. 12A is a first structure schematic diagram of a map object provided by an embodiment of the present application;
[0036] FIG. 12B is a second structure schematic diagram of a map object provided by an embodiment of the present application.
[0037] It should be noted that the above-mentioned "first", "second" are only used to distinguish different schemes, and do not represent the degree of superiority or priority in the implementation process. DETAILED DESCRIPTION
[0038] In order to make the purposes, technical solutions and advantages of the present application clearer, the following further describes the present application in conjunction with the accompanying drawings, and the described embodiments should not be regarded as limiting the present application. All other embodiments obtained by those of ordinary skill in the art without creative work fall within the scope of protection of the present application.
[0039] In the following description, "some embodiments" are referred to, which describe a subset of all possible embodiments, but it can be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments, and can be combined with each other without conflict.
[0040] In the following description, the terms "first\second\third" are only to distinguish similar objects, and do not represent a specific order of the objects. It can be understood that "first\second\third" can be interchanged in a specific order or sequence as allowed, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0041] In the embodiments of the present application, the term "module" or "unit" refers to a computer program or a part of a computer program with a predetermined function, and works together with other related parts to achieve a predetermined target, and can be implemented entirely or partially by using software, hardware (such as a processing circuit or a memory) or a combination thereof. Similarly, one processor (or multiple processors or memories) can be used to implement one or more modules or units. In addition, each module or unit can be a part of an integral module or unit that includes the functions of the module or unit.
[0042] Unless otherwise defined, all technical and scientific terms used in the embodiments of the present application have the same meanings as commonly understood by those skilled in the art. The terms used in the embodiments of the present application are only for the purpose of describing the embodiments of the present application and are not intended to limit the present application.
[0043] The relevant data collection process in the embodiments of the present application should strictly comply with the requirements of relevant laws and regulations, obtain the informed consent or separate consent of the personal information subject, and carry out subsequent data use and processing behavior within the scope of authorization of laws and regulations and the personal information subject.
[0044] Before the embodiments of the present application are further described in detail, the terms and terms involved in the embodiments of the present application are explained, and the terms and terms involved in the embodiments of the present application are applicable to the following explanations.
[0045] 1) Client: an application program running in an electronic device for providing various services, such as a client supporting navigation.
[0046] 2) In response to: a condition or state that the performed operation depends on, when the dependent condition or state is met, the performed one or more operations can be real-time or have a set delay; in the absence of special instructions, there is no restriction on the execution order of the performed multiple operations.
[0047] The embodiment of the present application provides a display method and device of navigation information, an electronic device, a computer readable storage medium and a computer program product, which can improve the display effect and navigation effect of navigation information. Next, based on the above description of the terms and terms involved in the embodiment of the present application, the embodiment of the present application is described in detail.
[0048] The display system of navigation information provided by the embodiment of the present application is described below. Referring to FIG. 1, FIG. 1 is an architecture schematic diagram of the display system of navigation information provided by the embodiment of the present application. In order to realize a supporting example application, the display system of navigation information 100 includes a server 200, a network 300, and a terminal 400. Among them, the terminal 400 connects the server 200 through the network 300, and the network 300 can be a wide area network or a local area network, or a combination of the two, and uses wireless or wired links to realize data transmission.
[0049] Here, the terminal 400 (for example, running a client supporting navigation) sends a navigation data acquisition request for a navigation object to the server 200 in response to a navigation instruction for the navigation object; the server 200 receives the navigation data acquisition request for the navigation object; in response to the navigation data acquisition request, returns the navigation data to the terminal 400; the terminal 400 receives the navigation data returned by the server 200; renders and displays a navigation map interface based on the navigation data; in the navigation map interface, display the navigation object and at least one map object of the first style; in response to the target map object being in a target region set around the navigation object, display the process of changing the target map object from the first style to the second style; wherein the at least one map object includes the target map object, and the information amount of the target map object in the second style is less than that of the target map object in the first style.
[0050] In some embodiments, the display method of navigation information provided by the embodiment of the present application is implemented by an electronic device, for example, it can be implemented by a terminal alone, or it can be implemented by a server alone, or it can be implemented by a terminal and a server cooperatively. The embodiment of the present application can be applied to various scenes, including but not limited to cloud technology, artificial intelligence (AI), intelligent transportation, assisted driving, unmanned driving, automatic driving, etc.
[0051] In some embodiments, the electronic device implementing the display method of navigation information provided by the embodiments of the present application can be various types of terminals or servers. Among them, the server (for example, the server 200) can be a standalone physical server, or a server cluster or a distributed system composed of multiple physical servers. The terminal (for example, the terminal 400) can be a notebook computer, a tablet computer, a desktop computer, a smart phone, a smart voice interaction device (for example, a smart speaker), a smart home appliance (for example, a smart television), a smart watch, a vehicle-mounted terminal, a wearable device, a virtual reality (VR) device, a flying device, etc., but is not limited thereto. The terminal and the server can be connected directly or indirectly through wired or wireless communication, and the embodiments of the present application do not limit this.
[0052] In some embodiments, the display method of navigation information provided by the embodiments of the present application can be implemented by means of cloud technology. Cloud technology refers to a series of resources such as hardware, software, network, etc. unified in a wide area network or local area network, to realize the calculation, storage, processing and sharing of data. Cloud technology is a general term for network technology, information technology, integration technology, management platform technology, and application technology based on cloud computing business model applications, which can form a resource pool, use on demand, and is flexible and convenient. Cloud computing technology will become an important support. The background service of the technical network system needs a large amount of computing resources and storage resources. As an example, the server (for example, the server 200) can also be a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms, etc. basic cloud computing services.
[0053] In some embodiments, the method for displaying navigation information provided by the embodiments of the present application can be implemented by means of artificial intelligence technology. Artificial intelligence is a comprehensive technology of computer science, which enables machines to have the functions of perception, reasoning and decision-making by studying the design principles and implementation methods of various intelligent machines. Artificial intelligence basic technologies generally include, for example, sensors, special artificial intelligence chips, cloud computing, distributed storage, big data processing technology, pre-trained model technology, operation / interaction system, mechatronics, etc. Among them, the pre-trained model is also called large model or basic model, which can be widely applied to downstream tasks in various directions of artificial intelligence after fine-tuning. Artificial intelligence software technology mainly includes computer vision technology, speech processing technology, natural language processing technology, and machine learning / deep learning, etc. As an example, the navigation route displayed in the navigation map interface provided by the embodiments of the present application can be obtained based on artificial intelligence technology. In actual application, there can be multiple navigation routes from the starting position to the end position of the navigation object, at this time, the target navigation route meeting the conditions (such as the shortest time, the least time consumption, etc.) can be selected from the multiple navigation routes based on the pre-trained machine learning model to provide to the user.
[0054] In some embodiments, the terminal or server can implement the method for displaying navigation information provided by the embodiments of the present application by running various computer executable instructions or computer programs. For example, the computer executable instructions can be microprogram level commands, machine instructions or software instructions. The computer program can be a native program or a software module in the operating system; can be a native application program (Application, APP), that is, a program that needs to be installed in the operating system to run, such as a navigation APP; or can be a small program that can be embedded into any APP, that is, a program that only needs to be downloaded into a browser environment to run. In summary, the above-mentioned computer executable instructions can be any form of instructions, and the above-mentioned computer programs can be any form of application programs, modules or plug-ins.
[0055] The electronic device for implementing the method for displaying navigation information provided by the embodiments of the present application is described below. Referring to FIG. 2, FIG. 2 is a structural schematic diagram of an electronic device provided by the embodiments of the present application. The electronic device 500 provided by the embodiments of the present application can be a terminal or a server. As shown in FIG. 2, the electronic device 500 includes at least one processor 510, a memory 550, at least one network interface 520 and a user interface 530. The various components in the electronic device 500 are coupled together through a bus system 540. It can be understood that the bus system 540 is used to realize the connection communication between the components. In addition to including a data bus, the bus system 540 also includes a power bus, a control bus and a status signal bus. However, in order to clearly illustrate, various buses are marked as the bus system 540 in FIG. 2.
[0056] The processor 510 can be an integrated circuit chip that has a processing capability of signals, such as a general purpose processor, a digital signal processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, etc., wherein the general purpose processor can be a microprocessor or any conventional processor.
[0057] The user interface 530 includes one or more output devices 531 that enable presentation of media content, including one or more speakers and / or one or more visual display screens. The user interface 530 also includes one or more input devices 532 that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.
[0058] The memory 550 can be removable, non-removable, or a combination thereof. The memory 550 can include one or more storage devices physically located in proximity to the processor 510. The memory 550 includes volatile memory or non-volatile memory, and can include both volatile and non-volatile memory. Non-volatile memory can be read only memory (ROM), and volatile memory can be random access memory (RAM). The memory 550 described in embodiments of the present application is intended to include any suitable type of memory.
[0059] In some embodiments, the memory 550 is capable of storing data to support various operations, examples of which include programs, modules, and data structures or a subset or superset thereof, which are exemplarily illustrated below.
[0060] The operating system 551 includes system programs for processing various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks;
[0061] The network communication module 552 is used to communicate with other electronic devices via one or more (wired or wireless) network interfaces 520, and exemplary network interfaces 520 include Bluetooth, wireless compatibility authentication (WiFi), universal serial bus (USB), etc.
[0062] The presentation module 553 is used to enable presentation of information via one or more output devices 531 associated with the user interface 530 (e.g., display screen, speaker, etc.), such as a user interface for operating peripheral devices and displaying content and information;
[0063] The input processing module 554 is configured to detect one or more user inputs or interactions from one or more input devices 532 and translate the detected inputs or interactions.
[0064] In some embodiments, the display apparatus of navigation information provided by the embodiments of the present application can be implemented in a software manner. FIG. 2 shows a display apparatus 555 of navigation information stored in the memory 550, which can be software in the form of programs and plug-ins, and includes the following software modules: a display module 5551 and a switching module 5552. These modules are logical, and thus can be combined or further split according to the implemented functions. The functions of the modules will be described below.
[0065] The display method of navigation information provided by the embodiments of the present application will be described below. As described above, the display method of navigation information provided by the embodiments of the present application is implemented by an electronic device, for example, can be implemented by a server or a terminal alone, or by a server and a terminal cooperatively. Therefore, the execution subject of each step will not be repeated below. Referring to FIG. 3, which is a flowchart of the display method of navigation information provided by the embodiments of the present application, the display method of navigation information provided by the embodiments of the present application includes:
[0066] In step 101, at least one map object in a first style is displayed in the navigation map interface together with the navigation object.
[0067] In step 101, the navigation map interface is used to navigate the navigation object, and the navigation map interface can display a navigation route, a travel time, a prompt for navigation, and the like. The navigation map interface can also output corresponding prompts in the form of text, voice, or vibration, so as to improve the navigation ability in multiple dimensions and achieve effective prompting. In actual applications, the electronic device can be provided with a client supporting navigation, and the navigation map interface can be displayed by running the client. The electronic device can be a terminal such as a smart phone or a tablet, or a vehicle-mounted terminal. In the embodiments of the present application, the navigation object is displayed in the navigation map interface, and the navigation object can be a person or a vehicle that needs to be navigated. At the same time, at least one map object in a first style is also displayed in the navigation map interface. Specifically, an object model (for example, a three-dimensional model) of the map object in the first style can be displayed. The first style can be pre-set, and the map object can be an object corresponding to a ground feature in the real world that needs to be drawn on the navigation map. The map object can be a building such as a house, a bridge, a park, a factory, or an object such as a tree or a greenery, without limitation.
[0068] In some embodiments, the navigation object and the at least one map object in the first style can be displayed in the navigation map interface in the following manner: the navigation road is displayed in the navigation map interface, and the navigation object is displayed in the navigation road; the at least one map object is displayed in the first style on the periphery of the navigation road. Here, the navigation road is displayed in the navigation map interface, based on which the navigation object can be displayed in the navigation road, that is, the navigation object is displayed at the position where the navigation object is located in the navigation road; and the at least one map object is displayed in the first style on the periphery of the navigation road.
[0069] As an example, referring to FIG. 4, which is a first schematic diagram of a navigation map interface provided by an embodiment of the present application. Here, the navigation road is displayed in the navigation interface, and the navigation object, that is, the vehicle, is displayed in the navigation road; the map objects in the first style, including buildings and trees, are displayed on the periphery of the navigation road.
[0070] The embodiments of the present application can improve the navigation clarity, reduce the cognitive load, enhance the driving safety, and improve the interaction efficiency.
[0071] In some embodiments, the navigation object and the at least one map object in the first style can be displayed in the following manner: the navigation object is displayed; the at least one map object is displayed in the first style outside a target region set around the navigation object. Here, the at least one map object in the first style is displayed outside the target region set around the navigation object. The target region can be a circular region with the navigation object as the center and a target length as the radius, or a triangular region, a square region, a rectangular region, or a region in various shapes with the navigation object as the center.
[0072] As an example, continuing to refer to FIG. 4, the target region is a circular region with the navigation object as the center and a target length as the radius, and the at least one map object is displayed in the first style outside the target region.
[0073] According to the embodiments of the present application, the display style of the map object is controlled by the target region, so that the map object far away from the navigation object can still be displayed in the first style, without interfering with the navigation object, and the differentiated display manner can effectively save the rendering resources.
[0074] In some embodiments, the following step can also be performed: displaying, by the second style, at least one other map object within a target region set around the navigation object, the at least one map object not including the other map object, i.e., the other map object is a map object other than the at least one map object. Here, for the target region set around the navigation object, the at least one other map object within the target region is displayed by the second style. The other map object is not included in the at least one map object. As an example, continuing to refer to FIG. 4, the target region is a circular region centered on the navigation object with a target length as a radius, and within the target region, the at least one other map object is displayed by the second style.
[0075] According to the embodiments of the present application, the other map object within the target region is displayed by the second style, which reduces the amount of information of the navigation map interface, reduces the interference of the information of the other map object on the navigation map interface, makes the navigation map interface more concise, facilitates the user to quickly identify effective information from the navigation map interface, and improves the display effect of the navigation information and the navigation effect. In addition, the use of display resources is also reduced, and the utilization rate of the display resources is improved.
[0076] Step 102: in response to the target map object being in a target region set around the navigation object, displaying a process in which the target map object changes from the first style to the second style.
[0077] The at least one map object includes the target map object, and the amount of information of the target map object in the second style is less than the amount of information of the target map object in the first style.
[0078] The navigation object moves according to the navigation route provided by the navigation map interface. In step 102, a target region is determined centered on the navigation object. As an example, the target region can be a circular region centered on the navigation object with a target length as a radius, or a triangular region, a square region, a rectangular region, or various shaped regions. In the process of driving according to the navigation map interface, in response to the target map object being in a target region set around the navigation object, a process in which the target map object changes from the first style to the second style is displayed. Specifically, the process in which the target map object is switched from the first style to the second style is displayed, and the target map object is controlled to remain in the second style when in the target region.
[0079] It should be noted that the information amount of the target map object in the second style is less than that of the target map object in the first style. It can also be understood that the degree of detail (or the amount of detail) of the target map object in the second style is lower than that of the target map object in the first style. In some embodiments, the displayed target map objects can all be target map object models (for example, three-dimensional models) of the target map objects, that is, the degree of detail (that is, the amount of information) of the target map object (or the real object corresponding to the target map object in the real world) displayed by the target map object model in the second style is lower than that of the target map object (or the real object corresponding to the target map object in the real world) displayed by the target map object model in the first style.
[0080] In this way, when the target map object is in the target area set around the navigation object, that is, the target map object is close to the navigation object, the information amount of the target map object displayed in the navigation map interface is reduced by switching the target map object in the first style to the target map object in the second style, the interference of the target map object to the navigation map interface is reduced, the navigation map interface is more concise, the user can view the navigation situation near the user from the navigation map interface, and the navigation effect is improved. In addition, the display resource occupation is reduced, and the utilization rate of the display resource is improved.
[0081] As an example, referring to FIG. 5, FIG. 5 is a second schematic view of the navigation map interface provided by an embodiment of the present application. Here, in the navigation map interface, the target map object in the first style is displayed, as shown in (1) of FIG. 5; in response to the target map object being in the target area set around the navigation object, the process of changing the target map object from the first style to the second style is displayed, as shown in (2) of FIG. 5. It should be noted that the target map object model of the target map object shown in (1) of FIG. 5 includes window lines, lighting effects, and the height of the target map object model is more matched with the real object corresponding to the target map object; the target map object model of the target map object shown in (2) of FIG. 5 is only a simple cube model, does not include window lines and lighting effects, and the height of the target map object model is lower than that of the target map object model shown in (1) of FIG. 5. As can be seen, the information amount (degree of detail) of the target map object in the second style is less than that of the target map object in the first style.
[0082] In some embodiments, the navigation object is in a first lane of a first road in the navigation map interface, the number of target map objects is a plurality, and the plurality of target map objects are on both sides of the first road; the process of changing the display of the target map objects from the first style to the second style in step 102 can be implemented by the following technical solution: for the target map object closest to the first lane among the plurality of target map objects, the process of changing the closest target map object from the first style to the second style is displayed, specifically, a first map object is determined among the plurality of target map objects, the first map object is closer to the first lane than a second map object, and the second map object is a map object different from the first map object among the target map objects; the first map object displayed in the first style is switched to the first map object displayed in the second style.
[0083] Here, the navigation object is in a first lane of a first road in the navigation map interface, and the plurality of target map objects are on both sides of the first road. As an example, refer to FIG. 6, which is a third schematic diagram of a navigation map interface provided by an embodiment of the present application. Here, as shown in (1) of FIG. 6, the navigation object is in a first lane of a first road in the navigation map interface, and the plurality of target map objects in the target area are distributed on both sides of the first road. Based on this, when switching the display style of the target map objects, a first map object can be determined from the plurality of target map objects, where the first map object is closer to the first lane than a second map object, and the second map object is a map object different from the first map object among the target map objects. In this way, the first map object displayed in the first style can be switched to the first map object displayed in the second style. In this way, the processing of the display style switching of the target map objects reduces the occupation of device resources, improves the speed of the display style switching of the target map objects, and thus improves the utilization of device resources. Continuing, as shown in (2)-(3) of FIG. 6, the first map object is a target map object distributed on the side close to the first lane, the height of the first map object is compressed, and the texture of the first map object is compressed along with the compression of the height of the first map object, and the texture gradually disappears, obtaining the first map object in the second style, so that only the first map object is displayed in the second style, and the second map object is still displayed in the first style without changing.
[0084] In some embodiments, the number of target map objects is multiple; based on this, the process of displaying the change of the target map objects from the first style to the second style in step 102 can be implemented by the following technical solution: for each target map object, when the information amount of the target map object in the first style reaches the information amount threshold of the target map object, the process of displaying the change of the target map object from the first style to the second style is displayed. Specifically, for each target map object, when the information amount of the target map object in the first style reaches the information amount threshold of the target map object, the target map object is determined as a third map object; the third map object in the first style is switched to display the third map object in the second style.
[0085] Here, the target map object in the first style displayed in the navigation map interface may not be high in detail, and therefore, the following processing can be performed for each target map object: determining whether the information amount of the target map object in the first style reaches the information amount threshold of the target map object, which is set for the target map object. The information amount thresholds of different target map objects can be the same or different. When it is determined that the information amount of the target map object in the first style reaches the information amount threshold of the target map object, the target map object is determined as a third map object. Further, only the third map object in the first style is switched to display the third map object in the second style. In this way, the processing of switching the display style of the target map object occupies less device resources, improves the speed of switching the display style of the target map object, and thus improves the utilization of device resources.
[0086] In some embodiments, the number of target map objects is multiple; based on this, the process of displaying the change of the target map objects from the first style to the second style in step 102 can be implemented by the following technical solution: for each target map object, when the target map object is in a target position, the process of displaying the change of the target map object from the first style to the second style is displayed. Specifically, a fourth map object in a target position is determined from multiple target map objects; the fourth map object in the first style is switched to display the fourth map object in the second style.
[0087] Here, a fourth map object in the target position among the plurality of target map objects can also be determined; the target position can be preset, and the target position can be a position at an intersection, a turning intersection, a crossroad intersection, a fork intersection, a complex road section, etc. The determination of the target position can be based on a machine learning model prediction, for example, the machine learning model can be trained based on road structure information (for example, intersections, turning intersections, crossroad intersections, fork intersections, complex road sections, etc. contained in the road), user driving conditions in the road (for example, intersections, roads, etc. that the user often walks wrong), etc. information, so as to predict the target position based on the trained machine learning model based on the existing road structure, user driving conditions in the road, etc. information, to obtain the target position. Continue to switch only the fourth map object displayed in the first style to the fourth map object displayed in the second style. In this way, the display style switching process of the target map object reduces the occupation of device resources, improves the speed of display style switching of the target map object, and thus also improves the utilization rate of device resources.
[0088] In some embodiments, the target map object in the first style is a target map object in a first height, the target map object in the second style is a target map object in a second height, and the process of displaying the target map object changing from the first style to the second style in step 102 can be implemented by the following technical solutions: displaying the process of the target map object changing from the first height to the second height; wherein the second height is lower than the first height.
[0089] As an example, the target map object displayed in the first height is switched to the target map object displayed in the second height, so as to switch the target map object displayed in the first style to the target map object displayed in the second style.
[0090] Here, the process of displaying the target map object changing from the first style to the second style is realized by switching the target map object displayed in the first height to the target map object displayed in the second height. The second height is lower than the first height.
[0091] By adjusting the height of the target map object from the first height to the second height, the visual obstruction of the target map object to the navigation process can be avoided, so that the driver will not be affected by irrelevant target map objects when viewing the navigation interface and following the navigation object to view the navigation route, which can save resource consumption and adapt to user needs.
[0092] In some embodiments, when switching the target map object of the first height to the target map object of the second height, it can be determined whether the first height is higher than a height threshold value, and when the first height is higher than the height threshold value, the target map object of the first height is switched to display the target map object of the second height; if the first height is not higher than the height threshold value, the first height of the target map object is kept unchanged, and the process of changing the target map object from the first style to the second style is displayed from other layers (such as a texture layer) different from the height layer.
[0093] According to the embodiments of the present application, the display strategy is dynamically adjusted based on the idea of hierarchical control optimization according to the height threshold value, so that unnecessary calculation can be avoided and the rendering efficiency is improved. Then, multi-dimensional perception enhancement is realized, the map object that will affect the user is displayed from multiple dimensions through dual adjustment of the height and other layers, the user is prevented from being disturbed in the navigation process, and the navigation needs of the user can be met.
[0094] In some embodiments, the target map object of the first height can be switched to the target map object of the second height by the following method: the map object model of the target map object is changed from the first height to the second height according to a height change parameter.
[0095] Here, when the target map object of the first height is switched to the target map object of the second height, the process of changing the map object model of the target map object from the first height to the second height according to a height change parameter, i.e. the process of compressing the first height to the second height, can be displayed. The height change parameter can be pre-set, for example, the height change parameter can be a height change speed, such as a target percentage or a target height of the first height compressed per second; the height change parameter can be height change indication information, such as a target percentage or a target height of the first height compressed per first distance of the navigation object; and the like.
[0096] According to the embodiments of the present application, the process of changing the map object model of the target map object from the first height to the second height according to the height change parameter is actually adaptive rendering, and the image processor load can be reduced by gradually compressing the map object model.
[0097] In some embodiments, during the process of changing from the first height to the second height, the following step can also be performed: based on the change of the height of the map object model, the change of the model texture of the map object model is physically simulated, and the process of the physically simulated model texture change is displayed.
[0098] Here, in the process that the target map object changes from the first height to the second height, the change of the model texture of the map object model can also be physically simulated according to the change of the height of the map object model, and the change process of the physically simulated model texture is displayed. In actual application, the change of the model texture (such as a height map texture and a normal map texture) of the map object model can be physically simulated based on a physically based texture deformation (PBTD) algorithm. For example, physically based texture deformation is a technique used in three-dimensional modeling and rendering that simulates the change of a texture on the surface of a map object model due to physical deformation. It uses physical laws to drive the transformation of the texture according to the change of the height of the map object model, so that the adaptive change of the texture on the surface of the map object model looks more natural and realistic. For example, implementing physically based texture deformation usually involves the following key steps: 1. Establish a texture coordinate system: First, a texture coordinate system needs to be established on the three-dimensional model (i.e., the map object model), which can map the model surface to a two-dimensional texture space. Texture coordinates are usually associated with the vertices of the model. 2. Define physical parameters: In order to make the texture change comply with physical laws, some physical parameters that affect texture deformation need to be defined, such as elasticity, viscosity, surface tension, etc. These parameters will determine the response of the texture when subjected to external forces. 3. Simulate texture deformation: The change of the texture due to the deformation of the model is simulated by numerical methods (such as finite element analysis). This usually involves solving partial differential equations (PDEs) such as elastic equations or viscoelastic equations. 4. Apply boundary conditions: In the simulation process, appropriate boundary conditions need to be applied to ensure the reasonableness of the texture deformation. For example, for a building, factors such as windows, lights, etc. may need to be considered. 5. Optimization and iteration: Through an iterative optimization process, the realism of the texture deformation is improved. This may include adjusting physical parameters, optimizing numerical simulation algorithms, etc. 6. Integration into the rendering pipeline: Finally, the deformed texture is integrated into the rendering pipeline to ensure that the deformation of the texture still looks natural under different lighting and viewing conditions.
[0099] In some embodiments, in the process of changing from the first height to the second height, the following steps can also be performed: based on the change of the height of the map object model, the model transparency of the map object model is controlled to change, and the change process of the model transparency is displayed.
[0100] Here, in the process that the target map object changes from the first height to the second height, the model transparency of the map object model can also be changed based on the change of the height of the map object model, and the change process of the model transparency is displayed. The change of the model transparency can be realized based on a preset transparency change parameter, for example, the transparency change parameter can be a transparency change speed, and the transparency change parameter can also be a mapping relationship between the height and the transparency, that is, when the height changes, the transparency is calculated according to the changed height, so as to change the transparency.
[0101] As an example, referring to FIG. 7, which is a variation diagram of a map object model of a target map object provided by an embodiment of the present application. Here, from (1) in FIG. 7 to (4) in FIG. 7, the map object model is compressed from the first height to the second height, specifically, the first height-the first intermediate height-the second intermediate height-the second height, and the change of the model texture of the map object model is also physically simulated according to the change of the height of the map object model, and the model texture of the map object model also changes. As can be seen from (1) in FIG. 7 to (4) in FIG. 7, the height map texture of the map object model changes, the normal map texture changes, and the sash line and the lighting effect of the map object model gradually disappear. That is, in the process of being compressed from the first height to the second height, the texture of the map object model (including the normal map texture, the height map texture, the texture of the sash line and the lighting effect) is also compressed along with the compression of the height of the map object model, and gradually disappears.
[0102] The change process provided by the embodiment of the present application can reduce visual interference, and dynamically adjusting the transparency can reduce the rendering load, and the change of the transparency can avoid affecting the attention of the user, which helps to guide the user to focus on important information, or reduce the interference of secondary information, and improves the human-computer interaction efficiency.
[0103] In some embodiments, the process of changing the target map object from the first style to the second style can be displayed by switching the target map object from displaying the first style to displaying the second style, or by displaying a style switching process of the target map object from the first style to the second style via at least one intermediate style, wherein the information amount of the target map object in the intermediate style is less than that of the target map object in the first style, and the information amount of the target map object in the intermediate style is greater than that of the target map object in the second style, and wherein the information amount of the target map object in the intermediate style is positively correlated with the distance between the target map object in the intermediate style and the navigation object, and specifically, when the number of intermediate styles is multiple, the information amount of the target map object in the target intermediate style during the style switching process is greater than that of the target map object in the next intermediate style.
[0104] Here, in the process of changing the target map object from the first style to the second style, at least one intermediate style is passed through, and it should be noted that the information amount of the target map object in the intermediate style is less than that of the target map object in the first style, and the information amount of the target map object in the intermediate style is greater than that of the target map object in the second style. When the number of intermediate styles is multiple, the information amount of the target map object in the target intermediate style during the style switching process is greater than that of the target map object in the next intermediate style, i.e., the information amount of the multiple intermediate styles is sequentially decreasing. As an example, continuing to refer to FIG. 7, in which the target map object is changed from the first style to the second style via the first intermediate style and the second intermediate style, the first intermediate style has a lower level of detail than the first style, the second intermediate style has a lower level of detail than the first intermediate style, and the second style has a lower level of detail than the second intermediate style. In this way, the style switching effect of the target map object can be improved, and a transition process exists during the switching process, so that the display effect of the navigation map interface is higher, and the effect of using the navigation by the user is improved.
[0105] In some embodiments, in response to the target map object being in the target region set around the navigation object, the process of changing the target map object from the first style to the second style can be displayed by: in response to the target map object being in the target region set around the navigation object, determining the projection size of the target map object in the screen space; determining the target detail level corresponding to the target map object based on the projection size; and displaying the process of changing the target map object from the first style to the second style corresponding to the target detail level, for example, switching the target map object from displaying the first style to displaying the target map object in the second style corresponding to the target detail level.
[0106] Here, when the display style of the target map object is switched, first, the projection size of the target map object in the screen space is determined, which actually refers to the number of pixels of the pixels occupied by the target map object on the screen; then, based on the projection size, the target detail level corresponding to the target map object is determined. Here, the detail level refers to the detail level of the map object model of the map object, and the higher the detail level, the more details the map object model has. The detail level is pre-set and divided, such as detail level 1, detail level 2, detail level 3, detail level 4, and the like. When the target detail level corresponding to the target map object is determined based on the projection size, the target detail level corresponding to the target map object with the projection size can be determined according to a preset mapping relationship; and the target map object displayed in the first style is switched to the target map object displayed in the second style corresponding to the target detail level.
[0107] For example, the detail level in the embodiment of the present application can be determined based on the Level of Detail (LOD) technology. The LOD technology refers to a technology for dynamically adjusting the details of a model (such as a map object model) according to the distance and angle of the observer in 3D computer graphics design, which can optimize performance, reduce rendering cost, and maintain sufficient visual quality. For example, the LOD technology can include: 1. Creating multiple detail level map object models: designers will create multiple versions for each map object, each version having different levels of detail. These versions can be different resolution textures, simplified geometry, or lower polygon models. 2. Define LOD switching conditions: developers will define when and how to switch between different LOD levels. This usually depends on the distance between the observer and the object, but other factors such as field of view angle, view frustum clipping, etc. can also be considered. 3. Implement the LOD switching algorithm: at runtime, the client supporting navigation can use the preset conditions (for example, the target map object is in which position of the target area) to determine which LOD level model to use. This usually involves calculating the distance between the observer and the object and comparing it with the preset threshold. 4. Optimize performance: LOD technology can significantly improve rendering performance, as it can reduce the number of triangles that need to be rendered each frame, thereby reducing CPU and GPU load. For example, the detail level can be divided into detail level 0, detail level 1, detail level 2, detail level 3, and detail level 4. As the detail level increases, the level of detail also increases.
[0108] As an example, referring to FIG. 8, which is a cross-sectional schematic diagram of a navigation map interface provided by an embodiment of the present application. Here, three levels of detail (including LOD0, LOD1, and LOD2) of map object models are displayed; during the travel of a navigation object (i.e., a vehicle), within a target area of the vehicle, a target map object is displayed in a style of LOD0 level, and after the target area of the vehicle, other map objects different from the target map object are displayed in a style different from the style of LOD0 level.
[0109] According to the embodiments of the present application, the performance can be optimized based on the level of detail, the rendering cost is reduced, and meanwhile, sufficient visual quality is maintained.
[0110] In some embodiments, the following steps can also be performed: displaying a style switching start control; in response to a start instruction for the style switching start control, starting a style switching mode for the map object; and based on this, in response to the target map object being in the target area set around the navigation object, displaying the process of changing the target map object from the first style to the second style by: when the style switching mode is started, in response to the target map object being in the target area set around the navigation object, displaying the process of changing the target map object from the first style to the second style, for example, switching the target map object displayed in the first style to the target map object displayed in the second style.
[0111] Here, a style switching start control can be provided, which is used to start the style switching mode for the map object. When a start instruction for the style switching start control is received, the style switching mode for the map object is started. Based on this, in the case where the style switching mode is started, in response to the target map object being in the target area set around the navigation object, the process of changing the target map object from the first style to the second style is displayed. In this way, the user can be provided with an opportunity to select whether to start the style switching mode according to needs, improving the user's navigation experience and thus improving the efficiency of human-computer interaction.
[0112] In some embodiments, after displaying the process of changing the target map object from the first style to the second style, the following steps can also be performed: displaying a style restoration control; and in response to a triggering operation for the style restoration control, displaying the process of changing the target map object from the second style to the first style, for example, switching the target map object displayed in the second style to the target map object displayed in the first style.
[0113] Here, a style restoring control can also be provided, which is used to switch the target map object displaying the second style to the target map object displaying the first style when a triggering operation for the style restoring control is received. In this way, the user can switch the target map object displaying the second style to the target map object displaying the first style through the style restoring control, such as triggering the triggering operation (including but not limited to clicking, double-clicking, long pressing, etc.) for the style restoring control, after the target map object displays the first style changing to the second style. In this way, more freedom is given to the user, the user's navigation experience is improved, and the human-computer interaction efficiency is improved.
[0114] In some embodiments, after the target map object displays the first style changing to the second style, the following step can also be performed: in response to the target map object being outside the target area set around the navigation object, displaying the target map object displaying the second style changing to the first style, for example, switching the target map object displaying the second style to the target map object displaying the first style.
[0115] Here, since the navigation object is in the process of driving, the target area set around the navigation object also changes with the position of the navigation object. Therefore, as the navigation object drives, the target map object will leave the target area, that is, the target map object is outside the target area set around the navigation object. At this time, in response to the target map object being outside the target area set around the navigation object, the target map object displaying the second style is switched to the target map object displaying the first style.
[0116] Through the embodiments of the present application, during the driving process of the navigation object, as the target map object leaves the target area, since the user's focus is following the navigation object, the target map object will no longer interfere with the user, thereby restoring the first style display of the target map object, which can make the overall display effect of the navigation interface more complete, and the above human-computer interaction process completes a closed loop, providing an optimized human-computer interaction experience for the user.
[0117] In some embodiments, when the target map object displaying the second style is switched to the target map object displaying the first style, the map object model of the target map object changes from the second height to the first height according to the height change parameter; at the same time, based on the change of the height of the map object model, the change of the model texture of the map object model is physically simulated, and the change process of the physically simulated model texture is displayed; and based on the change of the height of the map object model, the model transparency of the map object model is controlled to change, and the change process of the model transparency is displayed.
[0118] In some embodiments, when the target map object displayed in the second style is switched to the target map object displayed in the first style, the target map object displayed is switched from the second style to the first style through a target style switching process with at least one intermediate style; the information amount of the target map object in the intermediate style is less than the information amount of the target map object in the first style, and the information amount of the target map object in the intermediate style is more than the information amount of the target map object in the second style; when the number of intermediate styles is more than one, the information amount of the target map object in the target intermediate style in the target style switching process is less than the information amount of the target map object in the next intermediate style of the target intermediate style, and the intermediate styles include the target intermediate style.
[0119] In some embodiments, before the process of displaying the change of the target map object from the first style to the second style, the number of traffic events occurring in the target map object area in a historical period is obtained, wherein the target map object area is an area with the target map object as the center and a first distance as the radius; the information amount less than the information amount of the first style and negatively correlated with the number of traffic events is determined as the information amount of the second style.
[0120] As an example, step 1: data acquisition and preprocessing, set the target map object as A high-rise building, define a circular area (first distance) with A high-rise building as the center and a radius of 500 meters, call the traffic event database, and extract the traffic accident data (including: 8 rear-end accidents, 15 vehicle breakdowns, and 3 road construction) occurring in the area in the past 30 days; step 2: traffic event number calculation; weighted statistics of historical traffic events: accident type event (rear-end) weight = 1.5, failure type event weight = 1.0, construction type event weight = 0.8, calculate total event value = 8x1.5+15x1.0+3x0.8=29.4; step 3: information amount parameter mapping: establish an information amount calculation model: second style information amount = basic information amount x (1-event coefficient), event coefficient = min (total event value / threshold, 0.7), where the threshold is set to 40 (configurable parameter) Data substitution: event coefficient = 29.4 / 40 = 0.735→0.7, if the basic information amount (first style) is 100 units, then the second style information amount = 100 x (1-0.7) = 30 units.
[0121] Through the embodiments of the present application, different second style information amounts can be set for target map objects in different positions, so that the target map objects in different areas can be displayed in different second styles based on the hindering influence of the target map objects on the user following the navigation object, which can avoid the hindering influence on the user following the navigation object and also can maintain the complete display of the navigation interface as much as possible.
[0122] In one example, the embodiments of the present application can be applied to a vehicle-mounted scenario. For example, during driving, a vehicle displays a navigation map interface provided by the embodiments of the present application through a vehicle-mounted terminal of the vehicle to drive according to navigation. In the navigation map interface, a vehicle and at least one map object (such as a building) in a first style are displayed; in response to a target map object being in a target region centered on the vehicle, a process in which the target map object changes from the first style to a second style is displayed; wherein the at least one map object includes the target map object, and an information amount of the target map object in the second style is less than an information amount of the target map object in the first style. In this way, when the target map object is in the target region centered on the vehicle, that is, when the target map object is close to the vehicle, by switching the target map object from the first style to the second style, the information amount of the target map object displayed in the navigation map interface is reduced, the interference of the target map object to the navigation map interface is reduced, the navigation map interface is more concise, the user can view the navigation situation near the user from the navigation map interface, and the navigation effect is improved; and the display resource occupation is also reduced, and the display resource utilization is improved.
[0123] By applying the above embodiments of the present application, in the navigation map interface, a navigation object and at least one map object in a first style are displayed, when a target map object is in a target region set around the navigation object, a process in which the target map object changes from the first style to a second style is displayed, and an information amount of the target map object in the second style is less than an information amount of the target map object in the first style.
[0124] Here, when the target map object is in the target region set around the navigation object, that is, when the target map object is close to the navigation object, the target map object is switched from the first style to the second style; in this way, the information amount of the target map object displayed in the navigation map interface is reduced, the interference of the information of the target map object to the navigation map interface is reduced, the navigation map interface is more concise, the user can quickly identify effective information from the navigation map interface, the display effect of the navigation information and the navigation effect are improved; and the display resource occupation is also reduced, and the display resource utilization is improved.
[0125] The following describes an exemplary application of the embodiments of the present application in an actual application scenario. In lane-level navigation, a complete-height map object (such as a building) can cause serious occlusion of the current navigation road, and has a greater impact on route recognition and intersection element exposure, affecting the navigation effect. Based on this, the embodiments of the present application provide a display method of navigation information. In the navigation mode, the overall height compression coefficient of the map object is first adjusted to a target value (such as 0.5), and as the vehicle logo in the navigation map interface moves, the map object gradually appears from a distance and maintains a distance until the map object enters the animation area (i.e., the target area), and then the height of the map object is compressed again according to the percentage at the target value until the lowest height, and when the map object is in the target area, the map object is kept at the lowest height. At the same time, during the height compression of the map object, the normal window pane of the map object, the lighting effect of the map object, and other textures are also compressed and gradually disappear along with the compression of the height of the map object. In this way, the display effect and performance consumption of lane-level navigation can be optimized, and in particular, the recognition of 4K roads in lane-level navigation is significantly optimized. At the same time, the lighting effect of the map object in the distance (non-target area) and the atmosphere feeling will not be affected, and the navigation environment will be cleaner and simpler.
[0126] In some embodiments, the embodiments of the present application can be applied to a 3D navigation scene of vehicle driving. As the vehicle logo moves forward, the map object in the near distance is compressed in proportion to reduce the occlusion relationship of the map object in the near distance to the road in the near distance, and the user's field of view is optimized. Referring to FIG. 9, which is an interface used by a user in a 3D navigation map, as shown in (1) of FIG. 9, in the lane-level driving interface, as the vehicle logo moves forward, the height of the map object is gradually compressed, and the normal window pane and the lighting effect gradually disappear. As shown in (2) of FIG. 9, the map object in the distance maintains the height until it enters the compression area, and then starts to be compressed, and the compression animation is completed at a relatively long distance, reducing the interference of the map object to the intersection surface. As shown in (3) of FIG. 9, the map object maintains the compressed height.
[0127] Referring to FIG. 8, the embodiments of the present application need to include the following:
[0128] 1) The compression animation of the map object needs to compress the combined map object as a whole, so the tile id of the map object in the animation range needs to be collected in the SceneManager tool. The combined map object is compressed as a whole according to the ID as a unique identifier.
[0129] 2) The LOD level is calculated, and the animation area is configured according to the LOD level. The overall animation area is circular, the height of the map object entering the animation area is compressed, and the height of the map object exiting the animation area is restored.
[0130] 3) In the height compression process of the map object, Physically Based Texture Deformation (PBTD) processing needs to be implemented on the normal window, light texture, etc. of the map object according to the change of the height, and physical simulation of the height map texture and the normal map texture is performed to realize that the normal window and the light effect follow the gradual compression of the height of the map object in the map object compression process, and the compression animation keeps consistent with the change of the height of the map object.
[0131] 4) In the compression process of the map object, the texture also needs to add a transparent channel, and the transparency needs to be changed while the texture is compressed, the transparency is calculated by the vertex shader and is passed to the fragment shader, and the transparency is calculated by combining the height compression algorithm of the map object to realize the calculation of the transparency following the compression of the height of the map object in each frame.
[0132] 5) The animation rhythm is controlled by the distance of the logo, the map object is rendered when the logo moves, and the rendering calculation is not needed when the logo stops, so that the GPU operation processing can be reduced and the GPU performance can be minimized.
[0133] 6) Referring to FIG. 10, the timing flow of the embodiment of the application includes: 1. setting the compression ratio of the map object; 2. sending a remodeling request; 3. determining whether the map object is drawn according to the multi-level details; 4. if yes, loading the model data of the map object; 5. calculating the multi-level detail level corresponding to the map object; 6. configuring the animation area; 7. updating the animation area according to the camera pitch angle of the navigation map; and 8. rendering the map object.
[0134] 7) Referring to FIG. 11, the animation area radius needs to be configured in advance, the animation area radius and the map object compression ratio are parsed from the configuration information, and the animation area radius is qualified when the fade-in area radius is greater than the animation area radius. Based on this, the flow of the embodiment of the application includes: 1. starting; 2. rendering the tile id of the map object that needs to be displayed; 3. loading the building tile; 4. loading the building object; 5. loading the hierarchical detail object model; 6. loading the map model; 7. whether to do compression animation, if yes, executing 8 and 9; 8. loading the bottom edge line of the map object; 9. loading the bottom edge line of the object model; 10. using the pipeline to model the bottom contour + height; 11. modeling the map object and the edge line; 12. whether to enter the animation area, if yes, executing 13; 13. determining the height of the compressed edge line; 14. determining the height of the compressed map object; 15. rendering the map object model according to the compressed height; and 16. ending.
[0135] 8) Compression analysis of complex map objects: 8.1) Animation of combined map objects requires a whole process, so it is necessary to collect the tile id of map objects in the animation area in the SceneManager tool. The whole animation is performed by id as the unique identifier. 8.2) As shown in FIG. 12A, combined map objects can appear in 1 layer and multiple layers, and the height of the 1 layer map object cannot be further compressed, and the lowest map object will control the bottom height. 8.3) When the combined map object is divided, if the divided part of the map object cannot use the common edge, a self-center point can be set for the part of the map object, as shown in FIG. 12B, so that the part of the map object is compressed based on the self-center point.
[0136] By applying the above embodiments of the present application, the display effect and performance consumption of lane-level navigation are optimized, the occlusion and interference of map objects on the navigation road surface are reduced, and the recognition of 4K roads in lane-level navigation is significantly optimized. At the same time, the lighting effect of map objects in the distance (non-target area) and the atmosphere feeling will not be affected, and the navigation environment will be cleaner and simpler.
[0137] The following continues to illustrate an exemplary structure of the implementation of the display device 555 of navigation information provided by the embodiments of the present application as a software module. In some embodiments, as shown in FIG. 2, the software module in the display device 555 of navigation information stored in the memory 550 can include: a display module 5551 configured to display a navigation object and at least one map object in a first style in a navigation map interface; a switching module 5552 configured to display a process in which a target map object changes from a first style to a second style in response to the target map object being in a target area set around the navigation object; wherein the at least one map object includes the target map object, and the information amount of the target map object in the second style is less than the information amount of the target map object in the first style.
[0138] In some embodiments, the display module 5551 is further configured to display a navigation road in the navigation map interface, and display the navigation object in the navigation road; and display at least one map object in the first style on the side of the navigation road.
[0139] In some embodiments, the display module 5551 is further configured to display the navigation object; and display at least one map object in the first style outside the target area set around the navigation object.
[0140] In some embodiments, the display module 5551 is further configured to display at least one other map object in the second style within a target area set around the navigation object, the other map object being a map object other than the at least one map object.
[0141] In some embodiments, the navigation object is in a first lane of a first road in the navigation map interface, and the number of target map objects is a plurality; the switching module 5552 is further configured to display a process in which a closest target map object to the first lane among the plurality of target map objects changes from the first style to the second style.
[0142] In some embodiments, the target map object in the first style is a target map object in a first height, and the target map object in the second style is a target map object in a second height, and the switching module 5552 is further configured to display a process in which the target map object changes from the first height to the second height; and the second height is lower than the first height.
[0143] In some embodiments, the switching module 5552 is further configured to display a process in which a map object model of the target map object changes from the first height to the second height according to a height change parameter.
[0144] In some embodiments, during the process in which the target map object changes from the first height to the second height, the switching module 5552 is further configured to physically simulate a change in a model texture of the map object model based on the change in the height of the map object model, and display a process of the physically simulated change in the model texture.
[0145] In some embodiments, during the process in which the target map object changes from the first height to the second height, the switching module 5552 is further configured to control a change in a model transparency of the map object model based on the change in the height of the map object model, and display a process of the change in the model transparency.
[0146] In some embodiments, the switching module 5552 is further configured to display a process in which the target map object changes from the first height to a second height when the first height is higher than a height threshold, and the second height is lower than the first height; and when the first height is not higher than the height threshold, keep the first height of the target map object unchanged, and display a process in which the target map object changes from the first style to the second style from other layers different from the height layer.
[0147] In some embodiments, the switching module 5552 is further configured to switch the target map object displayed in the first style to a target map object displayed in a second style, or display a style switching process in which the target map object is switched from the first style to the second style via at least one intermediate style; the target map object in the intermediate style has less information than the target map object in the first style, and has more information than the target map object in the second style; when the number of intermediate styles is more than one, the information of the target map object in the intermediate style is positively correlated with the distance between the target map object in the intermediate style and the navigation object.
[0148] In some embodiments, the number of target map objects is more than one, and the switching module 5552 is further configured to, for each target map object, display a process in which the target map object is switched from the first style to the second style when the information of the target map object in the first style reaches the information threshold of the target map object.
[0149] In some embodiments, the switching module 5552 is further configured to, in response to the target map object being in a target area set around the navigation object, determine the projection size of the target map object in the screen space, determine the target detail level corresponding to the target map object based on the projection size, and display a process in which the target map object is switched from the first style to the second style corresponding to the target detail level.
[0150] In some embodiments, the number of target map objects is more than one, and the switching module 5552 is further configured to, for each target map object, display a process in which the target map object is switched from the first style to the second style when the target map object is in a target position.
[0151] In some embodiments, the display module 5551 is further configured to display a style switching on control, and in response to an on instruction for the style switching on control, turn on a style switching mode for the map object; the switching module 5552 is further configured to, when the style switching mode is turned on, display a process in which a target map object is switched from a first style to a second style in response to the target map object being in a target area set around the navigation object.
[0152] In some embodiments, the display module 5551 is further configured to display a style restoration control after displaying the process in which the target map object is switched from the first style to the second style, and the switching module 5552 is further configured to, in response to a triggering operation for the style restoration control, display a process in which the target map object is switched from the second style to the first style.
[0153] In some embodiments, the switching module 5552 is further configured to, after the displaying the process of changing the target map object from the first style to the second style, display a process of changing the target map object from the second style to the first style in response to the target map object being outside a target area set around the navigation object.
[0154] In some embodiments, before the displaying the process of changing the target map object from the first style to the second style, the switching module 5552 is further configured to: acquire a number of traffic events occurring in a target map object area in a historical time period, wherein the target map object area is an area with the target map object as a center and a first distance as a radius; and determine an amount of information less than the amount of information of the first style and negatively correlated with the number of traffic events as the amount of information of the second style.
[0155] It should be noted that the description of the device embodiments in the present application is similar to the description of the above method embodiments, and has similar beneficial effects as the method embodiments, which will not be repeated here. For the technical details of the display device of navigation information not described in the present application, it can be understood based on the description of the technical details in the above method embodiments.
[0156] The present application also provides a computer program product, which includes computer executable instructions or computer programs stored in a computer readable storage medium. The processor of the electronic device reads the computer executable instructions or computer programs from the computer readable storage medium, and the processor executes the computer executable instructions or computer programs, so that the electronic device executes the display method of navigation information provided by the present application.
[0157] The present application also provides a computer readable storage medium, which stores computer executable instructions or computer programs. When the computer executable instructions or computer programs are executed by the processor, the processor will execute the display method of navigation information provided by the present application.
[0158] In some embodiments, the computer readable storage medium can be RAM, ROM, flash memory, magnetic surface memory, optical disc, CD-ROM, etc. It can also be various devices including one or any combination of the above storage devices.
[0159] In some embodiments, the computer-executable instructions can be in the form of programs, procedures, modules, scripts, or code, and can be written in any programming language, including compiled or interpreted languages, or declarative or procedural languages; and can be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
[0160] By way of example, computer-executable instructions can be, but are not limited to, programs, procedures, modules, scripts, or code, which can be stored in files in a file system, can be stored in a portion of a file that holds other programs or data, can be stored as one or more scripts stored in a markup language such as Hyper Text Markup Language (HTML), can be stored as a single file dedicated to the program in question, or can be stored in multiple files in different formats, including file servers, databases, arrays, or anywhere that can be used to hold instructions and their necessary data.
[0161] By way of example, the computer-executable instructions can be deployed to be executed on one electronic device, or on multiple electronic devices that are located at one site, or that are distributed across multiple sites and that are interconnected by a communication network.
[0162] The above description is only a summary of the application. It is not used to limit the protection range of the application. Any modification, equivalent replacement, and improvement made within the spirit and principle of the application shall fall within the protection range of the application.
Claims
1. A method for displaying navigation information, the method being executed by an electronic device, the method comprising: In the navigation map interface, displaying a navigation object and at least one map object in a first style; In response to the target map object being in a target area set around the navigation object, displaying a process of changing the target map object from a first style to a second style; The at least one map object includes the target map object, and the amount of information of the target map object in the second style is less than that of the target map object in the first style.
2. The method according to claim 1, wherein The step of displaying the navigation object and at least one map object in the first style in the navigation map interface includes: In the navigation map interface, a navigation road is displayed, and the navigation object is displayed in the navigation road; At least one of the map objects is displayed in the first style around the navigation road.
3. The method according to claim 1 or 2, wherein The display of the navigation object and at least one map object in a first style includes: displaying the navigation object; At least one of the map objects is displayed in the first style outside a target area set around the navigation object.
4. The method according to any one of claims 1 to 3, wherein The method further comprises: At least one other map object is displayed in the second style within a target area set around the navigation object, where the other map object is a map object other than the at least one map object.
5. The method according to any one of claims 1 to 4, wherein: The navigation object is located in a first lane of a first road in the navigation map interface, and there are multiple target map objects; and the process of changing the display style of the target map object from the first style to the second style includes: For a target map object closest to the first lane among the plurality of target map objects, a process of changing the closest target map object from a first style to a second style is displayed.
6. The method according to any one of claims 1 to 5, wherein: The target map object of the first style is a target map object of a first height, and the target map object of the second style is a target map object of a second height. The process of displaying the target map object changing from the first style to the second style includes: Displaying a process in which the target map object changes from the first height to the second height; Wherein, the second height is lower than the first height.
7. The method according to claim 6, wherein: The process of displaying the target map object changing from the first height to the second height includes: Displaying a process in which the map object model of the target map object changes from the first height to the second height according to the height change parameter.
8. The method of claim 7, wherein: During the process of changing from the first height to the second height, the method further includes: Based on the change in the height of the map object model, a physical simulation is performed on the change in the model texture of the map object model, and the change process of the physically simulated model texture is displayed.
9. The method of claim 7, wherein: During the process of changing from the first height to the second height, the method further includes: Based on the change in the height of the map object model, the model transparency of the map object model is controlled to change, and the change process of the model transparency is displayed.
10. The method according to any one of claims 1 to 9, wherein: The process of displaying the target map object in a different style from the first style to the second style includes: When the first height is higher than a height threshold, displaying a process in which the target map object changes from the first height to a second height; wherein the second height is lower than the first height; When the first height is not higher than the height threshold, the first height of the target map object is kept unchanged, and the process of the target map object changing from the first style to the second style is displayed from a level different from the height level.
11. The method according to any one of claims 1 to 10, wherein: The process of displaying the target map object in a different style from the first style to the second style includes: Switching the display of the target map object in the first style to the display of the target map object in the second style; or Displaying a style switching process of the target map object from the first style to the second style via at least one intermediate style; The target map object of the intermediate style has less information than the target map object of the first style, and the target map object of the intermediate style has more information than the target map object of the second style. When there are multiple intermediate styles, the amount of information of the target map object of the intermediate style is positively correlated with the distance between the target map object of the intermediate style and the navigation object.
12. The method according to any one of claims 1 to 11, wherein: There are multiple target map objects, and the process of displaying the target map objects in a different style from a first style to a second style includes: For each target map object, when the information amount of the target map object in the first style reaches an information amount threshold of the target map object, a process of changing the target map object from the first style to the second style is displayed.
13. The method according to any one of claims 1 to 12, wherein: The process of changing the display style of the target map object in the target area set around the navigation object from the first style to the second style includes: Determining the projection size of the target map object in the screen space by a target area set around the navigation object; Determining a target level of detail corresponding to the target map object based on the projection size; Displaying a process in which the target map object changes from a first style to a second style corresponding to the target level of detail.
14. The method according to any one of claims 1 to 13, wherein: There are multiple target map objects, and the process of displaying the target map objects in a different style from a first style to a second style includes: For each target map object, when the target map object is at a target position, a process of changing the target map object from a first style to a second style is displayed.
15. The method according to any one of claims 1 to 14, wherein: The method further comprises: Display style switch open control; In response to an enable instruction for the style switch enable control, enabling a style switch mode for the map object; The process of displaying the target map object in a different style from the first style to the second style in response to the target map object being in a target area set around the navigation object includes: When the style switching mode is turned on, in response to the target map object being in a target area set around the navigation object, a process of the target map object changing from a first style to a second style is displayed.
16. The method according to any one of claims 1 to 15, wherein: After the display of the target map object changes from the first style to the second style, the method further includes: Display style restore controls; In response to a triggering operation on the style restoration control, a process of changing the target map object from the second style to the first style is displayed.
17. The method according to any one of claims 1 to 16, wherein: After the display of the target map object changes from the first style to the second style, the method further includes: In response to the target map object being outside the target area set around the navigation object, displaying the target map object changes from the second style to the first style.
18. The method according to any one of claims 1 to 17, wherein: Before displaying the process of changing the target map object from the first style to the second style, the method further includes: Obtaining the number of traffic events that occurred in a target map object area during a historical time period, wherein the target map object area is an area centered on the target map object and having a first distance as a radius; An amount of information that is smaller than the amount of information of the first pattern and negatively correlated with the number of traffic events is determined as the amount of information of the second pattern.
19. A navigation information display device, comprising: A display module configured to display a navigation object and at least one map object in a first style in a navigation map interface; a switching module configured to, in response to the target map object being in a target area set around the navigation object, display a process in which the target map object changes from a first style to a second style; The at least one map object includes the target map object, and the amount of information of the target map object in the second style is less than that of the target map object in the first style.
20. An electronic device, comprising: a memory for storing computer-executable instructions; A processor is configured to implement the method for displaying navigation information according to any one of claims 1 to 18 when executing the computer executable instructions stored in the memory.
21. A computer-readable storage medium storing computer-executable instructions, wherein when the computer-executable instructions are executed by a processor, the method for displaying navigation information according to any one of claims 1 to 18 is implemented.
22. A computer program product comprising computer executable instructions, wherein when the computer executable instructions are executed by a processor, the method for displaying navigation information according to any one of claims 1 to 18 is implemented.
Citation Information
Patent Citations
Dynamic restyling of digital maps
CN111226095A
Navigation interface display method and device, terminal and storage medium
CN113590070A
Document processing method and device, equipment and storage medium
CN117010324A
Seamless vector map tiles across multiple zoom levels
US8937627B1
Vehicle navigation method and apparatus, and device, storage medium and computer program product
WO2024001554A1