WO2017173783A1 - Method of displaying point of interest, and terminal - Google Patents

Method of displaying point of interest, and terminal Download PDF

Info

Publication number
WO2017173783A1
WO2017173783A1 PCT/CN2016/099634 CN2016099634W WO2017173783A1 WO 2017173783 A1 WO2017173783 A1 WO 2017173783A1 CN 2016099634 W CN2016099634 W CN 2016099634W WO 2017173783 A1 WO2017173783 A1 WO 2017173783A1
Authority
WO
WIPO (PCT)
Prior art keywords
address
source
aggregation group
source addresses
addresses
Prior art date
Application number
PCT/CN2016/099634
Other languages
French (fr)
Chinese (zh)
Inventor
王志刚
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017173783A1 publication Critical patent/WO2017173783A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries

Definitions

  • the present invention relates to the field of communications, and in particular to a point of interest data display method and terminal in the field of electronic maps.
  • the main technical problem to be solved by the present invention is to provide a method and a terminal for displaying a point of interest data, which can solve the problem that only the most matching address is displayed on the map after the current address query is inconvenient for the user to accurately search, resulting in poor user experience satisfaction.
  • the problem is to provide a method and a terminal for displaying a point of interest data, which can solve the problem that only the most matching address is displayed on the map after the current address query is inconvenient for the user to accurately search, resulting in poor user experience satisfaction.
  • an embodiment of the present invention provides a method for displaying a point of interest data, including:
  • each aggregation group includes at least one source address
  • the aggregation grouping principle is:
  • the above operation is repeated by reselecting one of the remaining source addresses as the center address until all source addresses are grouped.
  • selecting one of all current source addresses as the central address comprises:
  • selecting a source address from each aggregation group as a representative address includes:
  • the method further includes:
  • the source addresses hidden in the aggregation group currently selected by the user are displayed on the map, or the hidden source addresses in all the aggregation groups are expanded and displayed.
  • the embodiment of the present invention further provides a point of interest data display terminal, including:
  • An instruction receiving module configured to receive a point of interest search instruction including a destination address
  • An address obtaining module configured to obtain all source addresses related to the destination address
  • a packet processing module configured to divide the source address into at least one aggregation group according to an aggregation grouping principle, where each aggregation group includes at least one source address;
  • the display control module is configured to select at least one source address from each aggregation group as a representative address to display on the map, and hide other source addresses in each aggregation group.
  • the aggregation grouping principle is:
  • the above operation is repeated by reselecting one of the remaining source addresses as the center address until all source addresses are grouped.
  • the packet processing module includes:
  • a first selection unit configured to randomly select one of all current source addresses as a central address
  • a second selection unit configured to select a source address ranked first in all current source addresses as a central address
  • a third selection unit configured to select a source address that is closest to the current location of the user from all current source addresses as the central address
  • the fourth selection unit is configured to select, as the central address, a source address having the highest matching degree with the destination address from all current source addresses.
  • the display control module includes a representative address selection unit configured to select a central address of each aggregation group as a representative address of each aggregation group.
  • the method further includes: expanding the display module, configured to: when the display control mode selects at least one source address from each aggregation group as a representative address, after displaying on the map, receiving the expanded display instruction
  • the source addresses hidden in the aggregation group currently selected by the user are displayed on the map, or the source addresses hidden in all the aggregation groups are expanded and displayed.
  • a computer storage medium is further provided, and the computer storage medium may store an execution instruction for executing the implementation of the point of interest data display method in the above embodiment.
  • the method for displaying a point of interest data and the terminal provided by the embodiment of the present invention, after obtaining all the source addresses related to the destination address searched by the user, do not directly display the most matching one source address; All the source addresses are first divided into at least one aggregation group according to the aggregation grouping principle, and then at least one source address is selected as the representative address from each aggregation group; finally, the representative address of each aggregation group is displayed on the map, and other sources in each aggregation group are displayed. The address is hidden. This can ensure that multiple representative addresses are displayed on the map for the user to select, so that the user can select the desired destination address from multiple representative addresses by one query operation, thereby improving the accuracy of one query. There is no irregular display of all source addresses on the map, which is not convenient for users to find accurately. Therefore, the satisfaction of the user experience can be greatly improved.
  • At least one source address is selected from each aggregation group as a representative address to be displayed on the map for the user to query.
  • the user may One or more aggregation groups (in which case the user can estimate or determine the destination address in these aggregation groups); after receiving the expanded display command, the sources hidden in one or more aggregation groups currently selected by the user can be The address is expanded on the map for the user to further filter the query.
  • the user can greatly narrow the scope of the query in the process of the second query difference, so that the user can find the destination address faster and more accurately, which can further enhance the user experience.
  • FIG. 1 is a schematic flowchart 1 of a method for displaying a point of interest data according to Embodiment 1 of the present invention
  • FIG. 2 is a second schematic flowchart of a method for displaying a point of interest data according to Embodiment 1 of the present invention
  • FIG. 3 is a schematic structural diagram 1 of a point of interest data display terminal according to Embodiment 2 of the present invention.
  • FIG. 4 is a schematic structural diagram 2 of a point of interest data display terminal according to Embodiment 2 of the present invention.
  • the present invention does not directly display the most matching one source address; instead, all the obtained source addresses are first divided into at least one according to the aggregation grouping principle. Aggregate the group, and then select at least one source address from each aggregation group as the representative address to display on the map. In this way, it can ensure that multiple representative addresses are displayed on the map for the user to select, and the success rate of one query success is improved; and all source addresses are not displayed on the map in an irregular manner, which is inconvenient for the user to accurately find. The problem can greatly improve the satisfaction of the user experience.
  • the present invention will be further described in detail below with reference to the accompanying drawings.
  • Embodiment 1 is a diagrammatic representation of Embodiment 1:
  • the method for displaying a point of interest data includes:
  • S101 Receive a point of interest search instruction including a destination address.
  • the destination address in this embodiment is the address that the user wants to query; the point of interest search instruction in this embodiment can be input by voice or manually.
  • the source addresses obtained in this step are all obtained by searching and matching according to the destination address, and generally include multiple. Of course, when the destination address entered is sufficiently accurate or there is only one destination address, there is only one source address searched.
  • All acquired source addresses are divided into at least one aggregation group according to an aggregation grouping principle; each obtained aggregation group includes at least one source address.
  • S104 Select at least one source address from each aggregation group as a representative address to display on the map, and hide other source addresses in each aggregation group.
  • the user can display multiple representative addresses on the map, and the user can now query the representative address to see if there is a destination address that he wants. Compared with the existing one showing only one source address with the highest matching degree, the accuracy of displaying the query success can be improved.
  • the above operation is repeated by reselecting one of the remaining source addresses as the center address until all source addresses are grouped.
  • the above example aggregation principle is that the center address is the center of the circle, and the preset distance threshold L (for example, 1 KM, it is worth noting that the value of the L can be flexibly set according to a specific application scenario) is a radius, and all the sources in the region are The address is divided into an aggregation group. For example, suppose that all source addresses currently associated with the destination address are addr1, addr2, addr3, addr4, addr5, addr6. When grouping, select addr1 as the center address, addr2 and addr3 are separated from addr1 by L1 and L2, and L1 and L2 are both smaller than L.
  • L preset distance threshold
  • Addr4, addr5, addr6 to addr1 are greater than L, then addr1, addr2, addr3 Divided into an aggregation group A. The remaining addr4, addr5, addr6. Then addr4 is selected as the central address, addr5 and addr6 are separated from addr4 by L5 and L6, respectively, and L5 and L5 are both smaller than L, so addr4, addr5, and addr6 are divided into one aggregation group B. Therefore, two aggregation groups are obtained, and the representative addresses of the two aggregation groups A and B are displayed on the map.
  • the source addresses in the list may be sorted according to the matching degree, and the matching degree is based on the name, the distance, and the search.
  • the frequency and other factors are comprehensively calculated, and the results with the best matching degree are in front, and then arranged in order.
  • This embodiment can sort according to the matching degree based on the address list, and the optimal result is at the forefront.
  • a source address with the highest matching degree with the destination address is selected from all current source addresses as the central address.
  • a source address may be selected from each aggregation group as a representative address, and other source addresses in the aggregation group are first hidden and not displayed.
  • the central address of each aggregation group may be specifically selected as a representative address of each aggregation group.
  • the user may further input and expand. Display instructions. And the user can input the expansion display instruction for one or more aggregation groups, or can directly expand the display instruction for all aggregation groups.
  • the expansion display instruction for one or more aggregation groups or can directly expand the display instruction for all aggregation groups.
  • the hidden source addresses in all the aggregation groups are expanded and displayed.
  • the core of the invention is to group the searched address lists by using an aggregation algorithm, and flexibly use the aggregated address sets when displaying the search results, thereby effectively reducing the user's operation steps and improving the destination address on the first display page.
  • the probability. Let’s take a full example The present invention is further illustrated, as shown in FIG. 2, including:
  • S201 Add all source addresses searched according to the destination address keyword input by the user to the address list as the original address list.
  • S202 Select the first address addr1 and use it as the central address.
  • the sublist ChildList1 can be obtained.
  • ChildList1 ⁇ addr1, addr 2, addr 4, addr 5 ⁇ ;
  • the source that is the central address is also placed in this sublist as the first address, which is the first aggregation group after aggregation.
  • S206 Repeat the previous S202 to S205 until all the addresses are aggregated, and the entire process ends, and finally, multiple aggregated address sets can be obtained.
  • AggregationList ⁇ ChildList1,ChildList2,ChildList3,... ⁇ ;
  • the user can expand the address in a hidden sublist by clicking the action, or click to expand the address in all sublists. What kind of solution is adopted to show users the best user experience, and flexible choice according to specific scenarios.
  • Embodiment 2 is a diagrammatic representation of Embodiment 1:
  • the present embodiment provides a point of interest data display terminal, which can be any mobile terminal or fixed type terminal that can realize electronic map search and display.
  • the instruction receiving module 31 is configured to receive a point of interest search instruction including a destination address; the destination address is an address that the user wants to query; and the point of interest search instruction in the embodiment may be input by voice or manually.
  • the address obtaining module 32 is configured to obtain all source addresses related to the destination address.
  • the source addresses obtained here are all obtained by searching and matching according to the destination address, and generally include multiple.
  • the packet processing module 33 is configured to divide the obtained source address into at least one aggregation group according to an aggregation grouping principle, and each aggregation group includes at least one source address;
  • the display control module 34 is configured to select at least one source address from each aggregation group as a representative address to display on the map, and hide other source addresses in each aggregation group. In this way, after inputting the interest point search instruction with the destination address, the user can display multiple representative addresses on the map, and the user can now query the representative address to see if there is a destination address that he wants. Compared with the existing one showing only one source address with the highest matching degree, the accuracy of displaying the query success can be improved.
  • the above operation is repeated by reselecting one of the remaining source addresses as the center address until all source addresses are grouped.
  • the packet processing module 33 in this embodiment includes:
  • a first selection unit configured to randomly select one of all current source addresses as a central address
  • a second selection unit configured to select a source address ranked first in all current source addresses as a central address
  • a third selection unit configured to select a source address that is closest to the current location of the user from all current source addresses as the central address
  • the fourth selection unit is configured to select, as the central address, a source address having the highest matching degree with the destination address from all current source addresses.
  • the display control module 34 in this embodiment includes a representative address selection unit configured to select a central address of each aggregation group as a representative address of each aggregation group.
  • the point of interest data display terminal in this embodiment further includes an expanded display module 35, configured to display at least one source address from each aggregation group as a representative address after being displayed on the map in the display control module 34.
  • an expanded display module 35 configured to display at least one source address from each aggregation group as a representative address after being displayed on the map in the display control module 34.
  • the first aggregation group After comparing these distances with THRESHOLD_VALUE (which takes 1km), put all the addresses smaller than THRESHOLD_VALUE and the center address together to get the first sublist, the first aggregation group:
  • ChildList1 ⁇ People's Park, People's Park - Parking Lot, People's Park - Dongmen, People's Park - Ximen, People's Park - South Gate, People's Park - North Gate, People's Park - Subway Station Exit A, People's Park - Subway Station B Exit , People's Park - Subway Station Exit C, People's Park - Subway Station D Mouth, People's Park - Public Toilet, People's Park - Nanmen Bus Station, People's Park - Beimen Bus Station, People's Park Playground, McDonald's (People's Park), Lanzhou Ramen (People's Park), ..., dog ignores ( People's Park Store) ⁇ ;
  • ChildList2 ⁇ People's Park (Huizhou) ⁇ ;
  • ChildList3 ⁇ People's Park (Dongguan) ⁇ ;
  • the center address at the time of performing the aggregation operation in each sub-list is directly selected as the representative address in each sub-list for display. It is also possible to select at least one other source address as a representative address for display at the same time by selecting the center address. You can also select an address other than the center address for display.
  • the user is in Shenzhen, but the address you want to find is “People's Park (Dongguan)”.
  • the user enters the “People's Park” four keywords to search.
  • the result is thousands of addresses for users to choose. Usually one page can be displayed. Five addresses, according to the address order listed above, the user needs to at least turn to the fourth page to see the address you want to go. This kind of user experience is obviously not the best.
  • modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices.
  • they may be implemented by program code executable by the computing device such that they may be stored in a storage medium (ROM/RAM, diskette, optical disk) by a computing device, and in some cases
  • the steps shown or described may be performed in an order different than that herein, or they may be separately fabricated into individual integrated circuit modules, or a plurality of the modules or steps may be implemented as a single integrated circuit module. Therefore, the invention is not limited to any particular combination of hardware and software.
  • the foregoing technical solution of the embodiment of the present invention may be applied to display process of the point of interest data, and select at least one source address from each aggregation group as a representative address to be displayed on the map for the user to query, when the user is represented by the display.
  • the user can target one or more aggregation groups (in which case the user can estimate or determine the destination address in these aggregation groups); after receiving the expanded display command, the user can be selected currently.
  • the source addresses hidden in one or more aggregation groups are displayed on the map for the user to perform further screening queries. At this point, the user can greatly narrow the scope of the query in the process of the second query difference, so that the user can find the destination address faster and more accurately.

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method of displaying a point of interest, and a terminal. The method comprises: after acquiring all source addresses associated with a user input querying target address, not directly displaying a best matching source address; sorting, according to a grouping and aggregating rule, all the acquired source addresses into at least one aggregation group; selecting from each aggregation group at least one source address to be a representative address; and displaying on a map the representative address of each aggregation group, hiding other source addresses in each aggregation group. As such, the embodiment can ensure a plurality of representative addresses are simultaneously displayed on the map for a user to select, facilitating the user to select, in one query operation and from the plurality of representative addresses, a target address of interest, increasing accuracy of the query response without diverting the user from conducting an accurate search owing to arbitrarily displaying all source address on the map, and increasing user experience and satisfaction.

Description

兴趣点数据显示方法及终端Point of interest data display method and terminal 技术领域Technical field
本发明涉及通信领域,具体涉及电子地图领域中的一种兴趣点(Point of Interest)数据显示方法及终端。The present invention relates to the field of communications, and in particular to a point of interest data display method and terminal in the field of electronic maps.
背景技术Background technique
随着交通的日渐便利以及出行范围的扩大,日常生活中人们使用地图和导航软件查询目的地的频次越来越高,不但可以手动输入查找想去的地方,也可以通过语音查找,方便又快捷。With the increasing convenience of transportation and the expansion of travel range, people in daily life use maps and navigation software to query destinations more and more frequently. Not only can you manually find the places you want to go, but you can also find them by voice. .
但在查询目的地时,如果输入的关键词不够准确,经常会遇到搜索出来一大堆地址信息的情况,用户还要仔细地查看,甚至还要通过数次翻页的操作才能找到自己真正想去的地址。特别地,对于使用语音导航的用户,如果用户在驾驶过程中需要手动翻页查看地址列表将是非常危险的事情。However, when querying the destination, if the keywords entered are not accurate enough, you will often encounter a situation where a large amount of address information is searched. The user has to look carefully and even find the real thing by turning the page several times. I want to go to the address. In particular, for users who use voice navigation, it is very dangerous if the user needs to manually page through the address list during driving.
目前针对地址查询结果过多的问题,常见的做法是仅显示最为匹配的一个结果。当该结果并不是用户想要查询目的地址时,用户只有再进行一次或多次操作(如点击按钮或滑动屏幕),才能查看到所有结果,且此时所查看到的结果在地图上显示并无任何规律,需要用户花大量的时间和精力进行查找,这样显然过于繁琐,每增加一个步骤都是对用户体验的极大损害,用户体验满意度大大降低。Currently, for the problem of too many address query results, it is common practice to display only one result that matches the most. When the result is not that the user wants to query the destination address, the user can only see one or more operations (such as clicking a button or sliding the screen) to view all the results, and the results viewed at this time are displayed on the map and Without any rules, it takes a lot of time and effort for the user to search, which is obviously too cumbersome. Each additional step is greatly damaging to the user experience, and the user experience satisfaction is greatly reduced.
发明内容Summary of the invention
本发明要解决的主要技术问题是,提供一种兴趣点数据显示方法及终端,解决现有进行地址查询后仅在地图上显示最为匹配的一个地址不方便用户准确查找,导致用户体验满意度差的问题。The main technical problem to be solved by the present invention is to provide a method and a terminal for displaying a point of interest data, which can solve the problem that only the most matching address is displayed on the map after the current address query is inconvenient for the user to accurately search, resulting in poor user experience satisfaction. The problem.
为解决上述技术问题,本发明实施例提供一种兴趣点数据显示方法,包括: To solve the above technical problem, an embodiment of the present invention provides a method for displaying a point of interest data, including:
接收包含目的地址的兴趣点搜索指令;Receiving a point of interest search instruction including a destination address;
获取与所述目的地址相关的所有源地址;Obtaining all source addresses associated with the destination address;
将所述源地址按聚合分组原则分成至少一个聚合组,每一个聚合组包含至少一个源地址;And dividing the source address into at least one aggregation group according to an aggregation grouping principle, where each aggregation group includes at least one source address;
从各聚合组中选择至少一个源地址作为代表地址在地图上进行显示,将各聚合组中的其他源地址进行隐藏。Select at least one source address from each aggregation group as a representative address to display on the map, and hide other source addresses in each aggregation group.
在本发明的一种实施例中,所述聚合分组原则为:In an embodiment of the invention, the aggregation grouping principle is:
从当前所有源地址中选择一个作为中心地址;Select one of all current source addresses as the center address;
将当前所有源地址中与所述中心地址之间的距离小于预设距离阈值的源地址以及该中心地址分为一个聚合组;And dividing the source address of the current source address and the central address with a distance less than a preset distance threshold and the center address into an aggregation group;
从当前剩下的源地址重新选择一个作为中心地址重复上述操作,直到对所有源地址实现分组。The above operation is repeated by reselecting one of the remaining source addresses as the center address until all source addresses are grouped.
在本发明的一种实施例中,从当前所有源地址中选择一个作为中心地址包括:In an embodiment of the invention, selecting one of all current source addresses as the central address comprises:
从当前所有源地址中随机选择一个作为中心地址;Randomly select one of all current source addresses as the central address;
或从当前所有源地址中选择排在第一位的源地址作为中心地址;Or select the source address ranked first in all current source addresses as the central address;
或从当前所有源地址中选择与用户当前位置距离最近的一个源地址作为中心地址;Or selecting a source address that is closest to the current location of the user from all current source addresses as the central address;
或从当前所有源地址中选择与所述目的地址匹配度最高的一个源地址作为中心地址。Or select one source address that has the highest matching degree with the destination address from all current source addresses as the central address.
在本发明的一种实施例中,从各聚合组中选择一个源地址作为代表地址,包括:In an embodiment of the present invention, selecting a source address from each aggregation group as a representative address includes:
选择各聚合组的中心地址作为各聚合组的代表地址。Select the central address of each aggregation group as the representative address of each aggregation group.
在本发明的一种实施例中,从各聚合组中选择至少一个源地址作为代表地址在地图上进行显示后,还包括: In an embodiment of the present invention, after selecting at least one source address from each aggregation group as a representative address to be displayed on the map, the method further includes:
接收到展开显示指令时,对用户当前选择的聚合组中隐藏的各源地址在地图上展开显示,或对所有聚合组中隐藏的源地址进行展开显示。When receiving the expanded display command, the source addresses hidden in the aggregation group currently selected by the user are displayed on the map, or the hidden source addresses in all the aggregation groups are expanded and displayed.
为了解决上述问题,本发明实施例还提供了一种兴趣点数据显示终端,包括:In order to solve the above problem, the embodiment of the present invention further provides a point of interest data display terminal, including:
指令接收模块,设置为接收包含目的地址的兴趣点搜索指令;An instruction receiving module configured to receive a point of interest search instruction including a destination address;
地址获取模块,设置为获取与所述目的地址相关的所有源地址;An address obtaining module, configured to obtain all source addresses related to the destination address;
分组处理模块,设置为将所述源地址按聚合分组原则分成至少一个聚合组,每一个聚合组包含至少一个源地址;a packet processing module, configured to divide the source address into at least one aggregation group according to an aggregation grouping principle, where each aggregation group includes at least one source address;
显示控制模块,设置为从各聚合组中选择至少一个源地址作为代表地址在地图上进行显示,将各聚合组中的其他源地址进行隐藏。The display control module is configured to select at least one source address from each aggregation group as a representative address to display on the map, and hide other source addresses in each aggregation group.
在本发明的一种实施例中,所述聚合分组原则为:In an embodiment of the invention, the aggregation grouping principle is:
从当前所有源地址中选择一个作为中心地址;Select one of all current source addresses as the center address;
将当前所有源地址中与所述中心地址之间的距离小于预设距离阈值的源地址以及该中心地址分为一个聚合组;And dividing the source address of the current source address and the central address with a distance less than a preset distance threshold and the center address into an aggregation group;
从当前剩下的源地址重新选择一个作为中心地址重复上述操作,直到对所有源地址实现分组。The above operation is repeated by reselecting one of the remaining source addresses as the center address until all source addresses are grouped.
在本发明的一种实施例中,所述分组处理模块包括:In an embodiment of the present invention, the packet processing module includes:
第一选择单元,设置为从当前所有源地址中随机选择一个作为中心地址;a first selection unit, configured to randomly select one of all current source addresses as a central address;
或第二选择单元,设置为从当前所有源地址中选择排在第一位的源地址作为中心地址;Or a second selection unit, configured to select a source address ranked first in all current source addresses as a central address;
或第三选择单元,设置为从当前所有源地址中选择与用户当前位置距离最近的一个源地址作为中心地址;Or a third selection unit, configured to select a source address that is closest to the current location of the user from all current source addresses as the central address;
或第四选择单元,设置为从当前所有源地址中选择与所述目的地址匹配度最高的一个源地址作为中心地址。 Or the fourth selection unit is configured to select, as the central address, a source address having the highest matching degree with the destination address from all current source addresses.
在本发明的一种实施例中,所述显示控制模块包括代表地址选择单元,设置为选择各聚合组的中心地址作为各聚合组的代表地址。In an embodiment of the present invention, the display control module includes a representative address selection unit configured to select a central address of each aggregation group as a representative address of each aggregation group.
在本发明的一种实施例中,还包括展开显示模块,设置为在所述显示控制模从各聚合组中选择至少一个源地址作为代表地址在地图上进行显示后,接收到展开显示指令时,对用户当前选择的聚合组中隐藏的各源地址在地图上展开显示,或对所有聚合组中隐藏的源地址进行展开显示。In an embodiment of the present invention, the method further includes: expanding the display module, configured to: when the display control mode selects at least one source address from each aggregation group as a representative address, after displaying on the map, receiving the expanded display instruction The source addresses hidden in the aggregation group currently selected by the user are displayed on the map, or the source addresses hidden in all the aggregation groups are expanded and displayed.
在本发明实施例中,还提供了一种计算机存储介质,该计算机存储介质可以存储有执行指令,该执行指令用于执行上述实施例中的兴趣点数据显示方法的实现。In the embodiment of the present invention, a computer storage medium is further provided, and the computer storage medium may store an execution instruction for executing the implementation of the point of interest data display method in the above embodiment.
本发明实施例的有益效果是:The beneficial effects of the embodiments of the present invention are:
本发明实施例提供的兴趣点数据显示方法及终端,在获取到与用户输入查找的目的地址相关的所有源地址后,并不是直接将最匹配的一个源地址直接进行显示;而是将获取到的所有源地址先按聚合分组原则分成至少一个聚合组,然后从各聚合组中选择至少一个源地址作为代表地址;最后在地图上显示各聚合组的代表地址,将各聚合组中的其他源地址进行隐藏。这样既能保证在地图上同时显示多个具有代表性的地址供用户选择,以便于用户通过一次查询操作就能从多个代表地址中选择到自己想要的目的地址,提升一次查询的准确率;又不至于出现将所有源地址在地图上进行无规律的显示,不便于用户准确查找。因此可大大提升用户体验的满意度。The method for displaying a point of interest data and the terminal provided by the embodiment of the present invention, after obtaining all the source addresses related to the destination address searched by the user, do not directly display the most matching one source address; All the source addresses are first divided into at least one aggregation group according to the aggregation grouping principle, and then at least one source address is selected as the representative address from each aggregation group; finally, the representative address of each aggregation group is displayed on the map, and other sources in each aggregation group are displayed. The address is hidden. This can ensure that multiple representative addresses are displayed on the map for the user to select, so that the user can select the desired destination address from multiple representative addresses by one query operation, thereby improving the accuracy of one query. There is no irregular display of all source addresses on the map, which is not convenient for users to find accurately. Therefore, the satisfaction of the user experience can be greatly improved.
另外,本发明实施例中,从各聚合组中选择至少一个源地址作为代表地址在地图上进行显示以供用户查询式,当用户从显示的代表地址中没有查询到目的地址时,用户可以针对某一个或多个聚合组(此时用户可以预估或确定目的地址在这些聚合组中);接收到展开显示指令后,即可对用户当前选择的一个或多个聚合组中隐藏的各源地址在地图上展开显示,以便用户进行进一步筛选查询。此时可使用户在二次查询差过程大大缩小查询范围,便于用户更快、更准确的找到目的地址,能进一步提升用户体验。 In addition, in the embodiment of the present invention, at least one source address is selected from each aggregation group as a representative address to be displayed on the map for the user to query. When the user does not query the destination address from the displayed representative address, the user may One or more aggregation groups (in which case the user can estimate or determine the destination address in these aggregation groups); after receiving the expanded display command, the sources hidden in one or more aggregation groups currently selected by the user can be The address is expanded on the map for the user to further filter the query. At this time, the user can greatly narrow the scope of the query in the process of the second query difference, so that the user can find the destination address faster and more accurately, which can further enhance the user experience.
附图说明DRAWINGS
图1为本发明实施例一提供的兴趣点数据显示方法流程示意图一;1 is a schematic flowchart 1 of a method for displaying a point of interest data according to Embodiment 1 of the present invention;
图2为本发明实施例一提供的兴趣点数据显示方法流程示意图二;2 is a second schematic flowchart of a method for displaying a point of interest data according to Embodiment 1 of the present invention;
图3为本发明实施例二提供的兴趣点数据显示终端结构示意图一;3 is a schematic structural diagram 1 of a point of interest data display terminal according to Embodiment 2 of the present invention;
图4为本发明实施例二提供的兴趣点数据显示终端结构示意图二。FIG. 4 is a schematic structural diagram 2 of a point of interest data display terminal according to Embodiment 2 of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例只是本发明中一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明在获取到与用户输入查找的目的地址相关的所有源地址后,并不是直接将最匹配的一个源地址直接进行显示;而是将获取到的所有源地址先按聚合分组原则分成至少一个聚合组,然后从各聚合组中选择至少一个源地址作为代表地址在地图上显示。这样既能保证在地图上同时显示多个具有代表性的地址供用户选择,提升一次查询成功的成功率;又不至于出现将所有源地址在地图上进行无规律的显示,不便于用户准确查找的问题,能在较大程度上提升用户体验的满意度。下面通过具体实施方式结合附图对本发明作进一步详细说明。After obtaining all the source addresses related to the destination address searched by the user, the present invention does not directly display the most matching one source address; instead, all the obtained source addresses are first divided into at least one according to the aggregation grouping principle. Aggregate the group, and then select at least one source address from each aggregation group as the representative address to display on the map. In this way, it can ensure that multiple representative addresses are displayed on the map for the user to select, and the success rate of one query success is improved; and all source addresses are not displayed on the map in an irregular manner, which is inconvenient for the user to accurately find. The problem can greatly improve the satisfaction of the user experience. The present invention will be further described in detail below with reference to the accompanying drawings.
实施例一:Embodiment 1:
请参见图1所示,本实施例提供的兴趣点数据显示方法包括:Referring to FIG. 1 , the method for displaying a point of interest data provided by this embodiment includes:
S101:接收包含目的地址的兴趣点搜索指令。S101: Receive a point of interest search instruction including a destination address.
本实施例中的目的地址是用户想查询的地址;本实施例中的兴趣点搜索指令用户可以通过语音或手动输入。The destination address in this embodiment is the address that the user wants to query; the point of interest search instruction in this embodiment can be input by voice or manually.
S102:获取与目的地址相关的所有源地址。 S102: Acquire all source addresses related to the destination address.
该步骤获取到的源地址都是根据目的地址搜索匹配得到的,一般包含多个。当然在输入的目的地址足够精确或目的地址确实只有一个时,搜索到的源地址则只有一个。The source addresses obtained in this step are all obtained by searching and matching according to the destination address, and generally include multiple. Of course, when the destination address entered is sufficiently accurate or there is only one destination address, there is only one source address searched.
S103:将获取的所有源地址按聚合分组原则分成至少一个聚合组;得到的每一个聚合组包含至少一个源地址。S103: All acquired source addresses are divided into at least one aggregation group according to an aggregation grouping principle; each obtained aggregation group includes at least one source address.
S104:从各聚合组中选择至少一个源地址作为代表地址在地图上进行显示,将各聚合组中的其他源地址进行隐藏。这样用户在输入带有目的地址的兴趣点搜索指令后,即可在地图上显示出多个代表地址,用户可以现在这个代表地址中查询看是否存在自己想要的目的地址。相对现有仅显示一个匹配度最高的源地址,可以提升一次显示查询成功的准确率。S104: Select at least one source address from each aggregation group as a representative address to display on the map, and hide other source addresses in each aggregation group. In this way, after inputting the interest point search instruction with the destination address, the user can display multiple representative addresses on the map, and the user can now query the representative address to see if there is a destination address that he wants. Compared with the existing one showing only one source address with the highest matching degree, the accuracy of displaying the query success can be improved.
本实施例中的聚合分组原则为:The principle of aggregation grouping in this embodiment is:
从当前所有源地址中选择一个源地址作为中心地址;Select one source address from all current source addresses as the center address;
将当前所有源地址中与选择的中心地址之间的距离小于预设距离阈值L的源地址以及该中心地址分为一个聚合组;And dividing the source address of the current source address from the selected center address to be less than the preset distance threshold L and the center address into an aggregation group;
从当前剩下的源地址重新选择一个作为中心地址重复上述操作,直到对所有源地址实现分组。The above operation is repeated by reselecting one of the remaining source addresses as the center address until all source addresses are grouped.
以上示例聚合原则是中心地址为圆心,以预设距离阈值L(例如1KM,值得注意的是,该L的取值可以根据具体应用场景灵活设定)的为半径,将该区域内的所有源地址分为一个聚合组。例如假设当前获取到的与目的地址相关的所有源地址为addr1,addr2,addr3,addr4,addr5,addr6。进行分组时,选择addr1为中心地址,addr2和addr3分别距离addr1的距离为L1和L2,且L1和L2都小于L,addr4,addr5,addr6到addr1的距离大于L,则将addr1,addr2,addr3分为一个聚合组A。剩余addr4,addr5,addr6。再选择addr4为中心地址,addr5和addr6分别距离addr4的距离为L5和L6,且L5和L5都小于L,因此将addr4、addr5、addr6分为一个聚合组B。因此得到两个聚合组,显示时将两个聚合组A、B的代表地址在地图显示即可。 The above example aggregation principle is that the center address is the center of the circle, and the preset distance threshold L (for example, 1 KM, it is worth noting that the value of the L can be flexibly set according to a specific application scenario) is a radius, and all the sources in the region are The address is divided into an aggregation group. For example, suppose that all source addresses currently associated with the destination address are addr1, addr2, addr3, addr4, addr5, addr6. When grouping, select addr1 as the center address, addr2 and addr3 are separated from addr1 by L1 and L2, and L1 and L2 are both smaller than L. Addr4, addr5, addr6 to addr1 are greater than L, then addr1, addr2, addr3 Divided into an aggregation group A. The remaining addr4, addr5, addr6. Then addr4 is selected as the central address, addr5 and addr6 are separated from addr4 by L5 and L6, respectively, and L5 and L5 are both smaller than L, so addr4, addr5, and addr6 are divided into one aggregation group B. Therefore, two aggregation groups are obtained, and the representative addresses of the two aggregation groups A and B are displayed on the map.
本实施例中,用户通过输入包含关键字的兴趣点搜索指令搜索得到包含所有源地址的地址列表时,该列表中的源地址可依据匹配度进行排序,而匹配度是根据名称、距离、搜索频度等多种因素综合计算得出的,匹配度最优的结果在前,然后依次往后排列。本实施例可基于该地址列表按照匹配度排序,且最优的结果在最前面。In this embodiment, when the user searches for an address list including all source addresses by inputting a point of interest search instruction including a keyword, the source addresses in the list may be sorted according to the matching degree, and the matching degree is based on the name, the distance, and the search. The frequency and other factors are comprehensively calculated, and the results with the best matching degree are in front, and then arranged in order. This embodiment can sort according to the matching degree based on the address list, and the optimal result is at the forefront.
本实施例中,从当前所有源地址中选择一个作为中心地址时,可以采用以下任一原则进行选择:In this embodiment, when one of the current source addresses is selected as the central address, the following principles can be selected:
从当前所有源地址中随机选择一个作为中心地址;Randomly select one of all current source addresses as the central address;
从当前所有源地址中选择排在第一位的源地址作为中心地址;Selecting the source address ranked first in all current source addresses as the central address;
从当前所有源地址中选择与用户当前位置距离最近的一个源地址作为中心地址;Selecting a source address closest to the current location of the user from all current source addresses as the central address;
从当前所有源地址中选择与目的地址匹配度最高的一个源地址作为中心地址。A source address with the highest matching degree with the destination address is selected from all current source addresses as the central address.
本实施例中,具体可从各聚合组中选择一个源地址作为代表地址,聚合组中的其他源地址则先进行隐藏不显示。在实施例中的一种示例中,具体可以选择各聚合组的中心地址作为各聚合组的代表地址。In this embodiment, a source address may be selected from each aggregation group as a representative address, and other source addresses in the aggregation group are first hidden and not displayed. In an example in the embodiment, the central address of each aggregation group may be specifically selected as a representative address of each aggregation group.
在本实施例中,在第一次显示将各聚合组中选择至少一个源地址作为代表地址在地图上进行显示后,用户在现实的各代表地址中未查找到目的地址时,可以进一步输入展开显示指令。且用户可以针对某一个或多个聚合组输入展开显示指令,也可以直接针对所有聚合组输入展开显示指令。当针对一个或多个聚合组展开时,可以仅将用户选中的这些聚合组中所有的源地址在地图上进行显示。当用户选中所有聚合组时,则将所有聚合组中隐藏的源地址进行展开显示。以上进行二次显示的方式只是本发明的一种示例,应当理解的是二次显示的方式并不限于上述方式。In this embodiment, after the first display shows that at least one source address is selected as the representative address on the map, if the user does not find the destination address in the actual representative addresses, the user may further input and expand. Display instructions. And the user can input the expansion display instruction for one or more aggregation groups, or can directly expand the display instruction for all aggregation groups. When expanding for one or more aggregation groups, only all source addresses in those aggregation groups selected by the user can be displayed on the map. When all the aggregation groups are selected by the user, the hidden source addresses in all the aggregation groups are expanded and displayed. The manner in which the secondary display is performed above is only an example of the present invention, and it should be understood that the manner of secondary display is not limited to the above.
本发明的核心是把搜索到的地址列表,通过聚合算法进行分组,在展示搜索结果的时候灵活运用这些聚合后的地址集合,可有效减少用户的操作步骤,提高在第一显示页找到目的地址的概率。下面再以一完整示例对 本发明做进一步说明,请参见图2所示,包括:The core of the invention is to group the searched address lists by using an aggregation algorithm, and flexibly use the aggregated address sets when displaying the search results, thereby effectively reducing the user's operation steps and improving the destination address on the first display page. The probability. Let’s take a full example The present invention is further illustrated, as shown in FIG. 2, including:
S201:把根据用户输入的目的地址关键词搜索得到的所有源地址加入地址列表作为原始地址列表。S201: Add all source addresses searched according to the destination address keyword input by the user to the address list as the original address list.
OriginalList={addr1,addr2,addr3,…};OriginalList={addr1, addr2, addr3,...};
S202:选取第一个地址addr1,把它作为中心地址。S202: Select the first address addr1 and use it as the central address.
CentralPoint=addr1;CentralPoint=addr1;
S203:并计算剩余所有源地址和该中心地址之间的距离。S203: Calculate the distance between all remaining source addresses and the center address.
Distance2=计算距离(CentrelPoint,addr2);Distance2=calculated distance (CentrelPoint, addr2);
Distance3=计算距离(CentrelPoint,addr3);Distance3=calculated distance (CentrelPoint, addr3);
……......
S204:假设预先设置的距离阈值THRESHOLD_VALUE=1km;把所有经计算后距离小于1km的源地址放到同一个子列表中作为一个聚合组。S204: Assume that the preset distance threshold THRESHOLD_VALUE=1km; put all the source addresses whose calculated distance is less than 1km into the same sub-list as an aggregation group.
假设经过计算后,Distance2,Distance4,Distance5的值小于1km,则可以得到子列表ChildList1,Assume that after the calculation, the values of Distance2, Distance4, and Distance5 are less than 1km, then the sublist ChildList1 can be obtained.
ChildList1={addr1,addr 2,addr 4,addr 5};ChildList1={addr1, addr 2, addr 4, addr 5};
作为中心地址的源同样作为第一个地址放入这个子列表中,这就是聚合后的第一个聚合组。The source that is the central address is also placed in this sublist as the first address, which is the first aggregation group after aggregation.
S205:在原始地址列表里面删除已经放入子列表中的地址,剩余的地址组成的列表又作为原始列表,S205: deleting the address that has been placed in the sub-list in the original address list, and the list consisting of the remaining addresses is used as the original list.
OriginalList={addr3,addr6,addr7,…};OriginalList={addr3, addr6, addr7,...};
S206:重复前面的S202至S205,直到所有地址都被聚合后,整个流程结束,最终可以得到多个经过聚合后的地址集合,S206: Repeat the previous S202 to S205 until all the addresses are aggregated, and the entire process ends, and finally, multiple aggregated address sets can be obtained.
AggregationList={ChildList1,ChildList2,ChildList3,…};AggregationList={ChildList1,ChildList2,ChildList3,...};
S207:得到聚合后的地址集合后,在给用户展示地址的时候就可以灵活运用,例如仅显示每个子列表的第一个地址(也即代表地址),其余地址 隐藏起来。S207: After obtaining the aggregated address set, the user can flexibly use the address when displaying the address, for example, only displaying the first address of each sub-list (that is, representing the address), and the remaining addresses. Hidden.
本示例中,用户可以通过点击的动作展开隐藏的某一个子列表里的地址,也可以点击展开全部子列表里的地址。采取怎样的方案展示给用户能够提供最佳的用户体验,还可根据具体场景灵活选择。In this example, the user can expand the address in a hidden sublist by clicking the action, or click to expand the address in all sublists. What kind of solution is adopted to show users the best user experience, and flexible choice according to specific scenarios.
实施例二:Embodiment 2:
本实施例提供了一种兴趣点数据显示终端,该终端可以是任意能实现电子地图搜索显示的移动终端或固定类终端,请参见图3所示,包括:The present embodiment provides a point of interest data display terminal, which can be any mobile terminal or fixed type terminal that can realize electronic map search and display.
指令接收模块31,设置为接收包含目的地址的兴趣点搜索指令;目的地址是用户想查询的地址;本实施例中的兴趣点搜索指令用户可以通过语音或手动输入。The instruction receiving module 31 is configured to receive a point of interest search instruction including a destination address; the destination address is an address that the user wants to query; and the point of interest search instruction in the embodiment may be input by voice or manually.
地址获取模块32,设置为获取与目的地址相关的所有源地址;此处获取的源地址都是根据目的地址搜索匹配得到的,一般包含多个。The address obtaining module 32 is configured to obtain all source addresses related to the destination address. The source addresses obtained here are all obtained by searching and matching according to the destination address, and generally include multiple.
分组处理模块33,设置为将获取的源地址按聚合分组原则分成至少一个聚合组,每一个聚合组包含至少一个源地址;The packet processing module 33 is configured to divide the obtained source address into at least one aggregation group according to an aggregation grouping principle, and each aggregation group includes at least one source address;
显示控制模块34,设置为从各聚合组中选择至少一个源地址作为代表地址在地图上进行显示,将各聚合组中的其他源地址进行隐藏。这样用户在输入带有目的地址的兴趣点搜索指令后,即可在地图上显示出多个代表地址,用户可以现在这个代表地址中查询看是否存在自己想要的目的地址。相对现有仅显示一个匹配度最高的源地址,可以提升一次显示查询成功的准确率。The display control module 34 is configured to select at least one source address from each aggregation group as a representative address to display on the map, and hide other source addresses in each aggregation group. In this way, after inputting the interest point search instruction with the destination address, the user can display multiple representative addresses on the map, and the user can now query the representative address to see if there is a destination address that he wants. Compared with the existing one showing only one source address with the highest matching degree, the accuracy of displaying the query success can be improved.
本实施例中的聚合分组原则为:The principle of aggregation grouping in this embodiment is:
从当前所有源地址中选择一个源地址作为中心地址;Select one source address from all current source addresses as the center address;
将当前所有源地址中与选择的中心地址之间的距离小于预设距离阈值L的源地址以及该中心地址分为一个聚合组;And dividing the source address of the current source address from the selected center address to be less than the preset distance threshold L and the center address into an aggregation group;
从当前剩下的源地址重新选择一个作为中心地址重复上述操作,直到对所有源地址实现分组。 The above operation is repeated by reselecting one of the remaining source addresses as the center address until all source addresses are grouped.
本实施例中的分组处理模块33包括:The packet processing module 33 in this embodiment includes:
第一选择单元,设置为从当前所有源地址中随机选择一个作为中心地址;a first selection unit, configured to randomly select one of all current source addresses as a central address;
或第二选择单元,设置为从当前所有源地址中选择排在第一位的源地址作为中心地址;Or a second selection unit, configured to select a source address ranked first in all current source addresses as a central address;
或第三选择单元,设置为从当前所有源地址中选择与用户当前位置距离最近的一个源地址作为中心地址;Or a third selection unit, configured to select a source address that is closest to the current location of the user from all current source addresses as the central address;
或第四选择单元,设置为从当前所有源地址中选择与所述目的地址匹配度最高的一个源地址作为中心地址。Or the fourth selection unit is configured to select, as the central address, a source address having the highest matching degree with the destination address from all current source addresses.
本实施例中的显示控制模块34包括代表地址选择单元,设置为选择各聚合组的中心地址作为各聚合组的代表地址。The display control module 34 in this embodiment includes a representative address selection unit configured to select a central address of each aggregation group as a representative address of each aggregation group.
请参见图4所示,本实施例中的兴趣点数据显示终端还包括展开显示模块35,设置为在显示控制模34从各聚合组中选择至少一个源地址作为代表地址在地图上进行显示后,接收到展开显示指令时,对用户当前选择的聚合组中隐藏的各源地址在地图上展开显示,或对所有聚合组中隐藏的源地址进行展开显示。Referring to FIG. 4, the point of interest data display terminal in this embodiment further includes an expanded display module 35, configured to display at least one source address from each aggregation group as a representative address after being displayed on the map in the display control module 34. When receiving the expanded display command, the source addresses hidden in the aggregation group currently selected by the user are displayed on the map, or the hidden source addresses in all the aggregation groups are expanded and displayed.
为了更好的理解本发明,下面通过一个具体的搜索示例对本发明做进一步说明。本示例以搜索目的地址关键词“人民公园”为例进行说明。具体过程如下:For a better understanding of the invention, the invention is further illustrated by a specific search example. This example is described by taking the search destination address keyword "People's Park" as an example. The specific process is as follows:
搜索地址关键词“人民公园”,得到一个包含所有源地址的原始地址列表如下:Search for the address keyword "People's Park" and get a list of original addresses containing all source addresses as follows:
{人民公园,人民公园-停车场,人民公园-东门,人民公园-西门,人民公园-南门,人民公园-北门,人民公园-地铁站A出口,人民公园-地铁站B出口,人民公园-地铁站C出口,人民公园-地铁站D出口,人民公园-公共厕所,人民公园-南门公交站,人民公园-北门公交站,人民公园游乐场,麦当劳(人民公园店),兰州拉面(人民公园店),…,狗不理(人民公园店),人民公园(惠州),人民公园(东莞),…}。实际上这个列表很 长,可能多达上千条地址,此处仅列出部分有代表性的进行说明。为了方便阅读,每个地址的其它信息没有列出来,如省市区、道路名、经纬度等信息,仅用地址名称予以代表。{People's Park, People's Park - Parking Lot, People's Park - Dongmen, People's Park - Ximen, People's Park - South Gate, People's Park - North Gate, People's Park - Subway Station Exit A, People's Park - Subway Station Exit B, People Park - Subway Station Exit C, People's Park - Subway Station Exit D, People's Park - Public Toilet, People's Park - Nanmen Bus Station, People's Park - Beimen Bus Station, People's Park Playground, McDonald's (People's Park), Lanzhou Ramen (People's Park Shop), ..., Dogs (People's Park), People's Park (Huizhou), People's Park (Dongguan), ...}. Actually this list is very Long, there may be up to thousands of addresses, only some of which are representative here. For the convenience of reading, other information of each address is not listed, such as the province, city, road name, latitude and longitude, etc., only represented by the address name.
现在,使用聚合原则对搜索到的地址列表进行处理,首先把搜索得到的地址列表作为原始地址列表:Now, using the aggregation principle to process the searched address list, first use the searched address list as the original address list:
OriginalList={人民公园,人民公园-停车场,人民公园-东门,人民公园-西门,人民公园-南门,人民公园-北门,人民公园-地铁站A出口,人民公园-地铁站B出口,人民公园-地铁站C出口,人民公园-地铁站D出口,人民公园-公共厕所,人民公园-南门公交站,人民公园-北门公交站,人民公园游乐场,麦当劳(人民公园店),兰州拉面(人民公园店),…,狗不理(人民公园店),人民公园(惠州),人民公园(东莞),…};OriginalList={People's Park, People's Park - Parking Lot, People's Park - Dongmen, People's Park - Ximen, People's Park - South Gate, People's Park - North Gate, People's Park - Subway Station Exit A, People's Park - Subway Station B Exit , People's Park - Subway Station Exit C, People's Park - Subway Station Exit D, People's Park - Public Toilet, People's Park - Nanmen Bus Station, People's Park - Beimen Bus Station, People's Park Playground, McDonald's (People's Park) , Lanzhou Ramen (People's Park), ..., Dogs (People's Park), People's Park (Huizhou), People's Park (Dongguan),...};
然后选取第一个地址“人民公园”,把它作为中心地址:Then select the first address "People's Park" and use it as the central address:
CentralPoint=人民公园;CentralPoint=People's Park;
计算剩余所有地址和该中心点地址之间的距离,Calculate the distance between all remaining addresses and the center point address,
Distance2=计算距离(人民公园,人民公园-停车场)=0.1km;Distance2=calculation distance (People's Park, People's Park - Parking Lot) = 0.1km;
Distance3=计算距离(人民公园,人民公园-东门)=0.3km;Distance3=calculation distance (People's Park, People's Park - East Gate) = 0.3km;
……......
Distance21=计算距离(人民公园,狗不理(人民公园店))=0.9km;Distance21=calculation distance (People's Park, Dogs (People's Park)) = 0.9km;
Distance22=计算距离(人民公园,人民公园(惠州))=30.8km;Distance22=Computation distance (People's Park, People's Park (Huizhou)) = 30.8km;
Distance23=计算距离(人民公园,人民公园(东莞))=35.3km;Distance23=calculation distance (People's Park, People's Park (Dongguan)) = 35.3km;
经过把这些距离和THRESHOLD_VALUE(取值为1km)进行比较,把所有小于THRESHOLD_VALUE的地址以及该中心地址放在一起,得到第一个子列表,也即第一个聚合组:After comparing these distances with THRESHOLD_VALUE (which takes 1km), put all the addresses smaller than THRESHOLD_VALUE and the center address together to get the first sublist, the first aggregation group:
ChildList1={人民公园,人民公园-停车场,人民公园-东门,人民公园-西门,人民公园-南门,人民公园-北门,人民公园-地铁站A出口,人民公园-地铁站B出口,人民公园-地铁站C出口,人民公园-地铁站D出 口,人民公园-公共厕所,人民公园-南门公交站,人民公园-北门公交站,人民公园游乐场,麦当劳(人民公园店),兰州拉面(人民公园店),…,狗不理(人民公园店)};ChildList1={People's Park, People's Park - Parking Lot, People's Park - Dongmen, People's Park - Ximen, People's Park - South Gate, People's Park - North Gate, People's Park - Subway Station Exit A, People's Park - Subway Station B Exit , People's Park - Subway Station Exit C, People's Park - Subway Station D Mouth, People's Park - Public Toilet, People's Park - Nanmen Bus Station, People's Park - Beimen Bus Station, People's Park Playground, McDonald's (People's Park), Lanzhou Ramen (People's Park), ..., dog ignores ( People's Park Store)};
然后在原始地址列表里面删除已经放入子列表中的地址,剩余的地址组成的列表又作为原始列表:Then delete the address that has been placed in the sublist in the original address list, and the list of remaining addresses is again used as the original list:
OriginalList={人民公园(惠州),人民公园(东莞),…};OriginalList={People's Park (Huizhou), People's Park (Dongguan),...};
现在重复前面的步骤,把“人民公园(惠州)”作为中心地址进行聚合,计算剩余所有地址和该中心点地址之间的距离:Now repeat the previous steps, aggregate "People's Park (Huizhou)" as the central address, and calculate the distance between all the remaining addresses and the address of the central point:
Distance2=计算距离(人民公园(惠州),人民公园(东莞))=38.9km;Distance2=calculation distance (People's Park (Huizhou), People's Park (Dongguan)) = 38.9km;
……;......
于是得到第二个子列表,也即第二个聚合组:So you get the second sublist, which is the second aggregation group:
ChildList2={人民公园(惠州)};ChildList2={People's Park (Huizhou)};
同理,得到其它的子列表:In the same way, get other sublists:
ChildList3={人民公园(东莞)};ChildList3={People's Park (Dongguan)};
ChildList4…;ChildList4...;
ChildList5…ChildList5...
……;......
现在得到了多个地址子列表,也即多个聚合组,可以基于这些子列表提供多种方式把地址展示给用户,以提供更好的用户体验。例如直接选择各个子列表中的进行聚合运算时的中心地址作为各子列表中的代表地址进行显示。也可在选择该中心地址的基础上同时选择至少一个其他源地址作为代表地址进行显示。也可以选择除中心地址之外的其他地址进行显示。Multiple address sub-lists are now available, that is, multiple aggregation groups, which can be presented to users based on these sub-lists in a variety of ways to provide a better user experience. For example, the center address at the time of performing the aggregation operation in each sub-list is directly selected as the representative address in each sub-list for display. It is also possible to select at least one other source address as a representative address for display at the same time by selecting the center address. You can also select an address other than the center address for display.
例如,用户在深圳,但想要找的地址是“人民公园(东莞)”,用户输入“人民公园”四个关键字进行搜索,结果得到了上千条地址供用户选择,通常一页可以显示五条地址,根据上面列出的地址顺序,用户至少需要翻到第四页之后才能看到想要去的地址。这样的用户体验显然不是最佳的。 经过聚合处理后,可以在页面上仅显示每个子列表的第一个地址,也即显示每个子列表的代表地址,这样,就得到这样的显示列表:DisplayList={人民公园,人民公园(惠州),人民公园(东莞),…};用户想要找的地址位于第三个,在第一页就可以看到,十分方便快捷,提升了目的地址查找的效率和准确率。For example, the user is in Shenzhen, but the address you want to find is “People's Park (Dongguan)”. The user enters the “People's Park” four keywords to search. The result is thousands of addresses for users to choose. Usually one page can be displayed. Five addresses, according to the address order listed above, the user needs to at least turn to the fourth page to see the address you want to go. This kind of user experience is obviously not the best. After the aggregation process, only the first address of each sub-list can be displayed on the page, that is, the representative address of each sub-list is displayed, so that a display list like this is obtained: DisplayList={People's Park, People's Park (Huizhou) , People's Park (Dongguan), ...}; the user wants to find the address is located in the third, you can see on the first page, very convenient and fast, improve the efficiency and accuracy of the destination address search.
显然,本领域的技术人员应该明白,上述本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储介质(ROM/RAM、磁碟、光盘)中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。所以,本发明不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in a storage medium (ROM/RAM, diskette, optical disk) by a computing device, and in some cases The steps shown or described may be performed in an order different than that herein, or they may be separately fabricated into individual integrated circuit modules, or a plurality of the modules or steps may be implemented as a single integrated circuit module. Therefore, the invention is not limited to any particular combination of hardware and software.
以上仅是本发明的具体实施方式而已,并非对本发明做任何形式上的限制,凡是依据本发明的技术实质对以上实施方式所做的任意简单修改、等同变化、结合或修饰,均仍属于本发明技术方案的保护范围。The above is only a specific embodiment of the present invention, and is not intended to limit the present invention in any way. Any simple modification, equivalent change, combination or modification of the above embodiments in accordance with the technical spirit of the present invention is still in the present invention. The scope of protection of the technical solution of the invention.
工业实用性Industrial applicability
本发明实施例的上述技术方案,可以应用于兴趣点数据的显示过程中,从各聚合组中选择至少一个源地址作为代表地址在地图上进行显示以供用户查询式,当用户从显示的代表地址中没有查询到目的地址时,用户可以针对某一个或多个聚合组(此时用户可以预估或确定目的地址在这些聚合组中);接收到展开显示指令后,即可对用户当前选择的一个或多个聚合组中隐藏的各源地址在地图上展开显示,以便用户进行进一步筛选查询。此时可使用户在二次查询差过程大大缩小查询范围,便于用户更快、更准确的找到目的地址。 The foregoing technical solution of the embodiment of the present invention may be applied to display process of the point of interest data, and select at least one source address from each aggregation group as a representative address to be displayed on the map for the user to query, when the user is represented by the display. When no destination address is queried in the address, the user can target one or more aggregation groups (in which case the user can estimate or determine the destination address in these aggregation groups); after receiving the expanded display command, the user can be selected currently. The source addresses hidden in one or more aggregation groups are displayed on the map for the user to perform further screening queries. At this point, the user can greatly narrow the scope of the query in the process of the second query difference, so that the user can find the destination address faster and more accurately.

Claims (10)

  1. 一种兴趣点数据显示方法,包括:A method for displaying a point of interest data, comprising:
    接收包含目的地址的兴趣点搜索指令;Receiving a point of interest search instruction including a destination address;
    获取与所述目的地址相关的所有源地址;Obtaining all source addresses associated with the destination address;
    将所述源地址按聚合分组原则分成至少一个聚合组,每一个聚合组包含至少一个源地址;And dividing the source address into at least one aggregation group according to an aggregation grouping principle, where each aggregation group includes at least one source address;
    从各聚合组中选择至少一个源地址作为代表地址在地图上进行显示,将各聚合组中的其他源地址进行隐藏。Select at least one source address from each aggregation group as a representative address to display on the map, and hide other source addresses in each aggregation group.
  2. 如权利要求1所述的兴趣点数据显示方法,其中,所述聚合分组原则为:The method of displaying a point of interest data according to claim 1, wherein the principle of the aggregated grouping is:
    从当前所有源地址中选择一个作为中心地址;Select one of all current source addresses as the center address;
    将当前所有源地址中与所述中心地址之间的距离小于预设距离阈值的源地址以及该中心地址分为一个聚合组;And dividing the source address of the current source address and the central address with a distance less than a preset distance threshold and the center address into an aggregation group;
    从当前剩下的源地址重新选择一个作为中心地址重复上述操作,直到对所有源地址实现分组。The above operation is repeated by reselecting one of the remaining source addresses as the center address until all source addresses are grouped.
  3. 如权利要求2所述的兴趣点数据显示方法,其中,从当前所有源地址中选择一个作为中心地址包括:The method of displaying a point of interest data according to claim 2, wherein selecting one of all current source addresses as the center address comprises:
    从当前所有源地址中随机选择一个作为中心地址;Randomly select one of all current source addresses as the central address;
    或从当前所有源地址中选择排在第一位的源地址作为中心地址;Or select the source address ranked first in all current source addresses as the central address;
    或从当前所有源地址中选择与用户当前位置距离最近的一个源地址作为中心地址;Or selecting a source address that is closest to the current location of the user from all current source addresses as the central address;
    或从当前所有源地址中选择与所述目的地址匹配度最高的一个 源地址作为中心地址。Or selecting one of the current source addresses that has the highest matching degree with the destination address. The source address is used as the center address.
  4. 如权利要求2或3所述的兴趣点数据显示方法,其中,从各聚合组中选择一个源地址作为代表地址,包括:The method of displaying a point of interest data according to claim 2 or 3, wherein selecting a source address from each aggregation group as a representative address comprises:
    选择各聚合组的中心地址作为各聚合组的代表地址。Select the central address of each aggregation group as the representative address of each aggregation group.
  5. 如权利要求1-3任一项所述的兴趣点数据显示方法,其中,从各聚合组中选择至少一个源地址作为代表地址在地图上进行显示后,还包括:The method of displaying a point of interest data according to any one of claims 1 to 3, wherein after selecting at least one source address from each aggregation group as a representative address to be displayed on the map, the method further includes:
    接收到展开显示指令时,对用户当前选择的聚合组中隐藏的各源地址在地图上展开显示,或对所有聚合组中隐藏的源地址进行展开显示。When receiving the expanded display command, the source addresses hidden in the aggregation group currently selected by the user are displayed on the map, or the hidden source addresses in all the aggregation groups are expanded and displayed.
  6. 一种兴趣点数据显示终端,包括:A point of interest data display terminal includes:
    指令接收模块,设置为接收包含目的地址的兴趣点搜索指令;An instruction receiving module configured to receive a point of interest search instruction including a destination address;
    地址获取模块,设置为获取与所述目的地址相关的所有源地址;An address obtaining module, configured to obtain all source addresses related to the destination address;
    分组处理模块,设置为将所述源地址按聚合分组原则分成至少一个聚合组,每一个聚合组包含至少一个源地址;a packet processing module, configured to divide the source address into at least one aggregation group according to an aggregation grouping principle, where each aggregation group includes at least one source address;
    显示控制模块,设置为从各聚合组中选择至少一个源地址作为代表地址在地图上进行显示,将各聚合组中的其他源地址进行隐藏。The display control module is configured to select at least one source address from each aggregation group as a representative address to display on the map, and hide other source addresses in each aggregation group.
  7. 如权利要求6所述的兴趣点数据显示终端,其中,所述聚合分组原则为:The point of interest data display terminal according to claim 6, wherein the aggregation grouping principle is:
    从当前所有源地址中选择一个作为中心地址;Select one of all current source addresses as the center address;
    将当前所有源地址中与所述中心地址之间的距离小于预设距离阈值的源地址以及该中心地址分为一个聚合组; And dividing the source address of the current source address and the central address with a distance less than a preset distance threshold and the center address into an aggregation group;
    从当前剩下的源地址重新选择一个作为中心地址重复上述操作,直到对所有源地址实现分组。The above operation is repeated by reselecting one of the remaining source addresses as the center address until all source addresses are grouped.
  8. 如权利要求7所述的兴趣点数据显示终端,其中,所述分组处理模块包括:The point of interest data display terminal according to claim 7, wherein the packet processing module comprises:
    第一选择单元,设置为从当前所有源地址中随机选择一个作为中心地址;a first selection unit, configured to randomly select one of all current source addresses as a central address;
    或第二选择单元,设置为从当前所有源地址中选择排在第一位的源地址作为中心地址;Or a second selection unit, configured to select a source address ranked first in all current source addresses as a central address;
    或第三选择单元,设置为从当前所有源地址中选择与用户当前位置距离最近的一个源地址作为中心地址;Or a third selection unit, configured to select a source address that is closest to the current location of the user from all current source addresses as the central address;
    或第四选择单元,设置为从当前所有源地址中选择与所述目的地址匹配度最高的一个源地址作为中心地址。Or the fourth selection unit is configured to select, as the central address, a source address having the highest matching degree with the destination address from all current source addresses.
  9. 如权利要求7或8所述的兴趣点数据显示终端,其中,所述显示控制模块包括代表地址选择单元,设置为选择各聚合组的中心地址作为各聚合组的代表地址。The point of interest data display terminal according to claim 7 or 8, wherein the display control module includes a representative address selecting unit configured to select a center address of each aggregation group as a representative address of each aggregation group.
  10. 如权利要求6-8任一项所述的兴趣点数据显示终端,其中,还包括展开显示模块,设置为在所述显示控制模从各聚合组中选择至少一个源地址作为代表地址在地图上进行显示后,接收到展开显示指令时,对用户当前选择的聚合组中隐藏的各源地址在地图上展开显示,或对所有聚合组中隐藏的源地址进行展开显示。 The point of interest data display terminal according to any one of claims 6 to 8, further comprising an expanded display module, configured to select at least one source address from the aggregation groups as a representative address on the map in the display control mode After the display is displayed, when the display command is expanded, the source addresses hidden in the aggregation group currently selected by the user are displayed on the map, or the source addresses hidden in all the aggregation groups are expanded and displayed.
PCT/CN2016/099634 2016-04-07 2016-09-21 Method of displaying point of interest, and terminal WO2017173783A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610212953.3A CN107273375A (en) 2016-04-07 2016-04-07 Interest point data display methods and terminal
CN201610212953.3 2016-04-07

Publications (1)

Publication Number Publication Date
WO2017173783A1 true WO2017173783A1 (en) 2017-10-12

Family

ID=60000824

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/099634 WO2017173783A1 (en) 2016-04-07 2016-09-21 Method of displaying point of interest, and terminal

Country Status (2)

Country Link
CN (1) CN107273375A (en)
WO (1) WO2017173783A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111723165A (en) * 2019-03-18 2020-09-29 阿里巴巴集团控股有限公司 Address interest point determining method, device and system

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107908677B (en) * 2017-10-27 2019-10-22 贝壳找房(北京)科技有限公司 Cell source of houses methods of exhibiting and device based on intelligent terminal
CN109241218B (en) * 2018-08-17 2021-06-11 北京云鸟科技有限公司 Data point display method and device
CN111400433B (en) * 2019-01-02 2023-04-11 阿里巴巴集团控股有限公司 Address text processing method and device
CN111460327B (en) * 2020-03-10 2023-06-16 口口相传(北京)网络技术有限公司 Method and device for searching for interest, storage medium and computer equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164480A (en) * 2011-12-13 2013-06-19 北京千橡网景科技发展有限公司 Method and equipment used for recommending interest points in social network
CN103377204A (en) * 2012-04-18 2013-10-30 腾讯科技(深圳)有限公司 Displaying method and device for map search results
CN103970898A (en) * 2014-05-27 2014-08-06 重庆大学 Method and device for extracting information based on multistage rule base
CN104156364A (en) * 2013-05-14 2014-11-19 腾讯科技(深圳)有限公司 Display method and device of map search result
CN105468632A (en) * 2014-09-05 2016-04-06 高德软件有限公司 Geocoding method and apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164480A (en) * 2011-12-13 2013-06-19 北京千橡网景科技发展有限公司 Method and equipment used for recommending interest points in social network
CN103377204A (en) * 2012-04-18 2013-10-30 腾讯科技(深圳)有限公司 Displaying method and device for map search results
CN104156364A (en) * 2013-05-14 2014-11-19 腾讯科技(深圳)有限公司 Display method and device of map search result
CN103970898A (en) * 2014-05-27 2014-08-06 重庆大学 Method and device for extracting information based on multistage rule base
CN105468632A (en) * 2014-09-05 2016-04-06 高德软件有限公司 Geocoding method and apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111723165A (en) * 2019-03-18 2020-09-29 阿里巴巴集团控股有限公司 Address interest point determining method, device and system

Also Published As

Publication number Publication date
CN107273375A (en) 2017-10-20

Similar Documents

Publication Publication Date Title
WO2017173783A1 (en) Method of displaying point of interest, and terminal
US11740102B2 (en) Method, apparatus, device and storage medium for determining point of interest area
EP2783307B1 (en) Location based full text search
WO2020258905A1 (en) Information pushing method and device
US8949196B2 (en) Systems and methods for matching similar geographic objects
EP2836928B1 (en) Full text search using r-trees
CN107203526B (en) Query string semantic demand analysis method and device
CN111651685A (en) Interest point obtaining method and device, electronic equipment and storage medium
JP2011238248A (en) Indexing documents according to geographical relevance
US9424358B2 (en) Searching and classifying information about geographic objects within a defined area of an electronic map
CN103823900A (en) Information point significance determining method and device
Cao et al. KORS: Keyword-aware optimal route search system
JPWO2019069505A1 (en) Information processing device, join condition generation method and join condition generation program
US20230049839A1 (en) Question Answering Method for Query Information, and Related Apparatus
WO2011082628A1 (en) Method and device for searching information
US20130031458A1 (en) Hyperlocal content determination
JP2002163265A (en) Area searching device
CN115544088A (en) Address information query method and device, electronic equipment and storage medium
CN112000790A (en) Legal text accurate retrieval method, terminal system and readable storage medium
EP2783308B1 (en) Full text search based on interwoven string tokens
Liu et al. ELAN: An efficient location-aware analytics system
CN111382220A (en) POI data dividing method and device
WO2020143034A1 (en) Contact list hierarchical display method and apparatus, and electronic device
CN111159239B (en) Searching method and device
CN107329730A (en) Information of voice prompt generation method and device

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16897715

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16897715

Country of ref document: EP

Kind code of ref document: A1