CN103295466B - The method and apparatus that local is played up on map - Google Patents

The method and apparatus that local is played up on map Download PDF

Info

Publication number
CN103295466B
CN103295466B CN201210053986.XA CN201210053986A CN103295466B CN 103295466 B CN103295466 B CN 103295466B CN 201210053986 A CN201210053986 A CN 201210053986A CN 103295466 B CN103295466 B CN 103295466B
Authority
CN
China
Prior art keywords
search
coordinate
region
layer
search results
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201210053986.XA
Other languages
Chinese (zh)
Other versions
CN103295466A (en
Inventor
陈旭东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201210053986.XA priority Critical patent/CN103295466B/en
Publication of CN103295466A publication Critical patent/CN103295466A/en
Priority to HK13112076.7A priority patent/HK1184901A1/en
Application granted granted Critical
Publication of CN103295466B publication Critical patent/CN103295466B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

This application provides a kind of method and apparatus that local is played up on map, wherein, the method comprises: on map layer, obtain region of search; Map layer is separated into multiple layer regional area, and determines the intersection area of region of search and each layer regional area; Corresponding Search Results is obtained respectively in each intersection area determined; The Search Results got is shown on map layer.Present application addresses too large due to the hunting zone determined in correlation technique and the processing speed of search engine that is that cause declines problem, improve the work efficiency of search engine.

Description

The method and apparatus that local is played up on map
Technical field
The application relates to field of Internet communication, in particular to a kind of method and apparatus that local is played up on map.
Background technology
In the related, on map, if desired show the Search Results in certain area, general employing picture engine multiple spot Rendering, it comprises the steps:
S1: client determines the central point searched in 6 regional areas of the map shown in Fig. 1, wherein, the coordinate information that the determination of this central point can input this point by user realizes, or, realized by the clicking operation of user on the map shown in Fig. 1;
S2: client determines hunting zone according to central point in 6 regional areas of the map shown in Fig. 1, wherein, the coordinate information of the search radius that the determination of this hunting zone can be inputted by user and above-mentioned central point is determined;
S3: client searches for Search Results corresponding in whole hunting zone to search server request in units of whole hunting zone;
S4: described Search Results is returned to client by the coordinate information that search server is corresponding according to the Search Results searched, and Search Results shows by client on map.
But, there is following defect in above-mentioned picture engine multiple spot Rendering: if when the area of the hunting zone determined is too large, then search server needs to carry out large-scale data search, the processing speed of search engine may be caused to decline, affect the work efficiency of search engine, search engine under extreme case, even can be caused to collapse.In addition, according to above-mentioned search plan, when a part of region of search server in hunting zone having got corresponding Search Results and other subregions in hunting zone cannot respond searching request, then search server can make repeated attempts at this enterprising line search in other subregions, until just the Search Results all got is returned to client search corresponding Search Results on these other subregions after, thus substantially prolongs the time of return of Search Results.
Summary of the invention
This application provides a kind of on map the method and apparatus played up of local, the problem declined with the processing speed at least solving the search engine caused because the hunting zone determined is too large in correlation technique.
According to an aspect of the application, provide a kind of method that local is played up on map, it comprises: on map layer, obtain region of search; Map layer is separated into multiple layer regional area, and determines the intersection area of region of search and each layer regional area; Corresponding Search Results is obtained respectively in each intersection area determined; The Search Results got is shown on map layer.
Preferably, the step obtaining corresponding Search Results respectively in each intersection area determined comprises: send search request message for each intersection area to database successively, wherein, carry the coordinate figure in an intersection area in search request message; Receive the Search Results corresponding with each coordinate figure that database returns.The step of being carried out by the Search Results got showing on map layer comprises: the intersection area corresponding in map layer by the Search Results returned shows.
Preferably, the step that map layer obtains region of search comprises: region of search is determined by the coordinate of the central point searched for and hunting zone, when hunting zone is rectangle, determine the position of rectangle on map layer using central point as the central point of rectangle; Using the coordinate on two summits non-conterminous in the rectangle determining position on map layer as the coordinate information characterizing region of search.
Preferably, the step that map layer obtains region of search comprises: region of search is determined by the coordinate of the central point searched for and hunting zone, when hunting zone is circular, the central point of the circumscribed rectangle using central point as circle determines the circular position of circumscribed rectangle on map layer; Using the radius value of non-conterminous in the circumscribed rectangle determining position on map layer two coordinates on summit, the coordinate of central point and circles as the coordinate information characterizing region of search.
Preferably, determine that the step of the intersection area of region of search and each layer regional area comprises: judge whether the point fallen within region of search in circle falls within layer regional area; Using the point that falls within layer regional area as the point in intersection area.
Preferably, step map layer being separated into multiple layer regional area comprises: map layer is separated into multiple layer regional areas that size is identical.
According to the another aspect of the application, provide a kind of device that local is played up on map, be positioned on server, it comprises: acquiring unit, for obtaining region of search on map layer; Determining unit, for map layer being separated into multiple layer regional area, and determines the intersection area of region of search and each layer regional area; Search unit, for obtaining corresponding Search Results respectively in each intersection area determined; Transmission unit, for the Search Results got is returned to client, makes described client on map layer, show corresponding Search Results.
Preferably, search unit comprises: sending module, for sending search request message for each intersection area to database successively, wherein, carries the coordinate figure in an intersection area in search request message; Receiver module, for receiving the Search Results corresponding with each coordinate figure that database returns.Transmission unit comprises: transport module, for the described Search Results received is returned to client, client is shown by intersection area corresponding in map layer for described Search Results.
Preferably, acquiring unit comprises: the first determination module, for the information of the coordinate and hunting zone that receive the central point of client transmissions, and determine hunting zone according to the coordinate of central point and hunting zone, when hunting zone is rectangle, determine the position of rectangle on map layer using central point as the central point of rectangle; First processing module, for using the coordinate on two summits non-conterminous in the rectangle determining position on map layer as characterizing the coordinate information of region of search.
Preferably, acquiring unit comprises: the second determination module, for the information of the coordinate and hunting zone that receive the central point of client transmissions, and determine hunting zone according to the coordinate of central point and hunting zone, when hunting zone is circular, the central point of the circumscribed rectangle using central point as circle determines the circular position of circumscribed matrix on map layer; Second processing module, for using the radius value of non-conterminous in the circumscribed rectangle determining position on map layer two coordinates on summit, the coordinate of central point and circles as characterizing the coordinate information of region of search.
Preferably, determining unit comprises: judge module, for judging whether the point fallen within region of search in circle falls within layer regional area; 3rd processing module, for the point that will fall within layer regional area as the point in intersection area.
In this application, first, map layer obtains region of search, then map layer is separated into multiple layer regional area, and determine the intersection area of region of search and each layer regional area; Then, the Search Results corresponding with this intersection area is obtained respectively in each intersection area determined, multiple intersection area is divided into by region of search, the Search Results of each intersection area is obtained again respectively to search engine request, thus reduce the scope that search engine carries out searching at every turn, reduce the workload that search engine carries out searching at every turn, contribute to the work efficiency improving search engine; In addition, after get corresponding Search Results in an intersection area, namely Search Results in this intersection area can be returned to client by search engine, to show on map layer, and can not wait until all intersection area all get Search Results after together the Search Results all got is returned to client again, like this, even if cannot searching request be responded in certain intersection area, also can not affect returning of the Search Results in other intersection area, reduce the time of return of Search Results.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide further understanding of the present application, and form a application's part, the schematic description and description of the application, for explaining the application, does not form the improper restriction to the application.In the accompanying drawings:
Fig. 1 is the effect schematic diagram of the map denotation in correlation technique;
Fig. 2 is the structured flowchart of the system locally played up on map according to the embodiment of the present application;
Fig. 3 is the schematic diagram dividing layer regional area on map layer according to the embodiment of the present application;
Fig. 4 be according to the use of the embodiment of the present application device that local is played up on map after the schematic diagram of picture;
Fig. 5 is the structured flowchart of the device locally played up on map according to the embodiment of the present application;
Fig. 6 is the structured flowchart of the search unit according to the embodiment of the present application;
Fig. 7 is the structured flowchart of the transmission unit according to the embodiment of the present application;
Fig. 8 is the structured flowchart of the acquiring unit according to the embodiment of the present application;
Fig. 9 be according to the embodiment of the present application be rectangle in hunting zone time determine the schematic diagram of intersection area;
Figure 10 is the structured flowchart of the another kind of acquiring unit according to the embodiment of the present application;
Figure 11 is the structured flowchart of the determining unit according to the embodiment of the present application;
Figure 12 is the process flow diagram of the method locally played up on map according to the embodiment of the present application.
Embodiment
Hereinafter also describe the application in detail with reference to accompanying drawing in conjunction with the embodiments.It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.
In each embodiment following, communication can be realized by wireless connections or wired connection or the combination both it, and the application does not limit this.
Before the further details of each embodiment describing the application, the counting system structure that of the principle that can be used for realizing the application is suitable is described with reference to Fig. 2.In the following description, except as otherwise noted, the symbol otherwise with reference to the action performed by one or more computing machine and operation represents each embodiment describing the application.Thus, be appreciated that processing unit that this kind of action performed sometimes referred to as computing machine and operation comprise computing machine is to the manipulation of electric signal representing data with structured form.It is safeguarded in this manipulation transforms data or the position in the accumulator system of computing machine, and this reshuffles or changes the operation of computing machine in the mode that those skilled in the art understands.The data structure of service data is the physical location of the storer of the particular community that the form with data defines.But although describe the application in above-mentioned context, it does not also mean that restrictive, as understood by those skilled in the art, hereinafter described action and each side of operation also can realize with hardware.
Turn to accompanying drawing, wherein identical reference number refers to identical element, and the principle of the application is shown in a suitable computing environment and realizes.Below describe the embodiment based on described the application, and should not think about the alternative embodiment clearly do not described herein and limit the application.
Fig. 2 shows the schematic diagram of the example computer architecture that can be used for these equipment.For purposes of illustration, the architecture of painting is only an example of proper environment, not proposes any limitation to the usable range of the application or function.This computing system should be interpreted as, to the arbitrary assembly shown in Fig. 2 or its combination, there is any dependence or demand yet.
The principle of the application can use other universal or special calculating or communication environment or configuration to operate.Be applicable to the well-known computing system of the application, the example of environment and configuration includes but not limited to, personal computer, server, multicomputer system, system based on micro-process, minicomputer, mainframe computer and comprise the distributed computing environment of arbitrary said system or equipment.
In the configuration that it is the most basic, the system 200 that local is played up on map in Fig. 2 at least comprises: the server 202 of a website and one or more client 204.Server 202 can include but not limited to Micro-processor MCV or programmable logic device (PLD) FPGA etc. treating apparatus, for storing the memory storage of data and the transmitting device with client communication; Client 204 can comprise: Micro-processor MCV, with the transmitting device of server communication, display device with user interactions.In the present specification and claims, " system that local is played up on map " also can be defined as executive software, firmware or microcode can coming any nextport hardware component NextPort of practical function or the combination of nextport hardware component NextPort.The system 200 that local is played up on map can be even distributed, to realize distributed function.
As used in this application, term " module ", " assembly " or " unit " can refer to software object that the system 200 played up in local on map performs or routine.Different assembly described herein, module, unit, engine and service can be implemented as in the system 200 locally played up on map, perform (such as, as independent thread) object or process.Although system and method described herein preferably realizes with software, the realization of the combination of hardware or software and hardware also may and conceived.
Embodiment 1
As shown in Figure 2, the system 200 that local is played up on map comprises: the server 202 of website and client 204.On map, the course of work of the system 200 that local is played up can be as follows:
S1: client 204 determines the central point searched for according to the operational order of user, wherein, the coordinate information that the determination of this central point can input this point by user realizes, or, realized by the clicking operation of user on the map shown in Fig. 1, wherein, the coordinate information of the determination of this hunting zone search radius that can be inputted by user and above-mentioned central point is determined; Client determines hunting zone according to the operational order of user, and wherein, the search radius that the determination of this hunting zone can be inputted by user is determined;
S2: server 202 receives the coordinate of central point and the information of hunting zone that client 204 transmits, and determines region of search according to the coordinate of this central point and hunting zone; Preferably, above-mentioned hunting zone can be determine with the form of circle, as shown in dash area in Fig. 3, when providing radius of a circle, hunting zone can be determined, and region of search coordinate range on map can be determined according to the coordinate of central point and hunting zone, such as, this coordinate range can be characterized by the longitude and latitude of reality.Certainly, in this preferred scheme, server determines region of search according to the coordinate of the central point of client transmissions and the information of hunting zone, and this is a kind of example of the application, the application is not limited only to this, can also obtain region of search by other scheme.
S3: map layer is separated into multiple layer regional area by server 202, and determine the intersection area of region of search and each layer regional area, map layer can be separated into the identical multiple layer regional areas of size for the ease of operation, the number of layer regional area can be selected as required, such as, 4, 6 etc., preferably, as shown in Figure 3, map layer is separated into 6 layer regional areas, from left to right be labeled as C1, C2, C3, C4, C5 and C6, then, determine the intersection area of region of search and each layer regional area, such as, the coordinate range of layer regional area C1 (in Fig. 3, the 1st arranges the 1st figure) and the coordinate range of region of search are done intersection area, namely new coordinate range intersection area D1 is obtained, determine the intersection area of each layer regional area and region of search successively, obtain intersection area D1-D6.
S4: server 202 obtains corresponding Search Results respectively in each intersection area determined; In this step, coordinate according to the intersection area determined obtains Search Results corresponding in each intersection area to search engine application successively, preferably, this Search Results can comprise coordinate information corresponding to this Search Results, the information such as title and address that this Search Results is corresponding, such as, Search Results comprises: the latitude and longitude information in dining room and dining room title and dining room address information etc.In this step, after get corresponding Search Results in an intersection area, namely Search Results in this intersection area can be returned to client by search engine, to show on map layer, and can not wait until all intersection area all get Search Results after together the Search Results all got is returned to client again, like this, even if cannot searching request be responded in certain intersection area, also can not affect returning of the Search Results in other intersection area, reduce the time of return of Search Results.
S5: the Search Results got is returned to client 204 by server 202, makes client 204 on map layer, show corresponding Search Results, and preferably, map layer only can show the geography information in city, and does not comprise any search result information.Preferably, in this step, according to the coordinate information in Search Results, title and address information etc. that this Search Results is corresponding, Search Results can be generated Search Results layer, wherein, the corresponding Search Results of each mark point in Search Results layer, this mark point position in Search Results layer corresponds to the Search Results layer in Search Results, the content that this mark point shows corresponds to title in this Search Results and address information (such as, dining room title and dining room address information), as shown in Figure 4.Then, then by stacked for search results map being added on map layer show.Certainly, can select as required repeatedly to play up the local of map, namely different regions of search is determined to same central point, and corresponding different region of search is searched for according to above-mentioned search step (S3-S5), to obtain different Search Results, such as, successively region of search is diminished, to search in less scope, increase the fineness of Search Results display.
In above preferred embodiment, first, server obtains region of search on map layer, then map layer is separated into multiple layer regional area, and determines the intersection area of region of search and each layer regional area; Then, the Search Results corresponding with this intersection area is obtained respectively in each intersection area determined, multiple intersection area is divided into by region of search, the Search Results of each intersection area is obtained again respectively to search engine request, thus reduce the scope that search engine carries out searching at every turn, reduce the workload that search engine carries out searching at every turn, contribute to the work efficiency improving search engine.
Based on above-mentioned preferred embodiment, this application provides a kind of preferred device that local is played up on map, to reach the work efficiency improving search engine, change the information fineness of map denotation, improve the technique effect of the degree of accuracy of map, preferably, the device that local is played up on map in the present embodiment can be arranged in the server 202 of Fig. 2.To achieve these goals, particularly, as shown in Figure 5, the above-mentioned device that local is played up on map comprises as lower component:
Acquiring unit 502, for obtaining region of search on map layer; The coordinate of the central point that above-mentioned region of search can be transmitted according to client 204 and hunting zone are determined, hunting zone can be determine with the form of circle, as shown in dash area in Fig. 3, when providing radius of a circle, hunting zone can be determined, and region of search coordinate range on map can be determined according to the coordinate of central point and hunting zone, such as, this coordinate range can be characterized by the longitude and latitude of reality.Certainly, in this preferred scheme, server determines region of search according to the coordinate of the central point of client transmissions and the information of hunting zone, and this is a kind of example of the application, the application is not limited only to this, can also obtain region of search by other scheme.
Determining unit 504, communicates with acquiring unit 502, for map layer being separated into multiple layer regional area, and determines the intersection area of region of search and each layer regional area, preferably, map layer can be separated into the identical multiple layer regional areas of size for the ease of operation, divide layer regional area number can select as required, such as, 4, 6 etc., preferably, as shown in Figure 3, map layer is separated into 6 layer regional areas, from left to right be labeled as C1, C2, C3, C4, C5 and C6, then, determine the intersection area of region of search and each layer regional area, such as, the coordinate range of layer regional area C1 (in Fig. 3, the 1st arranges the 1st figure) and the coordinate range of region of search are done and occurs simultaneously, namely new coordinate range intersection area D1 is obtained, determine the common factor of each layer regional area and region of search successively, obtain intersection area D1-D6.
Search unit 506, communicates with determining unit 504, for searching for corresponding Search Results respectively in each intersection area determined; In this step, coordinate according to the intersection area determined obtains Search Results corresponding in each intersection area to search engine application successively, preferably, this Search Results can comprise coordinate information corresponding to this Search Results, the information such as title and address that this Search Results is corresponding, such as, Search Results comprises: the latitude and longitude information in dining room and dining room title and dining room address information etc.In this step, after get corresponding Search Results in an intersection area, namely Search Results in this intersection area can be returned to client by search engine, to show on map layer, and can not wait until all intersection area all get Search Results after together the Search Results all got is returned to client again, like this, even if cannot searching request be responded in certain intersection area, also can not affect returning of the Search Results in other intersection area, reduce the time of return of Search Results.
Transmission unit 508, communicate with search unit 506, for the Search Results got is returned to client 204, make client 204 on map layer, show corresponding Search Results, preferably, map layer only can show the geography information in city, and does not comprise any search result information.Preferably, in this step, according to the coordinate information in Search Results, title and address information etc. that this Search Results is corresponding, Search Results can be generated Search Results layer, wherein, the corresponding Search Results of each mark point in Search Results layer, this mark point position in Search Results layer corresponds to the Search Results layer in Search Results, the content that this mark point shows corresponds to title in this Search Results and address information (such as, dining room title and dining room address information), as shown in Figure 4.Then, then by stacked for search results map being added on map layer show.Certainly, can select as required repeatedly to play up the local of map, namely different regions of search is determined to same central point, and corresponding different region of search is searched for according to above-mentioned search plan, to obtain different Search Results, such as, successively region of search is diminished, to search in less scope, increase the fineness of Search Results display.
In above preferred embodiment, first, map layer obtains region of search, then map layer is separated into multiple layer regional area, and determine the intersection area of region of search and each layer regional area; Then, the Search Results corresponding with this intersection area is obtained respectively in each intersection area determined, multiple intersection area is divided into by region of search, the Search Results of each intersection area is obtained again respectively to search engine request, thus reduce the scope that search engine carries out searching at every turn, reduce the workload that search engine carries out searching at every turn, contribute to the work efficiency improving search engine.
On the basis of above preferred embodiment, adequately obtain the Search Results of each intersection area, this application provides a kind of preferred search unit 506, for achieving the above object, particularly, as shown in Figure 6, this search unit 506 comprises: sending module 5062, for sending search request message for each intersection area to database successively, wherein, the coordinate figure in an intersection area is carried in search request message; Receiver module 5064, communicates with sending module 5062, for receiving the Search Results corresponding with each coordinate figure that database returns.In the preferred embodiment, each intersection area sends search request message to database successively, and in search request message, carry the coordinate figure corresponding with each intersection area, and according to the Search Results corresponding with each coordinate figure that coordinate figure reception database returns, achieve the Search Results obtaining each intersection area according to coordinate figure exactly.
For guaranteeing the correctness that cartographic information shows further, this application provides a kind of preferred transmission unit 508, particularly, as shown in Figure 7, this transmission unit 508 comprises: transport module 5082, for the Search Results received is returned to client 204, client 204 is shown by intersection area corresponding in map layer for the Search Results returned.In this preferred embodiment, after the Search Results obtaining each intersection area exactly, the intersection area corresponding in map layer by Search Results shows, further ensure that the correctness that cartographic information shows.
Based on above-mentioned each preferred embodiment, in order to determine the coordinate figure scope of region of search exactly, this application provides a kind of preferred acquiring unit 502, particularly, as shown in Figure 8, this acquiring unit 502 comprises: the first determination module 5022, for receiving the coordinate of central point and the information of hunting zone of client 204 transmission, and determine hunting zone according to the coordinate of central point and hunting zone, when hunting zone is rectangle, determine the position of rectangle on map layer using central point as the central point of rectangle; First processing module 5024, communicates with the first determination module 5022, for using the coordinate on two summits non-conterminous in the rectangle determining position on map layer as characterizing the coordinate information of region of search.In the preferred embodiment, when hunting zone is rectangle, the position of rectangle on map layer is determined using central point as the central point of rectangle, in rectangle, the coordinate on non-conterminous two summits is as the coordinate information characterizing region of search, such as, as shown in Figure 9, in figure, hypographous rectangle is certain layer regional area, shadeless rectangle is certain region of search, point centered by the center of this region of search, the coordinate on non-conterminous two summits can be selected to characterize this region of search, such as, select to characterize this region of search with the summit of the summit of the northeastward of this region of search and southwestward, namely the coordinate range value of this region of search is B [northeast corner longitude of vertex lon1, northeast corner latitude of vertex lat1, southwest corner longitude of vertex lon2, southwest corner latitude of vertex lat2], therefore, the coordinate figure scope of region of search can be symbolized exactly with the coordinate figure on the summit of region of search, preferably, this region of search and layer regional area can determine intersection area in the following manner, such as, layer regional area also can adopt the coordinate figure on non-conterminous two summits to characterize this layer regional area, if the summit on the summit and southwestward of also selecting northeastward is to characterize this layer regional area, the coordinate figure scope of this layer regional area be C1=[lon1 ', lat1 ', lon2 ', lat2 '], the coordinate figure scope of above-mentioned region of search is B=[lon1, lat1, lon2, lat2], the coordinate figure scope of this layer regional area and the coordinate figure scope of above-mentioned region of search are done and occurs simultaneously, the coordinate figure scope of this intersection area is D1=[X1, Y1, X2, Y2], as shown in Figure 9, X1=lon1, Y1=lat1 ', X2=lat2 ', Y2=lon2.
For strengthening the practical dirigibility of the application, the application improves above-mentioned acquiring unit 502, as shown in Figure 10, this acquiring unit 502 also comprises: the second determination module 5026, for receiving the coordinate of central point and the information of hunting zone of client 204 transmission, and determine hunting zone according to the coordinate of central point and hunting zone, when hunting zone is circular, the central point of the circumscribed rectangle using central point as circle determines the circular position of circumscribed rectangle on map layer; Second processing module 5028, communicate with the second determination module 5026, for using the radius value of non-conterminous in the circumscribed rectangle determining position on map layer two coordinates on summit, the coordinate of central point and circles as characterizing the coordinate information of region of search.In the preferred embodiment, when hunting zone is circular, the central point of the circumscribed rectangle using the coordinate points of home position as circle determines the circular position of circumscribed rectangle on map layer, and symbolize circular hunting zone exactly with the coordinate of coordinate central point on non-conterminous two summits of the circumscribed rectangle of circle and the radius value of circle, simultaneously, the region of search of difform hunting zone can be determined, thus enhance the use dirigibility of the application.
In order to determine the coordinate figure scope of the intersection area in circle search region exactly, this application provides a kind of preferred determining unit 504, particularly, as shown in figure 11, this determining unit 504 comprises: judge module 5042, for judging whether the point fallen within region of search in circle falls within layer regional area; 3rd processing module 5044, communicates with judge module 5042, for the point that will fall within layer regional area as the point in intersection area.In the preferred embodiment, when region of search is circular, after determining the coordinate figure scope of region of search, using the point that falls within region of search in circle as the point in intersection area, namely remove in circular outer and the point of circumscribed rectangle inside in circle, therefore, the coordinate figure scope of the intersection area in circle search region can be determined exactly.
Embodiment 2
Based on Fig. 2-Figure 11, this application provides a kind of preferred method that local is played up on map, to reach the work efficiency improving search engine, change the information fineness of map denotation, improve the technique effect of the degree of accuracy of map, particularly, as shown in figure 12, the method locally should played up on map comprises:
S1202: obtain region of search on map layer, wherein, above-mentioned region of search is determined by the coordinate of the central point searched for and hunting zone, and the coordinate of the central point of search and hunting zone can be determined by the operational order of client according to user, and by client transmissions to server; Preferably, above-mentioned hunting zone can be determine with the form of circle, as shown in dash area in Fig. 3, when providing radius of a circle, hunting zone can be determined, and region of search coordinate range on map can be determined according to the coordinate of central point and hunting zone, such as, this coordinate range can be characterized by the longitude and latitude of reality.Certainly, in this preferred scheme, server determines region of search according to the coordinate of the central point of client transmissions and the information of hunting zone, and this is a kind of example of the application, the application is not limited only to this, can also obtain region of search by other scheme.
S1204: map layer is separated into multiple layer regional area, and determine the intersection area of region of search and each layer regional area, preferably, the above-mentioned separation to map layer can be performed on the server and operate, for the ease of operation, contribute to the processing speed improving search engine, map layer can be separated into multiple layer regional areas that size is identical, the number of layer regional area can be selected as required, such as, 4, 6 etc., preferably, as shown in Figure 3, map layer is separated into 6 layer regional areas, from left to right be labeled as C1, C2, C3, C4, C5 and C6, then, determine the intersection area of region of search and each layer regional area, such as, the coordinate range of layer regional area C1 (in Fig. 3, the 1st arranges the 1st figure) and the coordinate range of region of search are done intersection area, namely new coordinate range intersection area D1 is obtained, determine the intersection area of each layer regional area and region of search successively, obtain intersection area D1-D6.
S1206: obtain corresponding Search Results respectively in each intersection area determined; In this step, coordinate according to the intersection area determined obtains Search Results corresponding in each intersection area to search engine application successively, preferably, this Search Results can comprise coordinate information corresponding to this Search Results, the information such as title and address that this Search Results is corresponding, such as, Search Results comprises: the latitude and longitude information in dining room and dining room title and dining room address information etc.In this step, after get corresponding Search Results in an intersection area, namely Search Results in this intersection area can be returned to client by search engine, to show on map layer, and can not wait until all intersection area all get Search Results after together the Search Results all got is returned to client again, like this, even if cannot searching request be responded in certain intersection area, also can not affect returning of the Search Results in other intersection area, reduce the time of return of Search Results.
S1208: the Search Results got is shown on map layer, preferably, the Search Results got is returned to client 204 by server 202, make client 204 on map layer, show corresponding Search Results, wherein, map layer only can show the geography information in city, and does not comprise any search result information.In this step, according to the coordinate information in Search Results, title and address information etc. that this Search Results is corresponding, Search Results can be generated Search Results layer, wherein, the corresponding Search Results of each mark point in Search Results layer, this mark point position in Search Results layer corresponds to the Search Results layer in Search Results, the content that this mark point shows corresponds to title in this Search Results and address information (such as, dining room title and dining room address information), as shown in Figure 4.Then, then by stacked for search results map being added on map layer show.Certainly, can select as required repeatedly to play up the local of map, namely different regions of search is determined to same central point, and corresponding different region of search is searched for according to above-mentioned search step (S1204-S1208), to obtain different Search Results, such as, successively region of search is diminished, to search in less scope, increase the fineness of Search Results display.
In above preferred embodiment, first, server obtains region of search on map layer, then map layer is separated into multiple layer regional area, and determines the intersection area of region of search and each layer regional area; Then, the Search Results corresponding with this intersection area is obtained respectively in each intersection area determined, multiple intersection area is divided into by region of search, the Search Results of each intersection area is obtained again respectively to search engine request, thus reduce the scope that search engine carries out searching at every turn, reduce the workload that search engine carries out searching at every turn, contribute to the work efficiency improving search engine.
On the basis of above preferred embodiment, this application provides a kind of method preferably obtaining corresponding Search Results respectively in each intersection area determined, to reach the technique effect accurately obtaining the Search Results in each intersection area.To achieve these goals, particularly, this method obtaining corresponding Search Results respectively in each intersection area determined comprises: send search request message for each intersection area to database successively, wherein, carry the coordinate figure in an intersection area in search request message; Receive the Search Results corresponding with each coordinate figure that database returns.In the preferred embodiment, each intersection area sends search request message to database successively, and in search request message, carry the coordinate figure corresponding with each intersection area, and according to the Search Results corresponding with each coordinate figure that coordinate figure reception database returns, achieve the Search Results obtaining each intersection area according to coordinate figure exactly.
For guaranteeing the correctness that cartographic information shows further, this application provides a kind of method of preferably Search Results got being carried out on map layer showing, particularly, this method of being carried out by the Search Results got showing on map layer comprises: the intersection area corresponding in map layer by the Search Results returned shows, after the Search Results obtaining each intersection area exactly, the intersection area corresponding in map layer by Search Results shows, further ensure that the correctness that cartographic information shows.
Based on above-mentioned each preferred embodiment, in order to determine the coordinate figure scope of region of search exactly, this application provides a kind of method preferably obtaining region of search on map layer, particularly, the method that should obtain region of search on map layer comprises: region of search is determined by the coordinate of the central point searched for and hunting zone, when hunting zone is rectangle, determine the position of rectangle on map layer using central point as the central point of rectangle; Using the coordinate on two summits non-conterminous in the rectangle determining position on map layer as the coordinate information characterizing region of search.In the preferred embodiment, when hunting zone is rectangle, the position of rectangle on map layer is determined using central point as the central point of rectangle, in rectangle, the coordinate on non-conterminous two summits is as the coordinate information characterizing region of search, such as, as shown in Figure 9, in figure, hypographous rectangle is certain layer regional area, shadeless rectangle is certain region of search, point centered by the center of this region of search, the coordinate on non-conterminous two summits can be selected to characterize this region of search, such as, select to characterize this region of search with the summit of the summit of the northeastward of this region of search and southwestward, namely the coordinate range value of this region of search is B [northeast corner longitude of vertex lon1, northeast corner latitude of vertex lat1, southwest corner longitude of vertex lon2, southwest corner latitude of vertex lat2], therefore, the coordinate figure scope of region of search can be symbolized exactly with the coordinate figure on the summit of region of search, preferably, this region of search and layer regional area can determine intersection area in the following manner, such as, layer regional area also can adopt the coordinate figure on non-conterminous two summits to characterize this layer regional area, if the summit on the summit and southwestward of also selecting northeastward is to characterize this layer regional area, the coordinate figure scope of this layer regional area be C1=[lon1 ', lat1 ', lon2 ', lat2 '], the coordinate figure scope of above-mentioned region of search is B=[lon1, lat1, lon2, lat2], the coordinate figure scope of this layer regional area and the coordinate figure scope of above-mentioned region of search are done and occurs simultaneously, the coordinate figure scope of this intersection area is D1=[X1, Y1, X2, Y2], as shown in Figure 9, X1=lon1, Y1=lat1 ', X2=lat2 ', Y2=lon2.
For strengthening the practical dirigibility of the application, the application improves the above-mentioned method obtaining region of search on map layer, particularly, the method that should obtain region of search on map layer also comprises: region of search is determined by the coordinate of the central point searched for and hunting zone, when hunting zone is circular, the central point of the circumscribed rectangle using central point as circle determines the circular position of circumscribed matrix on map layer; Using the radius value of non-conterminous in the circumscribed rectangle determining position on map layer two coordinates on summit, the coordinate of central point and circles as the coordinate information characterizing region of search.In the preferred embodiment, when hunting zone is circular, the central point of the circumscribed rectangle using the coordinate points of home position as circle determines the circular position of circumscribed rectangle on map layer, and symbolize circular hunting zone exactly with the coordinate of coordinate central point on non-conterminous two summits of the circumscribed rectangle of circle and the radius value of circle, simultaneously, the region of search of difform hunting zone can be determined, thus enhance the use dirigibility of the application.
In order to determine the coordinate figure scope of the intersection area in circle search region exactly, the application improves the above-mentioned method that local is played up on map, particularly, the method locally should played up on map also comprises: when region of search is for time circular, in the circumscribed rectangle of circle, the radius value of the non-conterminous coordinate on two summits, the coordinate of central point and circle is as the coordinate information characterizing region of search, after determining the coordinate figure scope of region of search, judge whether the point fallen within region of search in circle falls within layer regional area; Using the point that falls within layer regional area as the point in intersection area.In the preferred embodiment, when region of search is circular, after determining the coordinate figure scope of region of search, using the point that falls within region of search in circle as the point in intersection area, namely remove in circular outer and the point of circumscribed rectangle inside in circle, therefore, the coordinate figure scope of the intersection area in circle search region can be determined exactly.
Obviously, those skilled in the art should be understood that, each module of above-mentioned the application or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on network that multiple calculation element forms, alternatively, they can realize with the executable program code of calculation element, thus, they can be stored and be performed by calculation element in the storage device, and in some cases, step shown or described by can performing with the order be different from herein, or they are made into each integrated circuit modules respectively, or the multiple module in them or step are made into single integrated circuit module to realize.Like this, the application is not restricted to any specific hardware and software combination.
The foregoing is only the preferred embodiment of the application, be not limited to the application, for a person skilled in the art, the application can have various modifications and variations.Within all spirit in the application and principle, any amendment done, equivalent replacement, improvement etc., within the protection domain that all should be included in the application.

Claims (9)

1. the method that local is played up on map, is characterized in that, comprising:
Map layer obtains region of search;
Described map layer is separated into multiple layer regional area, and determines the intersection area of described region of search and each described layer regional area;
Corresponding Search Results is obtained respectively in each described intersection area determined, the described step obtaining corresponding Search Results respectively in each described intersection area determined comprises: send search request message for each described intersection area to database successively, wherein, carry the coordinate figure in a described intersection area in described search request message, receive the Search Results corresponding with each described coordinate figure that described database returns;
Shown on described map layer by the Search Results got, described step of the Search Results got being carried out on described map layer show comprises: the intersection area corresponding in described map layer by the Search Results returned shows.
2. method according to claim 1, is characterized in that, the described step obtaining region of search on map layer comprises:
Described region of search is determined by the coordinate of the central point searched for and hunting zone, when described hunting zone is rectangle, determines the position of described rectangle on described map layer using described central point as the central point of described rectangle;
Using the coordinate on two summits non-conterminous in the described rectangle determining position on described map layer as the coordinate information characterizing described region of search.
3. method according to claim 1, is characterized in that, the described step obtaining region of search on map layer comprises:
Described region of search is determined by the coordinate of the central point searched for and hunting zone, when described hunting zone is circular, determine the position of circumscribed rectangle on described map layer of described circle as the central point of the circumscribed rectangle of described circle using described central point;
Using the coordinate on two summits non-conterminous in the described circumscribed rectangle determining position on described map layer, the coordinate of described central point and the radius value of described circle as the coordinate information characterizing described region of search.
4. method according to claim 3, is characterized in that, describedly determines that the step of the intersection area of described region of search and each described layer regional area comprises:
Judge whether the point fallen within described region of search in described circle falls within described layer regional area;
Using the point that falls within described layer regional area as the point in described intersection area.
5. method according to claim 1, is characterized in that, the step described map layer being separated into multiple layer regional area comprises:
Described map layer is separated into multiple layer regional areas that size is identical.
6. the device that local is played up on map, is positioned on server, it is characterized in that, comprising:
Acquiring unit, for obtaining region of search on map layer;
Determining unit, for described map layer is separated into multiple layer regional area, and determines the intersection area of described region of search and each described layer regional area;
Search unit, for obtaining corresponding Search Results respectively in each described intersection area determined, described search unit comprises: sending module, for sending search request message for each described intersection area to database successively, wherein, the coordinate figure in a described intersection area is carried in described search request message; Receiver module, for receiving the Search Results corresponding with each described coordinate figure that described database returns;
Transmission unit, for the Search Results got is returned to client, make described client on map layer, show corresponding Search Results, described transmission unit comprises: transport module, for the described Search Results received is returned to client, client is shown by intersection area corresponding in map layer for described Search Results.
7. device according to claim 6, is characterized in that, described acquiring unit comprises:
First determination module, for the information of the coordinate and hunting zone that receive the central point of client transmissions, and determine described region of search according to the coordinate of described central point and hunting zone, when described hunting zone is rectangle, determine the position of described rectangle on described map layer using described central point as the central point of described rectangle;
First processing module, for using the coordinate on two summits non-conterminous in the described rectangle determining position on described map layer as characterizing the coordinate information of described region of search.
8. device according to claim 6, is characterized in that, described acquiring unit comprises:
Second determination module, for the information of the coordinate and hunting zone that receive the central point of described client transmissions, and determine described region of search according to the coordinate of described central point and hunting zone, when described hunting zone is circular, determine the position of circumscribed rectangle on described map layer of described circle as the central point of the circumscribed rectangle of described circle using described central point;
Second processing module, for using the coordinate on two summits non-conterminous in the described circumscribed rectangle determining position on described map layer, the coordinate of described central point and the radius value of described circle as characterizing the coordinate information of described region of search.
9. device according to claim 8, is characterized in that, described determining unit comprises:
Judge module, for judging whether the point fallen within described region of search in described circle falls within described layer regional area;
3rd processing module, for the point that will fall within described layer regional area as the point in described intersection area.
CN201210053986.XA 2012-03-02 2012-03-02 The method and apparatus that local is played up on map Active CN103295466B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201210053986.XA CN103295466B (en) 2012-03-02 2012-03-02 The method and apparatus that local is played up on map
HK13112076.7A HK1184901A1 (en) 2012-03-02 2013-10-28 Method for partial rendering on map and device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210053986.XA CN103295466B (en) 2012-03-02 2012-03-02 The method and apparatus that local is played up on map

Publications (2)

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

Family

ID=49096248

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210053986.XA Active CN103295466B (en) 2012-03-02 2012-03-02 The method and apparatus that local is played up on map

Country Status (2)

Country Link
CN (1) CN103295466B (en)
HK (1) HK1184901A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109345610B (en) * 2018-10-29 2023-06-09 泰华智慧产业集团股份有限公司 Method and system for displaying lean attack and hardness removal command on map
CN109542573B (en) * 2018-11-28 2021-12-07 北京龙创悦动网络科技有限公司 Scene display method and device

Citations (7)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101650948B1 (en) * 2009-11-17 2016-08-24 엘지전자 주식회사 Method for displaying time information and display apparatus thereof

Patent Citations (7)

* 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
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
HK1184901A1 (en) 2014-01-30
CN103295466A (en) 2013-09-11

Similar Documents

Publication Publication Date Title
CN106537384B (en) Use the reverse IP database of the data of instruction user location
US9230279B2 (en) Systems and methods for recommending a retail location
KR20170047189A (en) Techniques for server-controlled tiling of location-based information
CN101370025A (en) Storing method, scheduling method and management system for geographic information data
US8478773B1 (en) Interpreting search queries
CN107291713B (en) Prompting method, terminal and server for searching keywords of interest points
CN103369009A (en) Method, equipment and system for online question answering
CN104135715A (en) Method and device of implementing location based services as well as system
US8650024B1 (en) Generating address term synonyms
CN104935462A (en) Deploying method and device for terminal servers
CN103891245A (en) Location-aware content detection
CN103888895A (en) Information processing method, server equipment and mobile terminal
CN110737747A (en) data operation method, device and system
CN109413202A (en) The ordering system and method for block chain Transaction Information
CN103207900A (en) Method and device for providing target user with query request information based on location information
CN103295466B (en) The method and apparatus that local is played up on map
CN107040617B (en) Data processing method and device
CN110380890A (en) A kind of CDN system service quality detection method and system
US9691106B2 (en) Location based friend finding
US20170060965A1 (en) System, server and method for managing contents based on location grouping
US20150227583A1 (en) Managing search results
US20210311971A1 (en) Geocoding methods and systems of correcting latitude and longitude of a point of interest
CN106027692B (en) Information acquisition method, device and server
CN112860828B (en) Positioning method and device, electronic equipment and storage medium
Smirnov Geographic space: an ancient story retold

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for 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
GR01 Patent grant
REG Reference to a national code

Ref country code: HK

Ref legal event code: GR

Ref document number: 1184901

Country of ref document: HK