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 CN201210053986XA CN201210053986A CN103295466A CN 103295466 A CN103295466 A CN 103295466A CN 201210053986X A CN201210053986X A CN 201210053986XA CN 201210053986 A CN201210053986 A CN 201210053986A CN 103295466 A CN103295466 A CN 103295466A
Authority
CN
China
Prior art keywords
search
coordinate
region
layer
map
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.)
Granted
Application number
CN201210053986XA
Other languages
Chinese (zh)
Other versions
CN103295466B (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

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

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

The local method and apparatus of playing up on map
Technical field
The application relates to field of Internet communication, in particular to a kind of method and apparatus that play up the part on map.
Background technology
In correlation technique, if Search Results that need be in map shows certain zone generally adopts picture engine multiple spot to play up technology, it comprises the steps:
S1: client is determined the central point of search in 6 regional areas of map shown in Figure 1, and wherein, determining and can being realized by the coordinate information that the user imports this point of this central point perhaps, realizes by the clicking operation of user on map shown in Figure 1;
S2: client is determined the hunting zone according to central point in 6 regional areas of map shown in Figure 1, and wherein, the definite of this hunting zone can be determined by the search radius of user's input and the coordinate information of above-mentioned central point;
S3: client is that Search Results corresponding in the whole hunting zone is searched for to the search server request by unit with whole hunting zone;
S4: search server returns to client according to the coordinate information of the Search Results correspondence that searches with described Search Results, and client shows Search Results at map.
Yet, above-mentioned picture engine multiple spot is played up technology and is had following defective: if when the area of the hunting zone of determining is too big, then search server need carry out large-scale data search, may cause the processing speed of search engine to descend, influence the work efficiency of search engine, under the extreme case even can cause search engine collapse.In addition, according to above-mentioned search plan, in the time of can't responding searching request on other subregions when having got access to corresponding Search Results on a part of zone of search server in the hunting zone in the hunting zone, then search server can make repeated attempts at this enterprising line search in other subregions, the Search Results that just will all get access to after searching corresponding Search Results in these other subregions returns to client, thereby has prolonged the time of return of Search Results greatly.
Summary of the invention
The application provide a kind of on map the local method and apparatus of playing up, with the problem of the processing speed decline that solves the search engine that in the correlation technique because the hunting zone of determining causes too greatly at least.
According to the application's a aspect, a kind of method that play up the part on map is provided, it comprises: obtain the region of search at map layer; Map layer is separated into a plurality of figure layer regional area, and the intersection area of definite region of search and each figure layer regional area; Obtain corresponding Search Results in each intersection area of determining respectively; The Search Results that gets access to is shown at map layer.
Preferably, the step of obtaining corresponding Search Results in each intersection area of determining respectively comprises: send search request message at each intersection area to database successively, wherein, carry the coordinate figure in the intersection area in the search request message; Receive the Search Results corresponding with each coordinate figure that database returns.The Search Results that gets access to is comprised in the step that map layer shows: the Search Results that will return corresponding intersection area in map layer shows.
Preferably, the step of obtaining the region of search at map layer comprises: the region of search is determined by coordinate and the hunting zone of the central point of search, be under the situation of rectangle in the hunting zone, determine the position of rectangle on map layer with central point as the central point of rectangle; To determine that the coordinate on non-conterminous two summits in the rectangle of position is as the coordinate information that characterizes the region of search at map layer.
Preferably, the step of obtaining the region of search at map layer comprises: the region of search is determined by coordinate and the hunting zone of the central point of search, under the hunting zone is circular situation, determine the position of circumscribed rectangle on map layer of circle as the central point of the circumscribed rectangle of circle with central point; To determine that the coordinate of coordinate, central point on non-conterminous two summits in the circumscribed rectangle of position and circular radius value are as the coordinate information that characterizes the region of search at map layer.
Preferably, the step of determining the intersection area of region of search and each figure layer regional area comprises: judge whether the point that falls within the region of search in circular falls within the figure layer regional area; To fall within point in the figure layer regional area as the point in the intersection area.
Preferably, the step that map layer is separated into a plurality of figure layer regional area comprises: map layer is separated into the identical a plurality of figure layer regional area of size.
According to the application on the other hand, provide a kind of device that play up the part on map, be positioned on the server, it comprises: acquiring unit is used for obtaining the region of search at map layer; Determining unit is used for map layer is separated into a plurality of figure layer regional area, and the intersection area of definite region of search and each figure layer regional area; Search unit is used for obtaining corresponding Search Results in each intersection area of determining respectively; Transmission unit is used for the Search Results that gets access to is returned to client, makes described client show corresponding Search Results at map layer.
Preferably, search unit comprises: sending module, be used for sending search request message at each intersection area to database successively, and wherein, carry the coordinate figure in the intersection area in the search request message; Receiver module is used for receiving the Search Results corresponding with each coordinate figure that database returns.Transmission unit comprises: transport module, the described Search Results that is used for receiving returns to client, makes client that described Search Results corresponding intersection area in map layer is shown.
Preferably, acquiring unit comprises: first determination module, for the coordinate of the central point that receives client transmissions and the information of hunting zone, and determine the hunting zone according to coordinate and the hunting zone of central point, be under the situation of rectangle in the hunting zone, determine the position of rectangle on map layer with central point as the central point of rectangle; First processing module is used for and will have determined that the coordinate on non-conterminous two summits of rectangle of position is as the coordinate information that characterizes the region of search at map layer.
Preferably, acquiring unit comprises: second determination module, for the coordinate of the central point that receives client transmissions and the information of hunting zone, and determine the hunting zone according to coordinate and the hunting zone of central point, under the hunting zone is circular situation, determine the position of circumscribed matrix on map layer of circle as the central point of the circumscribed rectangle of circle with central point; Second processing module is used for and will have determined that the coordinate of coordinate, central point on non-conterminous two summits of circumscribed rectangle of position and circular radius value are as the coordinate information that characterizes the region of search at map layer.
Preferably, determining unit comprises: judge module is used for judging that the region of search falls within circular interior point and whether falls within the figure layer regional area; The 3rd processing module is used for will falling within the point of figure layer regional area as the point in the intersection area.
In this application, at first, obtain the region of search at map layer, again map layer is separated into a plurality of figure layer regional area, and the intersection area of definite region of search and each figure layer regional area; Then, obtain the Search Results corresponding with this intersection area in each intersection area of determining respectively, be about to the region of search and be divided into a plurality of intersection area, obtain the Search Results of each intersection area more respectively to search engine request, thereby reduced the scope that search engine is searched at every turn, reduce the workload that search engine is searched at every turn, helped to improve the work efficiency of search engine; In addition, after getting access to corresponding Search Results an intersection area, search engine namely can return to client with the Search Results on this intersection area, in order to show at map layer, and can not wait until that all getting access to the Search Results that will all get access to together again behind the Search Results on all intersection area returns to client, like this, even on certain intersection area, can't respond searching request, can not influence returning of Search Results on other intersection area yet, reduce the time of return of Search Results.
Description of drawings
Accompanying drawing described herein is used to provide the further understanding to the application, constitutes the application's a part, and the application's illustrative examples and explanation thereof are used for explaining the application, do not constitute the improper restriction to the application.In the accompanying drawings:
Fig. 1 is the effect synoptic diagram that the map in the correlation technique shows;
Fig. 2 is the structured flowchart according to the system that play up the part on map of the embodiment of the present application;
Fig. 3 is the synoptic diagram of division figure layer regional area on map layer according to the embodiment of the present application;
Fig. 4 is the synoptic diagram according to the picture of use behind the local device of playing up on the map of the embodiment of the present application;
Fig. 5 is the structured flowchart according to the device that play up the part on map of the embodiment of the present application;
Fig. 6 is the structured flowchart according to the search unit of the embodiment of the present application;
Fig. 7 is the structured flowchart according to the transmission unit of the embodiment of the present application;
Fig. 8 is the structured flowchart according to the acquiring unit of the embodiment of the present application;
Fig. 9 is the synoptic diagram of determining intersection area in the hunting zone during for rectangle according to the embodiment of the present application;
Figure 10 is the structured flowchart according to the another kind of acquiring unit of the embodiment of the present application;
Figure 11 is according to the embodiment of the present application structured flowchart of order unit really;
Figure 12 is the process flow diagram according to the method that play up the part on map of the embodiment of the present application.
Embodiment
Hereinafter will describe the application with reference to the accompanying drawings and in conjunction with the embodiments in detail.Need to prove that under the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.
In following each embodiment, communication can realize that the application does not do restriction to this by wireless connections or wired connection or its both combination.
Before the further details of each embodiment that describes the application, a suitable counting system structure of the principle that can be used for realizing the application will be described with reference to Figure 2.In the following description, except as otherwise noted, otherwise each embodiment of the application will be described with reference to the symbolic representation of the action of being carried out by one or more computing machines and operation.Thus, be appreciated that this class action and the operation that are called as the computing machine execution sometimes comprise that the processing unit of computing machine is to representing the manipulation of the electric signal of data with structured form.This manipulation transforms data or the position in the accumulator system of computing machine safeguard it, the operation of computing machine is reshuffled or changed to this mode of all understanding with those skilled in the art.The data structure of service data is the physical location of storer with defined particular community of form of data.Yet although describe the application in above-mentioned context, it does not also mean that restrictively, and as understood by those skilled in the art, the each side of hereinafter described action and operation also available hardware realizes.
Turn to accompanying drawing, wherein identical reference number refers to identical element, and the application's principle is shown in the suitable computing environment and realizes.Below describe the embodiment based on described the application, and should not think to limit the application about the alternative embodiment clearly do not described herein.
Fig. 2 shows the synoptic diagram of an example computer architecture that can be used for these equipment.For purposes of illustration, the architecture of painting only is an example of proper environment, is not that usable range or function to the application proposes any limitation.This computing system should be interpreted as that arbitrary assembly shown in Figure 2 or its combination are had any dependence or demand yet.
The application's principle can use other universal or special calculating or communication environment or configuration to operate.The example that is applicable to the application's well-known computing system, environment and configuration includes but not limited to, personal computer, server, multicomputer system, the system based on little processing, minicomputer, mainframe computer and the distributed computing environment that comprises arbitrary said system or equipment.
In its most basic configuration, the local system of playing up 200 on map among Fig. 2 comprises at least: the server 202 of a website and one or more client 204.Server 202 can include but not limited to microprocessor MCU or programmable logic device (PLD) FPGA etc. treating apparatus, be used for the storage data memory storage and with the transmitting device of client communication; Client 204 can comprise: microprocessor MCU, with the transmitting device of server communication, with the display device of user interactions.In the present specification and claims, " on map local play up system " also can be defined as can executive software, firmware or microcode realize any nextport hardware component NextPort of function or the combination of nextport hardware component NextPort.The local system of playing up 200 even can be distributed on map is to realize distributed function.
As used in this application, term " module ", " assembly " or " unit " can refer to software object or the routine in the local system of playing up 200 execution on map.Different assembly described herein, module, unit, engine and service can be implemented as in the local system of playing up 200 on map and carry out object or the process of (for example, as independent thread).Although system and method described herein realizes with software that preferably the realization of the combination of hardware or software and hardware also may and be conceived.
Embodiment 1
As shown in Figure 2, the local system of playing up 200 comprises on map: the server 202 of website and client 204.The course of work of the local system of playing up 200 can be as follows on map:
S1: client 204 is determined the central point of search according to user's operating command, wherein, the determining and to be realized by the coordinate information that the user imports this point of this central point, perhaps, realize by the clicking operation of user on map shown in Figure 1, wherein, this hunting zone determines and can be determined by the search radius of user's input and the coordinate information of above-mentioned central point; Client is determined the hunting zone according to user's operating command, and wherein, the definite of this hunting zone can be determined by the search radius of user's input;
S2: server 202 receives the coordinate of central point of client 204 transmission and the information of hunting zone, and determines the region of search according to coordinate and the hunting zone of this central point; Preferably, above-mentioned hunting zone can be to determine with the form of circle, shown in dash area among Fig. 3, when providing radius of a circle, can determine the hunting zone, and can determine region of search coordinate range on map according to coordinate and the hunting zone of central point, for example, this coordinate range can be characterized by the longitude and latitude of reality.Certainly, in this preferred scheme, server is determined the 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 the region of search by other scheme.
S3: server 202 is separated into a plurality of figure layer regional area with map layer, and the intersection area of definite region of search and each figure layer regional area; Map layer can be separated into the identical a plurality of figure layer regional area of size for the ease of operation, the number of figure layer regional area can be selected as required, for example, 4,6 etc., preferably, as shown in Figure 3, map layer is separated into 6 figure 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 figure layer regional area, for example, will scheme the coordinate range of layer regional area C1 (the 1st arranges the 1st figure among Fig. 3) and the coordinate range of region of search and do intersection area, namely obtain new coordinate range intersection area D1, determine the intersection area of each figure layer regional area and region of search successively, obtain intersection area D1-D6.
S4: server 202 obtains corresponding Search Results in each intersection area of determining respectively; In this step, coordinate according to the intersection area of determining obtains Search Results corresponding on each intersection area to the search engine application successively, preferably, this Search Results can comprise information such as the title of coordinate information, this Search Results correspondence of this Search Results correspondence and address, for example, 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 getting access to corresponding Search Results an intersection area, search engine namely can return to client with the Search Results on this intersection area, in order to show at map layer, and can not wait until that all getting access to the Search Results that will all get access to together again behind the Search Results on all intersection area returns to client, like this, even on certain intersection area, can't respond searching request, can not influence returning of Search Results on other intersection area yet, reduce the time of return of Search Results.
S5: server 202 returns to client 204 with the Search Results that gets access to, and makes client 204 show corresponding Search Results at map layer, and preferred, map layer can only show the geography information in city, and does not comprise any search result information.Preferably, in this step, can Search Results be generated the search results map layer according to the title of the coordinate information in the Search Results, this Search Results correspondence and address information etc., wherein, corresponding Search Results of each mark point on the search results map layer, this mark point position on the search results map layer is corresponding to the search results map layer in the Search Results, this mark point corresponding to the title in this Search Results and address information (is for example gone up content displayed, dining room title and dining room address information), as shown in Figure 4.Then, more stacked being added on the map layer of search results map shown.Certainly, can select as required the part of map is repeatedly played up, namely same central point is determined different regions of search, and corresponding different region of search is searched for according to above-mentioned search step (S3-S5), to obtain different Search Results, for example, one by one the region of search is diminished, in order in littler scope, search for, increase the fineness that Search Results shows.
In above preferred embodiment, at first, server obtains the region of search at map layer, map layer is separated into a plurality of figure layer regional area again, and the intersection area of definite region of search and each figure layer regional area; Then, obtain the Search Results corresponding with this intersection area in each intersection area of determining respectively, be about to the region of search and be divided into a plurality of intersection area, obtain the Search Results of each intersection area more respectively to search engine request, thereby reduced the scope that search engine is searched at every turn, reduce the workload that search engine is searched at every turn, helped to improve the work efficiency of search engine.
Based on above-mentioned preferred embodiment, the application provides a kind of preferred device that play up the part on map, in order to reach the work efficiency that improves search engine, change the information fineness that map shows, improve the technique effect of the degree of accuracy of map, preferably, the local device of playing 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 play up the part on map comprises as lower member:
Acquiring unit 502 is used for obtaining the region of search at map layer; Above-mentioned region of search can be determined according to coordinate and the hunting zone of the central point of client 204 transmission, the hunting zone can be to determine with the form of circle, shown in dash area among Fig. 3, when providing radius of a circle, can determine the hunting zone, and can determine region of search coordinate range on map according to coordinate and the hunting zone of central point, for example, this coordinate range can be characterized by the longitude and latitude of reality.Certainly, in this preferred scheme, server is determined the 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 the region of search by other scheme.
Determining unit 504 is communicated by letter with acquiring unit 502, is used for map layer is separated into a plurality of figure layer regional area, and the intersection area of definite region of search and each figure layer regional area; Preferably, map layer can be separated into the identical a plurality of figure layer regional area of size for the ease of operation, the number of the division figure of institute layer regional area can be selected as required, for example, 4,6 etc., preferably, as shown in Figure 3, map layer is separated into 6 figure 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 figure layer regional area, for example, to scheme the coordinate range of layer regional area C1 (the 1st arranges the 1st figure among Fig. 3) and the coordinate range of region of search and do common factor, namely obtain new coordinate range intersection area D1, determine the common factor of each figure layer regional area and region of search successively, obtain intersection area D1-D6.
Search unit 506 is communicated by letter with determining unit 504, is used for the corresponding Search Results of determining respectively of each intersection area search; In this step, coordinate according to the intersection area of determining obtains Search Results corresponding on each intersection area to the search engine application successively, preferably, this Search Results can comprise information such as the title of coordinate information, this Search Results correspondence of this Search Results correspondence and address, for example, 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 getting access to corresponding Search Results an intersection area, search engine namely can return to client with the Search Results on this intersection area, in order to show at map layer, and can not wait until that all getting access to the Search Results that will all get access to together again behind the Search Results on all intersection area returns to client, like this, even on certain intersection area, can't respond searching request, can not influence returning of Search Results on other intersection area yet, reduce the time of return of Search Results.
Transmission unit 508, communicate by letter with search unit 506, be used for the Search Results that gets access to is returned to client 204, make client 204 show corresponding Search Results at map layer, preferably, map layer can only show the geography information in city, and does not comprise any search result information.Preferably, in this step, can Search Results be generated the search results map layer according to the title of the coordinate information in the Search Results, this Search Results correspondence and address information etc., wherein, corresponding Search Results of each mark point on the search results map layer, this mark point position on the search results map layer is corresponding to the search results map layer in the Search Results, this mark point corresponding to the title in this Search Results and address information (is for example gone up content displayed, dining room title and dining room address information), as shown in Figure 4.Then, more stacked being added on the map layer of search results map shown.Certainly, can select as required the part of map is repeatedly played up, namely same central point is determined different regions of search, and corresponding different region of search is searched for according to above-mentioned search plan, to obtain different Search Results, for example, one by one the region of search is diminished, in order in littler scope, search for, increase the fineness that Search Results shows.
In above preferred embodiment, at first, obtain the region of search at map layer, again map layer is separated into a plurality of figure layer regional area, and the intersection area of definite region of search and each figure layer regional area; Then, obtain the Search Results corresponding with this intersection area in each intersection area of determining respectively, be about to the region of search and be divided into a plurality of intersection area, obtain the Search Results of each intersection area more respectively to search engine request, thereby reduced the scope that search engine is searched at every turn, reduce the workload that search engine is searched at every turn, helped to improve the work efficiency of search engine.
On the basis of above preferred embodiment, for obtaining the Search Results of each intersection area exactly, the 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, be used for sending search request message at each intersection area to database successively, wherein, carry the coordinate figure in the intersection area in the search request message; Receiver module 5064 is communicated by letter with sending module 5062, is used for receiving the Search Results corresponding with each coordinate figure that database returns.In this 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, realized obtaining exactly according to coordinate figure the Search Results of each intersection area.
Be the correctness of guaranteeing that further cartographic information shows, the application provides a kind of preferred transmission unit 508, particularly, as shown in Figure 7, this transmission unit 508 comprises: transport module 5082, be used for the Search Results that receives is returned to client 204, the Search Results corresponding intersection area in map layer that makes client 204 to have returned shows.In this preferred embodiment, behind the Search Results that obtains each intersection area exactly, Search Results corresponding intersection area in map layer is shown, further guaranteed 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, the application provides a kind of preferred acquiring unit 502, particularly, as shown in Figure 8, this acquiring unit 502 comprises: first determination module 5022, for the coordinate of the central point that receives client 204 transmission and the information of hunting zone, and determine the hunting zone according to coordinate and the hunting zone of central point, be under the situation of rectangle in the hunting zone, determine the position of rectangle on map layer with central point as the central point of rectangle; First processing module 5024 is communicated by letter with first determination module 5022, is used for having determined that the coordinate on non-conterminous two summits of rectangle of position is as the coordinate information that characterizes the region of search at map layer.In this preferred embodiment, when the hunting zone is rectangle, determine the position of rectangle on map layer with central point as the central point of rectangle, with the coordinate on non-conterminous two summits in the rectangle as the coordinate information that characterizes the region of search, for example, as shown in Figure 9, hypographous rectangle is certain figure layer regional area among the figure, shadeless rectangle is certain region of search, point centered by the center of this region of search, can select the coordinate on non-conterminous two summits to characterize this region of search, for example, selection characterizes this region of search with the summit of the northeastward of this region of search and the summit of 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, can characterize out the coordinate figure scope of region of search with the coordinate figure on the summit of region of search exactly, preferably, intersection area can be come to determine in the following manner with figure layer regional area in this region of search, for example, figure layer regional area also can adopt the coordinate figure on non-conterminous two summits to characterize this figure layer regional area, characterize this figure layer regional area as the summit of also selecting northeastward and the summit of southwestward, the coordinate figure scope of this figure layer regional area is 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 figure layer regional area and the coordinate figure scope of above-mentioned region of search are done common factor, 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 application's practical dirigibility, the application improves above-mentioned acquiring unit 502, as shown in figure 10, this acquiring unit 502 also comprises: second determination module 5026, for the coordinate of the central point that receives client 204 transmission and the information of hunting zone, and determine the hunting zone according to coordinate and the hunting zone of central point, under the hunting zone is circular situation, determine the position of circumscribed rectangle on map layer of circle as the central point of the circumscribed rectangle of circle with central point; Second processing module 5028, communicate by letter with second determination module 5026, be used for and determined that at map layer the coordinate of coordinate, central point on non-conterminous two summits of circumscribed rectangle of position and circular radius value are as the coordinate information that characterizes the region of search.In this preferred embodiment, when the hunting zone is circle, coordinate points with home position is determined the circular position of circumscribed rectangle on map layer as the central point of the circumscribed rectangle of circle, and characterize out circular hunting zone exactly with coordinate and the circular radius value of the coordinate central point on non-conterminous two summits of the circumscribed rectangle of circle, simultaneously, can determine the region of search of difform hunting zone, thereby strengthen the application's use dirigibility.
Coordinate figure scope for the intersection area of determining circular region of search exactly, the application provides a kind of preferred determining unit 504, particularly, as shown in figure 11, this determining unit 504 comprises: judge module 5042 is used for judging that the region of search falls within circular interior point and whether falls within the figure layer regional area; The 3rd processing module 5044 is communicated by letter with judge module 5042, is used for will falling within the point of figure layer regional area as the point in the intersection area.In this preferred embodiment, when the region of search is circle, after determining the coordinate figure scope of region of search, to fall within circular interior point in the region of search as the point in the intersection area, namely remove in circular outer and at the point of the circumscribed rectangle inside of circle, therefore, can determine the coordinate figure scope of the intersection area of circular region of search exactly.
Embodiment 2
Based on Fig. 2-Figure 11, the application provides a kind of preferred method that play up the part on map, in order to reach the work efficiency that improves search engine, change the information fineness that map shows, improve the technique effect of the degree of accuracy of map, particularly, as shown in figure 12, should on map, the local method of playing up comprise:
S1202: obtain the region of search at map layer, wherein, above-mentioned region of search determines that by coordinate and the hunting zone of the central point of search the coordinate of the central point of search and hunting zone can be determined according to user's operating command by client, and give server by client transmissions; Preferably, above-mentioned hunting zone can be to determine with the form of circle, shown in dash area among Fig. 3, when providing radius of a circle, can determine the hunting zone, and can determine region of search coordinate range on map according to coordinate and the hunting zone of central point, for example, this coordinate range can be characterized by the longitude and latitude of reality.Certainly, in this preferred scheme, server is determined the 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 the region of search by other scheme.
S1204: map layer is separated into a plurality of figure layer regional area, and the intersection area of definite region of search and each figure layer regional area, preferred, can carry out above-mentioned separation operation to map layer at server; For the ease of operation, help to improve the processing speed of search engine, map layer can be separated into the identical a plurality of figure layer regional area of size, the number of figure layer regional area can be selected as required, for example, 4,6 etc., preferably, as shown in Figure 3, map layer is separated into 6 figure layer regional areas, from left to right is labeled as C1, C2, C3, C4, C5 and C6, then, determine the intersection area of region of search and each figure layer regional area, for example, will scheme the coordinate range of layer regional area C1 (the 1st arranges the 1st figure among Fig. 3) and the coordinate range of region of search and do intersection area, namely obtain new coordinate range intersection area D1, determine the intersection area of each figure layer regional area and region of search successively, obtain intersection area D1-D6.
S1206: obtain corresponding Search Results in each intersection area of determining respectively; In this step, coordinate according to the intersection area of determining obtains Search Results corresponding on each intersection area to the search engine application successively, preferably, this Search Results can comprise information such as the title of coordinate information, this Search Results correspondence of this Search Results correspondence and address, for example, 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 getting access to corresponding Search Results an intersection area, search engine namely can return to client with the Search Results on this intersection area, in order to show at map layer, and can not wait until that all getting access to the Search Results that will all get access to together again behind the Search Results on all intersection area returns to client, like this, even on certain intersection area, can't respond searching request, can not influence returning of Search Results on other intersection area yet, reduce the time of return of Search Results.
S1208: the Search Results that gets access to is shown at map layer, preferably, server 202 returns to client 204 with the Search Results that gets access to, make client 204 show corresponding Search Results at map layer, wherein, map layer can only show the geography information in city, and does not comprise any search result information.In this step, can Search Results be generated the search results map layer according to the title of the coordinate information in the Search Results, this Search Results correspondence and address information etc., wherein, corresponding Search Results of each mark point on the search results map layer, this mark point position on the search results map layer is corresponding to the search results map layer in the Search Results, this mark point corresponding to the title in this Search Results and address information (is for example gone up content displayed, dining room title and dining room address information), as shown in Figure 4.Then, more stacked being added on the map layer of search results map shown.Certainly, can select as required the part of map is repeatedly played up, namely same central point is determined different regions of search, and corresponding different region of search is searched for according to above-mentioned search step (S1204-S1208), to obtain different Search Results, for example, one by one the region of search is diminished, in order in littler scope, search for, increase the fineness that Search Results shows.
In above preferred embodiment, at first, server obtains the region of search at map layer, map layer is separated into a plurality of figure layer regional area again, and the intersection area of definite region of search and each figure layer regional area; Then, obtain the Search Results corresponding with this intersection area in each intersection area of determining respectively, be about to the region of search and be divided into a plurality of intersection area, obtain the Search Results of each intersection area more respectively to search engine request, thereby reduced the scope that search engine is searched at every turn, reduce the workload that search engine is searched at every turn, helped to improve the work efficiency of search engine.
On the basis of above preferred embodiment, the application provides a kind of preferred method of obtaining corresponding Search Results respectively in each intersection area of determining, in order to reach the technique effect of the Search Results on each intersection area of accurate acquisition.To achieve these goals, particularly, this comprises in the method that each intersection area of determining is obtained corresponding Search Results respectively: send search request message at each intersection area to database successively, wherein, carry the coordinate figure in the intersection area in the search request message; Receive the Search Results corresponding with each coordinate figure that database returns.In this 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, realized obtaining exactly according to coordinate figure the Search Results of each intersection area.
Be the correctness of guaranteeing that further cartographic information shows, the application provides a kind of method that preferably Search Results that gets access to is shown at map layer, particularly, this comprises the Search Results that gets access in the method that map layer shows: the Search Results that will return corresponding intersection area in map layer shows, behind the Search Results that obtains each intersection area exactly, Search Results corresponding intersection area in map layer is shown, further guaranteed 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, the application provides a kind of and has preferably obtained the method for region of search at map layer, particularly, this comprises in the method that map layer obtains the region of search: the region of search is determined by coordinate and the hunting zone of the central point of search, be under the situation of rectangle in the hunting zone, determine the position of rectangle on map layer with central point as the central point of rectangle; To determine that the coordinate on non-conterminous two summits in the rectangle of position is as the coordinate information that characterizes the region of search at map layer.In this preferred embodiment, when the hunting zone is rectangle, determine the position of rectangle on map layer with central point as the central point of rectangle, with the coordinate on non-conterminous two summits in the rectangle as the coordinate information that characterizes the region of search, for example, as shown in Figure 9, hypographous rectangle is certain figure layer regional area among the figure, shadeless rectangle is certain region of search, point centered by the center of this region of search, can select the coordinate on non-conterminous two summits to characterize this region of search, for example, selection characterizes this region of search with the summit of the northeastward of this region of search and the summit of 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, can characterize out the coordinate figure scope of region of search with the coordinate figure on the summit of region of search exactly, preferably, intersection area can be come to determine in the following manner with figure layer regional area in this region of search, for example, figure layer regional area also can adopt the coordinate figure on non-conterminous two summits to characterize this figure layer regional area, characterize this figure layer regional area as the summit of also selecting northeastward and the summit of southwestward, the coordinate figure scope of this figure layer regional area is 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 figure layer regional area and the coordinate figure scope of above-mentioned region of search are done common factor, 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 application's practical dirigibility, the application improves the above-mentioned method of obtaining the region of search at map layer, particularly, this also comprises in the method that map layer obtains the region of search: the region of search is determined by coordinate and the hunting zone of the central point of search, under the hunting zone is circular situation, determine the position of circumscribed matrix on map layer of circle as the central point of the circumscribed rectangle of circle with central point; To determine that the coordinate of coordinate, central point on non-conterminous two summits in the circumscribed rectangle of position and circular radius value are as the coordinate information that characterizes the region of search at map layer.In this preferred embodiment, when the hunting zone is circle, coordinate points with home position is determined the circular position of circumscribed rectangle on map layer as the central point of the circumscribed rectangle of circle, and characterize out circular hunting zone exactly with coordinate and the circular radius value of the coordinate central point on non-conterminous two summits of the circumscribed rectangle of circle, simultaneously, can determine the region of search of difform hunting zone, thereby strengthen the application's use dirigibility.
Coordinate figure scope for the intersection area of determining circular region of search exactly, the application improves the above-mentioned method that play up the part on map, particularly, should also comprise in the local method of playing up on the map: when the region of search is circle, with the coordinate of the coordinate on non-conterminous two summits in the circumscribed rectangle of circle, central point and circular radius value as the coordinate information that characterizes the region of search, after determining the coordinate figure scope of region of search, judge whether fall within circular interior point in the region of search falls within the figure layer regional area; To fall within point in the figure layer regional area as the point in the intersection area.In this preferred embodiment, when the region of search is circle, after determining the coordinate figure scope of region of search, to fall within circular interior point in the region of search as the point in the intersection area, namely remove in circular outer and at the point of the circumscribed rectangle inside of circle, therefore, can determine the coordinate figure scope of the intersection area of circular region of search exactly.
Obviously, those skilled in the art should be understood that, each module of above-mentioned the application or each step can realize with the general calculation device, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation elements form, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the memory storage and be carried out by calculation element, and in some cases, can carry out step shown or that describe with the order that is different from herein, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the application is not restricted to any specific hardware and software combination.
The above is the application's preferred embodiment only, is not limited to the application, and for a person skilled in the art, the application can have various changes and variation.All within the application's spirit and principle, any modification of doing, be equal to replacement, improvement etc., all should be included within the application's the protection domain.

Claims (11)

1. a local method of playing up on map is characterized in that, comprising:
Obtain the region of search at map layer;
Described map layer is separated into a plurality of figure layer regional area, and determines the intersection area of described region of search and each described figure layer regional area;
Obtain corresponding Search Results in each described intersection area of determining respectively;
The Search Results that gets access to is shown at described map layer.
2. method according to claim 1 is characterized in that,
The step of obtaining corresponding Search Results in each described intersection area of determining comprises respectively:
Send search request message at each described intersection area to database successively, wherein, carry the coordinate figure in the described intersection area in the described search request message;
Receive the Search Results corresponding with each described coordinate figure that described database returns;
The Search Results that gets access to is comprised in the step that described map layer shows:
Search Results corresponding intersection area in described map layer of having returned is shown.
3. method according to claim 1 is characterized in that, the described step of obtaining the region of search at map layer comprises:
Described region of search is determined by coordinate and the hunting zone of the central point of search, is under the situation of rectangle in described hunting zone, determines the position of described rectangle on described map layer with described central point as the central point of described rectangle;
To determine that the coordinate on non-conterminous two summits in the described rectangle of position is as the coordinate information that characterizes described region of search at described map layer.
4. method according to claim 1 is characterized in that, the described step of obtaining the region of search at map layer comprises:
Described region of search is determined by coordinate and the hunting zone of the central point of search, under described hunting zone is circular situation, determine the position of circumscribed rectangle on described map layer of described circle as the central point of the circumscribed rectangle of described circle with described central point;
To determine that the radius value of the coordinate of the coordinate on non-conterminous two summits in the described circumscribed rectangle of position, described central point and described circle is as the coordinate information that characterizes described region of search at described map layer.
5. method according to claim 4 is characterized in that, the step of the intersection area of described definite described region of search and each described figure layer regional area comprises:
Judge whether the point that falls within the described region of search in the described circle falls within the described figure layer regional area;
To fall within point in the described figure layer regional area as the point in the described intersection area.
6. method according to claim 1 is characterized in that, the step that described map layer is separated into a plurality of figure layer regional area comprises:
Described map layer is separated into the identical a plurality of figure layer regional area of size.
7. a local device of playing up on map is positioned on the server, it is characterized in that, comprising:
Acquiring unit is used for obtaining the region of search at map layer;
Determining unit is used for described map layer is separated into a plurality of figure layer regional area, and determines the intersection area of described region of search and each described figure layer regional area;
Search unit is used for obtaining corresponding Search Results in each described intersection area of determining respectively;
Transmission unit is used for the Search Results that gets access to is returned to described client, makes described client show corresponding Search Results at map layer.
8. device according to claim 7 is characterized in that,
Described search unit comprises:
Sending module is used for sending search request message at each described intersection area to database successively, wherein, carries the coordinate figure in the described intersection area in the described search request message;
Receiver module is used for receiving the Search Results corresponding with each described coordinate figure that described database returns;
Described transmission unit comprises:
Transport module, the described Search Results that is used for receiving returns to client, makes client that described Search Results corresponding intersection area in map layer is shown.
9. device according to claim 7 is characterized in that, described acquiring unit comprises:
First determination module, for the coordinate of the central point that receives client transmissions and the information of hunting zone, and determine described hunting zone according to coordinate and the hunting zone of described central point, be under the situation of rectangle in described hunting zone, determine the position of described rectangle on described map layer with described central point as the central point of described rectangle;
First processing module is used for and will have determined that the coordinate on non-conterminous two summits of described rectangle of position is as the coordinate information that characterizes described region of search at described map layer.
10. device according to claim 7 is characterized in that, described acquiring unit comprises:
Second determination module, for the coordinate of the central point that receives described client transmissions and the information of hunting zone, and determine described hunting zone according to coordinate and the hunting zone of described central point, under described hunting zone is circular situation, determine the position of circumscribed rectangle on described map layer of described circle as the central point of the circumscribed rectangle of described circle with described central point;
Second processing module is used for and will have determined that the radius value of the coordinate of the coordinate on non-conterminous two summits of described circumscribed rectangle of position, described central point and described circle is as the coordinate information that characterizes described region of search at described map layer.
11. device according to claim 10 is characterized in that, described determining unit comprises:
Judge module is used for judging whether the point that described region of search falls within the described circle falls within the described figure layer regional area;
The 3rd processing module is used for will falling within the point of described figure layer regional area as the point in the 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 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
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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109345610A (en) * 2018-10-29 2019-02-15 泰华智慧产业集团股份有限公司 The method and system of operational commanding are shown on map
CN109542573A (en) * 2018-11-28 2019-03-29 北京龙创悦动网络科技有限公司 A kind of scene display methods and device

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

Cited By (4)

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

Also Published As

Publication number Publication date
CN103295466B (en) 2015-10-07
HK1184901A1 (en) 2014-01-30

Similar Documents

Publication Publication Date Title
Grossmann et al. Efficiently managing context information for large-scale scenarios
CN110726418A (en) Method, device and equipment for determining interest point region and storage medium
CN107291713B (en) Prompting method, terminal and server for searching keywords of interest points
US8478773B1 (en) Interpreting search queries
CN101370025A (en) Storing method, scheduling method and management system for geographic information data
KR20170047189A (en) Techniques for server-controlled tiling of location-based information
CN103377204A (en) Displaying method and device for map search results
US20150089346A1 (en) Address information input method, acquisition method, apparatus, device, and system
JP2021106032A (en) Information recommendation method and device
JP2015536504A (en) Apparatus and method for geolocation information
CN103888895A (en) Information processing method, server equipment and mobile terminal
CN103891245A (en) Location-aware content detection
CN112685175A (en) Method and device for constructing service topological graph and computer readable storage medium
CN103295466B (en) The method and apparatus that local is played up on map
US11755573B2 (en) Methods and systems for determining search parameters from a search query
US20150227583A1 (en) Managing search results
CN106027692B (en) Information acquisition method, device and server
US9405853B2 (en) Reading object queries
CN103294459A (en) Map activex generation method and device
CN111177589A (en) Address information query method, device, equipment and storage medium
CN112860828B (en) Positioning method and device, electronic equipment and storage medium
JP5475835B2 (en) Point registration device, terminal device, and point registration method
US11622229B2 (en) System and method of forecasting based on periodical sketching of big data of observations
CN105069014A (en) Map searching method and device
JP6081702B2 (en) Information processing apparatus, information processing method, and program

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