Traffic information prompting method and device

By determining the appropriate bubble placement position in the electronic map navigation, avoiding bubbles occlusion, improving the user experience, and solving the problem of bubble occlusion in the prior art.

CN119252065APending Publication Date: 2025-01-03DITU (BEIJING) TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411426675.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-12
Publication Date
2025-01-03

AI Technical Summary

Technical Problem

When the existing electronic map navigation function displays multiple bubble information, due to screen size limitations, the bubbles are easily blocked from each other, resulting in poor user experience.

Method used

By determining the prompt position point and the traffic information to be prompted, the bubbles are displayed to ensure that there is no obstruction between the bubbles. The combination of the bubble body and the indicator line is used, and multiple predetermined positions of the candidate display position are used to combine the unobstructed component. Priority is given to display to avoid obstructing each other by bubbles.

Benefits of technology

It effectively avoids the mutual obstruction of bubbles in the navigation interface, improves the user experience, and ensures clear display of information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119252065A_ABST
    Figure CN119252065A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a traffic information prompting method and device. According to the embodiment of the invention, a plurality of candidate display positions of the prompt position point are determined, and the candidate display position which does not shield the determined non-shielding component in the plurality of candidate display positions of the prompt position point corresponding to each bubble is determined as the target display position suitable for each bubble. And displaying each bubble in the navigation interface according to each target display position. Wherein the bubble comprises a bubble main body and an indication line connected between the bubble main body and the prompt position point, the candidate display positions are a plurality of preset bubble main body display positions which are located on the two sides of the prompt position point and enable the indication line and the map reference direction to have different included angles, and the unsheltered assembly comprises the bubbles at the same or different prompt position points. Therefore, according to the embodiment of the invention, the bubbles displayed in the navigation interface can be prevented from being mutually shielded, so that the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of information processing, and in particular to a method and device for prompting traffic information. Background Art

[0002] With the popularity of mobile terminals such as smartphones and tablets, electronic map navigation has become an indispensable part of people's daily lives. Specifically, whether driving, cycling, or walking, the electronic map navigation function allows users to find a suitable travel route in an unfamiliar environment and reach their destination smoothly.

[0003] Among them, when providing navigation services to users, in order to help users better plan their trips, avoid congestion, improve safety or provide other related services, the electronic map navigation function will not only display the navigation route in the navigation interface, but also prompt the user with relevant information ahead of the road in the form of bubbles. However, due to the limitation of the display size of the terminal screen, when the existing electronic map navigation function prompts the user with relevant information in the form of bubbles, if the number of bubbles to be displayed is too large, the bubbles will often block each other, resulting in a poor user experience. Summary of the invention

[0004] In view of this, an embodiment of the present invention provides a traffic information prompt method and device to avoid bubbles displayed in a navigation interface from blocking each other, thereby improving user experience.

[0005] In a first aspect, an embodiment of the present invention provides a traffic information prompting method, the method comprising:

[0006] Determine a prompt location point and traffic information to be prompted at the prompt location point, wherein the prompt location point is a location point on a map;

[0007] Determine at least one bubble corresponding to the traffic information, each bubble is used to prompt the corresponding traffic information, and the bubble includes a bubble body and an indication line connected between the bubble body and the prompt position point;

[0008] Determine a plurality of candidate display positions of the prompt position point, wherein the candidate display positions are a plurality of predetermined bubble body display positions located on both sides of the prompt position point and causing the indication line to have different angles with the map reference direction;

[0009] For each of the bubbles, a candidate display position that does not block the determined unblockable component is determined as a target display position applicable to the bubble from among multiple candidate display positions corresponding to the prompt position point, and the unblockable component includes bubbles at the same prompt position point or different prompt position points;

[0010] The bubbles are displayed in the navigation interface according to the target display positions.

[0011] In a second aspect, an embodiment of the present invention provides a traffic information prompting device, the device comprising:

[0012] a prompt location point determination unit, used to determine a prompt location point and traffic information to be prompted at the prompt location point, wherein the prompt location point is a location point on a map;

[0013] A bubble determination unit, used to determine at least one bubble corresponding to the traffic information, each bubble is used to prompt the corresponding traffic information, and the bubble includes a bubble body and an indication line connected between the bubble body and the prompt position point;

[0014] a candidate display position determination unit, configured to determine a plurality of candidate display positions of the prompt position point, wherein the candidate display positions are a plurality of predetermined bubble body display positions located on both sides of the prompt position point and causing the indication line to have different angles with the map reference direction;

[0015] a target display position determination unit, configured to determine, for each of the bubbles, a candidate display position that does not block the determined unblockable component from among a plurality of candidate display positions corresponding to the prompt position point as a target display position applicable to the bubble, wherein the unblockable component includes bubbles at the same prompt position point or at different prompt position points;

[0016] A display unit is used to display each of the bubbles in the navigation interface according to each of the target display positions.

[0017] In a third aspect, an embodiment of the present invention provides a computer-readable storage medium storing computer program instructions, wherein the computer program instructions implement the method described in the first aspect when executed by a processor.

[0018] In a fourth aspect, an embodiment of the present invention provides an electronic device, the device comprising:

[0019] a memory for storing one or more computer program instructions;

[0020] A processor, wherein the one or more computer program instructions are executed by the processor to implement the method as described in the first aspect.

[0021] In a fifth aspect, an embodiment of the present invention provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the method as described in the first aspect.

[0022] After determining the prompt location point and the traffic information to be prompted at the prompt location point, the embodiment of the present invention determines at least one bubble corresponding to the traffic information, and determines multiple candidate display positions of the prompt location point, and then determines the candidate display position that does not block the determined unobstructed components among the multiple candidate display positions of the prompt location point corresponding to each bubble as the target display position applicable to each bubble, and then displays each bubble in the navigation interface according to each target display position. Among them, the bubble includes a bubble body and an indicator line connected between the bubble body and the prompt location point, the candidate display position is a plurality of predetermined bubble body display positions located on both sides of the prompt location point and making the indicator line have different angles with the map reference direction, and the unobstructed components include bubbles of the same or different prompt location points. Therefore, the embodiment of the present invention can avoid the bubbles displayed in the navigation interface from blocking each other, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The above and other objects, features and advantages of the present invention will become more apparent through the following description of the embodiments of the present invention with reference to the accompanying drawings, in which:

[0024] Figure 1 A flow chart of a traffic information prompting method according to an embodiment of the present invention;

[0025] Figure 2 A schematic diagram of multiple candidate display positions of a prompt position point according to an embodiment of the present invention;

[0026] Figure 3 A schematic diagram of multiple candidate display positions of a prompt position point according to an embodiment of the present invention when being used to display bubbles;

[0027] Figure 4 and Figure 5 A schematic diagram of a process for determining a target display position of a bubble according to an embodiment of the present invention;

[0028] Figure 6 and Figure 7 A schematic diagram of a process for determining a target display position of another bubble according to an embodiment of the present invention;

[0029] Figure 8 and Fig. 9 It is a schematic diagram of a process of determining a target display position of another bubble according to an embodiment of the present invention;

[0030] Fig.10 A schematic diagram of a traffic information prompting device according to an embodiment of the present invention;

[0031] Fig.11 is a schematic diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0032] The present application is described below based on embodiments, but the present application is not limited to these embodiments. In the detailed description of the present application below, some specific details are described in detail. It is possible for those skilled in the art to fully understand the present application without the description of these details. In order to avoid confusing the essence of the present application, known methods, processes, flows, components and circuits are not described in detail.

[0033] In addition, persons of ordinary skill in the art will appreciate that the drawings provided herein are for illustration purposes and are not necessarily drawn to scale.

[0034] Unless the context clearly requires otherwise, the words "include", "comprising" and similar words throughout the application should be interpreted as including rather than exclusive or exhaustive; that is, the meaning is "including but not limited to".

[0035] In the description of this application, it should be understood that the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of this application, unless otherwise specified, the meaning of "plurality" is two or more.

[0036] The solutions described in this specification and in the examples, if they involve the processing of personal information, will be processed on the premise of having a legal basis (such as obtaining the consent of the subject of personal information, or being necessary for the performance of a contract, etc.), and will only be processed within the scope of regulations or agreements. If a user refuses to process personal information other than the necessary information for basic functions, it will not affect the user's use of basic functions.

[0037] In the following description, the driving navigation scenario will be used as an example for explanation, but it should be understood that the solution of the embodiment of the present invention can also be applied to other navigation scenarios, such as cycling navigation scenarios or walking navigation scenarios. At the same time, it is hoped that it can be explained that, whether it is applicable to a driving navigation scenario, a cycling navigation scenario, or a walking navigation scenario, the solution of the embodiment of the present invention will only differ in the required prompt information determined (for example, in a driving navigation scenario, the required prompt information determined by the solution of the embodiment of the present invention may include information related to traffic flow, while in a walking navigation scenario, the required prompt information determined by the solution of the embodiment of the present invention may include information related to surrounding points of interest), but there is no difference in how to prompt the information, that is, the solution of the embodiment of the present invention can be used in different navigation scenarios.

[0038] Figure 1This is a flow chart of the traffic information prompt method of an embodiment of the present invention. It should be understood that in this embodiment, the executor of the traffic information prompt method may be a data processing device. According to different applicable scenarios and ways of providing navigation services, the data processing device may be a terminal device held by the user (such as a smart phone, tablet computer, smart wearable device or laptop computer, etc.), or a data processing terminal mounted on a means of transportation, or a server (a server may be a single computer, or a cluster of multiple computers, or a cloud server that can flexibly adjust computing resources through cloud technology). Furthermore, in order to display the navigation interface to the user, the data processing device itself may be integrated with a terminal screen. Alternatively, the data processing device may also interact with a corresponding terminal device having a terminal screen to use the terminal device to display the navigation interface to the user. Figure 1 As shown, the traffic information prompting method may specifically include the following steps:

[0039] Step S100: determining a prompt location point and traffic information to be prompted at the prompt location point.

[0040] Specifically, while displaying a navigation route to a user through a navigation interface (a navigation route is a travel route planned and determined for a user), a data processing device may determine at least one prompt location point and traffic information to be prompted for each prompt location point. The prompt location point may be a location point determined in an electronic map where information prompts are required. Each prompt location point may have at least one piece of traffic information to be prompted. The traffic information to be prompted may refer to relevant information that needs to be prompted to a user in order to help the user better plan a trip, avoid congestion, improve safety, or provide other related services.

[0041] It should be understood that in order to ensure the relevance and practicality of the information prompted to the user, the specific type of traffic information to be prompted can be set and adjusted by relevant personnel according to applicable scenarios and user needs. Alternatively, as an optional implementation, the specific type of traffic information to be prompted can also be set and adjusted by the user according to his own needs.

[0042] Optionally, in this embodiment, the information type of the traffic information to be prompted may include at least one of the following or a combination thereof: accident type, electronic eye type, traffic light type, road condition type, navigation guidance type, safety prompt type, or road name type. It should be understood that in the determined traffic information to be prompted, the number of traffic information of the same type may be one or more, and this application does not limit this.

[0043] Among them, traffic information of accident type can be used to remind users of traffic accidents ahead, and its information content may include the distance between the place where the accident occurred and the navigation object (that is, the user or user vehicle that obtains the navigation service), the type of accident, and the severity of the accident. Traffic information of electronic eye type can be used to remind users of the presence of cameras ahead, and its information content may include the distance between the electronic eye and the navigation object, the cumulative violation rate captured by the electronic eye, and the violations mainly captured by the electronic eye. Traffic information of traffic light type can be used to remind users of the presence of traffic lights ahead, and its information content may include the distance between the traffic light and the navigation object, the current state of the traffic light, and the remaining time for the traffic light to switch from the current state to the next state. Traffic information of road condition type can be used to remind users of the road conditions ahead, and its information content may include the degree of road congestion. Traffic information of the navigation guidance type can be used to remind the user of the intersection ahead that needs to be turned or the lane that needs to be merged (the intersection ahead that needs to be turned or the lane ahead that needs to be merged can be determined based on the current navigation route), and its information content may include the distance between the intersection ahead that needs to be turned and the navigation object, and the distance between the lane ahead that needs to be merged and the navigation object, etc. Traffic information of the safety reminder type can be used to remind the user of the safety matters that need to be paid attention to ahead (safety matters may include whether the road ahead is affected by the weather, whether there are accident-prone areas ahead, and whether there are traffic regulations restrictions on the road ahead, etc.), and its information content may include the degree to which the road ahead is affected by the weather, the distance between the accident-prone area and the navigation object, and the specific traffic regulations restrictions on the road ahead, etc. Traffic information of the road name type can be used to remind the user of the name of the relevant road ahead, and its information content may include the name of the road.

[0044] It should be understood that the information types of traffic information to be prompted and the specific information content included in each type of traffic information given above are only for illustration. In actual application, the information types of traffic information to be prompted and the specific information content included in each type of traffic information are not limited to these.

[0045] Optionally, in step S100, as an implementation method, the data processing device may first determine the traffic information to be prompted from within the forward range of the navigation object according to the position of the navigation object in the navigation route (depending on the applicable scenario, the position may be determined by the data processing device itself, or by the data processing device through interaction with a corresponding terminal device or a positioning sensor, and the present application does not limit this), and then determine the prompt position of each traffic information, that is, the prompt position point.

[0046] Specifically, in this embodiment, no matter what type of traffic information, it has a corresponding geographical location. For example, the geographical location corresponding to the traffic information of the accident type may be the place where the accident occurred, the geographical location corresponding to the traffic information of the electronic eye type may be the location of the electronic eye, the geographical location corresponding to the traffic information of the traffic light type may be the location of the traffic light, the geographical location corresponding to the traffic information of the road condition type may be the starting point of the congested road, the geographical location corresponding to the traffic information of the navigation guidance type may be the location of the intersection where a turn is required or the location of the lane where a merge is required, the geographical location corresponding to the traffic information of the safety reminder type may be the starting point of the section where a safety reminder is required, and the geographical location corresponding to the traffic information of the road name type may be the starting point of the corresponding road or the middle position of the road. After determining the traffic information to be prompted, the data processing device may determine the prompting location of each traffic information according to the geographical location corresponding to each traffic information.

[0047] Furthermore, when determining the prompt position of each traffic information according to the geographical location corresponding to each traffic information, in order to enable the user to clearly view the actual geographical location of each traffic information, the data processing device may directly determine the geographical location corresponding to each traffic information as the prompt position of each traffic information. Alternatively, in order to establish a connection between the prompted traffic information and the navigation route, so that the user can intuitively understand the impact of the prompted traffic information on subsequent driving when driving according to the navigation route, the data processing device may also determine the position point closest to the geographical location corresponding to each traffic information on the displayed navigation route (the navigation route is reflected as a strip area with an area in the electronic map, and the selected position point here can be located on the central axis of the navigation route) as the prompt position of each traffic information.

[0048] Optionally, in step S100, as another implementation, the data processing device may first determine the prompt location points, and then determine the traffic information required to be prompted at each prompt location point, that is, the traffic information to be prompted.

[0049] Specifically, in this implementation, a fixed point can be pre-set at the corresponding position in each road section (for example, the starting point and / or the end point of the road section) (the road section is also reflected as a strip area with an area in the electronic map, and the fixed point selected here can be located on the central axis of the road section). When determining the prompt position point, the data processing device can filter the fixed points with traffic information to be prompted nearby from the fixed points within the forward range of the navigation object according to the position of the navigation object in the navigation route. Furthermore, the data processing device can determine each of the filtered fixed points as a prompt position point, and determine the traffic information to be prompted near each fixed point as the traffic information to be prompted at the corresponding prompt position point. At the same time, it is hoped that the prompt position point determined by this method will also be located on the navigation route, which can also serve to establish a connection between the prompted traffic information and the navigation route, so that the user can intuitively understand the effect of the prompted traffic information on subsequent driving when driving according to the navigation route.

[0050] It should be understood that the above-mentioned method for determining the prompt location point and the traffic information to be prompted is only for illustration. In actual application, the prompt location point and the traffic information to be prompted can also be determined by other methods, and this application does not limit this.

[0051] Optionally, since the navigation object is usually in a forward state, in order to ensure the timeliness of the traffic information prompted in the navigation interface, the prompted location point and the traffic information to be prompted at the prompted location point can be determined by the data processing device at preset time intervals. For example, the prompted location point and the traffic information to be prompted at the prompted location point can be determined by the data processing device at intervals of 1 second.

[0052] It should be understood that in this embodiment, the prompt location point will be displayed in the navigation interface together with the bubble determined later. Optionally, the prompt location point can be displayed in the navigation interface in the form of a solid circle (the prompt location point can also be displayed in other shapes, which is not limited by this application, such as Figure 8 As shown, the prompt location point 82 is displayed in the form of a traffic light icon). Further optionally, in order to facilitate user viewing, the radius of the prompt location point can be determined according to the width of the navigation line displayed in the navigation interface. For example, the radius of the prompt location point can be set to one-fourth of the width of the navigation line displayed in the navigation interface.

[0053] Step S200: Determine at least one bubble corresponding to the traffic information.

[0054] Specifically, after determining at least one prompting location point and the traffic information to be prompted at each prompting location point, the data processing device may determine at least one bubble corresponding to the traffic information for each traffic information, wherein each bubble may be used to prompt the user with the corresponding traffic information.

[0055] Further, in this embodiment, the bubble may include a bubble body and an indicator line connected between the bubble body and the prompt position point. Among them, the bubble body can be regarded as a display area that can be displayed separately in the navigation interface, and its shape can be circular, square or oval, etc. Optionally, in order to facilitate user viewing, the bubble body can be set to cover the elements displayed in the navigation interface that are not related to the navigation route (such as the road section near the navigation route and its road section name, etc.). Further, the internal area of ​​the bubble body can be used to display the traffic information corresponding to the bubble to prompt the user. It should be understood that in the internal area of ​​the bubble body, the information content of the traffic information can be displayed in the form of text, numbers, pictures, videos and / or icons, etc., and this application does not limit this. Further, the bubble body can be connected to the corresponding prompt position point by an indicator line. The indicator line can be used to establish a connection between the bubble body and the prompt position point, so that the user can clearly know the position that each bubble body wants to prompt.

[0056] Optionally, in this embodiment, in order to improve the efficiency of users in obtaining the prompted key information, bubbles for prompting different types of traffic information may be rendered in different colors. To achieve this effect, in step S200, the data processing device may first determine the bubble rendering color of each bubble according to the information type of the prompted traffic information, and then determine at least one bubble corresponding to the traffic information according to the bubble rendering color of each bubble.

[0057] Optionally, in this embodiment, in order to minimize the space occupied by bubbles in the navigation interface without missing any prompt information, before determining the bubbles corresponding to each piece of traffic information, the data processing device may search for traffic information that meets the merge prompt conditions and merge them. Further optionally, as an implementation method, traffic information that meets the merge prompt conditions may refer to traffic information whose information type belongs to a preset information type (such as an electronic eye type) and whose geographical locations are close to each other. Specifically, the data processing device may determine traffic information whose information type belongs to a preset information type and whose geographical locations are spaced less than or equal to a preset interval threshold (such as 20 meters) as traffic information that meets the merge prompt conditions, and merge the traffic information that meets the merge prompt conditions. It should be understood that for the merged traffic information, the data processing device may determine the same bubble for it, and use the bubble to simultaneously prompt each merged traffic information (such as Fig. 9 As shown in the bubble 92 in the figure, the bubble 92 can be used to prompt the user that there are two electronic eyes ahead, and to prompt that the two electronic eyes are used to photograph speeding behavior and non-motor vehicle illegal traffic behavior respectively). It should be understood that the present application does not make any specific restrictions on how to use the same bubble to prompt multiple traffic information, and the specific settings and adjustments can be made by relevant personnel according to actual conditions.

[0058] Step S300: Determine a plurality of candidate display positions of the prompt position point.

[0059] Specifically, for each prompt location point, the data processing device may also determine multiple candidate display locations of the prompt location point. It should be understood that step S200 and step S300 may be performed simultaneously or separately. When step S200 and step S300 are performed separately, the execution order of step S200 and step S300 may be adjusted according to actual needs, and the present application does not limit this.

[0060] Furthermore, in this embodiment, the candidate display positions are multiple predetermined bubble body display positions located on both sides of the prompt position point, and making the indicator line have different angles with the map reference direction. Specifically, the data processing device can determine multiple candidate display positions on both sides of the prompt position point. The area defined by each candidate display position in the navigation interface can be used to display the bubble body of the bubble, and when displaying the bubble body, each candidate display position can make the indicator line of the bubble form an angle of different degrees with the map reference direction.

[0061] Optionally, in this embodiment, the map reference direction may refer to the horizontal direction or the vertical direction of the navigation interface. Alternatively, in some embodiments, the map reference direction may also be the forward direction of the navigation object at the prompt location point.

[0062] Figure 2 FIG. 1 is a schematic diagram of multiple candidate display positions of a prompt position point according to an embodiment of the present invention. Figure 2 As shown, Figure 2 The gray band area in the figure represents the navigation route 21. It should be understood that Figure 2The navigation route shown is only a part of the navigation route. In actual application, the scale of the navigation route is not limited to this. Furthermore, the determined prompt position point can be represented by a black solid circle (or other shapes) on the navigation route. Taking the prompt position point 22 as an example, the data processing device can determine multiple candidate display positions 231-236 (that is, the area defined by the rectangular dotted frame) on both sides of the prompt position point. Among them, each candidate display position can be used to display the bubble body of the bubble, and each candidate display position can also make the indicator line of the bubble form an angle of different degrees with the map reference direction when displaying the bubble body of the bubble.

[0063] Figure 3 This is a schematic diagram of multiple candidate display positions of the prompt position point when being used to display bubbles according to an embodiment of the present invention. It should be understood that Figure 3 The content shown can be Figure 2 Schematic diagram of multiple candidate display positions of the prompt position point in the display bubble when they are all used to display the corresponding bubble. It should be understood that since only the candidate display positions are described here, Figure 3 The contents displayed in each bubble body are omitted. Figure 3 As shown, the multiple candidate display positions of the prompt position point can be used to display the bubble bodies of bubbles 311-316 respectively.

[0064] Furthermore, when the bubble bodies of bubbles 311-316 are displayed at each candidate display position, the indicator lines of bubbles 311-316 may form angles of different degrees with the map reference direction. Here, only bubbles 311-313 located to the right of the prompt position point are used as an example for explanation. The indicator line of bubble 311 may form an angle α with the map reference direction, the indicator line of bubble 312 may form an angle β with the map reference direction, and the indicator line of bubble 313 may form an angle γ with the map reference direction. Among them, the degrees of angles α, β and γ are all different. It should be understood that Figure 3 The schematic diagram shown is only a schematic diagram under ideal conditions. In actual application, due to the obstruction of non-obstructible components (such as bubbles, navigation routes or navigation object logos displayed based on the same or different prompt positions) and insufficient amount of traffic information to be prompted, multiple candidate display positions of the same prompt position point may not necessarily be used to display the corresponding bubbles.

[0065] It should be understood that the number of candidate display positions and the arrangement of the candidate display positions given in the schematic diagrams of the embodiments of the present application are for illustration only. In actual application, the number of candidate display positions and the arrangement of the candidate display positions can be adjusted by relevant personnel (the relevant personnel can be the operator of the device navigation function or the user) according to actual needs, and the present application does not limit this.

[0066] It should be understood that this embodiment can arrange the bubble bodies of each bubble in sequence along the map reference direction by displaying the bubble body of each bubble in multiple candidate display positions of the same prompt location point, thereby improving the neatness of the navigation interface and ensuring the user's efficiency in acquiring the prompted information.

[0067] Step S400: For each bubble, a candidate display position that does not block the determined unblockable component is determined as a target display position applicable to the bubble from among multiple candidate display positions corresponding to the prompt position point.

[0068] Specifically, after determining the bubbles corresponding to each traffic information and the candidate display positions of each prompt location point, for each bubble, the data processing device can determine the candidate display position that does not block the determined unblockable component from the multiple candidate display positions of the prompt location point corresponding to the bubble as the target display position applicable to the bubble. The unblockable component can be a predetermined component that cannot be blocked, which can at least include bubbles with the same prompt location point or different prompt location points. Optionally, the unblockable component can also include a navigation route (such as Figure 4 ) or a navigation object identifier (such as Figure 4 As shown in the navigation object identifier 42 in the navigation interface, it is used to indicate the location of the navigation object in the navigation interface) and the like.

[0069] Optionally, since bubbles do not block each other, bubbles that are first determined to have a target display position tend to occupy a better target display position in the navigation interface than bubbles that are later determined to have a target display position. In this embodiment, in order to improve the bubble display effect, before determining the target display position for each bubble, the data processing device may also first determine the order in which the target display positions of each bubble are determined.

[0070] Furthermore, in this embodiment, the distance between the bubble's prompt location point and the navigation object (the distance here specifically may refer to the distance determined on the navigation route, rather than the direct distance between two points) and the type of traffic information prompted by the bubble can be used to determine the order in which the target display positions of each bubble are determined.

[0071] As an implementation method, the data processing device may first determine the order of determining the target display position of each bubble based on the distance between the prompt location point and the navigation object, and then, in this process, for bubbles with the same prompt location point, determine the order of determining the target display position of each bubble based on the priority of the information type of the traffic information prompted by each bubble. Specifically, the data processing device may first determine the applicable target display position for each bubble in turn from near to far based on the distance between the prompt location point of each bubble and the navigation object. In this process, if there are bubbles with the same prompt location point, the data processing device may determine the applicable target display position for each bubble in turn from high to low based on the priority of the information type of the traffic information prompted by each bubble.

[0072] Alternatively, as another implementation method, the data processing device may first determine the order of determining the target display position of each bubble according to the information type priority of the traffic information prompted by each bubble, and then, in this process, for bubbles with the same information type priority of the traffic information prompted, the order of determining the target display position of each bubble may be determined according to the distance between the prompt location point and the navigation object. Specifically, the data processing device may first determine the applicable target display position for each bubble in order from high to low according to the information type priority of the traffic information prompted by each bubble. In this process, if there are bubbles with the same information type priority of the traffic information prompted, the data processing device may determine the applicable target display position for each bubble in order from near to far according to the distance between the prompt location point of each bubble and the navigation object.

[0073] It should be understood that the information type priority of each traffic information can be set and adjusted by relevant personnel according to actual needs, and this application does not limit this. Schematically, in this embodiment, the priority of traffic information of the accident type can be the first priority (that is, the highest priority), the priority of traffic information of the electronic eye type can be the second priority, the priority of traffic information of the traffic light type, navigation guidance type, road condition type and safety reminder type can be the third priority, and the priority of traffic information of the road name type can be the fourth priority (that is, the lowest priority).

[0074] It should be understood that the above two methods of determining the order of target display positions of bubbles are for illustration only. In actual application, the data processing device may also use other methods to determine the order of target display positions of each bubble, and this application does not limit this.

[0075] Optionally, in this embodiment, each candidate placement position may have a corresponding selection priority. Thus, when determining a target placement position for each bubble, if it is detected that there are multiple candidate placement positions that do not block the determined unblockable components, the data processing device may determine the candidate placement position with the highest selection priority as the target placement position of the bubble. Figure 2 Taking the displayed multiple candidate placements as an example, the selection priorities from largest to smallest may be candidate placement 236, candidate placement 233, candidate placement 235, candidate placement 232, candidate placement 234 and candidate placement 231.

[0076] Figure 4 and Figure 5 FIG. 1 is a schematic diagram of a process for determining a target display position of a bubble according to an embodiment of the present invention. Figure 4 and Figure 5 As shown, when determining the target display position of bubble 51, the data processing device first finds the prompt position point 41 of bubble 51. Then, the data processing device can traverse the multiple candidate display positions 411-416 of the prompt position point 41 to find a candidate display position that does not block the determined unobstructed components. Here, since bubble 51 is the first bubble to determine the target display position, the unobstructed components may only include the navigation line 43 and the navigation object identifier 42. Further, after a round of traversal, when it is detected that the candidate display positions 411-416 are all candidate display positions that do not block the determined unobstructed components, the data processing device can determine the target display position of bubble 51 based on selecting the candidate display position 416 with the highest priority. The effect diagram when bubble 51 is displayed at the candidate display position 416 can be as shown below. Figure 5 shown.

[0077] Figure 6 and Figure 7 FIG. 2 is a schematic diagram of another process for determining the target display position of a bubble according to an embodiment of the present invention. Figure 6 and Figure 7As shown, when determining the target display position of bubble 71, the data processing device first finds the prompt position point 61 of bubble 71. Then, the data processing device can traverse the multiple candidate display positions 611-616 of the prompt position point 61 to find a candidate display position that does not block the determined unobstructed components. Here, since bubble 71 is the second bubble to determine the target display position, the unobstructed components may include bubbles 72 with different prompt position points in addition to the navigation route and navigation object identifier. Furthermore, after a round of traversal, when it is detected that the candidate display positions 611-615 are candidate display positions that do not block the determined unobstructed components, the data processing device can determine the target display position of bubble 71 based on selecting the candidate display position 613 with the highest priority. The effect diagram when bubble 71 is displayed at the candidate display position 616 can be as shown below. Figure 7 shown.

[0078] Figure 8 and Fig. 9 FIG. 2 is a schematic diagram of a process for determining a target display position of another bubble according to an embodiment of the present invention. Figure 8 and Fig. 9 As shown, when determining the target display position of bubble 91, the data processing device first finds the prompt position point 81 of bubble 91. Then, the data processing device can traverse the multiple candidate display positions 811-816 of the prompt position point 81 to find a candidate display position that does not block the determined unobstructed components. Here, the unobstructed components include bubbles 92 and 93 at the same prompt position point in addition to the navigation routes, navigation object identifiers and bubbles 94, 95 and 96 at different prompt position points. Furthermore, after a round of traversal, when it is detected that the candidate display positions 811, 812, 814 and 815 are candidate display positions that do not block the determined unobstructed components, the data processing device can determine the target display position of bubble 91 based on selecting the candidate display position 815 with the highest priority. The effect diagram when bubble 91 is displayed at candidate display position 815 can be as shown below. Fig. 9 shown.

[0079] It should be understood that the target display position determination process shown in the above embodiments can be implemented by the data processing device in the background, and is not reflected in the navigation interface.

[0080] Step S500: display each of the bubbles in the navigation interface according to each of the target display positions.

[0081] Specifically, after determining the target display position applicable to each bubble, the data processing device can display each bubble in the navigation interface according to each target display position. It should be understood that if there are no bubbles that need to be displayed later, then Fig. 9The content shown in is the content that will eventually be presented in the navigation interface.

[0082] It should be understood that in this embodiment, the navigation interface and the contents displayed in the navigation interface can be implemented through HTML (Hyper Text Markup Language), XML (Extensible Markup Language), CSS (Cascading Style Sheets) and JavaScript language.

[0083] Optionally, in order to improve the user experience, the area defined by the display position for displaying each bubble body in the navigation interface can be set to be larger than the shape of the bubble body. Thus, when displaying each bubble in the navigation interface according to each target display position, the data processing device can adjust the specific display position of the bubble body within the area defined by the target display position.

[0084] Optionally, in order to facilitate user viewing, when displaying each bubble in the navigation interface according to each target display position, the data processing device may also adjust the display content of each bubble body according to the target display position applicable to each bubble. Fig. 9 As shown, the data processing device can adjust the icon in each bubble body to the side close to the navigation line. It should be understood that the specific adjustment made by the data processing device to the display content of each bubble body according to the target display position applicable to each bubble can be set and adjusted by relevant personnel according to actual needs, and this application does not limit this.

[0085] It should be understood that the navigation object is usually in a forward state, therefore, the data processing device will update the bubbles displayed in the navigation interface as the navigation object moves forward. It is to be noted that the update here does not refer to updating the information content displayed in the bubble, but refers to removing the bubbles displayed in the navigation interface after the navigation object passes the prompt position of the bubble, or refers to adding newly determined bubbles to the navigation interface. In the above-mentioned update process, some bubbles may be retained in the navigation interface. For these retained bubbles, the data processing device redetermines the target display position for them. Furthermore, the target display position re-determined by the data processing device for these bubbles may be the same as or different from the original target display position, and the present application does not impose any restrictions on this.

[0086] After determining the prompt location point and the traffic information to be prompted at the prompt location point, the embodiment of the present invention determines at least one bubble corresponding to the traffic information, and determines multiple candidate display positions for the prompt location point, and then determines the candidate display positions that do not block the determined unblockable components among the multiple candidate display positions corresponding to the prompt location point as the target display positions applicable to each bubble, and then displays each bubble in the navigation interface according to each target display position. Among them, the bubble includes a bubble body and an indicator line connected between the bubble body and the prompt location point, the candidate display positions are multiple predetermined bubble body display positions located on both sides of the prompt location point and making the indicator line have different angles with the map reference direction, and the unblockable components include bubbles of the same or different prompt location points. Therefore, the embodiment of the present invention can avoid the bubbles displayed in the navigation interface from blocking each other, thereby improving the user experience.

[0087] Fig.10 FIG. 1 is a schematic diagram of a traffic information prompting device according to an embodiment of the present invention. Fig.10 As shown, the traffic information prompting device of the embodiment of the present invention includes a prompting location point determining unit 101, a bubble determining unit 102, a candidate display location determining unit 103, a target display location determining unit 104 and a display unit 105.

[0088] Specifically, the prompt location point determination unit 101 is used to determine a prompt location point and traffic information to be prompted at the prompt location point, wherein the prompt location point is a location point on a map;

[0089] The bubble determination unit 102 is used to determine at least one bubble corresponding to the traffic information, each bubble is used to prompt the corresponding traffic information, and the bubble includes a bubble body and an indication line connected between the bubble body and the prompt position point;

[0090] The candidate display position determination unit 103 is used to determine multiple candidate display positions of the prompt position point, wherein the candidate display positions are multiple predetermined bubble body display positions located on both sides of the prompt position point and making the indication line have different angles with the map reference direction;

[0091] The target display position determination unit 104 is used to determine, for each of the bubbles, a candidate display position that does not block the determined unblockable component from a plurality of candidate display positions corresponding to the prompt position point as a target display position applicable to the bubble, wherein the unblockable component includes bubbles at the same prompt position point or at different prompt position points;

[0092] The display unit 105 is used to display each bubble in the navigation interface according to each target display position.

[0093] After determining the prompt location point and the traffic information to be prompted at the prompt location point, the embodiment of the present invention determines at least one bubble corresponding to the traffic information, and determines multiple candidate display positions for the prompt location point, and then determines the candidate display positions that do not block the determined unblockable components among the multiple candidate display positions corresponding to the prompt location point as the target display positions applicable to each bubble, and then displays each bubble in the navigation interface according to each target display position. Among them, the bubble includes a bubble body and an indicator line connected between the bubble body and the prompt location point, the candidate display positions are multiple predetermined bubble body display positions located on both sides of the prompt location point and making the indicator line have different angles with the map reference direction, and the unblockable components include bubbles of the same or different prompt location points. Therefore, the embodiment of the present invention can avoid the bubbles displayed in the navigation interface from blocking each other, thereby improving the user experience.

[0094] Fig.11 Schematic diagram of an electronic device according to an embodiment of the present invention. Fig.11 As shown, Fig.11 The electronic device shown can be a general data processing device in the above embodiment, which includes a general computer hardware structure, which at least includes a processor 111 and a memory 112. The processor 111 and the memory 112 are connected via a bus 113. The memory 112 is suitable for storing instructions or programs executable by the processor 111. The processor 111 can be an independent microprocessor or a collection of one or more microprocessors. Thus, the processor 111 executes the instructions stored in the memory 112, thereby executing the method flow of the embodiment of the present invention as described above to realize the processing of data and the control of other devices. The bus 113 connects the above multiple components together, and at the same time connects the above components to the display controller 114 and the display device and the input / output (I / O) device 115. The input / output (I / O) device 115 can be a mouse, a keyboard, a modem, a network interface, a touch input device, a somatosensory input device, a printer, and other devices known in the art. Typically, the input / output device 115 is connected to the system through an input / output (I / O) controller 116.

[0095] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, devices (equipment) or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present application may adopt a computer program product implemented on one or more computer-readable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0096] The present application is described with reference to flowcharts of methods, apparatuses (devices) and computer program products according to embodiments of the present application. It should be understood that each process in the flowchart can be implemented by computer program instructions.

[0097] These computer program instructions may be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device that implements the process Figure 1 A function specified in a process or multiple processes.

[0098] These computer program instructions may also be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce the instructions for implementing the process Figure 1 A device that specifies functions in a process or multiple processes.

[0099] Another embodiment of the present invention relates to a non-volatile storage medium for storing a computer-readable program, wherein the computer-readable program is used for a computer to execute part or all of the above method embodiments.

[0100] That is, those skilled in the art can understand that all or part of the steps in the above-mentioned embodiment method can be completed by specifying relevant hardware through a program, and the program is stored in a storage medium, including several instructions for a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0101] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A traffic information prompting method, characterized in that: The method comprises: Determine a prompt location point and traffic information to be prompted at the prompt location point, wherein the prompt location point is a location point on a map; Determine at least one bubble corresponding to the traffic information, each bubble is used to prompt the corresponding traffic information, and the bubble includes a bubble body and an indication line connected between the bubble body and the prompt position point; Determine a plurality of candidate display positions of the prompt position point, wherein the candidate display positions are a plurality of predetermined bubble body display positions located on both sides of the prompt position point and causing the indication line to have different angles with the map reference direction; For each of the bubbles, a candidate display position that does not block the determined unblockable component among multiple candidate display positions corresponding to the prompt position point is determined as a target display position applicable to the bubble, and the unblockable component includes bubbles at the same prompt position point or different prompt position points; The bubbles are displayed in the navigation interface according to the target display positions.

2. The method according to claim 1, characterized in that The prompt location point is located on the displayed navigation route.

3. The method according to claim 1, characterized in that The map reference direction is the horizontal direction or the vertical direction of the navigation interface.

4. The method according to claim 3, characterized in that: The multiple candidate display positions of the prompt location point are arranged in sequence along the map reference direction.

5. The method according to claim 1, characterized in that Each of the candidate placement positions has a corresponding selection priority; The step of determining a candidate display position that does not block the determined unblockable component from among a plurality of candidate display positions corresponding to the prompt position point as a target display position applicable to the bubble comprises: In response to detecting that there are multiple candidate placement positions that do not block the determined non-blockable component, the candidate placement position with the highest priority is selected and determined as the target placement position of the bubble.

6. The method according to claim 5, characterized in that The order of determining the target display position of each bubble is determined according to the distance between the prompt position point of each bubble and the navigation object, wherein, for bubbles with the same prompt position point, the order of determining the target display position of each bubble is determined according to the information type priority of the traffic information prompted by each bubble.

7. The method according to claim 5, characterized in that The order of determining the target display position of each bubble is determined according to the priority of the information type of the traffic information prompted by each bubble, wherein, for bubbles with the same priority of the information type of the traffic information prompted, the order of determining the target display position of each bubble is determined according to the distance between the prompt position point of each bubble and the navigation object.

8. The method according to claim 1, characterized in that The determining at least one bubble corresponding to the traffic information comprises: Determining a bubble rendering color according to the information type of the traffic information; At least one bubble corresponding to the traffic information is determined according to the bubble rendering color.

9. The method according to claim 1, characterized in that: Before determining at least one bubble corresponding to the traffic information, the method further includes: Determine the traffic information whose information type belongs to the preset information type and whose geographical location interval is less than or equal to the preset interval threshold as the traffic information that meets the merge prompt condition; The traffic information satisfying the merging prompting condition is merged.

10. The method according to claim 9, characterized in that The merged traffic information is presented in the same bubble.

11. The method according to claim 1, characterized in that: The information type of the traffic information includes at least one of the following or a combination thereof: accident type, electronic eye type, traffic light type, road condition type, navigation guidance type, safety reminder type or road name type.

12. A traffic information prompting device, characterized in that: The device comprises: a prompt location point determination unit, used to determine a prompt location point and traffic information to be prompted at the prompt location point, wherein the prompt location point is a location point on a map; A bubble determination unit, used to determine at least one bubble corresponding to the traffic information, each bubble is used to prompt the corresponding traffic information, and the bubble includes a bubble body and an indication line connected between the bubble body and the prompt position point; a candidate display position determination unit, configured to determine a plurality of candidate display positions of the prompt position point, wherein the candidate display positions are a plurality of predetermined bubble body display positions located on both sides of the prompt position point and causing the indication line to have different angles with the map reference direction; a target display position determination unit, configured to determine, for each of the bubbles, a candidate display position that does not block the determined unblockable component from among a plurality of candidate display positions corresponding to the prompt position point as a target display position applicable to the bubble, wherein the unblockable component includes bubbles at the same prompt position point or at different prompt position points; A display unit is used to display each of the bubbles in the navigation interface according to each of the target display positions.

13. A computer-readable storage medium storing computer program instructions, characterized in that: The computer program instructions implement the method according to any one of claims 1 to 11 when executed by a processor.

14. An electronic device, characterized in that: The device comprises: a memory for storing one or more computer program instructions; A processor, wherein the one or more computer program instructions are executed by the processor to implement the method according to any one of claims 1 to 11.

15. A computer program product, characterized in that When the computer program product is run on a computer, the computer is caused to execute the method according to any one of claims 1 to 11.