技术领域technical field
本发明实施例涉及电子地图技术领域,尤其涉及一种兴趣点信息展示方法、装置、服务器和存储介质。Embodiments of the present invention relate to the technical field of electronic maps, and in particular, to a method, device, server and storage medium for displaying point-of-interest information.
背景技术Background technique
随着计算机技术的发展,电子地图的发展也愈发迅速。电子地图是指利用计算机技术,以数字方式存储和查阅的地图。With the development of computer technology, the development of electronic map is also more and more rapid. Electronic maps refer to maps that are stored and consulted digitally using computer technology.
在电子地图的制作过程中,需要将兴趣点(Point of Interest,POI)数据标注在电子地图中。随着电子地图技术的快速发展,越来越多的POI可标注于地图当中,便于用户浏览和查找有用的信息,但同时多个距离较近甚至重叠的POI又为用户对信息的查找带来了不必要的麻烦。因此现有技术中,依据两两POI之间的相互遮盖关系来确定POI处于显示状态或隐藏状态,两者择其一进行展示,即展示处于显示状态的POI标注,而隐藏处于隐藏状态的POI标注。In the process of making an electronic map, point of interest (POI) data needs to be marked on the electronic map. With the rapid development of electronic map technology, more and more POIs can be marked on the map, which is convenient for users to browse and find useful information. unnecessary trouble. Therefore, in the prior art, it is determined whether the POI is in the display state or the hidden state according to the mutual covering relationship between two POIs, and one of the two is selected for display, that is, the POI label in the display state is displayed, and the POI in the hidden state is hidden. label.
然而,现有技术的POI展示方式可应用的范围较小,当电子地图处于某种不可预计的缩放状态时所展示的POI标注信息之间仍然存在相互交叠的现象。且随着用户对于电子地图的缩放,展示出来的POI标注信息存在反复切换和变更的现象,导致地图显示较为零乱,且POI标注信息显示不够完善,降低用户浏览和查找有用地图信息的用户体验。However, the applicable scope of the POI display method in the prior art is small, and when the electronic map is in a certain unpredictable zoom state, there is still a phenomenon of mutual overlap between the displayed POI label information. And as the user zooms in on the electronic map, the displayed POI labeling information is repeatedly switched and changed, resulting in a messy map display, and the display of POI labeling information is not perfect, reducing the user experience of browsing and finding useful map information.
发明内容Contents of the invention
本发明实施例提供了一种兴趣点信息展示方法、装置、服务器和存储介质,能够将地图可视区域中POI的整体情况和细节信息清楚的展示给用户。Embodiments of the present invention provide a method, device, server, and storage medium for displaying POI information, which can clearly display the overall situation and detailed information of POIs in the visible area of a map to users.
第一方面,本发明实施例提供了一种兴趣点信息展示方法,包括:In a first aspect, an embodiment of the present invention provides a method for displaying point of interest information, including:
确定当前可视地图区域中所包括的各兴趣点在终端屏幕上的兴趣点标注区域;Determine the point-of-interest marking area on the terminal screen of each point of interest included in the current visible map area;
依据各兴趣点标注区域之间的相互遮盖关系确定各兴趣点标注区域所属的遮盖分组;Determine the cover group to which each POI labeling area belongs according to the mutual covering relationship between the POI labeling areas;
从各遮盖分组中选择兴趣点标注区域进行展示,并隐藏各遮盖分组中未被选择的兴趣点标注区域。Select the POI labeling area from each masking group to display, and hide the not selected POI labeling area in each masking group.
第二方面,本发明实施例提供了一种兴趣点信息展示装置,包括:In a second aspect, an embodiment of the present invention provides an apparatus for displaying point-of-interest information, including:
标注区域确定模块,用于确定当前可视地图区域中所包括的各兴趣点在终端屏幕上的兴趣点标注区域;A marking area determination module, configured to determine the point-of-interest marking area on the terminal screen of each point of interest included in the current visible map area;
遮盖分组确定模块,用于依据各兴趣点标注区域之间的相互遮盖关系确定各兴趣点标注区域所属的遮盖分组;A covering group determination module, configured to determine the covering group to which each point of interest marking region belongs according to the mutual covering relationship between the marking regions of each point of interest;
标注区域展示模块,用于从各遮盖分组中选择兴趣点标注区域进行展示,并隐藏各遮盖分组中未被选择的兴趣点标注区域。The labeling area display module is configured to select the POI labeling area from each masking group for display, and hide the not selected POI labeling areas in each masking group.
第三方面,本发明实施例提供了一种服务器,包括:In a third aspect, an embodiment of the present invention provides a server, including:
一个或多个处理器;one or more processors;
存储器,用于存储一个或多个程序;memory for storing one or more programs;
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现本发明任意实施例所述的兴趣点信息展示方法。When the one or more programs are executed by the one or more processors, the one or more processors are made to implement the method for displaying point-of-interest information in any embodiment of the present invention.
第四方面,本发明实施例提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现本发明任意实施例所述的兴趣点信息展示方法。In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the method for displaying point-of-interest information described in any embodiment of the present invention is implemented.
本发明实施例通过确定当前地图可视区域中各个POI的标注区域,并分析各个POI标注区域之间的相互遮盖关系,对具有遮盖关系的POI标注区域进行分组,从而从各个遮盖分组中选择POI标注区域进行展示,而隐藏各遮盖分组中其他未被选择的POI标注区域。本发明实施例通过对具有遮盖关系的POI标注区域的所属的遮盖分组的划分,能够将当前地图可视区域中POI的整体情况及其细节信息清楚的展示给用户,解决了地图展示信息过多导致用户无法看清内容的问题,以及避免了电子地图缩放过程中展示出来的POI标注信息反复切换和变更导致地图显示零乱的问题,提高了地图POI信息展示的完整性和细节信息的突显性,进而提高用户对于电子地图的使用体验。In the embodiment of the present invention, by determining the labeling area of each POI in the visible area of the current map, and analyzing the mutual covering relationship between the POI labeling areas, grouping the POI labeling areas with covering relationship, so as to select POIs from each covering group The marked area is displayed, and other unselected POI marked areas in each mask group are hidden. The embodiment of the present invention can clearly display the overall situation and detailed information of the POI in the current map visible area to the user by dividing the covered grouping of the POI marked area with a covered relationship, and solves the problem of excessive information displayed on the map. The problem that the user cannot see the content clearly, and the problem that the POI label information displayed during the zooming process of the electronic map is avoided repeatedly switching and changing, which leads to the problem of messy map display, improves the integrity of the map POI information display and the prominence of detailed information. Thereby, the user's experience of using the electronic map is improved.
附图说明Description of drawings
图1为本发明实施例一提供的一种兴趣点信息展示方法的流程图;FIG. 1 is a flow chart of a method for displaying point-of-interest information provided by Embodiment 1 of the present invention;
图2为本发明实施例一提供的POI信息展示的示例图;FIG. 2 is an example diagram of POI information display provided by Embodiment 1 of the present invention;
图3为本发明实施例二提供的一种兴趣点信息展示方法的流程图;FIG. 3 is a flow chart of a method for displaying point of interest information provided by Embodiment 2 of the present invention;
图4为本发明实施例二提供的POI信息展示的实物示例图;FIG. 4 is a physical example diagram of POI information display provided by Embodiment 2 of the present invention;
图5为本发明实施例三提供的一种兴趣点信息展示装置的结构示意图;FIG. 5 is a schematic structural diagram of a point-of-interest information display device provided in Embodiment 3 of the present invention;
图6为本发明实施例四提供的一种服务器的结构示意图。FIG. 6 is a schematic structural diagram of a server provided by Embodiment 4 of the present invention.
具体实施方式Detailed ways
下面结合附图和实施例对本发明实施例作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明实施例,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明实施例相关的部分而非全部结构。The embodiments of the present invention will be further described in detail below in conjunction with the drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the embodiments of the present invention, rather than to limit the present invention. In addition, it should be noted that, for the convenience of description, the drawings only show some but not all structures related to the embodiments of the present invention.
实施例一Embodiment one
图1为本发明实施例一提供的一种兴趣点信息展示方法的流程图,本实施例可适用于电子地图在当前可视区域中展示POI标注区域的情况,该方法可由一种兴趣点信息展示装置来执行。该方法具体包括如下步骤:Figure 1 is a flow chart of a method for displaying POI information provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation where an electronic map displays POI marked areas in the current visible area. The method can be composed of a POI information Demonstration means to perform. The method specifically includes the following steps:
S110、确定当前可视地图区域中所包括的各兴趣点在终端屏幕上的兴趣点标注区域。S110. Determine the point-of-interest labeling area of each point of interest included in the current visible map area on the terminal screen.
在本发明具体实施例中,当前可视地图区域是指在终端的当前地图显示界面中,依据用户搜索或调整后所确定的地图显示区域。可以理解的是,在用户进行搜索后,地图通常会采用默认的显示比例进行地图的显示;在用户对地图进行缩放操作后,放大后的可视地图区域相对能够显示的地图范围较小,但可显示的地点更详细;反之,缩小后的可视地图区域相对能够显示的地图范围较大,但可显示的地点较为粗略。进而在用户通过搜索或调整而确定地图显示区域后,依据终端屏幕的尺寸和目标位置确定当前可视地图区域,当前可视地图区域包含目标位置。具体的,可以根据POI在地图中的经纬度坐标来确定该POI在屏幕中的坐标,依据终端屏幕的尺寸即屏幕的长和宽、地图当前显示的比例尺或分辨率以及目标POI在屏幕中的坐标来确定当前可视地图区域。In a specific embodiment of the present invention, the current visible map area refers to the map display area determined after searching or adjusting by the user in the current map display interface of the terminal. It is understandable that after the user performs a search, the map usually uses the default display scale to display the map; after the user zooms the map, the zoomed-in visible map area is relatively smaller than the map that can be displayed, but The locations that can be displayed are more detailed; on the contrary, the zoomed-out viewable map area is larger than the range of the map that can be displayed, but the locations that can be displayed are relatively rough. Furthermore, after the user determines the map display area by searching or adjusting, the current visible map area is determined according to the size of the terminal screen and the target position, and the current visible map area includes the target position. Specifically, the coordinates of the POI on the screen can be determined according to the latitude and longitude coordinates of the POI on the map, according to the size of the terminal screen, that is, the length and width of the screen, the scale or resolution currently displayed on the map, and the coordinates of the target POI on the screen to determine the current visible map area.
本实施例中,POI是指地图上能够进行特定活动的机构、系统组织设施或场所,包括宾馆、餐饮、购物、风景名胜、商务住宅、政府机关、社会团体、企事业单位、科教文化、汽车服务、交通设施、金融保险等种类。POI标注区域是地图渲染中用于显示POI相关信息的要素,即POI标注区域是指用于显示POI相关信息的显示区域。在电子地图上可以以任何形状和排列方式进行显示。通常情况下,各POI标注可以包括图标标注和文字标注,且标注通常位于关联的POI的旁边,以对POI进行相关的解释或说明,便于用户对POI的浏览和查找。本实施例对当前可视地图区域进行处理,依据当前可视地图区域中包括的各POI的图标标注和/或文字标注,同时动态获取当前可视地图区域的分辨率,以此确定图标标注的像素和/或文字标注的像素。依据图标标注的像素和/或文字标注的像素来确定POI标注区域的大小,并以POI标注区域的中心点坐标值确定为该POI标注区域的位置坐标。进而依据POI标注区域的大小和位置坐标,确定各POI在终端屏幕上的POI标注区域。In this embodiment, POI refers to institutions, system organization facilities or places that can carry out specific activities on the map, including hotels, restaurants, shopping, scenic spots, commercial residences, government agencies, social groups, enterprises and institutions, science and education culture, automobiles, etc. Services, transportation facilities, finance and insurance, etc. The POI label area is an element used to display POI-related information in map rendering, that is, the POI label area refers to a display area used to display POI-related information. It can be displayed in any shape and arrangement on the electronic map. Normally, each POI annotation may include icon annotation and text annotation, and the annotation is usually located next to the associated POI, so as to explain or explain the POI, so as to facilitate users to browse and find the POI. In this embodiment, the current visible map area is processed, and the resolution of the current visible map area is dynamically acquired according to the icon label and/or text label of each POI included in the current visible map area, so as to determine the icon label Pixels and/or pixels for text labels. The size of the POI marked area is determined according to the pixels marked by the icon and/or the pixels marked by the text, and the coordinates of the center point of the marked POI area are determined as the position coordinates of the marked POI area. Further, according to the size and position coordinates of the POI marking area, the POI marking area of each POI on the terminal screen is determined.
示例性的,假设用户搜索餐厅A,终端以默认比例尺对包含餐厅A的地图区域进行显示,进而依据当前终端屏幕的尺寸、地图当前显示的比例尺或分辨率以及餐厅A在屏幕中的坐标来确定当前可视地图区域。同时可以将当前可视地图区域中的餐厅A以及其他餐厅均作为POI,动态获取当前显示界面的分辨率,依据各POI的图标标注和/或文字标注以及分辨率,确定各POI的图标标注的像素和/或文字标注的像素,从而依据各POI的图标标注的像素和/或文字标注的像素确定各POI标注区域的大小和位置坐标,即明确了各POI标注区域。Exemplarily, assuming that the user searches for restaurant A, the terminal displays the map area containing restaurant A at the default scale, and then determines the size of the map based on the size of the current terminal screen, the scale or resolution of the map currently displayed, and the coordinates of restaurant A on the screen. The currently visible map area. At the same time, restaurant A and other restaurants in the current visual map area can be used as POIs to dynamically obtain the resolution of the current display interface, and determine the icon labeling of each POI according to the icon label and/or text label and resolution of each POI Pixels and/or text marked pixels, so that the size and position coordinates of each POI marked area are determined according to the icon marked pixels and/or text marked pixels of each POI, that is, each POI marked area is defined.
S120、依据各兴趣点标注区域之间的相互遮盖关系确定各兴趣点标注区域所属的遮盖分组。S120. Determine the covering group to which each POI labeling area belongs according to the mutual covering relationship between each POI labeling area.
在本发明具体实施例中,POI标注区域之间的相互遮盖关系是指至少两个POI的POI标注区域存在重叠的现象,则POI标注区域中被遮盖的部分将无法正常显示,影响用户对该POI信息的获取。本实施例可以预先设定遮盖比例阈值,即当两个POI标注区域的重叠区域与两个POI标注区域的面积比例高于该遮盖比例阈值时,则确定所述两个POI标注区域之间具有相互遮盖关系。In a specific embodiment of the present invention, the mutual covering relationship between POI labeling areas refers to the phenomenon that the POI labeling areas of at least two POIs overlap, and the covered part in the POI labeling areas will not be displayed normally, affecting the user's understanding of the POI labeling area. Acquisition of POI information. In this embodiment, the coverage ratio threshold can be preset, that is, when the area ratio between the overlapping area of two POI labeling areas and the two POI labeling areas is higher than the coverage ratio threshold, it is determined that there is a gap between the two POI labeling areas. Mutual coverage relationship.
本实施例对具有相互遮盖关系的POI标注区域进行分组,其中遮盖分组中可以仅存在一个POI标注区域,或者,遮盖分组存在满足遮盖关系的两个POI标注区域,或者遮盖分组中存在多余两个的POI标注区域,且其中必然存在至少一个POI标注区域与该遮盖分组中的其他至少两个POI标注区域具有相互遮盖关系。因此对于一个待分组的POI标注区域,若该待分组的POI标注区域与任意遮盖分组中的至少两个POI标注区域具有相互遮盖关系,则确定该待分组的POI标注区域与该遮盖分组具有相互遮盖关系。In this embodiment, POI labeling areas with a mutual covering relationship are grouped, wherein there may be only one POI labeling area in the covering group, or there may be two POI labeling areas satisfying the covering relationship in the covering group, or there may be more than two POI marking regions in the covering group. POI marked areas, and there must be at least one POI marked area that has a mutual covering relationship with at least two other POI marked areas in the covering group. Therefore, for a POI labeling area to be grouped, if the POI labeling area to be grouped has a mutual covering relationship with at least two POI labeling areas in any cover group, then it is determined that the POI labeling area to be grouped has a mutual covering relationship with the cover grouping. cover up the relationship.
相应的,本实施例依据待分组的POI标注区域与遮盖分组之间的相互遮盖关系,确定待分组的POI标注区域的所属遮盖分组。本实施例考虑到各POI标注区域的遮盖关系是随着地图的缩放而发生变化的,因此优选根据以下原则进行遮盖分组的确定:若待分组的POI标注区域与至少两个遮盖分组具有相互遮盖关系,则将该至少两个遮盖分组进行合并,并确定该待分组的POI标注区域属于合并后的遮盖分组;若待分组的POI标注区域与一个遮盖分组具有相互遮盖关系,则确定该待分组的POI标注区域属于该遮盖分组;此外,若待分组的POI标注区域与已有的遮盖分组均没有相互遮盖关系,则生成新的遮盖分组,并将该待分组的POI标注区域归属到该新生成的遮盖分组中。Correspondingly, in this embodiment, according to the mutual covering relationship between the POI marking areas to be grouped and the covering groups, the covering groups to which the POI marking areas to be grouped belong are determined. In this embodiment, considering that the coverage relationship of each POI labeling area changes with the zooming of the map, it is preferable to determine the cover grouping according to the following principle: if the POI labeling area to be grouped and at least two cover groups have mutual cover relationship, then merge the at least two cover groups, and determine that the POI labeling area to be grouped belongs to the combined cover group; if the POI label area to be grouped has a mutual cover relationship with a cover group, then determine that the grouping The POI labeling area belongs to the cover group; in addition, if the POI label area to be grouped has no mutual cover relationship with the existing cover group, a new cover group is generated, and the POI label area to be grouped belongs to the new cover group. In the generated mask group.
示例性的,在地图放大至最大时,当前可视地图区域中的各个POI相距较远,此时可能不会产生POI标注区域相互遮盖的情况,可以视为每个POI标注区域为一个遮盖分组。相应的,随着地图的逐渐缩小,当前可视地图区域中的POI标注区域可能逐渐产生相互遮盖的情况,进而根据上述遮盖分组原则,随即更新遮盖分组。Exemplarily, when the map is zoomed in to the maximum, the POIs in the current visible map area are far apart. At this time, the POI labeling areas may not cover each other, and each POI labeling area can be regarded as a cover group . Correspondingly, as the map gradually shrinks, the POI marked areas in the current visible map area may gradually cover each other, and then according to the above covered grouping principle, the covered groups are updated immediately.
S130、从各遮盖分组中选择兴趣点标注区域进行展示,并隐藏各遮盖分组中未被选择的兴趣点标注区域。S130. Select the POI labeling area from each masking group to display, and hide the POI labeling area not selected in each masking group.
在本发明具体实施例中,由于遮盖分组中可能存在多个POI,同时由于遮盖分组中的POI标注区域是存在相互遮盖关系的,因此为了避免多个POI遮盖区域同时显示而产生的互相遮盖现象而导致信息显示不完整,本实施例对各个遮盖分组中的POI进行选择,择其一进行展示,而隐藏其余未被选中的POI标注区域。In the specific embodiment of the present invention, since there may be multiple POIs in the cover group, and because the POI labeling areas in the cover group have a mutual cover relationship, in order to avoid the mutual cover phenomenon caused by the simultaneous display of multiple POI cover areas As a result, the display of information is incomplete. In this embodiment, POIs in each cover group are selected, and one of them is selected for display, while the marked areas of the remaining unselected POIs are hidden.
本实施例预先对地图中各POI进行权重的计算,依据各遮盖分组中包括的各POI权重,选择权重最大的POI进行POI标注区域展示。其中,本实施例可以根据各POI的详情数据、评星等级以及用户评价等信息来计算各POI的权重,且依据一定的时间规则对各POI的权重进行更新。此外,将其余未被选中即权重较低的POI对应的POI标注区域进行隐藏处理,避免了与所属遮盖分组中已展示的POI标注区域的相互遮盖。但在各遮盖分组中所展示的POI标注区域处还展示各遮盖分组中所隐藏的POI数量,或者同时展示各遮盖分组中所隐藏的POI数量以及类型。In this embodiment, the weight of each POI in the map is calculated in advance, and according to the weight of each POI included in each cover group, the POI with the largest weight is selected for POI labeling area display. In this embodiment, the weight of each POI can be calculated according to information such as the detailed data of each POI, star ratings, and user evaluations, and the weight of each POI can be updated according to a certain time rule. In addition, the POI labeling areas corresponding to the remaining unselected POIs with lower weights are hidden, so as to avoid mutual covering with the displayed POI labeling areas in the covered group. However, the number of hidden POIs in each covered group is also displayed at the marked area of the POI displayed in each covered group, or the number and type of POIs hidden in each covered group are displayed at the same time.
值得注意的是,本实施例通过对具有遮盖关系的POI标注区域的分组,选择权重最大的POI标注区域进行展示,隐藏遮盖分组中的其余POI标注区域,并显示隐藏的POI数量。由于同一时刻的POI权重是不会发生变化的,因此保证了电子地图在缩放过程中,权重较大的POI标注区域对于权重较小的POI标注区域的遮盖关系是不会发生变化的。进而随着电子地图的缩放,所展示的隐藏的POI数量会一致性的发生变化,而不会同时存在数量增加和数量减小的现象,避免了所展示的POI标注区域反复切换和变更的问题。It is worth noting that in this embodiment, by grouping POI marked areas with covering relationship, the POI marked area with the largest weight is selected for display, the remaining POI marked areas in the covered group are hidden, and the number of hidden POIs is displayed. Since the POI weight at the same moment will not change, it is guaranteed that the covering relationship between the POI labeling area with a larger weight and the POI labeling area with a smaller weight will not change during the zooming process of the electronic map. Furthermore, with the scaling of the electronic map, the number of hidden POIs displayed will change consistently, without the phenomenon of increasing and decreasing numbers at the same time, avoiding the problem of repeated switching and changing of the displayed POI labeling area .
示例性的,图2为POI信息展示的示例图。如图2所示,当前可视地图区域中包括三个POI:A、B和C,其权重由高至低排序为A、C和B,即兴趣点A的权重最高,其次为兴趣点C的权重,而兴趣点B的权重最低。在三个场景中,图2由上至下电子地图发生了缩小操作,即地图(2)由地图(1)缩小而成,地图(3)由地图(2)缩小而成,进而POI由三个互不干预的POI逐渐发生了重叠现象。右侧一列的地图分别为左侧一列的地图依据本实施例所述的兴趣点信息展示方法所行为的地图显示情况。其中,由于地图(1)未发生遮盖现象,进而三个POI能够独立显示。而地图(2)中的兴趣点B和C之间具有相互遮盖关系,由于兴趣点C的权重高于兴趣点B的权重,进而选择兴趣点C进行展示,同时展示出该遮盖分组内POI的数量即2。而地图(3)中的兴趣点B不仅和C之间具有相互遮盖关系,还与兴趣点A之间具有相互遮盖关系,相应的兴趣点A、B和C可以作为一个遮盖分组,且由于兴趣点A的权重最高,进而选择兴趣点A进行展示,同时展示出该遮盖分组内POI的数量即3。由此可知,根据权重的大小,地图(3)中遮盖于兴趣点B的POI由兴趣点C变为兴趣点A。而本实施例避免了当遮盖于兴趣点B的POI发生变化时,所展示的POI仍然存在相互遮盖的现象,且避免了同时存在展示的POI数量增加和数量减小的现象。Exemplarily, FIG. 2 is an example diagram showing POI information. As shown in Figure 2, the current visible map area includes three POIs: A, B, and C, and their weights are ranked as A, C, and B from high to low, that is, point of interest A has the highest weight, followed by point of interest C The weight of interest point B is the lowest. In the three scenarios, the electronic map in Figure 2 is zoomed out from top to bottom, that is, the map (2) is zoomed out from the map (1), the map (3) is zoomed out from the map (2), and then the POI is zoomed out from the three The overlapping of POIs that do not interfere with each other gradually occurs. The maps in the right column are respectively the map display status of the maps in the left column according to the method for displaying information on points of interest described in this embodiment. Wherein, since the map (1) is not covered, the three POIs can be displayed independently. In the map (2), points of interest B and C have a mutual covering relationship. Since the weight of point of interest C is higher than that of point of interest B, point of interest C is selected for display, and at the same time, the POI in the covered group is displayed. The quantity is 2. In the map (3), point of interest B not only has a mutual covering relationship with point C, but also has a mutual covering relationship with point of interest A. The corresponding points of interest A, B and C can be used as a covering group, and because of The weight of point A is the highest, and then the point of interest A is selected for display, and the number of POIs in the covered group is displayed, which is 3. It can be seen that, according to the size of the weight, the POI covered by the point of interest B in the map (3) changes from the point of interest C to the point of interest A. However, this embodiment avoids the phenomenon that the displayed POIs still cover each other when the POI covered by the point of interest B changes, and avoids the phenomenon that the number of displayed POIs increases and decreases at the same time.
本实施例的技术方案,通过确定当前地图可视区域中各个POI的标注区域,并分析各个POI标注区域之间的相互遮盖关系,对具有遮盖关系的POI标注区域进行分组,从而从各个遮盖分组中选择POI标注区域进行展示,而隐藏各遮盖分组中其他未被选择的POI标注区域。本发明实施例通过对具有遮盖关系的POI标注区域的所属的遮盖分组的划分,能够将当前地图可视区域中POI的整体情况及其细节信息清楚的展示给用户,解决了地图展示信息过多导致用户无法看清内容的问题,以及避免了电子地图缩放过程中展示出来的POI标注信息反复切换和变更导致地图显示零乱的问题,提高了地图POI信息展示的完整性和细节信息的突显性,进而提高用户对于电子地图的使用体验。In the technical solution of this embodiment, by determining the marked areas of each POI in the visible area of the current map, and analyzing the mutual covering relationship between the marked areas of each POI, the marked areas of POIs with covering relations are grouped, so that each covered grouping Select the POI labeling area to display, and hide other unselected POI labeling areas in each mask group. The embodiment of the present invention can clearly display the overall situation and detailed information of the POI in the current map visible area to the user by dividing the covered grouping of the POI marked area with a covered relationship, and solves the problem of excessive information displayed on the map. The problem that the user cannot see the content clearly, and the problem that the POI label information displayed during the zooming process of the electronic map is avoided repeatedly switching and changing, which leads to the problem of messy map display, improves the integrity of the map POI information display and the prominence of detailed information. Thereby, the user's experience of using the electronic map is improved.
实施例二Embodiment two
本实施例在上述实施例一的基础上,提供了兴趣点信息展示方法的一个优选实施方式,能够对隐藏的POI的数量及类型进行显示。图3为本发明实施例二提供的一种兴趣点信息展示方法的流程图,如图3所示,该方法包括以下具体步骤:On the basis of the first embodiment above, this embodiment provides a preferred implementation of the method for displaying POI information, which can display the number and types of hidden POIs. FIG. 3 is a flow chart of a method for displaying information on points of interest provided in Embodiment 2 of the present invention. As shown in FIG. 3 , the method includes the following specific steps:
S310、依据终端屏幕的尺寸和目标位置确定当前可视地图区域。S310. Determine the current visible map area according to the size of the terminal screen and the target position.
在本发明具体实施例中,在用户通过搜索或调整而确定地图显示区域后,依据终端屏幕的尺寸和目标位置确定当前可视地图区域,当前可视地图区域包含目标位置。具体的,可以根据POI在地图中的经纬度坐标来确定该POI在屏幕中的坐标,依据终端屏幕的尺寸即屏幕的长和宽、地图当前显示的比例尺或分辨率以及目标POI在屏幕中的坐标来确定当前可视地图区域。In a specific embodiment of the present invention, after the user determines the map display area by searching or adjusting, the current visible map area is determined according to the size of the terminal screen and the target position, and the current visible map area includes the target position. Specifically, the coordinates of the POI on the screen can be determined according to the latitude and longitude coordinates of the POI on the map, according to the size of the terminal screen, that is, the length and width of the screen, the scale or resolution currently displayed on the map, and the coordinates of the target POI on the screen to determine the current visible map area.
S320、依据当前可视地图区域中包括的各兴趣点的图标标注和/或文字标注,确定各兴趣点在终端屏幕上的兴趣点标注区域。S320. According to the icon label and/or text label of each point of interest included in the current visible map area, determine the point-of-interest labeled area of each point of interest on the terminal screen.
在本发明具体实施例中,对当前可视地图区域进行处理,依据当前可视地图区域中包括的各POI的图标标注和/或文字标注,同时动态获取当前可视地图区域的分辨率,以此确定图标标注的像素和/或文字标注的像素。依据图标标注的像素和/或文字标注的像素来确定POI标注区域的大小,并将POI标注区域的中心点坐标值确定为该POI标注区域的位置坐标。进而依据POI标注区域的大小和位置坐标,确定各POI在终端屏幕上的POI标注区域。In a specific embodiment of the present invention, the current visible map area is processed, and the resolution of the current visible map area is dynamically acquired according to the icon label and/or text label of each POI included in the current visible map area, so as to This determines the pixels for icon labels and/or the pixels for text labels. The size of the POI marked area is determined according to the pixels marked by the icon and/or the pixels marked by the text, and the coordinate value of the central point of the marked POI area is determined as the position coordinate of the marked POI area. Further, according to the size and position coordinates of the POI marking area, the POI marking area of each POI on the terminal screen is determined.
S330、若兴趣点标注区域与遮盖分组中的至少两个兴趣点标注区域具有相互遮盖关系,则确定该兴趣点标注区域与该遮盖分组具有相互遮盖关系。S330. If the POI labeling area and at least two POI labeling areas in the cover group have a mutual cover relationship, determine that the interest point label area and the cover group have a mutual cover relationship.
在本发明具体实施例中,可以预先设定遮盖比例阈值,即当两个POI标注区域的重叠区域与两个POI标注区域的面积比例高于该遮盖比例阈值时,则确定所述两个POI标注区域之间具有相互遮盖关系。本实施例对具有相互遮盖关系的POI标注区域进行分组,其中遮盖分组中可以仅存在一个POI标注区域,或者,遮盖分组存在满足遮盖关系的两个POI标注区域,或者遮盖分组中存在多余两个的POI标注区域,且其中必然存在至少一个POI标注区域与该遮盖分组中的其他至少两个POI标注区域具有相互遮盖关系。因此对于一个待分组的POI标注区域,若该待分组的POI标注区域与任意遮盖分组中的至少两个POI标注区域具有相互遮盖关系,则确定该待分组的POI标注区域与该遮盖分组具有相互遮盖关系。In a specific embodiment of the present invention, the coverage ratio threshold can be set in advance, that is, when the area ratio of the overlapping area of two POI labeling regions to the area of the two POI labeling regions is higher than the coverage ratio threshold, the two POIs are determined to be There is a mutual covering relationship between the marked areas. In this embodiment, POI labeling areas with a mutual covering relationship are grouped, wherein there may be only one POI labeling area in the covering group, or there may be two POI labeling areas satisfying the covering relationship in the covering group, or there may be more than two POI marking regions in the covering group. POI marked areas, and there must be at least one POI marked area that has a mutual covering relationship with at least two other POI marked areas in the covering group. Therefore, for a POI labeling area to be grouped, if the POI labeling area to be grouped has a mutual covering relationship with at least two POI labeling areas in any cover group, then it is determined that the POI labeling area to be grouped has a mutual covering relationship with the cover grouping. cover up the relationship.
S340、依据兴趣点标注区域与遮盖分组之间的相互遮盖关系确定各兴趣点标注区域所属的遮盖分组。S340. Determine the covering group to which each POI marking region belongs according to the mutual covering relationship between the POI marking region and the covering group.
在本发明具体实施例中,本实施例依据待分组的POI标注区域与遮盖分组之间的相互遮盖关系,确定待分组的POI标注区域的所属遮盖分组。本实施例考虑到各POI标注区域的遮盖关系是随着地图的缩放而发生变化的,因此优选根据以下原则进行遮盖分组的确定。In a specific embodiment of the present invention, this embodiment determines the covering group to which the POI marking area to be grouped belongs according to the mutual covering relationship between the POI marking area to be grouped and the covering group. In this embodiment, considering that the coverage relationship of each POI marked area changes with the zooming of the map, it is preferable to determine the coverage group according to the following principles.
可选的,若兴趣点标注区域与至少两个遮盖分组具有相互遮盖关系,则对所述至少两个遮盖分组进行合并,并确定该兴趣点标注区域属于合并后的遮盖分组;若兴趣点标注区域与一个遮盖分组具有相互遮盖关系,则确定该兴趣点标注区域属于该遮盖分组;若兴趣点标注区域与已有的遮盖分组均没有相互遮盖关系,则生成新的遮盖分组,并将该兴趣点标注区域划分到新遮盖分组中。Optionally, if the interest point labeling area has a mutual covering relationship with at least two covering groups, the at least two covering groups are merged, and it is determined that the interest point labeling area belongs to the merged covering group; if the interest point labeling If the region has a mutual covering relationship with a covering group, then it is determined that the marked area of the interest point belongs to the covering group; Point label regions are grouped into new mask groups.
在本发明具体实施例中,单独一个POI可以构成一个遮盖分组,与一个遮盖分组具有遮盖关系的POI可以归属于该遮盖分组,而同时与至少两个遮盖分组具有遮盖关系的POI,说明该至少两个遮盖分组也具有遮盖关系,进而将该至少两个遮盖分组进行合并,并将该POI归属于该合并后的遮盖分组。In a specific embodiment of the present invention, a single POI can constitute a cover group, and POIs that have a cover relationship with one cover group can belong to the cover group, while POIs that have cover relationships with at least two cover groups at the same time indicate that the at least The two cover groups also have a cover relationship, and then the at least two cover groups are merged, and the POI is assigned to the merged cover group.
S350、依据各遮盖分组中包括的各兴趣点权重,选择权重最大的兴趣点进行兴趣点标注区域展示。S350. According to the weights of the points of interest included in each masking group, select the point of interest with the largest weight to display the point of interest marked area.
在本发明具体实施例中,可以根据各POI的详情数据、评星等级以及用户评价等信息来计算各POI的权重,且依据一定的时间规则对各POI的权重进行更新。在遮盖分组中的POI选择的过程中,可以依据各遮盖分组中包括的各兴趣点权重,选择权重最大的兴趣点进行兴趣点标注区域展示。In a specific embodiment of the present invention, the weight of each POI can be calculated according to the detailed data of each POI, star rating and user evaluation, and the weight of each POI can be updated according to a certain time rule. In the process of selecting POIs in the cover group, the point of interest with the highest weight may be selected according to the weight of each point of interest included in each cover group to display the point of interest labeling area.
S360、在各遮盖分组中所展示的兴趣点标注区域处还展示各遮盖分组中所隐藏的兴趣点数量或者,还展示各遮盖分组中所隐藏的兴趣点数量以及类型。S360. Display the number of hidden interest points in each covered group at the marked area of the interest point displayed in each covered group, or further display the number and type of hidden interest points in each covered group.
在本发明具体实施例中,将其余未被选中即权重较低的POI对应的POI标注区域进行隐藏处理,避免了与所属遮盖分组中已展示的POI标注区域的相互遮盖。但在各遮盖分组中所展示的POI标注区域处还展示各遮盖分组中所隐藏的POI数量,或者同时展示各遮盖分组中所隐藏的POI数量以及类型。进而用户在浏览地图时,可以获知地图的整体情况,并得到权重较高的POI的具体信息,同时还可获知被隐藏的POI的数量和类型,让用户得知最佳POI时还可得到可供选择的POI的大致情况。In a specific embodiment of the present invention, the POI marked areas corresponding to the remaining unselected POIs with lower weights are hidden, so as to avoid mutual covering with the displayed POI marked areas in the covered group. However, the number of hidden POIs in each covered group is also displayed at the marked area of the POI displayed in each covered group, or the number and type of POIs hidden in each covered group are displayed at the same time. Furthermore, when the user browses the map, he can know the overall situation of the map, and obtain the specific information of the POI with higher weight. An overview of the POIs to choose from.
示例性的,图4为POI信息展示的实物示例图。如图4所示,左侧地图中在展示POI标注区域的同时,展示了各遮盖分组中隐藏的或者全部的POI的数量以及类型,进而用户可知该区域内还存在某类型POI的数量,便于用户的进一步查找。右侧地图为左侧地图缩小后的当前地图显示区域,从中可以看出,由于地图的缩小,各POI标注区域重叠的可能性增加,进而在展示权重最大的POI标注区域的同时,展示隐藏的POI的数量也随之增加。Exemplarily, FIG. 4 is an example diagram of a physical object displayed by POI information. As shown in Figure 4, while the POI marked area is displayed on the map on the left, the number and type of POIs hidden or all in each cover group are displayed, so that the user can know the number of POIs of a certain type in the area, which is convenient User's further lookup. The map on the right is the current map display area after the map on the left is zoomed out. It can be seen that due to the zooming out of the map, the possibility of overlapping POI labeling areas increases, and then the hidden POI labeling area is displayed while showing the most weighted POI labeling area. The number of POIs also increases accordingly.
本实施例的技术方案,通过确定当前地图可视区域中各个POI的标注区域,并分析各个POI标注区域之间的相互遮盖关系,对具有遮盖关系的POI标注区域进行分组,从而从各个遮盖分组中选择权重最大的POI标注区域进行展示,而隐藏各遮盖分组中其他未被选择的POI标注区域,但在POI标注区域展示的同时对该遮盖分组中隐藏的POI数量或者数量及类型进行展示。本发明实施例通过对具有遮盖关系的POI标注区域的所属的遮盖分组的划分,能够将当前地图可视区域中POI的整体情况及其细节信息清楚的展示给用户,解决了地图展示信息过多导致用户无法看清内容的问题,以及避免了电子地图缩放过程中展示出来的POI标注信息反复切换和变更导致地图显示零乱的问题,提高了地图POI信息展示的完整性和细节信息的突显性,进而提高用户对于电子地图的使用体验。In the technical solution of this embodiment, by determining the marked areas of each POI in the visible area of the current map, and analyzing the mutual covering relationship between the marked areas of each POI, the marked areas of POIs with covering relations are grouped, so that each covered grouping Select the POI labeling area with the largest weight to display, and hide other unselected POI labeling areas in each cover group, but display the number or quantity and type of POI hidden in the cover group while displaying the POI label area. The embodiment of the present invention can clearly display the overall situation and detailed information of the POI in the current map visible area to the user by dividing the covered grouping of the POI marked area with a covered relationship, and solves the problem of excessive information displayed on the map. The problem that the user cannot see the content clearly, and the problem that the POI label information displayed during the zooming process of the electronic map is avoided repeatedly switching and changing, which leads to the problem of messy map display, improves the integrity of the map POI information display and the prominence of detailed information. Thereby, the user's experience of using the electronic map is improved.
实施例三Embodiment Three
图5为本发明实施例三提供的一种兴趣点信息展示装置的结构示意图,本实施例可适用于电子地图在当前可视区域中展示POI标注区域的情况,该装置可实现本发明任意实施例所述的兴趣点信息展示方法。该装置具体包括:Figure 5 is a schematic structural diagram of a point-of-interest information display device provided by Embodiment 3 of the present invention. This embodiment is applicable to the situation where the electronic map displays POI marked areas in the current visible area, and the device can implement any implementation of the present invention. The method for displaying POI information described in the example. Specifically, the device includes:
标注区域确定模块510,用于确定当前可视地图区域中所包括的各兴趣点在终端屏幕上的兴趣点标注区域;Marking area determination module 510, configured to determine the point of interest marking area on the terminal screen of each point of interest included in the current visible map area;
遮盖分组确定模块520,用于依据各兴趣点标注区域之间的相互遮盖关系确定各兴趣点标注区域所属的遮盖分组;The cover group determination module 520 is used to determine the cover group to which each point of interest marked area belongs according to the mutual cover relationship between each point of interest marked area;
标注区域展示模块530,用于从各遮盖分组中选择兴趣点标注区域进行展示,并隐藏各遮盖分组中未被选择的兴趣点标注区域。The marked area display module 530 is configured to select the marked area of interest points from each covered group for display, and hide the unselected marked areas of interested points in each covered group.
可选的,所述标注区域确定模块510,包括:Optionally, the labeling area determination module 510 includes:
当前可视地图区域确定单元5101,用于依据终端屏幕的尺寸和目标位置确定当前可视地图区域;The current visible map area determination unit 5101 is configured to determine the current visible map area according to the size of the terminal screen and the target position;
标注区域确定单元5102,用于依据所述当前可视地图区域中包括的各兴趣点的图标标注和/或文字标注,确定各兴趣点在终端屏幕上的兴趣点标注区域。The labeling area determining unit 5102 is configured to determine the POI labeling area of each POI on the terminal screen according to the icon labeling and/or text labeling of each POI included in the current visible map area.
可选的,所述遮盖分组确定模块520包括:遮盖分组划分单元5201;所述遮盖分组划分单元5201具体用于:Optionally, the cover group determination module 520 includes: a cover group division unit 5201; the cover group division unit 5201 is specifically configured to:
若兴趣点标注区域与至少两个遮盖分组具有相互遮盖关系,则对所述至少两个遮盖分组进行合并,并确定该兴趣点标注区域属于合并后的遮盖分组;If the interest point labeling area has a mutual covering relationship with at least two cover groups, then merge the at least two cover groups, and determine that the interest point label area belongs to the merged cover group;
若兴趣点标注区域与一个遮盖分组具有相互遮盖关系,则确定该兴趣点标注区域属于该遮盖分组;If the interest point labeling area has a mutual covering relationship with a cover group, then it is determined that the interest point label area belongs to the cover group;
若兴趣点标注区域与已有的遮盖分组均没有相互遮盖关系,则生成新的遮盖分组,并将该兴趣点标注区域划分到新遮盖分组中。If there is no overlapping relationship between the POI labeling area and the existing cover group, a new cover group is generated, and the POI label area is divided into the new cover group.
可选的,所述遮盖分组确定模块520还包括:Optionally, the covered group determination module 520 also includes:
遮盖关系确定单元5202,用于在确定兴趣点标注区域所属的遮盖分组之前,若兴趣点标注区域与遮盖分组中的至少两个兴趣点标注区域具有相互遮盖关系,则确定该兴趣点标注区域与该遮盖分组具有相互遮盖关系。Covering relationship determination unit 5202, used to determine the coverage group to which the point of interest labeling area belongs, if the point of interest labeling area and at least two point of interest labeling areas in the cover group have a mutual cover relationship, then determine the point of interest labeling area and The cover groups have a mutual cover relationship.
可选的,所述标注区域展示模块530具体用于:Optionally, the marked area display module 530 is specifically used for:
依据各遮盖分组中包括的各兴趣点权重,选择权重最大的兴趣点进行兴趣点标注区域展示。According to the weights of the points of interest included in each mask group, the point of interest with the highest weight is selected for displaying the point of interest labeling area.
进一步的,所述装置还包括:Further, the device also includes:
隐藏信息展示模块540,用于在所述从各遮盖分组中选择兴趣点标注区域进行展示之后,在各遮盖分组中所展示的兴趣点标注区域处还展示各遮盖分组中所隐藏的兴趣点数量或者,还展示各遮盖分组中所隐藏的兴趣点数量以及类型。The hidden information display module 540 is used to display the hidden interest points in each covered group at the marked area of interest shown in each covered group after the selected point of interest marked area from each covered group is displayed Alternatively, the number and types of interest points hidden in each masked group are also displayed.
本实施例的技术方案,通过各个功能模块之间的相互配合,实现了当前可视地图区域的确定、POI标注区域的确定、各POI标注区域遮盖关系的确定、遮盖分组的划分、POI标注区域的展示和隐藏、以及隐藏信息的展示等功能。本发明实施例通过对具有遮盖关系的POI标注区域的所属的遮盖分组的划分,能够将当前地图可视区域中POI的整体情况及其细节信息清楚的展示给用户,解决了地图展示信息过多导致用户无法看清内容的问题,以及避免了电子地图缩放过程中展示出来的POI标注信息反复切换和变更导致地图显示零乱的问题,提高了地图POI信息展示的完整性和细节信息的突显性,进而提高用户对于电子地图的使用体验。The technical solution of this embodiment realizes the determination of the current visible map area, the determination of the POI marking area, the determination of the covering relationship of each POI marking area, the division of covering groups, and the POI marking area through the mutual cooperation between various functional modules. functions such as the display and hiding of information, and the display of hidden information. The embodiment of the present invention can clearly display the overall situation and detailed information of the POI in the current map visible area to the user by dividing the covered grouping of the POI marked area with a covered relationship, and solves the problem of excessive information displayed on the map. The problem that the user cannot see the content clearly, and the problem that the POI label information displayed during the zooming process of the electronic map is avoided repeatedly switching and changing, which leads to the problem of messy map display, improves the integrity of the map POI information display and the prominence of detailed information. Thereby, the user's experience of using the electronic map is improved.
实施例四Embodiment four
图6为本发明实施例四提供的一种服务器的结构示意图,图6示出了适于用来实现本发明实施例实施方式的示例性服务器的框图。图6显示的服务器仅仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。Fig. 6 is a schematic structural diagram of a server provided by Embodiment 4 of the present invention, and Fig. 6 shows a block diagram of an exemplary server suitable for implementing the embodiment of the present invention. The server shown in FIG. 6 is only an example, and should not limit the functions and scope of use of this embodiment of the present invention.
图6显示的服务器12仅仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。The server 12 shown in FIG. 6 is only an example, and should not limit the functions and scope of use of this embodiment of the present invention.
如图6所示,服务器12以通用计算设备的形式表现。服务器12的组件可以包括但不限于:一个或者多个处理器或者处理单元16,系统存储器28,连接不同系统组件(包括系统存储器28和处理单元16)的总线18。As shown in FIG. 6, server 12 takes the form of a general-purpose computing device. Components of server 12 may include, but are not limited to: one or more processors or processing units 16, system memory 28, bus 18 connecting various system components including system memory 28 and processing unit 16.
总线18表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,外围总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(ISA)总线,微通道体系结构(MAC)总线,增强型ISA总线、视频电子标准协会(VESA)局域总线以及外围组件互连(PCI)总线。Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus structures. These architectures include, by way of example, but are not limited to Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect ( PCI) bus.
服务器12典型地包括多种计算机系统可读介质。这些介质可以是任何能够被服务器12访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。Server 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by server 12 and include both volatile and nonvolatile media, removable and non-removable media.
系统存储器28可以包括易失性存储器形式的计算机系统可读介质,例如随机存取存储器(RAM)30和/或高速缓存存储器32。服务器12可以进一步包括其它可移动/不可移动的、易失性/非易失性计算机系统存储介质。仅作为举例,存储系统34可以用于读写不可移动的、非易失性磁介质(图6未显示,通常称为“硬盘驱动器”)。尽管图6中未示出,可以提供用于对可移动非易失性磁盘(例如“软盘”)读写的磁盘驱动器,以及对可移动非易失性光盘(例如CD-ROM,DVD-ROM或者其它光介质)读写的光盘驱动器。在这些情况下,每个驱动器可以通过一个或者多个数据介质接口与总线18相连。存储器28可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本发明实施例各实施例的功能。System memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and/or cache memory 32 . The server 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read and write to non-removable, non-volatile magnetic media (not shown in FIG. 6, commonly referred to as a "hard drive"). Although not shown in FIG. 6, a disk drive for reading and writing to removable non-volatile disks (such as "floppy disks") may be provided, as well as for removable non-volatile optical disks (such as CD-ROM, DVD-ROM or other optical media) CD-ROM drive. In these cases, each drive may be connected to bus 18 via one or more data media interfaces. Memory 28 may include at least one program product having a set (eg, at least one) of program modules configured to perform the functions of various embodiments of the present invention.
具有一组(至少一个)程序模块42的程序/实用工具40,可以存储在例如存储器28中,这样的程序模块42包括但不限于操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。程序模块42通常执行本发明实施例所描述的实施例中的功能和/或方法。A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including but not limited to an operating system, one or more application programs, other program modules, and program data , each or some combination of these examples may include implementations of network environments. The program module 42 generally executes the functions and/or methods in the embodiments described in the embodiments of the present invention.
服务器12也可以与一个或多个外部设备14(例如键盘、指向设备、显示器24等)通信,还可与一个或者多个使得用户能与该服务器12交互的设备通信,和/或与使得该服务器12能与一个或多个其它计算设备进行通信的任何设备(例如网卡,调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口22进行。并且,服务器12还可以通过网络适配器20与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器20通过总线18与服务器12的其它模块通信。应当明白,尽管图中未示出,可以结合服务器12使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。Server 12 may also communicate with one or more external devices 14 (e.g., keyboards, pointing devices, displays 24, etc.), and may also communicate with one or more devices that enable users to interact with Server 12 is capable of communicating with any device (eg, network card, modem, etc.) that communicates with one or more other computing devices. Such communication may occur through input/output (I/O) interface 22 . Moreover, the server 12 can also communicate with one or more networks (eg, a local area network (LAN), a wide area network (WAN) and/or a public network, such as the Internet) through the network adapter 20 . As shown, network adapter 20 communicates with other modules of server 12 via bus 18 . It should be appreciated that although not shown, other hardware and/or software modules may be used in conjunction with server 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and Data backup storage system, etc.
处理单元16通过运行存储在系统存储器28中的程序,从而执行各种功能应用以及数据处理,例如实现本发明实施例所提供的兴趣点信息展示方法。The processing unit 16 executes various functional applications and data processing by running the programs stored in the system memory 28 , such as implementing the method for displaying information on points of interest provided by the embodiments of the present invention.
实施例五Embodiment five
本发明实施例五还提供一种计算机可读存储介质,其上存储有计算机程序(或称为计算机可执行指令),该程序被处理器执行时用于执行一种兴趣点信息展示方法,该方法包括:Embodiment 5 of the present invention also provides a computer-readable storage medium, on which a computer program (or called computer-executable instructions) is stored. When the program is executed by a processor, it is used to perform a method for displaying information on points of interest. Methods include:
确定当前可视地图区域中所包括的各兴趣点在终端屏幕上的兴趣点标注区域;Determine the point-of-interest marking area on the terminal screen of each point of interest included in the current visible map area;
依据各兴趣点标注区域之间的相互遮盖关系确定各兴趣点标注区域所属的遮盖分组;Determine the cover group to which each POI labeling area belongs according to the mutual covering relationship between the POI labeling areas;
从各遮盖分组中选择兴趣点标注区域进行展示,并隐藏各遮盖分组中未被选择的兴趣点标注区域。Select the POI labeling area from each masking group to display, and hide the not selected POI labeling area in each masking group.
本发明实施例的计算机存储介质,可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。The computer storage medium in the embodiments of the present invention may use any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (non-exhaustive list) of computer readable storage media include: electrical connections with one or more leads, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), Erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。A computer readable signal medium may include a data signal carrying computer readable program code in baseband or as part of a carrier wave. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. .
计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括——但不限于无线、电线、光缆、RF等等,或者上述的任意合适的组合。Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including - but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
可以以一种或多种程序设计语言或其组合来编写用于执行本发明实施例操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如”C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for carrying out operations of embodiments of the present invention may be written in one or more programming languages, or combinations thereof, including object-oriented programming languages—such as Java, Smalltalk, C++, including A conventional procedural programming language—such as "C" or a similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In cases involving a remote computer, the remote computer can be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as through an Internet service provider). Internet connection).
注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明实施例进行了较为详细的说明,但是本发明实施例不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present invention and applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the embodiments of the present invention have been described in detail through the above embodiments, the embodiments of the present invention are not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention. , and the scope of the present invention is determined by the scope of the appended claims.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810615333.3ACN110609878A (en) | 2018-06-14 | 2018-06-14 | Point of interest information display method, device, server and storage medium |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810615333.3ACN110609878A (en) | 2018-06-14 | 2018-06-14 | Point of interest information display method, device, server and storage medium |
| Publication Number | Publication Date |
|---|---|
| CN110609878Atrue CN110609878A (en) | 2019-12-24 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810615333.3APendingCN110609878A (en) | 2018-06-14 | 2018-06-14 | Point of interest information display method, device, server and storage medium |
| Country | Link |
|---|---|
| CN (1) | CN110609878A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111694921A (en)* | 2020-06-15 | 2020-09-22 | 百度在线网络技术(北京)有限公司 | Method and apparatus for displaying point of interest identification |
| CN111767295A (en)* | 2020-06-29 | 2020-10-13 | 北京百度网讯科技有限公司 | Map data processing method, device, computing device and medium |
| CN112100302A (en)* | 2020-09-02 | 2020-12-18 | 北京百度网讯科技有限公司 | Display method, device, device and readable storage medium of map information point |
| CN113392336A (en)* | 2020-03-13 | 2021-09-14 | 百度在线网络技术(北京)有限公司 | Interest point display method and device, electronic equipment and storage medium |
| CN115033652A (en)* | 2021-03-05 | 2022-09-09 | 阿里巴巴新加坡控股有限公司 | A point of interest aggregation method, apparatus, system and related products |
| CN115079980A (en)* | 2022-06-27 | 2022-09-20 | 平安银行股份有限公司 | A data display method and device |
| CN115451994A (en)* | 2022-08-17 | 2022-12-09 | 阿里巴巴(中国)有限公司 | Method, device and equipment for displaying regional POI |
| WO2023274205A1 (en)* | 2021-06-30 | 2023-01-05 | 华为技术有限公司 | Poi display method and device |
| CN119828928A (en)* | 2024-12-19 | 2025-04-15 | 滴图(北京)科技有限公司 | Method, apparatus, device and storage medium for interaction |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103050054A (en)* | 2011-10-11 | 2013-04-17 | 上海博泰悦臻电子设备制造有限公司 | Map display method and device of information point |
| CN103208227A (en)* | 2012-01-12 | 2013-07-17 | 腾讯科技(深圳)有限公司 | Method, system and electronic device for displaying points of interest of electronic map and electronic device |
| US20160365072A1 (en)* | 2014-06-20 | 2016-12-15 | Apple Inc. | Graphical representation generation for multiple points of interest |
| CN106289298A (en)* | 2015-05-21 | 2017-01-04 | 比亚迪股份有限公司 | The display packing of point of interest and device, onboard navigation system |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103050054A (en)* | 2011-10-11 | 2013-04-17 | 上海博泰悦臻电子设备制造有限公司 | Map display method and device of information point |
| CN103208227A (en)* | 2012-01-12 | 2013-07-17 | 腾讯科技(深圳)有限公司 | Method, system and electronic device for displaying points of interest of electronic map and electronic device |
| US20160365072A1 (en)* | 2014-06-20 | 2016-12-15 | Apple Inc. | Graphical representation generation for multiple points of interest |
| CN106289298A (en)* | 2015-05-21 | 2017-01-04 | 比亚迪股份有限公司 | The display packing of point of interest and device, onboard navigation system |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113392336A (en)* | 2020-03-13 | 2021-09-14 | 百度在线网络技术(北京)有限公司 | Interest point display method and device, electronic equipment and storage medium |
| CN113392336B (en)* | 2020-03-13 | 2025-03-25 | 百度在线网络技术(北京)有限公司 | A method, device, electronic device and storage medium for displaying points of interest |
| CN111694921A (en)* | 2020-06-15 | 2020-09-22 | 百度在线网络技术(北京)有限公司 | Method and apparatus for displaying point of interest identification |
| CN111767295A (en)* | 2020-06-29 | 2020-10-13 | 北京百度网讯科技有限公司 | Map data processing method, device, computing device and medium |
| CN111767295B (en)* | 2020-06-29 | 2024-03-01 | 北京百度网讯科技有限公司 | Map data processing method, device, computing equipment and medium |
| CN112100302A (en)* | 2020-09-02 | 2020-12-18 | 北京百度网讯科技有限公司 | Display method, device, device and readable storage medium of map information point |
| CN112100302B (en)* | 2020-09-02 | 2024-03-29 | 北京百度网讯科技有限公司 | Display method, device, equipment and readable storage medium for map information points |
| CN115033652A (en)* | 2021-03-05 | 2022-09-09 | 阿里巴巴新加坡控股有限公司 | A point of interest aggregation method, apparatus, system and related products |
| WO2023274205A1 (en)* | 2021-06-30 | 2023-01-05 | 华为技术有限公司 | Poi display method and device |
| CN115079980A (en)* | 2022-06-27 | 2022-09-20 | 平安银行股份有限公司 | A data display method and device |
| CN115451994A (en)* | 2022-08-17 | 2022-12-09 | 阿里巴巴(中国)有限公司 | Method, device and equipment for displaying regional POI |
| CN119828928A (en)* | 2024-12-19 | 2025-04-15 | 滴图(北京)科技有限公司 | Method, apparatus, device and storage medium for interaction |
| Publication | Publication Date | Title |
|---|---|---|
| CN110609878A (en) | Point of interest information display method, device, server and storage medium | |
| US9620085B2 (en) | Representation of overlapping visual entities | |
| JP7032277B2 (en) | Systems and methods for disambiguating item selection | |
| US8504945B2 (en) | Method and system for associating content with map zoom function | |
| US8490025B2 (en) | Displaying content associated with electronic mapping systems | |
| US9552129B2 (en) | Interactive visual representation of points of interest data | |
| JP7032451B2 (en) | Dynamically changing the visual properties of indicators on digital maps | |
| US20090113296A1 (en) | Displaying a map and associated symbolic context information | |
| US20140359537A1 (en) | Online advertising associated with electronic mapping systems | |
| US20110265023A1 (en) | Interactive Representation of Clustered Entities | |
| US20130155181A1 (en) | Point of interest (poi) data positioning in image | |
| US8839091B2 (en) | Presenting faceted data on a user interface | |
| CN113204320A (en) | Information display method and device | |
| US20160116296A1 (en) | Providing instant routing options | |
| CN113886662A (en) | Method, system and storage medium for rendering map for user | |
| US9378571B1 (en) | Browsing large geocoded datasets using nested shapes | |
| CN116226561A (en) | Map loading method, system, medium and device | |
| CN115098611A (en) | Data display method and device, electronic equipment and storage medium | |
| Ricker et al. | CV-40-Mobile Maps and Responsive Design | |
| US20180007168A1 (en) | Server-specified end-of-list actions | |
| KR20000050002A (en) | Visual Business Information Directory System |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | Application publication date:20191224 | |
| RJ01 | Rejection of invention patent application after publication |