CN103295466A - Method and device for partial rendering on map - Google Patents

Method and device for partial rendering on map Download PDF

Info

Publication number
CN103295466A
CN103295466A CN 201210053986 CN201210053986A CN103295466A CN 103295466 A CN103295466 A CN 103295466A CN 201210053986 CN201210053986 CN 201210053986 CN 201210053986 A CN201210053986 A CN 201210053986A CN 103295466 A CN103295466 A CN 103295466A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
search
area
map
layer
intersection
Prior art date
Application number
CN 201210053986
Other languages
Chinese (zh)
Other versions
CN103295466B (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

Links

Abstract

The invention provides a method and device for partial rendering on a map. The method for partial rendering on the map comprises the steps that a search region is obtained on a map layer; the map layer is divided into a plurality of map layer partial regions, and intersection regions between the search region and the map layer partial regions are determined; corresponding search results on the determined intersection regions are obtained; the obtained search results are displayed on the map layer. The method and device for partial rendering on the map solves the problem that the processing speed of a search engine is reduced, wherein the problem is caused when a determined search range is too large in the related technology; the method and device for partial rendering on the map improves the working efficiency of the search engine.

Description

在地图上局部渲染的方法和装置 Method and apparatus for rendering a map of the local

技术领域 FIELD

[0001] 本申请涉及互联网通信领域,具体而言,涉及一种在地图上局部渲染的方法和装置。 [0001] The present application relates to the field of Internet communications, more particularly, to a method and apparatus for rendering on the local map.

背景技术 Background technique

[0002] 在相关技术中,若需要在地图上显示一定区域内的搜索结果,一般采用图片引擎多点渲染技术,其包括如下步骤: [0002] In the related art, if desired search results within a certain area on the map, the general multi-point image rendering engine, comprising the steps of:

[0003] S1:客户端在图1所示的地图的6个局部区域中确定搜索的中心点,其中,该中心点的确定可以由用户输入该点的坐标信息来实现,或者,通过用户在图1所示的地图上的点击操作来实现; [0003] S1: The client determines the center point searched six local region of the map shown in FIG. 1, wherein, for determining the center point of the coordinate information of the point can be entered by the user is achieved, or by the user a click operation on the map shown in FIG. 1 is achieved;

[0004] S2:客户端在图1所示的地图的6个局部区域中根据中心点确定搜索范围,其中,该搜索范围的确定可以由用户输入的搜索半径以及上述中心点的坐标信息来确定; [0004] S2: The client determines the search range center point in a local region of the map 6 shown in FIG. 1, wherein determining the search range may be input by the user information of the search radius and center point coordinates are determined ;

[0005] S3:客户端以整个搜索范围为单位向搜索服务器请求搜索整个搜索范围内对应的搜索结果; [0005] S3: The client units of the entire search results corresponding to the search request to search the entire search range to the search server;

[0006] S4:搜索服务器根据搜索到的搜索结果对应的坐标信息将所述搜索结果返回给客户端,客户端将搜索结果在地图上进行显示。 [0006] S4: the search server corresponding to the coordinate information to return the search results to search results based on the search to the client, the client displays the search result on a map.

[0007] 然而,上述图片引擎多点渲染技术存在以下缺陷:如果确定出的搜索范围的面积太大时,则搜索服务器需要进行大范围的数据搜索,可能会导致搜索引擎的处理速度下降,影响搜索引擎的工作效率,极端情况下甚至会导致搜索引擎崩溃。 [0007] However, the presence of the multi-rendering engine picture following defects: If the area is determined search range is too large, the search server requires a wide range of data search, the processing speed may cause search engines to drop, the efficiency of the search engine, in extreme cases even lead to the collapse of the search engines. 此外,根据上述的搜索方案,当搜索服务器在搜索范围中的一部分区域上已获取到相应的搜索结果、而在搜索范围中的其他部分区域上无法响应搜索请求时,则搜索服务器会反复尝试在该其他部分区域上进行搜索,直到在该其他部分区域上搜索到相应的搜索结果后才将全部获取到的搜索结果返回给客户端,从而大大延长了搜索结果的返回时间。 Further, according to the search program, when the search server is available on a partial area in the search range to the search results, and the other partial area in the search range can not respond to the search request, the search server repeatedly attempts after the rest of the search area, the search until the search results on the other portions of the entire region of the acquired search results returned to the client, thus greatly extending the time of search results returned.

发明内容 SUMMARY

[0008] 本申请提供了一种在地图上局部渲染的方法和装置,以至少解决相关技术中由于确定出的搜索范围太大而导致的搜索引擎的处理速度下降的问题。 [0008] The present application provides a method and apparatus for rendering on the local map, to solve at least the problems in the related art since the processing speed is determined that the search range is too large to cause a decrease in search engines.

[0009] 根据本申请的一个方面,提供了一种在地图上局部渲染的方法,其包括:在地图图层上获取搜索区域;将地图图层分隔成多个图层局部区域,并确定搜索区域与每个图层局部区域的交集区域;分别在确定出的每个交集区域上获取对应的搜索结果;将获取到的搜索结果在地图图层上进行显示。 [0009] In accordance with one aspect of the present disclosure, there is provided a method of rendering the local map, comprising: obtaining a search area on the map layer; the layer is divided into a plurality of map layers local regions, and determines the search region and the area of ​​intersection of each local region layer; respectively acquire the search results corresponding to each determined area of ​​intersection; the acquired search result is displayed on the map layer.

[0010] 优选地,分别在确定出的每个交集区域上获取对应的搜索结果的步骤包括:依次针对每个交集区域向数据库发送搜索请求消息,其中,搜索请求消息中携带一个交集区域内的坐标值;接收数据库返回的与每个坐标值对应的搜索结果。 [0010] Preferably, each search result is acquired corresponding to each intersection on the determined area comprises the step of: sending a search sequentially for each intersection region to the database request message, wherein the search request message carries a region of intersection coordinate values; receiving database returns the results of the search corresponding to each coordinate value. 将获取到的搜索结果在地图图层上进行显示的步骤包括:将已返回的搜索结果在地图图层中对应的交集区域上进行显不。 Step the acquired search results on the display map layer comprising: will not significantly on the returned search results in the corresponding area of ​​intersection map layer. [0011] 优选地,在地图图层上获取搜索区域的步骤包括:搜索区域由搜索的中心点的坐标和搜索范围确定,在搜索范围为矩形的情况下,以中心点作为矩形的中心点来确定矩形在地图图层上的位置;将在地图图层上确定了位置的矩形中不相邻的两个顶点的坐标作为表征搜索区域的坐标信息。 [0011] Preferably, obtaining a search area on the map layer step includes: a search area and search range determined by the coordinates of the center point of the search, the search range for the case of a rectangle, the center point to center point of a rectangle determining the position of the rectangle on the map layer; determining the coordinates of two vertices of the rectangle are not adjacent position as coordinate information that indicates the search area on the map layer.

[0012] 优选地,在地图图层上获取搜索区域的步骤包括:搜索区域由搜索的中心点的坐标和搜索范围确定,在搜索范围为圆形的情况下,以中心点作为圆形的外切矩形的中心点来确定圆形的外切矩形在地图图层上的位置;将在地图图层上确定了位置的外切矩形中不相邻的两个顶点的坐标、中心点的坐标以及圆形的半径值作为表征搜索区域的坐标信息。 [0012] Preferably, obtaining a search area on the map layer step includes: a search area and search range determined by the coordinates of the center point of the search, the search range is circular, the center point of a circular outer the center point of the bounding rectangle to determine the position of circumscribed rectangle of a circle on the map layer; determining the position of circumscribed rectangle coordinates of two non-adjacent vertices in the map layer, the coordinates of the center point and coordinate value as the radius of the circle characterizing information search area.

[0013] 优选地,确定搜索区域与每个图层局部区域的交集区域的步骤包括:判断搜索区域中落入在圆形内的点是否落入在图层局部区域中;将落入在图层局部区域中的点作为交集区域中的点。 [0013] Preferably, the step of determining the search area with the area of ​​intersection of each local region layer comprising: determining a search area that falls within the circular point in the layer falls within the local area; will fall in FIG. partial layer region as the point of intersection of the dot region.

[0014] 优选地,将地图图层分隔成多个图层局部区域的步骤包括:将地图图层分隔成大小相同的多个图层局部区域。 [0014] Preferably, the layers into a plurality of map layers separated local regions comprises: a map layers divided into a plurality of layers of the same size local region.

[0015] 根据本申请的另一方面,提供了一种在地图上局部渲染的装置,位于服务器上,其包括:获取单元,用于在地图图层上获取搜索区域;确定单元,用于将地图图层分隔成多个图层局部区域,并确定搜索区域与每个图层局部区域的交集区域;搜索单元,用于分别在确定出的每个交集区域上获取对应的搜索结果;传输单元,用于将获取到的搜索结果返回给客户端,使得所述客户端在地图图层上显示相应的搜索结果。 [0015] According to another aspect of the present application, there is provided an apparatus for rendering a map of local, located on a server, comprising: an acquisition unit for acquiring the search area on the map layer; determining means, for map layers into a plurality of layers of local regions, and determines the search area with the area of ​​intersection of each local region layer; search unit for respectively acquiring corresponding search result on each of the determined area of ​​intersection; transmission unit for the acquired search results returned to the client, so the client displays the search results on a map layer.

[0016] 优选地,搜索单元包括:发送模块,用于依次针对每个交集区域向数据库发送搜索请求消息,其中,搜索请求消息中携带一个交集区域内的坐标值;接收模块,用于接收数据库返回的与每个坐标值对应的搜索结果。 [0016] Preferably, the search unit comprising: a transmitting module, configured to request for each intersection region in turn transmits the search database to the message, wherein the search request message carrying a coordinate value in the region of intersection; receiving means for receiving the database returned search results corresponding to each coordinate value. 传输单元包括:传输模块,用于将接收到的所述搜索结果返回给客户端,使得客户端将所述搜索结果在地图图层中对应的交集区域上进行显 The transmission unit comprising: a transmission module for converting the received search result is returned to the client so that the client will be substantially corresponding to the search results in the area of ​​intersection map layer

/Jn o / Jn o

[0017] 优选地,获取单元包括:第一确定模块,用于接收客户端传输的中心点的坐标和搜索范围的信息,并根据中心点的坐标和搜索范围确定搜索范围,在搜索范围为矩形的情况下,以中心点作为矩形的中心点来确定矩形在地图图层上的位置;第一处理模块,用于将在地图图层上确定了位置的矩形中不相邻的两个顶点的坐标作为表征搜索区域的坐标信息。 [0017] Preferably, the acquiring unit comprises: a first determining module, and coordinate search range for receiving the information transmitted from the client center point, and the search range is determined based on the coordinates and center point of the search range, the search range is a rectangular in the case where, to determine the position of the rectangle on the center point of the map layer as the center point of the rectangle; a first processing module, configured to determine the two vertices of the rectangle are not adjacent positions on the map layer coordinates as coordinate information that indicates the search area.

[0018] 优选地,获取单元包括:第二确定模块,用于接收客户端传输的中心点的坐标和搜索范围的信息,并根据中心点的坐标和搜索范围确定搜索范围,在搜索范围为圆形的情况下,以中心点作为圆形的外切矩形的中心点来确定圆形的外切矩阵在地图图层上的位置;第二处理模块,用于将在地图图层上确定了位置的外切矩形中不相邻的两个顶点的坐标、中心点的坐标以及圆形的半径值作为表征搜索区域的坐标信息。 [0018] Preferably, the acquiring unit comprises: a second determining module, and the coordinate information of the center point of the search range transmitted from a client, and the search range is determined based on the coordinates and center point of the search range, the search range is a circle the shape of the case, to determine the position of the circumscribed circle of the matrix layer to the map center point as the center point of a circle circumscribed rectangle; a second processing module, for determining the position on the map layer rectangular coordinates of two non-adjacent vertices of the circumscribed center point coordinates and the radius of the circle characterizing values ​​as the coordinate information of the search area.

[0019] 优选地,确定单元包括:判断模块,用于判断搜索区域中落入在圆形内的点是否落入在图层局部区域中;第三处理模块,用于将落入在图层局部区域中的点作为交集区域中的点。 [0019] Preferably, the determining unit comprises: a determining module, for determining the search area falls within the circular point in the layer falls within the local area; a third processing module, configured to fall within a layer point as the local area of ​​the intersection point area.

[0020] 在本申请中,首先,在地图图层上获取搜索区域,再将地图图层分隔成多个图层局部区域,并确定搜索区域与每个图层局部区域的交集区域;然后,分别在确定出的每个交集区域上获取与该交集区域对应的搜索结果,即将搜索区域划分为多个交集区域,再分别向搜索引擎请求获得每个交集区域的搜索结果,从而减小了搜索引擎每次进行搜索的范围,降低了搜索引擎每次进行搜索的工作量,有助于提高搜索引擎的工作效率;另外,当在一个交集区域上获取到相应的搜索结果后,搜索引擎即会将该交集区域上的搜索结果返回给客户端,以便在地图图层上进行显示,而不会等到所有交集区域上均获取到搜索结果后再一起将全部获取到的搜索结果返回给客户端,这样,即使在某个交集区域上无法响应搜索请求,也不会影响其他交集区域上的搜索结果的 [0020] In the present application, the first layer acquires a search area on the map, then the map layer separated into a plurality of layers of local regions, and determines the search area for each layer and the area of ​​intersection of the local region; then, are available on the determined area of ​​intersection of each search result corresponding to the intersection region, i.e. the search area is divided into a plurality of intersection regions, respectively, then a request to a search engine to obtain search results for each intersection region, thereby reducing the search scope of the search engine each time, to reduce the workload for each search engine to search, help improve the efficiency of search engines; Further, when the search results acquired in a region of intersection, i.e., the search engine will the intersection of search results on the region back to the client for display on a map layer, and not wait until all the area of ​​intersection are to get the search results and then all get together to search results back to the client, Thus, even if unable to respond to search requests on a particular area of ​​intersection, it will not affect the search results on other areas of intersection 返回,降低了搜索结果的返回时间。 Return, reducing the time of search results returned.

附图说明 BRIEF DESCRIPTION

[0021] 此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。 [0021] The drawings described herein are provided for further understanding of the present disclosure, constitute part of this application, exemplary embodiments of the present disclosure used to explain the embodiment of the present application, without unduly limiting the present disclosure. 在附图中: In the drawings:

[0022] 图1是相关技术中的地图显示的效果示意图; [0022] FIG. 1 is a schematic view of the effect of the related art map display;

[0023] 图2是根据本申请实施例的在地图上局部渲染的系统的结构框图; [0023] FIG. 2 is a block diagram showing a map of the local rendering system according to an embodiment of the present application;

[0024] 图3是根据本申请实施例的在地图图层上划分图层局部区域的示意图; [0024] FIG. 3 is a schematic view of the layer into local regions according to a map application layer according to the present embodiment;

[0025] 图4是根据本申请实施例的使用在地图上局部渲染的装置后的图片的示意图; [0025] FIG. 4 is a schematic picture of the apparatus used in Example rendering a map of the local application according to the present embodiment;

[0026] 图5是根据本申请实施例的在地图上局部渲染的装置的结构框图; [0026] FIG. 5 is a block diagram showing a map of the local rendering apparatus according to an embodiment of the present application;

[0027] 图6是根据本申请实施例的搜索单元的结构框图; [0027] FIG. 6 is a block diagram of the search unit according to an embodiment of the present application;

[0028] 图7是根据本申请实施例的传输单元的结构框图; [0028] FIG. 7 is a block diagram of a transmission unit according to an embodiment of the present application;

[0029] 图8是根据本申请实施例的获取单元的结构框图; [0029] FIG. 8 is a block diagram showing an embodiment of the acquiring means of the present application;

[0030] 图9是根据本申请实施例的在搜索范围为矩形时确定交集区域的示意图; [0030] FIG. 9 is a schematic view of the intersection region when the search range is determined in accordance with a rectangular embodiment of the present application;

[0031] 图10是根据本申请实施例的另一种获取单元的结构框图; [0031] FIG. 10 is a block diagram showing another configuration acquisition unit according to the present embodiment of the application;

[0032] 图11是根据本申请实施例的确定单元的结构框图; [0032] FIG. 11 is a block diagram of a determining unit according to an embodiment of the present application;

[0033] 图12是根据本申请实施例的在地图上局部渲染的方法的流程图。 [0033] FIG. 12 is a flowchart showing a map of the local rendering method according to an embodiment of the present application.

具体实施方式 detailed description

[0034] 下文中将参考附图并结合实施例来详细说明本申请。 [0034] with reference to the accompanying drawings and will hereinafter be described in detail embodiments of the present application. 需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。 Incidentally, in the case of no conflict, embodiments and features of the embodiments of the present application can be combined with each other.

[0035] 在以下各个实施例中,通信可以由无线连接或有线连接或其两者的组合来实现,本申请对此不做限定。 [0035] In the following respective embodiments, the communication may be connected by wireless connections or wired, or a combination of both to achieve, which is not defined in the present application.

[0036] 在描述本申请的各实施例的进一步细节之前,将参考图2来描述可用于实现本申请的原理的一个合适的计算体系结构。 A suitable computing architecture [0036] Before further description of the details of the embodiments of the present application will be described with reference to FIG. 2 may be used to implement the principles of the present disclosure. 在以下描述中,除非另外指明,否则将参考由一个或多个计算机执行的动作和操作的符号表示来描述本申请的各实施例。 In the following description, unless otherwise specified, with reference to the operation performed by one or more computers and symbolic representations of operations will be described various embodiments of the present application. 由此,可以理解,有时被称为计算机执行的这类动作和操作包括计算机的处理单元对以结构化形式表示数据的电信号的操纵。 Accordingly, will be understood, such an operation is sometimes referred to as a computer to execute the operation and manipulation of the computer processing unit includes electrical signals representing data in a structured form. 这一操纵转换了数据或在计算机的存储器系统中的位置上维护它,这以本领域的技术人员都理解的方式重配置或改变了计算机的操作。 This manipulation of the data conversion system of the computer or in a memory of the position in the maintenance of it, this reconfiguration or change in the operation of the computer according to the present art are appreciated in the art. 维护数据的数据结构是具有数据的格式所定义的特定属性的存储器的物理位置。 Data is maintained are physical locations of the memory the data structure of data having a format specific attributes as defined. 然而,尽管在上述上下文中描述本申请,但它并不意味着限制性的,如本领域的技术人员所理解的,后文所描述的动作和操作的各方面也可用硬件来实现。 However, while the present application is described in the context of the above, it is not meant to be limiting, as those skilled in the art will appreciate, the operation described later and various aspects of the operation may also be implemented in hardware.

[0037] 转向附图,其中相同的参考标号指代相同的元素,本申请的原理被示为在一个合适的计算环境中实现。 [0037] Turning to the drawings, wherein like reference numerals refer to like elements, the principles of the present disclosure is shown as being implemented in a suitable computing environment. 以下描述基于所述的本申请的实施例,并且不应认为是关于此处未明确描述的替换实施例而限制本申请。 Example embodiments described herein are based on the following description, and should not be taken on alternate embodiments not specifically described herein limit the present application. [0038] 图2示出了可用于这些设备的一个示例计算机体系结构的示意图。 [0038] FIG. 2 shows a schematic diagram of an example computer architecture that may be used in these devices. 出于描述的目的,所绘的体系结构仅为合适环境的一个示例,并非对本申请的使用范围或功能提出任何局限。 For descriptive purposes, the architecture depicted is only one example of a suitable environment is not intended to suggest any limitation as to the scope of use or functionality of the application. 也不应将该计算系统解释为对图2所示的任一组件或其组合具有任何依赖或需求。 Neither should the computing system is explained as having any dependency or requirement relating to any one or combination of components shown in FIG.

[0039] 本申请的原理可以使用其它通用或专用计算或通信环境或配置来操作。 [0039] The principles of the present disclosure may be used other general purpose or special purpose computing or communications environments or configurations. 适用于本申请的众所周知的计算系统、环境和配置的示例包括但不限于,个人计算机、服务器,多处理器系统、基于微处理的系统、小型机、大型计算机、以及包括任一上述系统或设备的分布式计算环境。 Well known computing systems suitable for the present application, an example of configuration of environment and include but are not limited to, personal computers, servers, multiprocessor systems, microprocessor-based systems, minicomputers, mainframe computers, and includes any of the above systems or devices, distributed computing environment.

[0040] 在其最基本的配置中,图2中的在地图上局部渲染的系统200至少包括:一个网站的服务器202以及一个或多个客户端204。 [0040] In its most basic configuration, in FIG. 2 on the map 200 at least partially rendering system comprising: a web server 202 and a client 204 or more. 服务器202可以包括但不限于微处理器MCU或可编程逻辑器件FPGA等的处理装置、用于存储数据的存储装置以及与客户端通信的传输装置;客户端204可以包括:微处理器MCU、与服务器通信的传输装置、与用户交互的显示装置。 Server 202 may include, but is not limited to a microprocessor MCU processing means or a programmable logic device such as FPGA, memory means for storing data, and transmitting means in communication with the client; client 204 may comprise: a microprocessor MCU, and transmission server communications device, the display device and user interaction. 在本说明书和权利要求书中,“在地图上局部渲染的系统”也可以被定义为能够执行软件、固件或微码来实现功能的任何硬件组件或硬件组件的组合。 In the present specification and claims, "a map of the local rendering system" may also be defined as capable of executing software, firmware, microcode, or any combination of hardware implemented or hardware component functionality. 在地图上局部渲染的系统200甚至可以是分布式的,以实现分布式功能。 On the local map rendering system 200 may even be distributed to achieve a distributed function.

[0041] 如本申请所使用的,术语“模块”、“组件”或“单元”可以指在在地图上局部渲染的系统200上执行的软件对象或例程。 [0041] As used herein, the term "module," "component" or "unit" may refer to software objects or routines that execute on the map 200 in the local rendering system. 此处所描述的不同组件、模块、单元、引擎和服务可被实现为在在地图上局部渲染的系统200上执行(例如,作为单独的线程)的对象或进程。 The different components described herein, modules, units, engines, and services may be implemented to execute on the local map rendering system 200 (e.g., as separate threads) objects or processes. 尽管此处所描述的系统和方法较佳地以软件来实现,但是硬件或软件和硬件的组合的实现也是可能并被构想的。 Although the systems and methods described herein are preferably implemented in software, but hardware, or implemented as a combination of software and hardware are also possible and contemplated.

[0042] 实施例1 [0042] Example 1

[0043] 如图2所示,在地图上局部渲染的系统200包括:网站的服务器202和客户端204。 [0043] As shown in FIG 2, the local map rendering system 200 comprising: a web server 202 and the client 204. 在地图上局部渲染的系统200的工作过程可以如下所示: Partially on the map rendering system 200 may work process is as follows:

[0044] S1:客户端204根据用户的操作命令来确定搜索的中心点,其中,该中心点的确定可以由用户输入该点的坐标信息来实现,或者,通过用户在图1所示的地图上的点击操作来实现,其中,该搜索范围的确定可以由用户输入的搜索半径以及上述中心点的坐标信息来确定;客户端根据用户的操作命令来确定搜索范围,其中,该搜索范围的确定可以由用户输入的搜索半径来确定; [0044] S1: The client 204 determines a center point of the search operation according to a user's command, wherein determining the center point of the coordinate information of the point can be entered by the user is achieved, or by a user in the map shown in FIG. 1 a click operation on the achieved, wherein determining the search range may be determined by the coordinate information input by the user and said search radius center point; the client to determine the search range according to a user operation command, wherein the search range is determined search radius may be determined by user input;

[0045] S2:服务器202接收到客户端204传输的中心点的坐标和搜索范围的信息,并根据该中心点的坐标和搜索范围确定搜索区域;优选的,上述搜索范围可以是以圆的形式确定,如图3中阴影部分所示,在给出圆的半径时,即可确定搜索范围,并根据中心点的坐标和搜索范围即可确定搜索区域在地图上坐标范围,例如,该坐标范围可以由实际的经纬度来表征。 [0045] S2: The server 202 receives the coordinate information and the center point of the search range transmitted client 204, and determines the search area and search range based on the coordinates of the center point; Preferably, the above search range may be in the form of a circle determining, in the shaded portion shown in FIG. 3, when a given radius of the circle, to determine the search range, and to determine a search area range on the map coordinates and the coordinates of the center point of the search range, e.g., the coordinate range It may be characterized by the actual latitude and longitude. 当然,在本优选的方案中,服务器根据客户端传输的中心点的坐标和搜索范围的信息来确定搜索区域,这只是本申请的一种示例,本申请不仅限于此,还可以通过其他的方案来获取搜索区域。 Of course, in the present preferred embodiment, the server determines the coordinates of the search area and search range based on the information of the center point transmitted from the client, this is just an example of the present application, the present application is not limited thereto, but also through other programs to obtain the search area.

[0046] S3:服务器202将地图图层分隔成多个图层局部区域,并确定搜索区域与每个图层局部区域的交集区域;为了便于操作可以将地图图层分隔成大小相同的多个图层局部区域,图层局部区域的个数可以根据需要选择,例如,4个、6个等,优选地,如图3所示,将地图图层分隔成6个图层局部区域,从左到右标记为Cl、C2、C3、C4、C5以及C6,然后,确定搜索区域与每个图层局部区域的交集区域,例如,将图层局部区域Cl (图3中第I排第I个图)的坐标范围与搜索区域的坐标范围做交集区域,即得到新的坐标范围交集区域Dl,依次确定各个图层局部区域与搜索区域的交集区域,得到交集区域D1-D6。 [0046] S3: The server 202 is divided into a plurality of map layers layers of local regions, and determines the search area with the area of ​​intersection of each local region layer; To facilitate this operation map layers may be divided into a plurality of the same size the number of layers local area, the local area may be a layer selected as desired, e.g., 4, 6, etc., preferably, as shown in FIG. 3, the partition map layers into six layers local regions, from the left to the right labeled Cl, C2, C3, C4, C5 and C6, and then, determines the area of ​​intersection with the local region search area for each layer, e.g., the layer Cl local region (FIG. 3 I, I-th row FIG) coordinate range and coordinate range of the search area to make the area of ​​intersection, i.e., to obtain new coordinate range Dl intersection region, each layer in turn determines the area of ​​intersection with the local area search area to obtain the area of ​​intersection D1-D6.

[0047] S4:服务器202分别在确定出的每个交集区域上获取对应的搜索结果;在此步骤中,根据确定的交集区域的坐标依次向搜索引擎申请获取每个交集区域上对应的搜索结果,优选地,该搜索结果可以包括该搜索结果对应的坐标信息、该搜索结果对应的名称和地址等信息,例如,搜索结果包括:餐厅的经纬度信息以及餐厅名称和餐厅地址信息等。 [0047] S4: The server 202 respectively corresponding to the search results acquired in each intersection on the determined area; In this step, according to the coordinates of the determined intersection region sequentially apply to the search engine search results acquired corresponding to each intersection region preferably, the search results may include coordinate information corresponding to the search result, the search result corresponding to information such as name and address, e.g., the search results comprising: a latitude and longitude information and the name of the restaurant and the restaurant dining address information and the like. 在该步骤中,当在一个交集区域上获取到相应的搜索结果后,搜索引擎即会将该交集区域上的搜索结果返回给客户端,以便在地图图层上进行显示,而不会等到所有交集区域上均获取到搜索结果后再一起将全部获取到的搜索结果返回给客户端,这样,即使在某个交集区域上无法响应搜索请求,也不会影响其他交集区域上的搜索结果的返回,降低了搜索结果的返回时间。 In this step, when the search results acquired in a region of intersection, i.e., the search engine will be on the intersection region of the search results returned to the client for display on the map layer, without waiting for all on the area of ​​intersection are to get the search results and then all get together to search results back to the client, so that even in the area of ​​intersection can not respond to a search request, it will not affect the search results on another area of ​​intersection of return and reduce the time of search results returned.

[0048] S5:服务器202将获取到的搜索结果返回给客户端204,使得客户端204在地图图层上显示相应的搜索结果,优选的,地图图层可以只显示城市的地理信息,而不包括任何的搜索结果信息。 [0048] S5: The server 202 obtains the search results returned to the client 204, such client 204 displays the map layer on the search results, preferably, the map may be displayed only geographic information layers city without including any search result information. 优选的,在该步骤中,可以根据搜索结果中的坐标信息、该搜索结果对应的名称和地址信息等将搜索结果生成搜索结果图层,其中,搜索结果图层上的每个标注点对应一个搜索结果,该标注点在搜索结果图层上的位置对应于搜索结果中的搜索结果图层,该标注点上显示的内容对应于该搜索结果中的名称和地址信息(例如,餐厅名称和餐厅地址信息),如图4所示。 Preferably, in this step, the coordinate information according to the search results, the search results corresponding to the name and address information to generate search results to the search results layer, wherein each of the marked points on the search results corresponding to a layer search results, the position of the point marked on the search results corresponding to the search results layer of layer search result, the content displayed on the label point to the name and address information corresponding to the search results (e.g., name of the restaurant and restaurant address information), as shown in FIG. 然后,再将搜索结果图层叠加到地图图层上进行显示。 Then, to the search results superimposed layers to be displayed on the map layer. 当然,根据需要可以选择对地图的局部进行多次渲染,即对同一个中心点确定不同的搜索区域,并对应不同的搜索区域按照上述的搜索步骤(S3-S5)进行搜索,以得到不同的搜索结果,例如,逐次将搜索区域变小,以便在更小的范围内进行搜索,增加搜索结果显示的精细度。 Of course, if necessary, may be selected for rendering multiple local map, i.e. to determine the different search regions with a center point, and the search area corresponding to a different search by the above-described search step (S3-S5), to obtain different search results, e.g., sequentially smaller search area to search within a smaller range, increasing the fineness of the search results.

[0049] 在上述优选实施例中,首先,服务器在地图图层上获取搜索区域,再将地图图层分隔成多个图层局部区域,并确定搜索区域与每个图层局部区域的交集区域;然后,分别在确定出的每个交集区域上获取与该交集区域对应的搜索结果,即将搜索区域划分为多个交集区域,再分别向搜索引擎请求获得每个交集区域的搜索结果,从而减小了搜索引擎每次进行搜索的范围,降低了搜索引擎每次进行搜索的工作量,有助于提高搜索引擎的工作效率。 [0049] In the preferred embodiment, first, the server obtains search area on the map layer, and then separated into a plurality of map layers layers of local regions, and determines the area of ​​intersection with the search region for each local region layer ; then, are acquired on the determined area of ​​intersection of each search result corresponding to the intersection region, i.e. the search area is divided into a plurality of intersection regions, respectively, then a request to a search engine to obtain search results for each intersection region, thus reducing small search engine each time the scope of the search, reducing the workload every time a search engine to help improve the efficiency of search engines.

[0050] 基于上述优选的实施例,本申请提供了一种优选的在地图上局部渲染的装置,以便达到提高搜索引擎的工作效率,改变地图显示的信息精细度,提高地图的精确度的技术效果,优选的,本实施例中的在地图上局部渲染的装置可以设置在图2的服务器202中。 [0050] Based on the above-described preferred embodiment, the present application provides a preferred means rendered locally on the map, in order to achieve improved efficiency of the search engine, the fineness of the map display change information to improve the accuracy of the technology map effect, preferably, the local device on a map rendered in the present embodiment may be provided in the server 202 of FIG. 2. 为了实现上述目的,具体地,如图5所示,上述在地图上局部渲染的装置包括如下部件: To achieve the above object, in particular, as shown in Figure 5, the apparatus on the local map rendering means comprises:

[0051] 获取单元502,用于在地图图层上获取搜索区域;上述搜索区域可以根据客户端204传输的中心点的坐标和搜索范围来确定,搜索范围可以是以圆的形式确定,如图3中阴影部分所示,在给出圆的半径时,即可确定搜索范围,并根据中心点的坐标和搜索范围即可确定搜索区域在地图上坐标范围,例如,该坐标范围可以由实际的经纬度来表征。 [0051] The acquisition unit 502 for acquiring the search area on the map layer; and the search area may be determined based on the coordinates of the center point of the search range and client 204 transmission, the search range may be in the form of a circle determined as shaded. 3, when the radius of the circle is given, the search range can be determined, and to determine a search area range on the map coordinates and the coordinates of the center point of the search range, e.g., the coordinates of the actual range may be characterized by latitude and longitude. 当然,在本优选的方案中,服务器根据客户端传输的中心点的坐标和搜索范围的信息来确定搜索区域,这只是本申请的一种示例,本申请不仅限于此,还可以通过其他的方案来获取搜索区域。 Of course, in the present preferred embodiment, the server determines the coordinates of the search area and search range based on the information of the center point transmitted from the client, this is just an example of the present application, the present application is not limited thereto, but also through other programs to obtain the search area.

[0052] 确定单元504,与获取单元502通信,用于将地图图层分隔成多个图层局部区域,并确定搜索区域与每个图层局部区域的交集区域;优选地,为了便于操作可以将地图图层分隔成大小相同的多个图层局部区域,所划分图层局部区域的个数可以根据需要选择,例如,4个、6个等,优选地,如图3所示,将地图图层分隔成6个图层局部区域,从左到右标记为C1、C2、C3、C4、C5以及C6,然后,确定搜索区域与每个图层局部区域的交集区域,例如,将图层局部区域Cl (图3中第I排第I个图)的坐标范围与搜索区域的坐标范围做交集,即得到新的坐标范围交集区域D1,依次确定各个图层局部区域与搜索区域的交集,得到交集区域D1-D6。 [0052] The determination unit 504, a communication unit 502 and acquires, for a plurality of map layers separated layers into local regions, and determines the search area with the area of ​​intersection of each local region layer; Preferably, for ease of handling can be the map layer is divided into a plurality of layers of the same size of local regions, the layer number of the divided local region can select, for example, four, six, etc. preferably, as shown in FIG. 3, the map layers separated into six layers local regions, from left to right labeled C1, C2, C3, C4, C5 and C6, and then, determines the search area with the area of ​​intersection of each local region of the layer, e.g., the layer CI local region (FIG. 3 in the I-th row of FIG. I) of the coordinate range and coordinate range of the search area to make the intersection, i.e., obtain a new coordinate range intersection region D1, the intersection of the respective layers are sequentially determined partial area of ​​the search region, to give the area of ​​intersection D1-D6.

[0053] 搜索单元506,与确定单元504通信,用于分别在确定出的每个交集区域上搜索对应的搜索结果;在此步骤中,根据确定的交集区域的坐标依次向搜索引擎申请获取每个交集区域上对应的搜索结果,优选地,该搜索结果可以包括该搜索结果对应的坐标信息、该搜索结果对应的名称和地址等信息,例如,搜索结果包括:餐厅的经纬度信息以及餐厅名称和餐厅地址信息等。 [0053] The search unit 506, a communication unit 504, respectively, for the search in the search result corresponding to each determined area of ​​intersection; In this step, according to the coordinates of the determined intersection region sequentially retrieve each application to the search engine one corresponding to the intersection region of the search results, preferably, the search results may include coordinate information of the search result corresponding to the name and address information of the search result corresponding to, for example, the search results comprising: restaurant latitude and longitude information and the name of the restaurant and The restaurant address information. 在该步骤中,当在一个交集区域上获取到相应的搜索结果后,搜索引擎即会将该交集区域上的搜索结果返回给客户端,以便在地图图层上进行显示,而不会等到所有交集区域上均获取到搜索结果后再一起将全部获取到的搜索结果返回给客户端,这样,即使在某个交集区域上无法响应搜索请求,也不会影响其他交集区域上的搜索结果的返回,降低了搜索结果的返回时间。 In this step, when the search results acquired in a region of intersection, i.e., the search engine will be on the intersection region of the search results returned to the client for display on the map layer, without waiting for all on the area of ​​intersection are to get the search results and then all get together to search results back to the client, so that even in the area of ​​intersection can not respond to a search request, it will not affect the search results on another area of ​​intersection of return and reduce the time of search results returned.

[0054] 传输单元508,与搜索单元506通信,用于将获取到的搜索结果返回给客户端204,使得客户端204在地图图层上显示相应的搜索结果,优选的,地图图层可以只显示城市的地理信息,而不包括任何的搜索结果信息。 Communication 506 [0054] The transmission unit 508, the search unit, for the acquired search results returned to the client 204, such client 204 displays the search results on a map layer, preferably, can only map layers display geographical information of the city, and does not include any of the search result information. 优选的,在该步骤中,可以根据搜索结果中的坐标信息、该搜索结果对应的名称和地址信息等将搜索结果生成搜索结果图层,其中,搜索结果图层上的每个标注点对应一个搜索结果,该标注点在搜索结果图层上的位置对应于搜索结果中的搜索结果图层,该标注点上显示的内容对应于该搜索结果中的名称和地址信息(例如,餐厅名称和餐厅地址信息),如图4所示。 Preferably, in this step, the coordinate information according to the search results, the search results corresponding to the name and address information to generate search results to the search results layer, wherein each of the marked points on the search results corresponding to a layer search results, the position of the point marked on the search results corresponding to the search results layer of layer search result, the content displayed on the label point to the name and address information corresponding to the search results (e.g., name of the restaurant and restaurant address information), as shown in FIG. 然后,再将搜索结果图层叠加到地图图层上进行显示。 Then, to the search results superimposed layers to be displayed on the map layer. 当然,根据需要可以选择对地图的局部进行多次渲染,即对同一个中心点确定不同的搜索区域,并对应不同的搜索区域按照上述的搜索方案进行搜索,以得到不同的搜索结果,例如,逐次将搜索区域变小,以便在更小的范围内进行搜索,增加搜索结果显示的精细度。 Of course, if necessary, may be selected for rendering multiple local map, i.e. to determine the different search regions with a center point, and the search area corresponding to a different search by the search scheme described above, to give a different search results, e.g., sequentially smaller search area to search within a smaller range, increasing the fineness of the search results.

[0055] 在上述优选实施例中,首先,在地图图层上获取搜索区域,再将地图图层分隔成多个图层局部区域,并确定搜索区域与每个图层局部区域的交集区域;然后,分别在确定出的每个交集区域上获取与该交集区域对应的搜索结果,即将搜索区域划分为多个交集区域,再分别向搜索引擎请求获得每个交集区域的搜索结果,从而减小了搜索引擎每次进行搜索的范围,降低了搜索引擎每次进行搜索的工作量,有助于提高搜索引擎的工作效率。 [0055] In the preferred embodiment, first of all, the search area on the map acquisition layer, into a plurality of layers then the local area map layers, and determining the area of ​​intersection with the local region search area for each layer; then, were acquired on the determined area of ​​intersection of each search result corresponding to the intersection region, i.e. the search area is divided into a plurality of intersection regions, respectively, and then to request the search results of each search engine to the intersection area, thereby reducing the search engine each time the scope of the search, reducing the workload every time a search engine to help improve the efficiency of search engines.

[0056] 在上述优选实施例的基础上,为准确地获得各个交集区域的搜索结果,本申请提供了一种优选的搜索单元506,为达到上述目的,具体地,如图6所示,该搜索单元506包括:发送模块5062,用于依次针对每个交集区域向数据库发送搜索请求消息,其中,搜索请求消息中携带一个交集区域内的坐标值;接收模块5064,与发送模块5062通信,用于接收数据库返回的与每个坐标值对应的搜索结果。 [0056] On the basis of the above-described preferred embodiments, to accurately obtain the area of ​​intersection of the respective search results, the present application provides a preferred search unit 506, to achieve the above object, in particular, shown in Figure 6, the searching unit 506 includes: a sending module 5062, a request for sequentially for each intersection region message to send search database, wherein the search request message carrying a coordinate value in a region of intersection; a receiving module 5064, module 5062 communicates with a transmission, with to receiving a search result corresponding to each coordinate value returned by the database. 在本优选实施例中,每个交集区域依次向数据库发送搜索请求消息,并在搜索请求消息中携带与每个交集区域对应的坐标值,并根据坐标值接收数据库返回的与每个坐标值对应的搜索结果,实现了根据坐标值准确地获得各个交集区域的搜索结果。 In the preferred embodiment, each of the intersection regions sequentially search request message sent to the database, and the message carries the coordinate values ​​corresponding to each intersection region in the search request, and receives the returned database corresponding to each coordinate value based on the coordinate value results achieved to obtain search results for each area of ​​intersection accurately coordinate values. [0057] 为进一步确保地图信息显示的正确性,本申请提供了一种优选的传输单元508,具体地,如图7所示,该传输单元508包括:传输模块5082,用于将接收到的搜索结果返回给客户端204,使得客户端204将已返回的搜索结果在地图图层中对应的交集区域上进行显示。 [0057] In order to further ensure the accuracy of the map information display, the present application provides a preferred transmission unit 508, specifically, as shown in FIG. 7, the transmission unit 508 comprises: a transmission module 5082, for the received the search results returned to the client 204, such client 204 will be displayed on the returned search results in the corresponding area of ​​intersection map layer. 在本优选的实施例中,在准确地获取各个交集区域的搜索结果后,将搜索结果在地图图层中对应的交集区域上进行显示,进一步确保了地图信息显示的正确性。 In a preferred embodiment of the present embodiment, after accurately obtain the search results of each intersection area will be displayed on the search results corresponding to the intersection region in the map layer, to further ensure the accuracy of the map information display.

[0058] 基于上述各优选实施例,为了准确地确定出搜索区域的坐标值范围,本申请提供了一种优选的获取单元502,具体地,如图8所示,该获取单元502包括:第一确定模块5022,用于接收客户端204传输的中心点的坐标和搜索范围的信息,并根据中心点的坐标和搜索范围确定搜索范围,在搜索范围为矩形的情况下,以中心点作为矩形的中心点来确定矩形在地图图层上的位置;第一处理模块5024,与第一确定模块5022通信,用于将在地图图层上确定了位置的矩形中不相邻的两个顶点的坐标作为表征搜索区域的坐标信息。 [0058] Based on each of the above preferred embodiment, in order to accurately determine the coordinate values ​​of the search area range, the present application provides a preferred acquiring unit 502, specifically, as shown in FIG. 8, the obtaining unit 502 includes: a first a determining module 5022, and the coordinates for the center point of the search range information transmitted from a client 204, and the search range is determined based on the coordinates of the center point of the search range and, in the case where the search range is rectangular, the center point of a rectangular the center point of the rectangle to determine the location on the map layer; a first processing module 5024, a communication module 5022 and a first determination, for determining the positions of the two vertices of the rectangle are not adjacent in the map layer coordinates as coordinate information that indicates the search area. 在本优选实施例中,当搜索范围为矩形时,以中心点作为矩形的中心点来确定矩形在地图图层上的位置,以矩形中不相邻的两个顶点的坐标作为表征搜索区域的坐标信息,例如,如图9所示,图中有阴影的矩形为某个图层局部区域,没有阴影的矩形为某个搜索区域,该搜索区域的中心位置为中心点,可以选择不相邻的两个顶点的坐标来表征该搜索区域,例如,选择以该搜索区域的东北方向的顶点和西南方向的顶点来表征该搜索区域,即该搜索区域的坐标范围值为B[东北角顶点经度1nl,东北角顶点纬度latl,西南角顶点经度lon2,西南角顶点纬度lat2],因此,可以以搜索区域的顶点的坐标值来准确地表征出搜索区域的坐标值范围,优选地,该搜索区域与图层局部区域可以通过以下方式来确定交集区域,例如,图层局部区域也可以采用不相邻的两个顶点的坐 In the present preferred embodiment, when the search range is a rectangular shape, the center point of the center point of the rectangle is determined as a position of the rectangular layer on the map, the coordinates of two vertices of the rectangle are not adjacent to the search area as characterized coordinate information, e.g., FIG. 9, FIG hatched rectangle in a layer local area, an unshaded rectangle search area, the center position of the search area as the center point can select nonadjacent the coordinates of two vertices of the search area is characterized, for example, to select vertices northeast and southwest of the vertices of the search area to the search area is characterized, i.e., the coordinate value range of the search area B [northeast corner longitude vertices 1 nl, northeast corner vertices latitude latl, southwest corner vertices longitude lon2, southwest corner vertices latitude LAT2], therefore, may be coordinate values ​​of the vertices of the search area to accurately characterize the coordinates of the search area range, preferably, the search area layers with local area may be determined by way of the intersection region, e.g., the layer may be employed two local area adjacent vertices does not sit 标值来表征该图层局部区域,如也选择东北方向的顶点和西南方向的顶点来表征该图层局部区域,该图层局部区域的坐标值范围为Cl=[lonl,, latl,, lon2,, lat2,],上述搜索区域的坐标值范围为B = [lonl, latl, lon2,lat2],将该图层局部区域的坐标值范围和上述搜索区域的坐标值范围做交集,该交集区域的坐标值范围为Dl = [X1,Y1,X2,Y2],如图9 所示,Xl = lonl,Yl = latl',X2 = lat2,,Y2 = lon2。 Standard values ​​characterizing the partial layer region, such as selecting vertices and vertex southwest to northeast characterize the local region layer, the layer coordinate values ​​for the range of local area Cl = [lonl ,, latl ,, lon2 ,, lat2,], a coordinate value range of the search area is B = [lonl, latl, lon2, lat2], the value range value range coordinates layer and said local area search area do intersection, the intersection region coordinate value in the range of Dl = [X1, Y1, X2, Y2], 9, Xl = lonl, Yl = latl ', X2 = lat2,, Y2 = lon2.

[0059] 为增强本申请的实用灵活性,本申请对上述获取单元502做了改进,如图10所示,该获取单元502还包括:第二确定模块5026,用于接收客户端204传输的中心点的坐标和搜索范围的信息,并根据中心点的坐标和搜索范围确定搜索范围,在搜索范围为圆形的情况下,以中心点作为圆形的外切矩形的中心点来确定圆形的外切矩形在地图图层上的位置;第二处理模块5028,与第二确定模块5026通信,用于将在地图图层上确定了位置的外切矩形中不相邻的两个顶点的坐标、中心点的坐标以及圆形的半径值作为表征搜索区域的坐标信息。 [0059] In order to enhance the flexibility of the present practical application, the application obtaining unit 502 of the above-mentioned improvements have been made, shown in Figure 10, the acquisition unit 502 further comprises: a second determining module 5026 configured to receive transmissions client 204 and coordinate information of the center point of the search range and the search range is determined based on the coordinates and center point of the search range, the search range is circular, the circular center point to center point as determined circumscribed rectangle round the circumscribed rectangle of the location on the map layer; a second processing module 5028, a communication module 5026 and a second determination, for determining a circumscribed rectangle vertices two non-adjacent locations on the map layer coordinates, the coordinates of the center point and the radius of the circle characterizing value of the coordinate information as the search area. 在本优选实施例中,当搜索范围为圆形时,以圆心位置的坐标点作为圆形的外切矩形的中心点来确定圆形的外切矩形在地图图层上的位置,并以圆形的外切矩形的不相邻的两个顶点的坐标中心点的坐标以及圆形的半径值来准确地表征出圆形的搜索范围,同时,可以确定不同形状的搜索范围的搜索区域,从而增强了本申请的使用灵活性。 In the present preferred embodiment, when the search range is a circle, the center position of the coordinate point as the circular center point of the circumscribed rectangle to determine the position of circumscribed rectangle of a circle on the map layer, and a circle coordinates of the center point of the circumscribed rectangle-shaped non-adjacent vertices of the two circular radius value and to accurately characterize the circular search range while the search range may be determined search areas of different shapes, whereby enhancing the flexibility of use of this application.

[0060] 为了准确地确定出圆形搜索区域的交集区域的坐标值范围,本申请提供了一种优选的确定单元504,具体地,如图11所示,该确定单元504包括:判断模块5042,用于判断搜索区域中落入在圆形内的点是否落入在图层局部区域中;第三处理模块5044,与判断模块5042通信,用于将落入在图层局部区域中的点作为交集区域中的点。 [0060] In order to accurately determine the coordinate values ​​of the intersection area of ​​the circular range of the search area, the present application provides a preferred determination unit 504, specifically, as shown in FIG. 11, the determination unit 504 comprising: a determining module 5042 , for determining the point falls within the search area falls within a circular layer in the local region; third processing module 5044, communication module 5042 determines, for a layer in a local region falls in point as a point of intersection in the area. 在本优选实施例中,当搜索区域为圆形时,在确定出搜索区域的坐标值范围后,将搜索区域中落入在圆形内的点作为交集区域中的点,即去除在圆形外部且在圆形的外切矩形内部的点,因此,可以准确地确定出圆形搜索区域的交集区域的坐标值范围。 In the present preferred embodiment, when the search area is circular, the coordinate value after determining the range of the search area, the search area falls within a circular area of ​​intersection point as the point, that is removed in a circular and at a point outside the circular interior circumscribed rectangle, thus, it can be accurately determined coordinate value of the intersection region of the range of the circular search area.

[0061] 实施例2 [0061] Example 2

[0062] 基于图2-图11,本申请提供了一种优选的在地图上局部渲染的方法,以便达到提高搜索引擎的工作效率,改变地图显示的信息精细度,提高地图的精确度的技术效果,具体地,如图12所示,该在地图上局部渲染的方法包括: [0062] Based on FIGS. 2 to 11, the present disclosure provides a preferred method for rendering a map of the local, in order to achieve improved efficiency of the search engine, the fineness of the map display change information to improve the accuracy of the technology map effect, in particular, as shown, the local map rendering method 12 comprising:

[0063] S1202:在地图图层上获取搜索区域,其中,上述搜索区域由搜索的中心点的坐标和搜索范围确定,搜索的中心点的坐标和搜索范围可以由客户端根据用户的操作命令确定,并由客户端传输给服务器;优选的,上述搜索范围可以是以圆的形式确定,如图3中阴影部分所示,在给出圆的半径时,即可确定搜索范围,并根据中心点的坐标和搜索范围即可确定搜索区域在地图上坐标范围,例如,该坐标范围可以由实际的经纬度来表征。 [0063] S1202: obtaining a search area on the map layer, wherein the search area and search range determined by the coordinates of the center point of the search, the coordinates of the center point of the search range and the search may be determined by the client according to the user's operation command preferably, the above search range may be in the form of a circle is determined, the shaded portion shown in FIG. 3, when the radius of the circle is given, the search range can be determined, according to the center point;, transmitted by the client to the server and coordinate search range to determine a search area in the range of coordinates on the map, for example, the coordinate range may be characterized by the actual latitude and longitude. 当然,在本优选的方案中,服务器根据客户端传输的中心点的坐标和搜索范围的信息来确定搜索区域,这只是本申请的一种示例,本申请不仅限于此,还可以通过其他的方案来获取搜索区域。 Of course, in the present preferred embodiment, the server determines the coordinates of the search area and search range based on the information of the center point transmitted from the client, this is just an example of the present application, the present application is not limited thereto, but also through other programs to obtain the search area.

[0064] S1204:将地图图层分隔成多个图层局部区域,并确定搜索区域与每个图层局部区域的交集区域,优选的,可以在服务器上执行上述对地图图层的分隔操作;为了便于操作,有助于提高搜索引擎的处理速度,可以将地图图层分隔成大小相同的多个图层局部区域,图层局部区域的个数可以根据需要选择,例如,4个、6个等,优选地,如图3所示,将地图图层分隔成6个图层局部区域,从左到右标记为Cl、C2、C3、C4、C5以及C6,然后,确定搜索区域与每个图层局部区域的交集区域,例如,将图层局部区域Cl (图3中第I排第I个图)的坐标范围与搜索区域的坐标范围做交集区域,即得到新的坐标范围交集区域DI,依次确定各个图层局部区域与搜索区域的交集区域,得到交集区域D1-D6。 [0064] S1204: The map layers into a plurality of layers of local regions, and determines the area of ​​intersection with each local region search area layer, preferably, the dividing operation may be performed on the map layers on the server; for ease of handling, help to improve the processing speed of the search engine, the map may be divided into layers plurality of layers of the same local region size, the number of layers in the local region can be selected as, e.g., 4, 6 and the like, preferably, as shown in FIG. 3, the partition map layers into six layers local regions, labeled from left to right Cl, C2, C3, C4, C5 and C6, and then, each of the search area is determined intersection zone a layer of a local area, e.g., the layer CI local region (FIG. 3 in the I-th row of FIG. I) of the coordinate range and coordinate range of the search area to make the area of ​​intersection, i.e. new coordinate range obtained intersection region DI successively determining the respective partial layer region and the area of ​​intersection of the search area, to give the area of ​​intersection D1-D6.

[0065] S1206:分别在确定出的每个交集区域上获取对应的搜索结果;在此步骤中,根据确定的交集区域的坐标依次向搜索引擎申请获取每个交集区域上对应的搜索结果,优选地,该搜索结果可以包括该搜索结果对应的坐标信息、该搜索结果对应的名称和地址等信息,例如,搜索结果包括:餐厅的经纬度信息以及餐厅名称和餐厅地址信息等。 [0065] S1206: corresponding respectively acquire search results for each intersection on the determined area; In this step, according to the coordinates of the determined intersection region sequentially apply to the search engine search results acquired corresponding to each intersection zone, preferably , the search results may include coordinate information corresponding to the search result, the search result information corresponding to the name and address, e.g., the search results comprising: a latitude and longitude information and the name of the restaurant and the restaurant dining address information and the like. 在该步骤中,当在一个交集区域上获取到相应的搜索结果后,搜索引擎即会将该交集区域上的搜索结果返回给客户端,以便在地图图层上进行显示,而不会等到所有交集区域上均获取到搜索结果后再一起将全部获取到的搜索结果返回给客户端,这样,即使在某个交集区域上无法响应搜索请求,也不会影响其他交集区域上的搜索结果的返回,降低了搜索结果的返回时间。 In this step, when the search results acquired in a region of intersection, i.e., the search engine will be on the intersection region of the search results returned to the client for display on the map layer, without waiting for all on the area of ​​intersection are to get the search results and then all get together to search results back to the client, so that even in the area of ​​intersection can not respond to a search request, it will not affect the search results on another area of ​​intersection of return and reduce the time of search results returned.

[0066] S1208:将获取到的搜索结果在地图图层上进行显示,优选的,服务器202将获取到的搜索结果返回给客户端204,使得客户端204在地图图层上显示相应的搜索结果,其中,地图图层可以只显示城市的地理信息,而不包括任何的搜索结果信息。 [0066] S1208: the acquired search results are displayed, preferably on a map layer, the server 202 the acquired search results returned to the client 204, such client 204 displays the search results on a map layer which map layers can only display geographical information of the city, and does not include any of the search result information. 在该步骤中,可以根据搜索结果中的坐标信息、该搜索结果对应的名称和地址信息等将搜索结果生成搜索结果图层,其中,搜索结果图层上的每个标注点对应一个搜索结果,该标注点在搜索结果图层上的位置对应于搜索结果中的搜索结果图层,该标注点上显示的内容对应于该搜索结果中的名称和地址信息(例如,餐厅名称和餐厅地址信息),如图4所示。 In this step, the layer may generate search results based on coordinate information of the search results, the search result information corresponding to the name and address of the search results and the like, wherein each marked point on the search result a search result corresponding to the layers, the position of the marked points on the search results corresponding to the search results layer of layer search result, the content displayed on the marked points corresponding to name and address information (e.g., restaurant name and address information of a restaurant) to the search results ,As shown in Figure 4. 然后,再将搜索结果图层叠加到地图图层上进行显示。 Then, to the search results superimposed layers to be displayed on the map layer. 当然,根据需要可以选择对地图的局部进行多次渲染,即对同一个中心点确定不同的搜索区域,并对应不同的搜索区域按照上述的搜索步骤(S1204-S1208)进行搜索,以得到不同的搜索结果,例如,逐次将搜索区域变小,以便在更小的范围内进行搜索,增加搜索结果显示的精细度。 Of course, if necessary, may be selected for rendering multiple local map, i.e. to determine the different search regions with a center point, and the search area corresponding to a different search by the above-described search step (S1204-S1208), to obtain different search results, e.g., sequentially smaller search area to search within a smaller range, increasing the fineness of the search results.

[0067] 在上述优选实施例中,首先,服务器在地图图层上获取搜索区域,再将地图图层分隔成多个图层局部区域,并确定搜索区域与每个图层局部区域的交集区域;然后,分别在确定出的每个交集区域上获取与该交集区域对应的搜索结果,即将搜索区域划分为多个交集区域,再分别向搜索引擎请求获得每个交集区域的搜索结果,从而减小了搜索引擎每次进行搜索的范围,降低了搜索引擎每次进行搜索的工作量,有助于提高搜索引擎的工作效率。 [0067] In the preferred embodiment, first, the server obtains search area on the map layer, and then separated into a plurality of map layers layers of local regions, and determines the area of ​​intersection with the search region for each local region layer ; then, are acquired on the determined area of ​​intersection of each search result corresponding to the intersection region, i.e. the search area is divided into a plurality of intersection regions, respectively, then a request to a search engine to obtain search results for each intersection region, thus reducing small search engine each time the scope of the search, reducing the workload every time a search engine to help improve the efficiency of search engines.

[0068] 在上述优选实施例的基础上,本申请提供了一种优选的分别在确定出的每个交集区域上获取对应的搜索结果的方法,以便达到准确获得各个交集区域上的搜索结果的技术效果。 [0068] Based on the above preferred embodiments, the present disclosure provides a preferred acquired respectively corresponding to each search result on the determined area of ​​intersection method, in order to achieve accurate search results are obtained on each intersection region technical effect. 为了实现上述目的,具体地,该分别在确定出的每个交集区域上获取对应的搜索结果的方法包括:依次针对每个交集区域向数据库发送搜索请求消息,其中,搜索请求消息中携带一个交集区域内的坐标值;接收数据库返回的与每个坐标值对应的搜索结果。 To achieve the above object, in particular, the acquired respectively corresponding to the determined results of the search zone each intersection method comprising: sequentially transmits the search request message to the database for each intersection region, wherein the search request message carrying an intersection coordinate values ​​in the region; receiving search results returned by the database corresponding to each coordinate value. 在本优选实施例中,每个交集区域依次向数据库发送搜索请求消息,并在搜索请求消息中携带与每个交集区域对应的坐标值,并根据坐标值接收数据库返回的与每个坐标值对应的搜索结果,实现了根据坐标值准确地获得各个交集区域的搜索结果。 In the preferred embodiment, each of the intersection regions sequentially search request message sent to the database, and the message carries the coordinate values ​​corresponding to each intersection region in the search request, and receives the returned database corresponding to each coordinate value based on the coordinate value results achieved to obtain search results for each area of ​​intersection accurately coordinate values.

[0069] 为进一步确保地图信息显示的正确性,本申请提供了一种优选的将获取到的搜索结果在地图图层上进行显示的方法,具体地,该将获取到的搜索结果在地图图层上进行显示的方法包括:将已返回的搜索结果在地图图层中对应的交集区域上进行显示,在准确地获取各个交集区域的搜索结果后,将搜索结果在地图图层中对应的交集区域上进行显示,进一步确保了地图信息显示的正确性。 Method [0069] To further ensure the accuracy of the map information display, the present application provides a preferred the acquired search results displayed on the map layer, in particular, the search results will be obtained in the map of FIG. a method of displaying on a layer comprises: the returned search results displayed on the map corresponding to the intersection region in a layer, after accurately obtain the search results of each intersection region, the search result corresponding to an intersection in the map layer It is on display area, to further ensure the correctness of the information displayed map.

[0070] 基于上述各优选实施例,为了准确地确定出搜索区域的坐标值范围,本申请提供了一种优选的在地图图层上获取搜索区域的方法,具体地,该在地图图层上获取搜索区域的方法包括:搜索区域由搜索的中心点的坐标和搜索范围确定,在搜索范围为矩形的情况下,以中心点作为矩形的中心点来确定矩形在地图图层上的位置;将在地图图层上确定了位置的矩形中不相邻的两个顶点的坐标作为表征搜索区域的坐标信息。 [0070] Specifically, based on the above-described preferred embodiment, each, in order to accurately determine the coordinate values ​​of the search area range, the present application provides a preferred method for obtaining a search area on the map layer, the map layer Get the search area comprising: determining a search area and search range by the coordinates of the center point of the search, the search range is a rectangular case, to determine the position of the rectangle on the center point of the map layer to a rectangular center point; and map layer on the determined coordinates of two vertices of the rectangle are not adjacent positions as coordinate information that indicates the search area. 在本优选实施例中,当搜索范围为矩形时,以中心点作为矩形的中心点来确定矩形在地图图层上的位置,以矩形中不相邻的两个顶点的坐标作为表征搜索区域的坐标信息,例如,如图9所示,图中有阴影的矩形为某个图层局部区域,没有阴影的矩形为某个搜索区域,该搜索区域的中心位置为中心点,可以选择不相邻的两个顶点的坐标来表征该搜索区域,例如,选择以该搜索区域的东北方向的顶点和西南方向的顶点来表征该搜索区域,即该搜索区域的坐标范围值为B[东北角顶点经度1nl,东北角顶点纬度latl,西南角顶点经度lon2,西南角顶点纬度lat2],因此,可以以搜索区域的顶点的坐标值来准确地表征出搜索区域的坐标值范围,优选地,该搜索区域与图层局部区域可以通过以下方式来确定交集区域,例如,图层局部区域也可以采用不相邻的两个顶点的坐 In the present preferred embodiment, when the search range is a rectangular shape, the center point of the center point of the rectangle is determined as a position of the rectangular layer on the map, the coordinates of two vertices of the rectangle are not adjacent to the search area as characterized coordinate information, e.g., FIG. 9, FIG hatched rectangle in a layer local area, an unshaded rectangle search area, the center position of the search area as the center point can select nonadjacent the coordinates of two vertices of the search area is characterized, for example, to select vertices northeast and southwest of the vertices of the search area to the search area is characterized, i.e., the coordinate value range of the search area B [northeast corner longitude vertices 1 nl, northeast corner vertices latitude latl, southwest corner vertices longitude lon2, southwest corner vertices latitude LAT2], therefore, may be coordinate values ​​of the vertices of the search area to accurately characterize the coordinates of the search area range, preferably, the search area layers with local area may be determined by way of the intersection region, e.g., the layer may be employed two local area adjacent vertices does not sit 标值来表征该图层局部区域,如也选择东北方向的顶点和西南方向的顶点来表征该图层局部区域,该图层局部区域的坐标值范围为Cl = [1nr ,latr, lon2,,lat2,],上述搜索区域的坐标值范围为B = [lonl, latl, lon2,lat2],将该图层局部区域的坐标值范围和上述搜索区域的坐标值范围做交集,该交集区域的坐标值范围为Dl = [X1,Y1,X2,Y2],如图9 所示,Xl = lonl,Yl = latl,,X2 = lat2,,Y2 = lon2。 Standard values ​​characterizing the partial layer region, such as selecting vertices and vertex southwest to northeast characterize the local region layer, the layer coordinate values ​​for the range of local area Cl = [1nr, latr, lon2 ,, LAT2,], a coordinate value range of the search area is B = [lonl, latl, lon2, lat2], the coordinates value range value range of the local region layer and said intersection to do the search area, the coordinates of the intersection region value in the range Dl = [X1, Y1, X2, Y2], 9, Xl = lonl, Yl = latl ,, X2 = lat2,, Y2 = lon2. [0071] 为增强本申请的实用灵活性,本申请对上述在地图图层上获取搜索区域的方法进行了改进,具体地,该在地图图层上获取搜索区域的方法还包括:搜索区域由搜索的中心点的坐标和搜索范围确定,在搜索范围为圆形的情况下,以中心点作为圆形的外切矩形的中心点来确定圆形的外切矩阵在地图图层上的位置;将在地图图层上确定了位置的外切矩形中不相邻的两个顶点的坐标、中心点的坐标以及圆形的半径值作为表征搜索区域的坐标信息。 [0071] In order to enhance the flexibility of the present practical application, the present application of the method for acquiring the search area on the map layer described above is improved, in particular, the search area on the map acquisition layer further comprising: a search area the center point coordinates and searches a search range is determined, in the case where the search range is circular, to determine the position of the circumscribed circle on the matrix layer to the center point of the map as a rectangle circumscribed circle center point; the determination of the circumscribed rectangle are not adjacent location coordinates of two vertices on the map layers, coordinate value of the center point and the radius of the circle characterizing coordinate information as the search area. 在本优选实施例中,当搜索范围为圆形时,以圆心位置的坐标点作为圆形的外切矩形的中心点来确定圆形的外切矩形在地图图层上的位置,并以圆形的外切矩形的不相邻的两个顶点的坐标中心点的坐标以及圆形的半径值来准确地表征出圆形的搜索范围,同时,可以确定不同形状的搜索范围的搜索区域,从而增强了本申请的使用灵活性。 In the present preferred embodiment, when the search range is a circle, the center position of the coordinate point as the circular center point of the circumscribed rectangle to determine the position of circumscribed rectangle of a circle on the map layer, and a circle coordinates of the center point of the circumscribed rectangle-shaped non-adjacent vertices of the two circular radius value and to accurately characterize the circular search range while the search range may be determined search areas of different shapes, whereby enhancing the flexibility of use of this application.

[0072] 为了准确地确定出圆形搜索区域的交集区域的坐标值范围,本申请对上述在地图上局部渲染的方法进行了改进,具体地,该在地图上局部渲染的方法还包括:当搜索区域为圆形时,以圆形的外切矩形中不相邻的两个顶点的坐标、中心点的坐标以及圆形的半径值作为表征搜索区域的坐标信息,来确定出搜索区域的坐标值范围后,判断搜索区域中落入在圆形内的点是否落入在图层局部区域中;将落入在图层局部区域中的点作为交集区域中的点。 [0072] In order to accurately determine the coordinate values ​​of the intersection area of ​​the circular range of the search area, the above-described method of the present application on the local map rendering is improved, in particular, on the local map rendering method further comprises: when the search area is circular, a circular circumscribed rectangle coordinates of two non-adjacent vertices, the center point coordinates and the radius of the circle characterizing value as the search area coordinate information to determine the coordinates of the search area after the value range, is determined in the search area falls within the circular point in the layer falls within the local area; will fall in a local region of the layer as a point intersection point region. 在本优选实施例中,当搜索区域为圆形时,在确定出搜索区域的坐标值范围后,将搜索区域中落入在圆形内的点作为交集区域中的点,即去除在圆形外部且在圆形的外切矩形内部的点,因此,可以准确地确定出圆形搜索区域的交集区域的坐标值范围。 In the present preferred embodiment, when the search area is circular, the coordinate value after determining the range of the search area, the search area falls within a circular area of ​​intersection point as the point, that is removed in a circular and at a point outside the circular interior circumscribed rectangle, thus, it can be accurately determined coordinate value of the intersection region of the range of the circular search area.

[0073] 显然,本领域的技术人员应该明白,上述的本申请的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。 [0073] Obviously, those skilled in the art will appreciate that the present disclosure of the modules or steps may be general purpose computing device, they can be integrated in a single computing device or distributed across multiple computing devices available on the Internet, optionally, they can be implemented with program codes executable by a computing device, so that, to be performed by a computing device stored in a storage means, and in some cases, may be different from this at step sequence shown or described, or they are made into integrated circuit modules, or by making them of a plurality of modules or steps in a single integrated circuit module. 这样,本申请不限制于任何特定的硬件和软件结合。 Thus, the present application is not limited to any particular hardware and software.

[0074] 以上所述仅为本申请的优选实施例而已,并不用于限制本申请,对于本领域的技术人员来说,本申请可以有各种更改和变化。 [0074] The foregoing is only embodiments of the present application it is preferred not intended to limit the present application, those skilled in the art, the present application may have various changes and variations. 凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。 Any modification within the spirit and principle of the present application, the, equivalent substitutions, improvements should be included within the scope of the present application.

Claims (11)

  1. 1.一种在地图上局部渲染的方法,其特征在于,包括: 在地图图层上获取搜索区域; 将所述地图图层分隔成多个图层局部区域,并确定所述搜索区域与每个所述图层局部区域的交集区域; 分别在确定出的每个所述交集区域上获取对应的搜索结果; 将获取到的搜索结果在所述地图图层上进行显示。 1. A partial map rendering method comprising: obtaining a search area on the map layer; the layer is divided into a plurality of map layers local regions, and determines the search area with each the area of ​​intersection of said partial layer region respectively; obtaining a corresponding search result on each of said determined area of ​​intersection; and the acquired search results displayed on the map layer.
  2. 2.根据权利要求1所述的方法,其特征在于, 分别在确定出的每个所述交集区域上获取对应的搜索结果的步骤包括: 依次针对每个所述交集区域向数据库发送搜索请求消息,其中,所述搜索请求消息中携带一个所述交集区域内的坐标值; 接收所述数据库返回的与每个所述坐标值对应的搜索结果; 将获取到的搜索结果在所述地图图层上进行显示的步骤包括: 将已返回的搜索结果在所述地图图层中对应的交集区域上进行显示。 2. The method according to claim 1, characterized in that, corresponding to each acquired search results on each of the intersection regions determined comprises the step of: sequentially transmits the search request message to the database for each of the intersection regions , wherein the search carrying a coordinate value within the area of ​​intersection of the request message; receiving the search results corresponding to each of the coordinate values ​​returned from the database; the acquired search results on the map layer the step of displaying comprises: displaying on the returned search results in the corresponding area of ​​intersection map layer.
  3. 3.根据权利要求1所述的方法,其特征在于,所述在地图图层上获取搜索区域的步骤包括: 所述搜索区域由搜索的中心点的坐标和搜索范围确定,在所述搜索范围为矩形的情况下,以所述中心点作为所述矩形的中心点来确定所述矩形在所述地图图层上的位置; 将在所述地图图层上确定了位置的所述矩形中不相邻的两个顶点的坐标作为表征所述搜索区域的坐标信息。 3. The method according to claim 1, wherein said step of acquiring the search area on the map layer comprises: the search area and search range determined by the coordinates of the center point of the search, the search range rectangular case, to the center point as a center point of the rectangle to determine the position of the rectangle on the map layer; and determining the position of the rectangle is not on the map layer coordinates of two adjacent vertices as coordinate information characterizing the search area.
  4. 4.根据权利要求1所述的方法,其特征在于,所述在地图图层上获取搜索区域的步骤包括: 所述搜索区域由搜索的中心点的坐标和搜索范围确定,在所述搜索范围为圆形的情况下,以所述中心点作为所述圆形的外切矩形的中心点来确定所述圆形的外切矩形在所述地图图层上的位置; 将在所述地图图层上确定了位置的所述外切矩形中不相邻的两个顶点的坐标、所述中心点的坐标以及所述圆形的半径值作为表征所述搜索区域的坐标信息。 4. The method according to claim 1, wherein said step of acquiring the search area on the map layer comprises: the search area and search range determined by the coordinates of the center point of the search, the search range is circular case, as the center point of the circular center point of the bounding rectangle to determine the position of the rectangular circumscribed circle on the map layer; FIG on the map determining the position of the outer bounding rectangle is not adjacent to the coordinates of two vertices of the layer, the center point coordinates and the radius of the circle characterizing the values ​​of the coordinate information as a search area.
  5. 5.根据权利要求4所述的方法,其特征在于,所述确定所述搜索区域与每个所述图层局部区域的交集区域的步骤包括: 判断所述搜索区域中落入在所述圆形内的点是否落入在所述图层局部区域中; 将落入在所述图层局部区域中的点作为所述交集区域中的点。 5. The method as claimed in claim 4, wherein said step of determining the area of ​​intersection of the local region and the search region of each of said layers comprising: determining the search region fall within the circle falls within the point-shaped partial area of ​​the layer; the layer will fall in the local area as a point in the intersection point area.
  6. 6.根据权利要求1所述的方法,其特征在于,将所述地图图层分隔成多个图层局部区域的步骤包括: 将所述地图图层分隔成大小相同的多个图层局部区域。 6. The method according to claim 1, wherein the step of map layers into a plurality of layers comprising a local area: the map layers divided into a plurality of layers of the same size local region .
  7. 7.—种在地图上局部渲染的装置,位于服务器上,其特征在于,包括: 获取单元,用于在地图图层上获取搜索区域; 确定单元,用于将所述地图图层分隔成多个图层局部区域,并确定所述搜索区域与每个所述图层局部区域的交集区域; 搜索单元,用于分别在确定出的每个所述交集区域上获取对应的搜索结果; 传输单元,用于将获取到的搜索结果返回给所述客户端,使得所述客户端在地图图层上显示相应的搜索结果。 7.- species apparatus on a map rendered locally, on the server, characterized by comprising: an acquisition unit for acquiring the search area on the map layer; determining means, for the partition into a plurality of map layers a partial layer region, and determining the area of ​​intersection with the search region of said layer of each local region; search unit for respectively acquiring a search result corresponding to the intersection on each of the determined region; transmission unit for the acquired search results returned to the client, so the client displays the search results on a map layer.
  8. 8.根据权利要求7所述的装置,其特征在于, 所述搜索单元包括: 发送模块,用于依次针对每个所述交集区域向数据库发送搜索请求消息,其中,所述搜索请求消息中携带一个所述交集区域内的坐标值; 接收模块,用于接收所述数据库返回的与每个所述坐标值对应的搜索结果; 所述传输单元包括: 传输模块,用于将接收到的所述搜索结果返回给客户端,使得客户端将所述搜索结果在地图图层中对应的交集区域上进行显示。 8. The apparatus according to claim 7, wherein said search unit comprises: transmitting means for sequentially transmitting a search request message to the database for each of the intersection region, wherein the search request message carries coordinate values ​​in a region of said intersection; receiving module, configured to search results corresponding to each of the received coordinate value returned by said database; the transmitting unit comprises: a transmission module, configured to received the the search results returned to the client so that the client will be displayed on the search results corresponding to the intersection region in the map layer.
  9. 9.根据权利要求7所述的装置,其特征在于,所述获取单元包括: 第一确定模块,用于接收客户端传输的中心点的坐标和搜索范围的信息,并根据所述中心点的坐标和搜索范围确定所述搜索范围,在所述搜索范围为矩形的情况下,以所述中心点作为所述矩形的中心点来确定所述矩形在所述地图图层上的位置; 第一处理模块,用于将在所述地图图层上确定了位置的所述矩形中不相邻的两个顶点的坐标作为表征所述搜索区域的坐标信息。 9. The apparatus according to claim 7, wherein said obtaining unit comprises: a first determining module configured to coordinate information and the client receives the search range of the center point of the transmission, and according to the center point determining the coordinates of the search range and the search range, the search range in the case of a rectangle, at the center as the center point of the rectangle is determined as the position on the map rectangular layer; a first processing means for determining the coordinates of two vertices of the rectangle are not adjacent location on the map layers as coordinate information characterizing the search area.
  10. 10.根据权利要求7所述的装置,其特征在于,所述获取单元包括: 第二确定模块,用于接收所述客户端传输的中心点的坐标和搜索范围的信息,并根据所述中心点的坐标和搜索范围确定所述搜索范围,在所述搜索范围为圆形的情况下,以所述中心点作为所述圆形的外切矩形的中心点来确定所述圆形的外切矩形在所述地图图层上的位置; 第二处理模块,用于将在所述地图图层上确定了位置的所述外切矩形中不相邻的两个顶点的坐标、所述中心点的坐标以及所述圆形的半径值作为表征所述搜索区域的坐标信肩、O 10. The apparatus according to claim 7, characterized in that the obtaining unit comprises: a second determining module, and coordinate search range for receiving information transmitted from the client to the center point, and the center in accordance with point coordinates and determining a search range of the search range, the search range is circular case, as the center point of the rectangle circumscribed circle center point of the circular determining exo rectangular location on the map layer; a second processing module, for determining the position of the outer bounding rectangle is not adjacent to the coordinates of two vertices on the map layers, said center point coordinates and the radius of the circle characterizing the coordinate value as the search area of ​​the channel shoulder, O
  11. 11.根据权利要求10所述的装置,其特征在于,所述确定单元包括: 判断模块,用于判断所述搜索区域中落入在所述圆形内的点是否落入在所述图层局部区域中; 第三处理模块,用于将落入在所述图层局部区域中的点作为所述交集区域中的点。 11. The apparatus according to claim 10, wherein said determining means comprises: determining means for determining the search area falls within the circular point falls within the layer local area; a third processing module, the intersection point region for the layer falls in the local area as a point.
CN 201210053986 2012-03-02 2012-03-02 Method and apparatus for rendering a map of the local CN103295466B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201210053986 CN103295466B (en) 2012-03-02 2012-03-02 Method and apparatus for rendering a map of the local

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201210053986 CN103295466B (en) 2012-03-02 2012-03-02 Method and apparatus for rendering a map of the local

Publications (2)

Publication Number Publication Date
CN103295466A true true CN103295466A (en) 2013-09-11
CN103295466B CN103295466B (en) 2015-10-07

Family

ID=49096248

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201210053986 CN103295466B (en) 2012-03-02 2012-03-02 Method and apparatus for rendering a map of the local

Country Status (1)

Country Link
CN (1) CN103295466B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001202008A (en) * 2000-01-20 2001-07-27 Fujitsu General Ltd Map display device
CN1573297A (en) * 2003-06-02 2005-02-02 株式会社电装 Map information retrieving
JP2005338496A (en) * 2004-05-27 2005-12-08 Mapquest:Kk Display system of map or the like adopting method for quickly retrieving two-dimensional space data
CN101196399A (en) * 2007-11-23 2008-06-11 凯立德欣技术(深圳)有限公司 Navigation system and its query and indication method for surrounding information
CN101634986A (en) * 2008-07-23 2010-01-27 佛山市顺德区顺达电脑厂有限公司 Drawing method of electronic map and device thereof
US20110115805A1 (en) * 2009-11-17 2011-05-19 Eun Seon Ahn Method for displaying information and display apparatus
CN102163214A (en) * 2011-03-07 2011-08-24 北京百度网讯科技有限公司 Numerical map generation device and method thereof
CN102192751A (en) * 2010-03-19 2011-09-21 神达电脑股份有限公司 Method for displaying multiple interesting points on personal navigation device, and related device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001202008A (en) * 2000-01-20 2001-07-27 Fujitsu General Ltd Map display device
CN1573297A (en) * 2003-06-02 2005-02-02 株式会社电装 Map information retrieving
JP2005338496A (en) * 2004-05-27 2005-12-08 Mapquest:Kk Display system of map or the like adopting method for quickly retrieving two-dimensional space data
CN101196399A (en) * 2007-11-23 2008-06-11 凯立德欣技术(深圳)有限公司 Navigation system and its query and indication method for surrounding information
CN101634986A (en) * 2008-07-23 2010-01-27 佛山市顺德区顺达电脑厂有限公司 Drawing method of electronic map and device thereof
US20110115805A1 (en) * 2009-11-17 2011-05-19 Eun Seon Ahn Method for displaying information and display apparatus
CN102192751A (en) * 2010-03-19 2011-09-21 神达电脑股份有限公司 Method for displaying multiple interesting points on personal navigation device, and related device
CN102163214A (en) * 2011-03-07 2011-08-24 北京百度网讯科技有限公司 Numerical map generation device and method thereof

Also Published As

Publication number Publication date Type
CN103295466B (en) 2015-10-07 grant

Similar Documents

Publication Publication Date Title
Davies et al. Using and determining location in a context-sensitive tour guide
US20100106801A1 (en) Geocoding Personal Information
US20110010650A1 (en) Systems and methods for decluttering electronic map displays
US20100104174A1 (en) Markup Language for Interactive Geographic Information System
US20080104019A1 (en) Associating Geographic-Related Information with Objects
US20110007094A1 (en) Architectures and methods for creating and representing time-dependent imagery
US20090204582A1 (en) Navigation for large scale graphs
US20050107993A1 (en) Schematic generation
US20140310266A1 (en) Systems and Methods for Suggesting Places for Persons to Meet
US20060198550A1 (en) Image mapping to provide visual geographic path
US20100306707A1 (en) System and Method for Exploring 3D Scenes by Pointing at a Reference Object
US20120194547A1 (en) Method and apparatus for generating a perspective display
US20080143709A1 (en) System and method for accessing three dimensional information from a panoramic image
US20100054527A1 (en) Architecture and methods for creating and representing time-dependent imagery
US20130093787A1 (en) Method and apparatus for grouping and de-overlapping items in a user interface
US20110265023A1 (en) Interactive Representation of Clustered Entities
US20110265030A1 (en) Representation of overlapping visual entities
US20100082242A1 (en) System and method for intuitive poi (point of interests) map search
Irizarry et al. InfoSPOT: A mobile Augmented Reality method for accessing building information through a situation awareness approach
Willis et al. A comparison of spatial knowledge acquisition with maps and mobile maps
US20130080504A1 (en) Managing map elements using aggregate feature identifiers
US20130030699A1 (en) Variable Density Depthmap
US20140267408A1 (en) Real world analytics visualization
MacColl et al. Shared visiting in EQUATOR city
US20140053077A1 (en) Integrating Maps and Street Views

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1184901

Country of ref document: HK

C14 Grant of patent or utility model
REG Reference to a national code

Ref country code: HK

Ref legal event code: GR

Ref document number: 1184901

Country of ref document: HK