CN102222084B - Method and device for displaying retrieval result on map - Google Patents

Method and device for displaying retrieval result on map Download PDF

Info

Publication number
CN102222084B
CN102222084B CN 201110124572 CN201110124572A CN102222084B CN 102222084 B CN102222084 B CN 102222084B CN 201110124572 CN201110124572 CN 201110124572 CN 201110124572 A CN201110124572 A CN 201110124572A CN 102222084 B CN102222084 B CN 102222084B
Authority
CN
Grant status
Grant
Patent type
Prior art keywords
map
display
data
page
center
Prior art date
Application number
CN 201110124572
Other languages
Chinese (zh)
Other versions
CN102222084A (en )
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
Grant date

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/30Information retrieval; Database structures therefor ; File system structures therefor
    • G06F17/30241Information retrieval; Database structures therefor ; File system structures therefor in geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/30Information retrieval; Database structures therefor ; File system structures therefor
    • G06F17/30861Retrieval from the Internet, e.g. browsers
    • G06F17/30899Browsing optimisation
    • G06F17/30905Optimising the visualization of content, e.g. distillation of HTML documents

Abstract

本发明提供了一种将检索结果显示在地图上的方法和装置,其中所述方法包括:A.检测鼠标在页面上的状态;B.根据所述状态将页面上的检索结果列表项代表的数据传递至所述页面的地图上;C.根据所述数据确定所述地图的显示中心和显示比例;D.以所述显示中心和所述显示比例在所述地图上显示所述数据对应的位置。 The present invention provides a method and apparatus for the search result displayed on the map, wherein the method comprises:. A state detecting mouse on the page; B according to the state of the page on the search result list item represents. data transmitted to the map of the page; C to determine the data and the center of the map display according to the display scale;.. D and the center of the display to display scale display corresponding to the data on the map position. 通过上述方式,可以实现地图随鼠标在检索结果上的指向而移动的效果,从而增加了地图的展示区域。 By the above-described manner, the map may be implemented with the mouse pointer in the search results and the effect of moving, thereby increasing the map display area.

Description

—种将检索结果显示在地图上的方法和装置 - kind of the search result display method and apparatus on a map

【技术领域】 TECHNICAL FIELD

[0001] 本发明涉及搜索引擎领域,特别涉及一种将检索结果显示在地图上的方法和装置。 [0001] The present invention relates to search engines, and more particularly relates to a method and apparatus for displaying search results on a map.

【背景技术】 【Background technique】

[0002] 随着互联网技术的不断发展,通过互联网地图来查看某个地理位置,已经越来越广泛地得到应用。 [0002] With the continuous development of Internet technology, to view a location map via the Internet, it has been more widely applied. 在地理实体的数据库中进行检索时,在检索结果页面常常会出现一个附属的地图,可以让人们参考检索出来的检索结果的地理位置。 Upon retrieval of geographical entities in the database, often there will be a subsidiary of the map in the search results page, you can let people geographical reference retrieved search results. 请参考图1,图1为现有技术中检索结果与地图在页面上显示的示意图。 Please refer to FIG. 1, FIG. 1 is a schematic diagram of the prior art, the search result page is displayed on the map. 在现有技术中,检索结果将在地图上进行标注,同时当鼠标移动至某个具体的检索结果时,该检索结果在地图上会高亮显示,但是在现有技术中,页面上的地图是静止的,当鼠标从某个具体的检索结果移动到另一个具体的检索结果时,只是高亮显示的点发生了改变,而地图本身没有发生移动或改变。 In the prior art, the search results will be marked on the map, and when the mouse is moved to a specific search results, the search results will be highlighted on the map, but in the prior art, the map on the page It is stationary, when the mouse is moved from the retrieval result of a specific search result to another specific, but simply changed highlighted, and the map itself is not moved or changed. 请参考图2,图2为现有技术中鼠标移动到不同检索结果时地图的对比效果示意图。 Please refer to FIG. 2, FIG. 2 is a schematic map of contrast when the prior art mouse is moved to a different search result. 在图2的左边,高亮显示的点是标号为2的点,在图2的右边,高亮显示的点是标号为3的点,可以看出,地图本身并没有发生移动。 The left in FIG. 2, the point is designated highlight point 2, on the right side of FIG. 2, the reference point is highlighted to point 3, it can be seen, the map itself is not moved. 在这种显示方法下,地图不能随鼠标在检索结果上的指向而移动,从而减少了地图的展示区域,因此,如果用户需要了解高亮显示的点附近的地理情况,而这个高亮显示的点又正好处于地图的边缘,用户就不得不对地图进行拖拽操作,可见,这种静态显示的效果对用户来说不够友好。 In this display method, the map does not move with the mouse pointer in the search results, thereby reducing the map display area, so if you need to know the geographical vicinity of the points highlighted, and this highlighted they just point at the edge of the map, the user would have to drag and drop the map, you can see, this effect of static display for the user friendly enough. 另外,在现有技术中,还没有一种能根据检索结果中存在聚合的情况将聚合结果显示在地图上的方法。 Further, in the prior art, there is not a method capable of polymerization results are shown on the map search result according to the situation present in the polymerization. 【发明内容】 [SUMMARY]

[0003] 本发明所要解决的技术问题是提供一种将检索结果显示在地图上的方法和装置,以解决现有技术的显示方法中地图不能随鼠标在检索结果上的指向而移动,从而减少了地图的展示区域的缺陷。 [0003] The present invention solves the technical problem is to provide a method and apparatus for displaying search results on a map, to solve the prior art method of displaying a map with the mouse pointer does not move in the search result, thereby reducing defect map display area of ​​the.

[0004] 本发明为解决技术问题而采用的技术方案是提供一种将检索结果显示在地图上的方法,包括:A.检测鼠标在页面上的状态;B.根据所述状态将页面上的检索结果列表项代表的数据传递至所述页面的地图上;C.根据所述数据确定所述地图的显示中心和显示比例;D.以所述显示中心和所述显示比例在所述地图上显示所述数据对应的位置。 [0004] aspect of the present invention is employed to solve the technical problem is to provide a search result on a map display method, comprising:. A state detecting mouse on the page; B according to the state on the page. search result list entry represents data transmitted to a map on the page;. C determined according to the data center of the map display and the display scale; D to the center of the display and the display scale on the map. data corresponding to the display position.

[0005] 根据本发明之一优选实施例,其中所述状态包括鼠标移入所述检索结果列表项。 [0005] According to one embodiment of the present invention, preferably, wherein said state comprises a mouse into the search result list item.

[0006] 根据本发明之一优选实施例,其中所述步骤B中,在所述鼠标移入所述检索结果列表项时,将所述检索结果列表项代表的数据传递至所述页面的地图上。 [0006] According to one embodiment of the present invention, preferably, wherein the step B, when the mouse moved into the search result list item, the list item data representative of the search result is transmitted to the map page .

[0007] 根据本发明之一优选实施例,其中所述检索结果列表项是聚合项或非聚合项。 [0007] According to one embodiment of the present invention, preferably, wherein said item is a search result list entry polymeric or non-polymeric items.

[0008] 根据本发明之一优选实施例,其中所述状态进一步包括鼠标移出所述聚合项。 [0008] According to one embodiment of the present invention, preferably, wherein said mouse further comprises removing the state polymerized item.

[0009] 根据本发明之一优选实施例,其中所述步骤B中,在鼠标移出聚合项且未移入除所述聚合项以外的其他检索结果列表项时,将所述页面上所有非聚合项代表的数据传递至所述页面的地图上。 When [0009] According to one embodiment of the present invention, preferably, wherein said step B, and not in the mouse out of the polymerization entry into other search result list items other than the items of the polymerization, all the items on the page nonpolymeric transmitted to the data representing the map of the page. [0010] 根据本发明之一优选实施例,如果所述聚合项内包含聚合节点,所述状态进一步包括鼠标移入所述聚合节点。 [0010] According to one preferred embodiment of the present invention, if the term polymerization comprises polymeric nodes within the state into said mouse further comprises aggregating node.

[0011] 根据本发明之一优选实施例,其中所述步骤B中,在鼠标移入所述聚合节点时,将所述聚合节点代表的数据传递至所述页面的地图上。 [0011] According to one embodiment of the present invention, preferably, wherein the step B, when the mouse moved into the aggregator, the aggregated data is transmitted to the node represents a map of the page.

[0012] 根据本发明之一优选实施例,其中所述步骤C包括:C1.判断所述数据的个数。 [0012] According to one embodiment of the present invention, preferably, wherein said step C comprises: determining the number of data C1..

[0013] 根据本发明之一优选实施例,当所述步骤Cl的结果为一个时,所述步骤C进一步包括:C2.确定以所述数据对应的位置为所述显示中心,以所述地图当前的比例为所述显示比例。 [0013] According to one embodiment of the present invention, preferably, when the result of said step is a Cl, the said step C further comprises:. C2 corresponding to the data to determine the location of the center of the display to the map the current ratio is the ratio of the display.

[0014] 根据本发明之一优选实施例,其中所述步骤D中,在所述地图上以移入移出的效果显示所述数据对应的位置。 [0014] According to one embodiment of the present invention, preferably, wherein the step D, the data corresponding to a display position on the map to move in and out of effect.

[0015] 根据本发明之一优选实施例,其中所述步骤D中,在所述地图上高亮显示所述数据对应的位置。 [0015] According to one embodiment of the present invention, preferably, wherein the step D, highlighting the position corresponding to the data on the map.

[0016] 根据本发明之一优选实施例,其中所述步骤D中,在高亮显示所述数据对应的位置时,更进一步显示所述数据包含的信息,其中所述信息包括名称、描述性文字、符号或图片。 [0016] According to one embodiment of the present invention, preferably, wherein the step D, when the data is displayed at the highlighted position corresponding to said data further comprises displaying information, wherein the information comprises a name, a descriptive words, symbols or pictures.

[0017] 根据本发明之一优选实施例,当所述步骤Cl的结果为多个时,所述步骤C进一步包括:C3.通过调用接口获取所述数据在所述地图的全景中的视窗;C4.确定所述视窗的中心,并以所述中心为所述显示中心;C5.根据所述中心与所述视窗边界的距离及所述地图的展示面积确定所述显示比例。 [0017] According to one preferred embodiment of the present invention, when the result of said plurality of step Cl, said step C further comprises:. C3 acquiring panoramic windows in the data in the map by calling the interface; . C4 determine the center of the window and to center the center of the display; C5 determining the display scale based on the distance to the center of the window and a boundary of the map display area.

[0018] 本发明还提供了一种将检索结果显示在地图上的装置,包括:检测单元,用于检测鼠标在页面上的状态;数据传递单元,用于根据所述状态将页面上的检索结果列表项代表的数据传递至所述页面的地图上;确定单元,用于根据所述数据确定所述地图的显示中心和显示比例;显示单元,用于以所述显示中心和所述显示比例在所述地图上显示所述数据对应的位置。 [0018] The present invention also provides an apparatus displays search results on a map, comprising: detecting means for detecting a state of the mouse on the page; data transfer unit, according to the state on the retrieved page result data is transmitted to the list item represents a map of the page; determining means, for displaying the data center is determined according to the display scale of the map; a display unit for displaying the center of display and the ratio the data corresponding to a display position on the map.

[0019] 根据本发明之一优选实施例,其中所述状态包括鼠标移入所述检索结果列表项。 [0019] According to one embodiment of the present invention, preferably, wherein said state comprises a mouse into the search result list item.

[0020] 根据本发明之一优选实施例,所述数据传递单元在所述鼠标移入所述检索结果列表项时,将所述检索结果列表项代表的数据传递至所述页面的地图上。 [0020] According to one embodiment of the present invention, preferably, when the data transfer unit of the search result list items in the mouse moved, to transfer data in the search result list entry represents a map to the page.

[0021] 根据本发明之一优选实施例,其中所述检索结果列表项是聚合项或非聚合项。 [0021] According to one embodiment of the present invention, preferably, wherein said item is a search result list entry polymeric or non-polymeric items.

[0022] 根据本发明之一优选实施例,其中所述状态进一步包括鼠标移出所述聚合项。 [0022] According to one embodiment of the present invention, preferably, wherein said mouse further comprises removing the state polymerized item.

[0023] 根据本发明之一优选实施例,其中所述数据传递单元在所述鼠标移出聚合项且未移入除所述聚合项以外的其他检索结果列表项时,将所述页面上所有非聚合项代表的数据传递至所述页面的地图上。 When [0023] According to one embodiment of the present invention, preferably, wherein said data transfer unit in the mouse out of the polymerization and no entry into other search result list items other than the items of the polymerization, the page will all non-polymeric data is transmitted to the representative of the items on the map of the page.

[0024] 根据本发明之一优选实施例,如果所述聚合项内包含聚合节点,所述状态进一步包括鼠标移入所述聚合节点。 [0024] According to one preferred embodiment of the present invention, if the term polymerization comprises polymeric nodes within the state into said mouse further comprises aggregating node.

[0025] 根据本发明之一优选实施例,其中所述数据传递单元在鼠标移入所述聚合节点时,将所述聚合节点代表的数据传递至所述页面的地图上。 [0025] According to one embodiment of the present invention, preferably, wherein said data transfer unit in the mouse into the aggregator, the aggregated data is transmitted to the node represents a map of the page.

[0026] 根据本发明之一优选实施例,其中所述确定单元包括:判断子单元,用于判断所述数据的个数。 [0026] According to one embodiment of the present invention, preferably, wherein said determining unit comprises: a determining subunit, for determining the number of data.

[0027] 根据本发明之一优选实施例,如果所述判断子单元得到的结果为一个时,所述确定单元进一步包括确定子单元,用于确定以所述数据对应的位置为所述显示中心,以所述地图当前的比例为所述显示比例。 [0027] According to one embodiment of the present invention, preferably, if a determination result of the sub-unit is obtained, the determination unit further comprises a determining subunit, for determining data corresponding to a position of the center of the display is to map the current scale ratio for said display.

[0028] 根据本发明之一优选实施例,其中所述显示单元在所述地图上以移入移出的效果显示所述数据对应的位置。 [0028] According to one embodiment of the present invention, preferably, wherein the display unit displays the data corresponding to a position on the map to move in and out of effect.

[0029] 根据本发明之一优选实施例,其中所述显示单元在所述地图上高亮显示所述数据对应的位置。 [0029] According to one embodiment of the present invention, preferably, wherein said display unit data corresponding to highlighting the position on the map.

[0030] 根据本发明之一优选实施例,其中所述显示单元在高亮显示所述数据对应的位置时,更进一步显示所述数据包含的信息,其中所述信息包括名称、描述性文字、符号或图片。 [0030] According to one preferred embodiment of the present invention, wherein the display unit displays the highlighted at the position corresponding to the data, the data further comprises displaying information, wherein the information includes the name, descriptive text, symbol or picture.

[0031] 根据本发明之一优选实施例,如果所述判断子单元得到的结果为多个时,所述确定单元进一步包括:视窗获取单元,用于通过调用接口获取所述数据在所述地图的全景中的视窗;显示中心确定单元,用于确定所述视窗的中心,并以所述中心为所述显示中心;显示比例确定单元,用于根据所述中心与所述视窗边界的距离及所述地图的展示面积确定所述显示比例。 [0031] According to one embodiment of the present invention, preferably, if the determination result obtained for a plurality of sub-unit, the determining means further comprises: acquisition window unit, an interface for calling by obtaining the data in the map the panorama window; determining the center of the display unit, for determining the center of the window and to center the center of the display; display ratio determining means, according to a distance from the center of the window border and determining the display area of ​​the map display scale.

[0032] 由以上技术方案可以看出,通过确定地图的显示中心和显示比例,可以实现地图随鼠标在检索结果上的指向而移动的效果,从而增加了地图的展示区域,减少了用户操作,同时在检索结果有聚合的情况下,可以根据鼠标的移动将聚合的结果也显示在地图上,增加了检索结果与地图之间的联动性。 [0032] As can be seen from the above technical solutions, by determining the center of the display and the display scale of the map, the map may be implemented with the mouse pointer in the search results and the effect of moving, thereby increasing the map display area, reducing the user operation, while in the case of polymerization with a search result may be displayed on the map, an increase of the linkage between the search result in accordance with the movement of the mouse map polymerization results.

【附图说明】 BRIEF DESCRIPTION

[0033] 图1为现有技术中检索结果与地图在页面上显示的示意图; [0033] FIG. 1 is a schematic diagram of a map displayed in the results page prior art retrieval;

[0034] 图2为现有技术中鼠标移动到不同检索结果时地图的对比效果示意图; [0034] FIG. 2 is a schematic map of contrast when the search result is different from the prior art mouse movement;

[0035] 图3为本发明实施例中将检索结果显示在地图上的方法的流程示意图; [0035] The embodiment of FIG. 3 in the embodiment of the search result display process method on a schematic map of the present invention;

[0036] 图4为本发明实施例中将检索结果显示在地图上的方法的实施例一的流程示意图; [0036] FIG. 4 embodiment a search result display process in the embodiment of a method of an embodiment of the present invention, a schematic diagram of a map;

[0037] 图5为本发明实施例中鼠标未移入检索结果列表项时的实施例的页面示意图; [0037] FIG 5 illustrates an embodiment of a search result page when a list item is not transferred to the mouse embodiment embodiment of the present invention;

[0038] 图6为本发明实施例中鼠标移入检索结果列表项时的实施例一的页面意图; [0038] FIG. 6 is intended to page an embodiment of the embodiment when the mouse into the list of search result items embodiment of the present invention;

[0039] 图7为本发明实施例中鼠标移入检索结果列表项时的实施例二的页面示意图; [0039] FIG. 7 is a schematic of a page according to a second embodiment of the embodiment when the mouse into the search result listings embodiment of the present invention;

[0040] 图8为本发明实施例中鼠标移动到不同检索结果时地图的对比效果示意图; [0040] FIG. 8 is a schematic diagram of the mouse moves to a different search result maps contrast embodiment of the present invention;

[0041] 图9为本发明实施例中检索结果列表项中有聚合项与非聚合项时的实施例的页面示意图; Examples search result list page item a schematic diagram of an embodiment of the items during polymerization and non-polymeric embodiments item [0041] FIG. 9 of the present invention;

[0042] 图10为本发明实施例中将检索结果显示在地图上的方法的实施例二的流程示意图; [0042] FIG. 10 in the embodiment of the search result display process embodiment according to the second embodiment of the method of the schematic map of the present invention;

[0043] 图11为本发明实施例中一个视窗的实施例示意图; [0043] FIG. 11 is a schematic embodiment of a window of the embodiment of the present invention embodiment;

[0044] 图12为本发明实施例中鼠标移入聚合项时的实施例的页面示意图; [0044] FIG 12 a schematic view of an embodiment of the page when the mouse into Cohesion embodiment of the present invention embodiment;

[0045] 图13为本发明实施例中鼠标移入聚合项中的聚合节点时的实施例的页面示意图; [0045] FIG 13 a schematic view of an embodiment of a page when a mouse embodiment the polymerization into the polymerization entry node embodiment of the present invention;

[0046] 图14为本发明实施例中鼠标移出聚合项时的实施例的页面示意图; [0046] FIG. 14 illustrates an embodiment of a page when the mouse is moved embodiment Cohesion embodiment of the present invention;

[0047] 图15为本发明实施例中将检索结果显示在地图上的装置的实施例的结构示意框图。 [0047] FIG 15 a schematic block diagram of an embodiment of the structure of an embodiment of the device in a search result on a map displayed in the embodiment of the present invention. 【具体实施方式】 【detailed description】

[0048] 为了使本发明的目的、技术方案和优点更加清楚,下面结合附图和具体实施例对本发明进行详细描述。 [0048] To make the objectives, technical solutions, and advantages of the invention more apparent, the accompanying drawings and specific embodiments of the present invention will be described in detail with.

[0049] 请参考图3,图3为本发明实施例中将检索结果显示在地图上的方法的流程示意图。 [0049] Please refer to FIG. 3, a schematic flowchart of a method embodiment of FIG. 3 is a map of search results displayed in the embodiment of the present invention. 如图3所示,所述方法包括: , Shown in Figure 3, the method comprising:

[0050] 步骤101:检测鼠标在页面上的状态。 101 [0050] the steps of: detecting the state of the mouse on the page.

[0051] 步骤102:根据所述状态将页面上的检索结果列表项代表的数据传递至所述页面的地图上。 [0051] Step 102: The status of the search result list entry represents data on a page is transmitted to the map page.

[0052] 步骤103:根据所述数据确定所述地图的显示中心和显示比例。 [0052] Step 103: determining the center of the map display and the display scale based on the data.

[0053] 步骤104:以所述显示中心和所述显示比例在所述地图上显示所述数据对应的位置。 [0053] Step 104: In the center of the display and the display scale of the display data corresponding to a position on the map.

[0054] 下面以具体的实施例对以上方法进行详细说明。 [0054] The following specific embodiments of the above method is described in detail.

[0055] 实施例一: [0055] Example a:

[0056] 请一并参考图3与图4,其中图4为本发明实施例中将检索结果显示在地图上的方法的实施例一的流程示意图。 [0056] Please refer to FIG. 3 and FIG. 4, wherein the method implemented flow diagram of an embodiment of a map of a search result displayed in the embodiment of FIG. 4 of the present invention.

[0057] 如图3与图4所示,步骤1011与步骤101对应,在步骤1011中,检测鼠标在页面上的状态,所述状态包括鼠标移入页面上的检索结果列表项。 [0057] As shown in FIGS. 3 and 101 corresponds to step 1011 and step 4, in step 1011, the detection state of the mouse on the page, including the state of the mouse into the search result page on the list item. 请一并参考图5与图6,其中图5为本发明实施例中鼠标未移入检索结果列表项时的实施例的页面不意图,图6为本发明实施例中鼠标移入检索结果列表项时的实施例一的页面不意图。 Please refer to FIG. 5 and 6, wherein FIG. 5 of the present invention is not intended to embodiments of the page when the search result list entry does not move the mouse embodiment embodiment, FIG. 6 in the mouse into the search result listings embodiment of the present invention Example of a page is not intended.

[0058] 所谓的检索结果列表项,就是在检索结果的页面中,以列表的方式呈现的检索结果的条目,如图5所示,“新辣道梭边鱼(工体店)”与“呷哺呷哺(王府井百货大楼餐厅)”等,就属于检索结果列表项。 [0058] The so-called search result list entry, the page is the search result, the search results presented in a list manner entries, as shown, the "new road hot side of the fish hook (Workers Branch)" and 5 " Xiabu Xiabu (Wangfujing Department Store restaurant) "and so on, belong to the search results list items. 在本实施例中,每一个检索结果列表项只包含一条检索结果的信息。 In the present embodiment, each search result list entry contains only the information of a search result.

[0059] 步骤1021与步骤102对应,在步骤1021中,根据步骤1011中检测到的鼠标状态,把检索结果列表项代表的数据传递至页面的地图上。 [0059] Step 102 corresponds to step 1021, in step 1021, the mouse is detected in step 1011 in accordance with the state, the search result list to transfer data items represented on the map to the page. 具体的做法为:当检测到鼠标移入检索结果列表项时,将检索结果列表项代表的数据传递至页面的地图上,其他情况则不需要传递数据。 Specific approach is: when it detects the mouse into the search results list item, the data item represents the result list is transmitted to the map page, otherwise you do not need to transfer data. 检索结果列表项代表的数据包含的信息可包括但不限于名称、描述性文字、符号或图片,这些信息可在接下来的动作中进一步用于显示。 Information representative of data items of the search result list may comprise include but are not limited to name, descriptive text, pictures, or symbols, such information may be further used to display the subsequent operation.

[0060] 步骤1031与步骤103对应,在步骤1031中,根据步骤1021中传递过来的数据确定页面上地图的显示中心和显示比例。 [0060] Step 103 corresponds to step 1031, in step 1031, the page is determined and the center of display of the map display scale according to the data transfer from the step 1021. 具体的做法为:以传递过来的数据对应的位置为显示中心,以地图当前的比例为显示比例。 Specific practices: transmitting data corresponding to a position over the center of the display to the current scale of the map display scale.

[0061] 步骤1041与步骤104对应,在步骤1041中,以步骤1031中确定的显示中心和显示比例在地图上显示步骤1021中传递过来的数据对应的位置。 [0061] Step 1041 corresponds to step 104, in step 1041, and the center of the display to show the ratio determined in step 1031 to display the data in step 1021 is transmitted over the corresponding location on the map. 如图5、图6所示,当鼠标移入到“新辣道梭边鱼(工体店)”时,图6上的地图相比图5发生了移动,其中标号为2的点移动到了地图的中心,而这时,地图的显示比例仍与图5相同,从图5到图6,地图的移动是以移入移出的效果进行的,不会出现闪烁,所谓的移入移出,就是在相同比例尺下一种平滑移动的效果,与鼠标单击按住地图后拖拽的效果类似。 FIG. 5, FIG. 6, when the mouse is moved to a "new channel hot side of the fish hook (Workers Branch)", the map of FIG. 6 has moved compared to FIG. 5, wherein the reference point is moved to the map 2 the center, but this time, the display scale of the map is still the same as Figure 5, from 5 to 6, the moving map is moved in and out of effect, and will not flicker, moved out of the so-called, it is in the same scale under one kind of smooth motion effects, similar to the hold on the map and click drag effect. 从图6还可以看出,标号为2的点在地图上是高亮显示的,在标号为2的点周围还显示了检索结果的名称,除了名称之外,检索结果列表项代表的数据所包含的信息均可以显示,这些信息还有描述性文字、符号或图片。 Can also be seen from FIG. 6, reference numeral 2 is a point on the map is highlighted, the reference point is around 2 also shows the name of the search results, in addition to the name, the search result list entry represents data the information they contain are displayed, as well as information descriptive text, symbols or pictures. 请参考图7,图7为本发明实施例中鼠标移入检索结果列表项时的实施例二的页面示意图。 Please refer to FIG. 7, FIG. 7 is a schematic of a page according to a second embodiment of the embodiment when the mouse into the search result listings embodiment of the present invention. 如图7所示,“朝阳区工体北路4号院”等信息就是描述性文字。 As shown, the "Road Gongti 4 homes" 7 is a descriptive text and other information.

[0062] 请参考图8,图8为本发明实施例中鼠标移动到不同检索结果时地图的对比效果示意图。 [0062] Please refer to FIG 8, FIG 8 is a schematic diagram contrasting the map search result when different mouse movement in Example embodiments of the present invention. 可见,与现有技术的图2相比,利用本发明方法后,鼠标移动到不同检索结果时,地图发生了明显的平滑移动,从而增加了地图的展示区域。 Seen, compared with the prior art of FIG. 2, the method of the present invention, the mouse is moved to a different search result, the occurrence of significant maps move smoothly, thereby increasing the map display area.

[0063] 实施例二: [0063] Example II:

[0064] 实施例二与实施例一不同的是,在本实施例中,检索结果列表项可以是聚合项或非聚合项,其中非聚合项是与实施例一中类似的只包含一条检索结果信息的检索结果列表项,而聚合项是包含多条检索结果信息的检索结果列表项。 [0064] Second Embodiment Example a except that, in the present embodiment, the search result list entry item may be polymeric or non-polymeric, of which non-polymeric term is a similar embodiment comprises only one search result search result list of information items, and comprising a plurality of polymerized item retrieval result of the search result list entry information. 对多条检索结果信息聚合为聚合项,主要是为了把具有相同特征的一类检索结果展现为一个条目,从而节省页面的展示空间,使得在同一页上出现的检索结果列表项尽可能地具有多样性。 Pieces of search result information item polymerization polymerization, primarily for the class of a search result with the same characteristics exhibit a single entry, saving the page display space, so search result list items appear on the same page as having diversity. 例如:“海底捞火锅牡丹园店”与“海底捞火锅西单店”都属于“海底捞火锅”,将之聚合为聚合项有利于在页面上展示更多品牌的火锅店供用户选择。 Example: "sea fishing pot Mudanyuan" and "sea fishing pot Xidan store" are "sea fishing hot pot", the polymerization of polymeric term tends to appear on the page more brands of hot pot restaurants to choose from. 请参考图9,图9为本发明实施例中检索结果列表项中有聚合项与非聚合项时的实施例的页面示意图。 Please refer to FIG. 9, FIG. 9 is a schematic embodiment of a page when a search result list items embodiment has non-polymeric and polymeric entry item embodiment of the present invention. 如图9所示,“江边城外巫山烤全鱼”、“辣尚瘾”与“金汉斯”就是聚合项,在“江边城外巫山烤全鱼”这个聚合项里,有15条检索结果信息,其中的四条在聚合项上还进行了标注,形成了聚合节点,如“霄云路店”、“方庄店”“魏公村店”、“牡丹园店”。 As shown, "the river outside the city of Wushan grilled whole fish", "spicy yet addiction" and "Golden Hans" is the polymerization item 9, "the river outside the city of Wushan grilled whole fish" in this item polymerization, 15 retrieves result information, wherein the four items on the polymerization also been labeled, the aggregation node form, such as "Xiaoyun Road", "Fangzhuang" "Weigongcun shop", "Mudanyuan." 而“云半间”就是非聚合项。 The "half between cloud" is a non-polymeric items.

[0065] 请一并参考图3与图10,其中图10为本发明实施例中将检索结果显示在地图上的方法的实施例二的流程示意图。 [0065] Please refer to FIG. 3 and FIG. 10, FIG. 10 embodiment in which a schematic flow chart of a method according to a second embodiment of a search result on a map displayed in the embodiment of the present invention.

[0066] 如图3与图10所示,步骤1012与步骤101对应,在步骤1012中,检测鼠标的状态,与实施例一相比,在实施例二中,由于检索结果列表项可以是聚合项或非聚合项,因此鼠标的状态包括移入聚合项/非聚合项,此外,鼠标的状态进一步还包括移入聚合项中的聚合节点和移出聚合项,其中移出聚合项指的是移出聚合项且未移入除该聚合项以外的其他检索结果列表项这种情况。 [0066] As shown in FIGS. 3 and 101 corresponds to the step 1012 to step 10, in step 1012, the detection state of the mouse, as compared with an embodiment, in the second Example, since the search result list entry may be polymerized item entry or non-polymeric, and therefore the state includes a mouse entry into polymeric / non-polymeric items, in addition, the mouse further comprising a further state polymerization into polymeric entry node items in and out of the polymerization, wherein the polymerization is removed an item is removed and Cohesion other search result list items other than the case of non-entry into the polymerization. 当本步骤检测到前述三种状态时,本实施例接著执行步骤1022,若检测到其他状态则不需要传递数据。 When the present step detects three states, the present embodiment proceeds to block 1022, if the other state is detected there is no need to transfer data.

[0067] 步骤1022与步骤102对应,在步骤1022中,根据步骤1021中检测到的鼠标状态,把检索结果列表项代表的数据传递至页面的地图上。 [0067] Step 102 corresponds to step 1022, in step 1022, the mouse is detected in step 1021 in accordance with the state, the search result list to transfer data items represented on the map to the page. 具体的做法为:当鼠标移入聚合项、非聚合项或聚合项中的聚合节点时,将聚合项、非聚合项或聚合节点代表的数据传递至页面上的地图,当移出聚合项且未移入除该聚合项以外的其他检索结果列表项时,将页面上所有非聚合项代表的数据传递至页面上的地图,其他情况则不需要传递数据。 Specific practices: when the mouse is moved Cohesion, non-polymeric or polymeric entry node item polymerization, the polymerization item, the data item non-polymeric or polymeric node represents a page transmitted to the map, when the item is removed and not transferred to the polymerization when items other than the polymerizable other search result list entry, the data entry represents all the non-polymer is transferred to the page on the page map, otherwise there is no need to transfer data. 其中,当鼠标移入聚合项时,聚合项代表的数据包括聚合项中所有聚合节点代表的数据。 Wherein, when the mouse is moved item polymerization, the polymerization item data includes data representative of all the nodes represent the polymerization polymerization items.

[0068] 步骤1032与步骤103对应,在步骤1032中,根据步骤1022中传递过来的数据确定页面上地图的显示中心和显示比例。 [0068] Step 103 corresponds to step 1032, in step 1032, the page is determined and the center of display of the map display scale in step 1022. The data transfer over. 步骤1032具体包括: Step 1032 comprises:

[0069] 步骤1032a:判断步骤1022中传递过来的数据的个数。 The step of determining the number of data transmission over the 1022: [0069] Step 1032a. 当传递过来的数据为一个时,执行步骤1032b ;当传递过来的数据为多个时,执行步骤1032c。 When the data is transmitted over the one step 1032b; when the data is transmitted over a plurality, step 1032c.

[0070] 步骤1032b:确定以数据对应位置为显示中心,以地图当前的比例为显示比例。 [0070] Step 1032b: determining data corresponding to the center position of the display to the current scale of the map display scale.

[0071] 步骤1032c:通过调用接口获取数据在地图的全景中的视窗。 [0071] Step 1032c: Windows interface to obtain the map data in the panorama by calling. 由于在页面上的地图的展示面积是有限的,因此在页面上展示的地图,可以理解为从地图的全景中裁剪下来的部分。 Since the map display area on the page is limited, so the page shows a map, it can be understood as cut from the panoramic map of the down part. 数据在这个裁剪下来的部分不一定找得到其坐标点,但是数据在地图的全景中却有一个绝对坐标,通过调用接口,就可以获取到数据在地图的全景中的所有绝对坐标点,而包含了所有绝对坐标点的方形区域,就是数据在地图的全景中的视窗。 Data in this section are not necessarily cut down find the coordinates of its points, but there is an absolute coordinate data in the panoramic map by calling the interface, you can get all the data in the absolute coordinate points in the panoramic map, which contains All square area absolute coordinates of the point, is the map data in the panoramic windows in. 请参考图11,图11为本发明实施例中一个视窗的实施例不意图。 Please refer to FIG. 11, FIG. 11 is not intended in a window EXAMPLES embodiment of the invention.

[0072] 步骤1032d:确定视窗的中心,并以所述中心为显示中心。 [0072] Step 1032d: determining the center of the window and to center the center of the display. 也就是确定视窗中心的绝对坐标,并将该绝对坐标作为页面上展示的地图的显示中心。 That is, to determine the absolute coordinates of the center of the window, and the absolute coordinates of the center of the display as a map displayed on the page.

[0073] 步骤1032e:根据视窗中心与视窗边界的距离以及页面上地图的展示面积确定显示比例。 [0073] Step 1032e: display ratio is determined in accordance with the distance from the center of the viewport window and the page boundary map display area. 这是为了将所有数据的坐标都能在页面上的地图的展示面积内显示,可以根据一定的策略来实现,例如当视窗中心与视窗边界的距离较远,而地图的展示面积较小时,显示比例就较小。 This is to coordinate all the data can be displayed within the display area of ​​the map on the page, can be achieved based on certain strategies, such as distance to the window center and window borders far, while smaller map display area, display the proportion is small.

[0074] 以上方法可以用伪代码描述如下: [0074] The above process may be described in pseudocode as follows:

[0075] [0075]

Figure CN102222084BD00091

[0076] 步骤1042与步骤104对应,在`步骤1042中,将以步骤1032中确定的显示中心和显示比例在地图上显示步骤1022中传递过来的数据对应的位置。 [0076] Step 1042 corresponds to step 104, at step 1042 ', the center of the display and the display scale will be determined in step 1032 the display data transmitted in step 1022 over the corresponding location on the map. 当步骤1022中传递的数据为一个时,在步骤1042中的显示效果与实施例一中介绍的类似,当步骤1022中传递的数据为多个时,这多个数据都会在地图中显示出来。 When the data transfer of step 1022 is one embodiment of the display at step 1042 a similar presentation, when transmitting data in step 1022 is a plurality, the plurality of data which are displayed on the map.

[0077] 请一并参考图12、图13与图14,其中图12为本发明实施例中鼠标移入聚合项时的实施例的页面示意图,图13为本发明实施例中鼠标移入聚合项中的聚合节点时的实施例的页面示意图,图14为本发明实施例中鼠标移出聚合项时的实施例的页面示意图。 [0077] Please refer to FIG. 12, FIG 13 and FIG 14, wherein FIG. 12 is a schematic embodiment example of the page when the mouse embodiment of the present invention to polymerization items embodiment, FIG. 13 embodiment mouse entry into the polymerization of the present invention Example pages during the aggregation node schematic FIG 14 a schematic view of an embodiment of the page when the mouse is moved embodiment Cohesion embodiment of the present invention. 如图12所示,鼠标移入到了聚合项“海底捞火锅”,此时传递的数据有a、b、c、d四个,这四个数据都将在地图上显示出来。 12, the mouse moved into the polymerization item "sea fishing pot", the data is transmitted at this time are a, b, c, d four, four data will be displayed on the map. 如图13所示,当鼠标进一步移入到聚合节点a时,地图将平滑移动到以聚合节点a为显示中心,此外,还可将聚合节点a高亮显示,还可以进一步显示聚合节点a的名称、描述性文字、文字或图片。 As shown, when the mouse is moved further into the node a to the polymerization, the map 13 to move smoothly polymerized node A is a center of the display, in addition, also highlighted node a polymerization, the polymerization may further display the name of the node a descriptive text, text or pictures. 如图14所示,当鼠标从聚合项“海底捞火锅”中移出且未移入除“海底捞火锅”以外的其他检索结果列表项时,传递的数据有“哇哇叫”、“典派豆捞坊”等非聚合项代表的数据,这些数据都将在地图上显示出来。 As shown, when the mouse is removed from the polymerization item "sea fishing pot" in the search result list and not into other items other than the "sea fishing pot" 14, data transfer of the "whining", "Code sent Dolar Square "and other data items on behalf of a non-polymeric, these data will be displayed on the map. .

[0078] 请参考图15,图15为本发明实施例中将检索结果显示在地图上的装置的实施例的结构示意框图。 [0078] Please refer to FIG. 15, FIG. 15 shows a schematic block diagram of an embodiment of the structure of an embodiment of the apparatus on the map display the search result in the embodiment of the invention.

[0079] 如图15所示,将检索结果显示在地图上的装置包括:检测单元201、数据传递单元202、确定单元203和显示单元204。 [0079] As shown in FIG. 15, the search result on the map display means comprises: a detection unit 201, the data transfer unit 202, determination unit 203 and a display unit 204.

[0080] 其中检测单元201,用于检测鼠标在页面上的状态。 [0080] wherein the detection unit 201 for detecting the state of the mouse on the page. 所述状态包括鼠标移入页面上的检索结果列表项。 The state includes the mouse into a search result list of items on the page. 所谓的检索结果列表项,就是在检索结果的页面中,以列表的方式呈现的检索结果的条目,其中,检索结果列表项可以是聚合项或非聚合项,所谓聚合项,就是包含多条检索结果信息的检索结果列表项,所谓非聚合项,就是只包含一条检索结果信息的检索结果列表项。 A so-called search result list entry, the page is the search result, an entry in the search result list presented manner, wherein a search result list entry item may be polymeric or non-polymeric items called item polymerization, comprising a plurality of retrieval is the results of the search results list of information items, so-called non-polymeric item is a search result that contains only the search results list item information. 当检索结果列表项中有聚合项时,所述状态还进一步包括移入聚合项中的聚合节点和移出聚合项。 When the search result list items with a polymeric items, said status comprising further polymerization into polymeric entry node items in and out polymerization.

[0081 ] 请一并参考图5与图9,其中图5为本发明实施例中鼠标未移入检索结果列表项时的实施例的页面示意图,图9为本发明实施例中检索结果列表项中有聚合项与非聚合项时的实施例的页面示意图。 [0081] Please refer to FIG. 5 and FIG. 9, wherein the page in FIG. 5 is a schematic of an embodiment of the search result list when the item is not transferred to the mouse embodiment embodiment of the present invention, FIG. 9 embodiment, the search result list item present invention a schematic diagram of an embodiment of the page when the non-polymeric and polymeric entry item. 如图5所示,“新辣道梭边鱼(工体店)”与“呷哺呷哺(王府井百货大楼餐厅)”等,就属于检索结果列表项。 5, "new channel hot side of the fish hook (Workers Branch)" and "Xiabu Xiabu (restaurant Wangfujing Department Store)" and the like, belong to a search result list item. 如图9所示,“江边城外巫山烤全鱼”、“辣尚瘾”与“金汉斯”就是聚合项,在“江边城外巫山烤全鱼”这个聚合项里,有15条检索结果信息,其中的四条在聚合项上还进行了标注,形成了聚合节点,如“霄云路店”、“方庄店” “魏公村店”、“牡丹园店”。 As shown, "the river outside the city of Wushan grilled whole fish", "spicy yet addiction" and "Golden Hans" is the polymerization item 9, "the river outside the city of Wushan grilled whole fish" in this item polymerization, 15 retrieves result information, wherein the four items on the polymerization also been labeled, the aggregation node form, such as "Xiaoyun Road", "Fangzhuang" "Weigongcun shop", "Mudanyuan." 而“云半间”就是非聚合项。 The "half between cloud" is a non-polymeric items.

[0082] 数据传递单元202,用于根据检测单元201检测到的鼠标的状态将页面上的检索结果列表项代表的数据传递至页面的地图上。 [0082] The data transfer unit 202, 201 for the state detected by the detection means of the mouse the search result list entry represents data on a page is transmitted to the map page.

[0083] 当鼠标移入检索结果列表项中的非聚合项时或鼠标移入到检索结果列表项中的聚合项中的聚合节点时,数据传递单元202会将非聚合项或聚合节点代表的一个数据传递至页面的地图上。 When [0083] When the mouse into the search result list item or items nonpolymeric mouse moved into the search result list entry item polymerization aggregation node, a data transfer unit 202 the data will be non-polymeric or polymeric nodes represent the items transmitted to the map page. 当鼠标移入检索结果列表项中的聚合项时,数据传递单元202会将聚合项代表的多个数据传递至页面的地图上,其中的多个数据是聚合项中的各个聚合节点代表的数据。 When the mouse into the list of search result items polymerization item, the data transfer unit 202 will be representative of the polymerization plurality of data items is transmitted to the map page, wherein each of the plurality of data aggregation node data representative of the polymerization items. 当鼠标移出检索结果列表项中的聚合项且未移入除该聚合项以外的其他检索结果列表项时,数据传递单元202会将页面上所有非聚合项代表的数据传递至页面的地图上。 When the mouse out of the search result list entry into the polymerization and no other entry search result list entry item other than the polymerization, all the data on the non-polymeric entry represents data transfer unit 202 will be transmitted to the page map pages. 所述数据包含的信息可以是名称、描述性文字、符号或图片,这些信息可在后面进一步用于显不O The information data may comprise a name, descriptive text, pictures, or symbols, such information may be further used later without significant O

[0084] 确定单元203,用于根据数据传递单元202传递的数据确定页面上的地图的显示中心和显示比例。 [0084] determination unit 203 for determining a display on the center of the map display scale according to the data page 202 and the data transfer unit transfer. 其中,确定单元203具体包括: Wherein the determining unit 203 comprises:

[0085] 判断子单元2031,用于判断数据传递单元202传递过来的数据的个数。 [0085] The determining subunit 2031, for determining the number of data transfer unit 202 over the data transfer. 当数据传递单元202传递的数据为一个时,触发确定子单元2032执行;当数据传递单元202传递过来的数据为多个时,触发视窗获取子单元2033执行。 When the data transfer unit 202 to transfer data when one of the sub-execution determination unit 2032 is triggered; when the data transfer unit 202 is transmitted over a plurality of trigger acquisition windows execution subunit 2033.

[0086] 确定子单元2032,用于确定以数据对应位置为显示中心,以地图当前的比例为显示比例。 [0086] determining subunit 2032, for determining position data corresponding to the center of the display to the current scale of the map display scale.

[0087] 视窗获取单元2033,用于通过调用接口获取数据传递单元202传递的数据在页面上的地图的全景中的视窗。 [0087] Windows obtaining unit 2033, configured to obtain panoramic maps data transfer unit 202 transfer data on the page by calling the Windows interface. 由于在页面上的地图的展示面积是有限的,因此在页面上展示的地图,可以理解为从地图的全景中裁剪下来的部分。 Since the map display area on the page is limited, so the page shows a map, it can be understood as cut from the panoramic map of the down part. 数据在这个裁剪下来的部分不一定找得到其坐标点,但是数据在地图的全景中却有一个绝对坐标,通过调用接口,就可以获取到数据在地图的全景中的所有绝对坐标点,而包含了所有绝对坐标点的方形区域,就是数据在地图的全景中的视窗。 Data in this section are not necessarily cut down find the coordinates of its points, but there is an absolute coordinate data in the panoramic map by calling the interface, you can get all the data in the absolute coordinate points in the panoramic map, which contains All square area absolute coordinates of the point, is the map data in the panoramic windows in. 请参考图11,图11为本发明实施例中一个视窗的实施例示意图。 Please refer to FIG 11, FIG 11 is a schematic embodiment of a window of the embodiment of the embodiment of the present invention.

[0088] 显示中心确定单元2034,用于确定视窗的中心,并以该中心为显示中心。 [0088] The center of the display determination unit 2034 for determining the center of the window and to center the center of the display. 在得到视窗后,视窗中心的绝对坐标就可以作为页面上地图的显示中心。 After getting windows, the absolute coordinates of the center of the window can be displayed as a map of the center of the page.

[0089] 显示比例确定单元2035,用于根据该中心与视窗边界的距离及页面上的地图的展示面积确定显示比例。 [0089] The aspect ratio determination unit 2035 for determining display scale according to the map display area on a page of the center distance and the window border. 为了将所有数据的坐标都能在页面上的地图的展示面积内显示,需要确定显示比例,具体的可根据一定策略来实现,例如当视窗中心与视窗边界的距离较远,而地图的展示面积较小时,显示比例就较小。 In order to be able to display within the display area of ​​the map on the page coordinate all the data needed to determine the ratio, concrete can be achieved based on certain strategies, such as distance to the window center and window borders farther, and map display area it is small, the display scale is small.

[0090] 显示单元204,用于以确定单元203确定的显示中心和显示比例在页面的地图上显示数据传递单元202传递的数据对应的位置。 [0090] The display unit 204 is configured to display the center, and a display determining unit 203 determines the ratio of the display data transfer unit 202 transfer data corresponding to the location on the map page.

[0091] 请一并参考图5与图6,其中图5为本发明实施例中鼠标未移入检索结果列表项时的实施例的页面不意图,图6为本发明实施例中鼠标移入检索结果列表项时的实施例一的页面示意图。 [0091] Please refer to FIGS. 5 and 6, wherein FIG. 5 of the present invention is not intended to embodiments of the page when the search result list entry does not move the mouse embodiment embodiment, FIG. 6 embodiment of the present invention into the mouse search result a schematic view of an embodiment of a page of a list of items. 当数据传递单元202传递的数据为一个时,如图5、图6所示,图6上的地图相比图5发生了移动,其中标号为2的点移动到了地图的中心,而这时,地图的显示比例仍与图5相同,从图5到图6,地图的移动是以移入移出的效果进行的,不会出现闪烁,所谓的移入移出,就是在相同比例尺下一种平滑移动的效果,与鼠标单击按住地图后拖拽的效果类似。 When the data transfer of the data transfer unit 202 is a, FIG. 5, FIG. 6, FIG. 6 on the map has moved compared to FIG. 5, wherein the reference point is moved to the center 2 of the map, but this time, map display scale remains the same as in FIG. 5, from 5 to 6, the map is moved in and out movement of the effect, flicker does not occur, moved out of the so-called, is a smooth movement at the same scale effect , click and hold on the map drag the mouse similar effect. 从图6还可以看出,标号为2的点在地图上是高亮显示的,在标号为2的点周围还显示了检索结果的名称,除了名称之外,检索结果列表项代表的数据所包含的信息均可以显示,这些信息还有描述性文字、符号或图片。 Can also be seen from FIG. 6, reference numeral 2 is a point on the map is highlighted, the reference point is around 2 also shows the name of the search results, in addition to the name, the search result list entry represents data the information they contain are displayed, as well as information descriptive text, symbols or pictures. 请参考图7,图7为本发明实施例中鼠标移入检索结果列表项时的实施例二的页面示意图。 Please refer to FIG. 7, FIG. 7 is a schematic of a page according to a second embodiment of the embodiment when the mouse into the search result listings embodiment of the present invention. 如图7所示,“朝阳区工体北路4号院”等信息就是描述性文字。 As shown, the "Road Gongti 4 homes" 7 is a descriptive text and other information. 当鼠标移入检索结果列表项中的聚合项中的聚合节点时,显示效果与上面描述的类似,请参考图13,图13为本发明实施例中鼠标移入聚合项中的聚合节点时的实施例的页面示意图。 When the mouse into the search result list item node Cohesion polymerization, show a similar effect as described above, please refer to FIG. 13, FIG. 13 example embodiment when the mouse into the polymerization Cohesion node embodiment of the present invention. page schematic. 如图13所示,鼠标移入到聚合节点a时,地图将平滑移动到以聚合节点a为显示中心,此外,还可将聚合节点a高亮显示,还可以进一步显示聚合节点a的名称、描述性文字、文字或图片。 As shown, a mouse 13 is moved to the aggregation node, the smooth movement of the map to display a node to the center of the polymerization, in addition, the polymerization may highlight a node may further display a name of the aggregation node, described of text, text or pictures.

[0092] 请一并参考图12与图14,图12为本发明实施例中鼠标移入聚合项时的实施例的页面示意图,图14为本发明实施例中鼠标移出聚合项时的实施例的页面示意图。 [0092] Please refer to FIG. 12 and FIG. 14, FIG. 12 is a schematic embodiment example of the page when the mouse into Cohesion embodiment of the present invention embodiment, FIG. 14 embodiment of the present invention when the mouse out of the polymerization in Example embodiment item page schematic. 如图12所示,当鼠标移入到聚合项“海底捞火锅”,此时传递的数据有a、b、C、d四个,这四个点都在地图上显示出来。 As shown, when the mouse is moved to Cohesion "sea fishing pot" 12, the data is transmitted at this time are a, b, C, d four, the four points are displayed on the map. 如图14所示,当鼠标从聚合项“海底捞火锅”中移出且未移入除“海底捞火锅”以外的其他检索结果列表项时,传递的数据有“哇哇叫”、“典派豆捞坊”等非聚合项代表的数据,这些数据都将在地图上显示出来,如2、3、6、8。 As shown, when the mouse is removed from the polymerization item "sea fishing pot" in the search result list and not into other items other than the "sea fishing pot" 14, data transfer of the "whining", "Code sent Dolar data item represents the non-polymeric Square ", and these data will be displayed on the map, such as 2,3,6,8. 值得注意的是,本发明中所述的移入或移出,并不特指从某个边界进入或出来,对于使用触控屏造成的鼠标可以跳跃式地指向某个点或区域,也属于本发明中描述的移入移出概念的范围。 Notably, into or out of the present invention, especially not into or out of a boundary, touch screen using the mouse may cause a jump point to point or region, also belong to the present invention moved out of the scope of the concept described.

[0093] 以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明保护的范围之内。 [0093] The foregoing is only preferred embodiments of the present invention but are not intended to limit the present invention, all within the spirit and principle of the present invention, any changes made, equivalent substitutions and improvements should be included within the scope of protection of the present invention.

Claims (18)

  1. 1.一种将检索结果显示在地图上的方法,其特征在于,所述方法包括: A.检测鼠标在页面上的状态; B.当检测到鼠标移入搜索结果列表中的聚合项或聚合项中的聚合节点时,将聚合项或聚合节点代表的数据传递至所述页面的地图上,所述聚合项是包含多条检索结果的检索结果列表项,所述聚合项代表的数据包括聚合项中所有聚合节点代表的数据; C.根据传递至所述页面的地图上的数据确定所述地图的显示中心和显示比例; D.以所述显示中心和所述显示比例在所述地图上显示所述数据对应的位置。 1. A method of displaying the search result on a map, wherein the method comprises: A. detecting the state of the mouse on the page; B. when the mouse is detected to polymerization item search results list items or polymeric when polymerization node or polymeric aggregating data items is transmitted to the node represents a map of the page, the entry comprising a plurality of polymeric search result list of the search result item, the data item represents the polymerization include polymeric items All polymerization data node represents; C. determining according to said map data on the map display page is transmitted to the center and the display scale; D. displayed in the center of the display and displayed on the map ratio corresponds to the data position.
  2. 2.根据权利要求1所述的方法,其特征在于,其中所述状态进一步包括鼠标移出所述聚合项。 2. The method according to claim 1, characterized in that, further comprising a state wherein the mouse out of the polymerization item.
  3. 3.根据权利要求2所述的方法,其特征在于,所述搜索结果列表中还包括非聚合项; 其中所述步骤B中,在鼠标移出聚合项且未移入除所述聚合项以外的其他检索结果列表项时,将所述页面上所有非聚合项代表的数据传递至所述页面的地图上。 Other than wherein said step B, and not in the mouse out of the polymerization entry into the addition polymerization item; 3. The method according to claim 2, characterized in that, the search result list entry further comprises a non-polymeric when the list of search result items, all data items representative of the non-polymeric transferred to the page of the page map.
  4. 4.根据权利要求1所述的方法,其特征在于,其中所述步骤C包括:Cl.判断传递至所述页面的地图上的数据的个数。 4. The method according to claim 1, wherein, wherein the step C comprises:. Cl determines the number of data transmitted to the map on the page.
  5. 5.根据权利要求4所述的方法,其特征在于,当所述步骤Cl的结果为一个时,所述步骤C进一步包括:C2.确定以传递至所述页面的地图上的数据对应的位置为所述显示中心,以所述地图当前的比例为所述显示比例。 5. The method as claimed in claim 4, wherein, when the result of said step is a Cl, the said step C further comprises:. C2 is determined to transfer data to the page on the map corresponding to the position as the center of the display, with the current scale of the map to the display scale.
  6. 6.根据权利要求5所述的方法,其特征在于,其中所述步骤D中,在所述地图上以移入移出的效果显示传递至所述页面的地图上的数据对应的位置。 6. The method according to claim 5, wherein, wherein the step D, to move out of the effect transmitted to the display data on the map of the page corresponding to a position on the map.
  7. 7.根据权利要求5所述的方法,其特征在于,其中所述步骤D中,在所述地图上高亮显示传递至所述页面的地图上的数据对应的位置。 7. The method according to claim 5, wherein, wherein the step D, is highlighted on the map on the map data transmitted to the position corresponding to the page.
  8. 8.根据权利要求7所述的方法,其特征在于,其中所述步骤D中,在高亮显示传递至所述页面的地图上的数据对应的位置时,更进一步显示传递至所述页面的地图上的数据包含的信息,其中所述信息包括名称、描述性文字、符号或图片。 8. The method according to claim 7, wherein, wherein the step D, when highlighted on the map data transmitted to the position corresponding to the page, and further transmitted to the display of the page It contains data on the map information, wherein the information includes the name, descriptive text, pictures, or symbols.
  9. 9.根据权利要求4所述的方法,其特征在于,当所述步骤Cl的结果为多个时,所述步骤C进一步包括: C3.通过调用接口获取传递至所述页面的地图上的数据在所述地图的全景中的视窗; C4.确定所述视窗的中心,并以所述中心为所述显示中心; C5.根据所述中心与所述视窗边界的距离及所述地图的展示面积确定所述显示比例。 9. The method according to claim 4, wherein, when the result of said step of Cl is more, said step C further comprises:. C3 interface to obtain data on the page is transmitted to the map by invoking panoramic windows in the map;. C4 to determine the center of the window and to center the center of the display; C5 according to the distance from the center of the window and a boundary of the map display area. determining the aspect ratio.
  10. 10.一种将检索结果显示在地图上的装置,其特征在于,所述装置包括: 检测单元,用于检测鼠标在页面上的状态; 数据传递单元,用于当所述检测单元检测到鼠标移入搜索结果列表中的聚合项或聚合项中的聚合节点时,将聚合项或聚合节点代表的数据传递至所述页面的地图上,所述聚合项是包含多条检索结果的检索结果列表项,所述聚合项代表的数据包括聚合项中所有聚合节点代表的数据; 确定单元,用于根据传递至所述页面的地图上的数据确定所述地图的显示中心和显示比例; 显示单元,用于以所述显示中心和所述显示比例在所述地图上显示所述数据对应的位置。 10. A search results on a map display means, characterized in that said apparatus comprises: detecting means for detecting a state of the mouse on the page; data transfer unit, when the detecting unit detects the mouse when the polymerization into item search result list entry or polymeric aggregating node, the data aggregation or polymerization of items transferred to the node represents a map of the page, the item is a plurality of polymeric search result items contained in the search result list the polymerization data item includes data representative of all the polymerizable node represents Cohesion; determining means for determining based on the map data transmitted to the center of the page map display ratio and a display; a display unit, with and at the center of the display to display scale display corresponding to the data position on the map.
  11. 11.根据权利要求10所述的装置,其特征在于,其中所述状态进一步包括鼠标移出所述聚合项。 11. The apparatus according to claim 10, wherein, wherein said mouse further comprises removing the state polymerization item.
  12. 12.根据权利要求11所述的装置,其特征在于,所述搜索结果列表中还包括非聚合项; 其中所述数据传递单元在所述鼠标移出聚合项且未移入除所述聚合项以外的其他检索结果列表项时,将所述页面上所有非聚合项代表的数据传递至所述页面的地图上。 12. The apparatus according to claim 11, wherein the search result list also includes non-polymeric item; wherein the data transfer unit and not the mouse out of entry into the polymerization of the polymerizable items other than other search result list item when the data item represents all the non-polymeric transferred to the page of the page map.
  13. 13.根据权利要求10所述的装置,其特征在于,其中所述确定单元包括:判断子单元,用于判断传递至所述页面的地图上的数据的个数。 13. The apparatus according to claim 10, wherein, wherein said determining unit comprises: a determining subunit, configured to determine the number of data transmitted to the map on the page.
  14. 14.根据权利要求13所述的装置,其特征在于,如果所述判断子单元得到的结果为一个时,所述确定单元进一步包括确定子单元,用于确定以传递至所述页面的地图上的数据对应的位置为所述显示中心,以所述地图当前的比例为所述显示比例。 14. The apparatus according to claim 13, wherein, if the determination result obtained is a sub-unit when the determining unit further comprises determining sub-unit, for determining the page for delivery to the map data corresponding to the center position of the display, with the current scale of the map to the display scale.
  15. 15.根据权利要求14所述的装置,其特征在于,其中所述显示单元在所述地图上以移入移出的效果显示传递至所述页面的地图上的数据对应的位置。 15. The apparatus according to claim 14, wherein the data unit is moved out to effect display of the page is transmitted on said map corresponding to a position wherein the display.
  16. 16.根据权利要求14所述的装置,其特征在于,其中所述显示单元在所述地图上高亮显示传递至所述页面的地图上的数据对应的位置。 16. Apparatus according to claim 14, wherein, wherein the display unit is highlighted on the map display data is transmitted to a position on a map corresponding to the page.
  17. 17.根据权利要求16所述的装置,其特征在于,其中所述显示单元在高亮显示传递至所述页面的地图上的数据对应的位置时,更进一步显示传递至所述页面的地图上的数据包含的信息,其中所述信息包括名称、描述性文字、符号或图片。 17. The apparatus according to claim 16, wherein, wherein the display unit displays the data transferred to the page map at a position corresponding to highlight, further transmitted to the display of the page map the information contained in the data, wherein the information includes the name, descriptive text, pictures, or symbols.
  18. 18.根据权利要求13所述的装置,其特征在于,如果所述判断子单元得到的结果为多个时,所述确定单元进一步包括: 视窗获取单元,用于通过调用接口获取传递至所述页面的地图上的数据在所述地图的全景中的视窗;` 显示中心确定单元,用于确定所述视窗的中心,并以所述中心为所述显示中心; 显示比例确定单元,用于根据所述中心与所述视窗边界的距离及所述地图的展示面积确定所述显示比例。 18. The apparatus according to claim 13, wherein, if the determination result obtained for a plurality of sub-unit, the determining means further comprises: acquisition window unit for acquiring transmitted to the interface by invoking the page data on the map of the map window in the panorama; `center of the display determining unit for determining the center of the window and to center the center of the display; display ratio determining unit configured to the distance from the center of the window and a boundary of the display area of ​​the map display scale is determined.
CN 201110124572 2011-05-13 2011-05-13 Method and device for displaying retrieval result on map CN102222084B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110124572 CN102222084B (en) 2011-05-13 2011-05-13 Method and device for displaying retrieval result on map

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN 201110124572 CN102222084B (en) 2011-05-13 2011-05-13 Method and device for displaying retrieval result on map
PCT/CN2012/074178 WO2012155744A1 (en) 2011-05-13 2012-04-17 Method and apparatus for displaying search results in map

Publications (2)

Publication Number Publication Date
CN102222084A true CN102222084A (en) 2011-10-19
CN102222084B true CN102222084B (en) 2014-02-19

Family

ID=44778636

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110124572 CN102222084B (en) 2011-05-13 2011-05-13 Method and device for displaying retrieval result on map

Country Status (2)

Country Link
CN (1) CN102222084B (en)
WO (1) WO2012155744A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102222084B (en) * 2011-05-13 2014-02-19 北京百度网讯科技有限公司 Method and device for displaying retrieval result on map
CN103377204B (en) * 2012-04-18 2016-02-24 腾讯科技(深圳)有限公司 One kind of map to show the method and apparatus for search results
CN104111934A (en) * 2013-04-17 2014-10-22 北京百度网讯科技有限公司 E-map search result displaying method and E-map client
CN103455558A (en) * 2013-08-08 2013-12-18 义乌中国小商品城信息技术有限公司 Positioning method and positioning device
CN105335393A (en) * 2014-07-11 2016-02-17 阿里巴巴集团控股有限公司 Map display method and device
CN105279185A (en) * 2014-07-16 2016-01-27 贾新志 Method for graphically displaying search results of search engines
CN104732567B (en) * 2015-04-03 2017-10-27 深圳云财经大数据技术有限公司 The stock information in FIG line k, FIG sharing data visualization methods of labeling
CN105760535A (en) * 2016-03-11 2016-07-13 杨晟志 Image search method based on virtual map

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006040731A2 (en) 2004-10-12 2006-04-20 Yang Wendy W System and method for managing and presenting entity information
CN101313300A (en) 2005-08-30 2008-11-26 谷歌公司 Local search
CN101751402A (en) 2008-12-05 2010-06-23 宏达国际电子股份有限公司 Map information management method and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6025843A (en) * 1996-09-06 2000-02-15 Peter Sklar Clustering user interface
CA2335445A1 (en) * 2001-02-09 2002-08-09 Lasoo Inc. Internet search tool using geographically selective features
CN101349567A (en) * 2008-07-29 2009-01-21 方圆信通科技(北京)有限公司 Method for providing local mobile geographical information service based on GPS and mobile terminal
CN102222084B (en) * 2011-05-13 2014-02-19 北京百度网讯科技有限公司 Method and device for displaying retrieval result on map

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006040731A2 (en) 2004-10-12 2006-04-20 Yang Wendy W System and method for managing and presenting entity information
CN101313300A (en) 2005-08-30 2008-11-26 谷歌公司 Local search
CN101751402A (en) 2008-12-05 2010-06-23 宏达国际电子股份有限公司 Map information management method and system

Also Published As

Publication number Publication date Type
CN102222084A (en) 2011-10-19 application
WO2012155744A1 (en) 2012-11-22 application

Similar Documents

Publication Publication Date Title
US8296332B2 (en) Visual manipulation of database schema
US20120105475A1 (en) Range of Focus in an Augmented Reality Application
US20120240077A1 (en) Method and apparatus for displaying interactive preview information in a location-based user interface
US20130321397A1 (en) Methods and Apparatus for Rendering Labels Based on Occlusion Testing for Label Visibility
US8489641B1 (en) Displaying layers of search results on a map
US20110161856A1 (en) Directional animation for communications
US20110173570A1 (en) Data feeds with peripherally presented interesting content
US8060582B2 (en) Geocoding personal information
US20090325607A1 (en) Motion-controlled views on mobile computing devices
US20090111487A1 (en) Text display of geo-referenced information based on relative distance to a user location
US20130135344A1 (en) Method and apparatus for web-based augmented reality application viewer
US20120075341A1 (en) Methods, apparatuses and computer program products for grouping content in augmented reality
US20130093787A1 (en) Method and apparatus for grouping and de-overlapping items in a user interface
US20140136946A1 (en) Animation Sequence Associated with Content Item
US20110099180A1 (en) Method and apparatus for searching geo-tagged information
US20130339904A1 (en) Concentric hierarchical list browser
US20130325340A1 (en) Routing applications for navigation
US20140137046A1 (en) Image Presentation
US20140123021A1 (en) Animation Sequence Associated With Image
US20130321424A1 (en) System And Method For Generating Signal Coverage Information From Client Metrics
US20140137013A1 (en) Scrolling Through a Series of Content Items
US20130198661A1 (en) Hierarchical User Interface
US20130080975A1 (en) Concentric Hierarchical List Browser
US8862589B2 (en) System and method for predicting a geographic origin of content and accuracy of geotags related to content obtained from social media and other content providers
US20140137010A1 (en) Animation Sequence Associated with Feedback User-Interface Element

Legal Events

Date Code Title Description
C06 Publication
C10 Request of examination as to substance
C14 Granted