The method and apparatus that shows related mark point in electronic map interface
Technical field
The present invention relates to internet arena, be specifically related to a kind of method and apparatus that shows related mark point in electronic map interface.
Background technology
At present, electronic chart can be for the user provides POI(Point of Interest, point of interest) function of search.When the user carried out the POI search by electronic chart, each POI that the electronic chart client can obtain search showed in the relevant position of electronic map interface with the form of mark point.In electronic chart, a POI can be a tame bank, a retail shop, a school, a bus station etc.
After map interface showed the mark point, the user can find the particular location of the POI that will search in the mark point that shows.And when the user moved to cursor on a certain mark point, this mark point can be lighted, and is convenient to the user and knows current selected POI.
For example, the keyword that certain user searches in electronic chart when " bank ", client can be on map interface with in the sector of search about all POI(of " bank " such as industrial and commercial bank, Construction Bank, Minsheng bank etc.) represent to the user with the form of mark point.Wherein, the represented meaning of each mark point is for independently, and namely each mark point is representing an agency of bank.When the user moved to certain mark point with cursor, this mark point was lighted and is shown the Bank Name information such as (knowing spring road branch as the National Industrial and Commercial Bank of China) that is identified, specifically can be referring to the synoptic diagram of lighting the mark point on the electronic map interface shown in Figure 1.By Fig. 1 as seen, if the user wants to check the peripheral bank (as industrial and commercial bank) identical with this bank infrastructure type, then need to click one by one the mark point and can know that each marks the bank that point identifies.
In summary, in the prior art, when the user wants when electronic map interface is searched the identical POI of establishment type, need in numerous mark points, click each mark point one by one and just can find the identical POI of establishment type, thereby cause user's search efficiency low, and the user experience relatively poor.
Summary of the invention
In view of the above problems, the invention provides on a kind of electronic map interface the method and apparatus that shows related mark point, in order to overcome the problems referred to above or address the above problem at least in part.
According to one aspect of the present invention, the method that shows related mark point on a kind of electronic map interface is provided, this method comprises:
Determine the establishment type under the POI data that the mark point of the current selection of user identifies;
In the adjustable region scope of electronic map interface, obtain wherein type and user and select to mark the POI relation integration that each POI data that a little corresponding establishment type is identical are formed;
On electronic map interface, highlight each each the self-corresponding mark point of POI data in the POI relation integration.
Optionally, the establishment type under the POI data passes through the establishment type code record in the POI of POI data information;
Correspondingly, determine the establishment type under the POI data that mark point that the active user selects identifies, comprising:
Obtain the POI information of the POI data that the mark point of the current selection of user identifies;
In POI information, search the establishment type code, determine the affiliated establishment type of POI data that the user selects.
Optionally, the acquisition methods of POI relation integration comprises:
Send the range searching request of establishment type code and the mark dot position information of the POI data that comprise the mark point that the user selects at least to database, wherein, in database, search to mark in the adjustable region scope of dot position information as the center, the POI data that the establishment type code of the POI data of selecting with the user is identical, and will search each the POI data that obtains and form POI relation integration;
Obtain the POI relation integration that returns from database, wherein, comprise each POI information in the POI relation integration.
Optionally, the adjustable region scope comprises centered by the mark point position of the current selection of user, is the border circular areas of radius with the adjustable distance.
Optionally, the mode that highlights mark point comprise at least following any one: amplify, change color, change shape, change dynamic effect.
According to one aspect of the present invention, the device that shows related mark point on a kind of electronic map interface is provided, this device comprises:
User's input interface is configured to receive the indication of the mark point of the current selection of user;
The type determiner, the establishment type under the POI data that are configured to identify according to the mark point of indicating definite current selection of user;
The set getter is configured in the adjustable region scope of electronic map interface, obtains wherein type and user and selects to mark the POI relation integration that each POI data that a little corresponding establishment type is identical are formed;
The mark display is configured on electronic map interface, highlights each each the self-corresponding mark point of POI data in the POI set.
Optionally, the establishment type under the POI data passes through the establishment type code record in the POI of POI data information;
The above-mentioned type determiner further is configured to obtain the POI information of the POI data that the mark point of the current selection of user identifies; And
In POI information, search the establishment type code, determine the affiliated establishment type of POI data that the user selects.
Optionally, above-mentioned set getter further comprises:
The data transmission interface, be configured to send to database the range searching request of establishment type code and the mark dot position information of the POI data that comprise the mark point that the user selects at least, wherein, in database, search to mark in the adjustable region scope of dot position information as the center, the POI data that the establishment type code of the POI data of selecting with the user is identical, and will search each the POI data that obtains and form POI relation integration;
The data receiving interface is configured to obtain the POI relation integration that returns from database, wherein, comprises each POI information in the POI relation integration.
Optionally, the adjustable region scope comprises centered by the mark point position of the current selection of user, is the border circular areas of radius with the adjustable distance.
Optionally, the above-mentioned mark display mode that highlights the mark point comprise at least following any one:
Amplify, change color, change shape, change dynamic effect.
The invention provides the method and apparatus that shows related mark point on a kind of electronic map interface.By the present invention, select any one when point mark on the map interface the user, client can be obtained the establishment type of the POI data that this mark point identifies, and have the POI data of same facility type by database lookup and this POI data, and then the mark point that will identify these POI data highlights.As seen, by method and apparatus provided by the invention, make the user to put directional search target P OI rapidly and accurately by the mark that highlights on the electronic chart, make things convenient for the user to carry out POI and search, improved search efficiency, promoted user's experience.
Above-mentioned explanation only is the general introduction of technical solution of the present invention, for can clearer understanding technological means of the present invention, and can be implemented according to the content of instructions, and for above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the specific embodiment of the present invention.
Description of drawings
By reading hereinafter detailed description of the preferred embodiment, various other advantage and benefits will become cheer and bright for those of ordinary skills.Accompanying drawing only is used for the purpose of preferred implementation is shown, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts with identical reference symbol.In the accompanying drawings:
Fig. 1 shows a kind of synoptic diagram of lighting the mark point in electronic map interface;
Fig. 2 shows a kind of according to an embodiment of the invention method flow diagram that shows related mark point in electronic map interface;
Fig. 3 shows a kind of in accordance with another embodiment of the present invention method flow diagram that shows related mark point in electronic map interface;
Fig. 4 shows the effect synoptic diagram after according to an embodiment of the invention the mark point being highlighted;
Fig. 5 shows the synoptic diagram before according to an embodiment of the invention the mark point being highlighted; And
Fig. 6 shows a kind of according to an embodiment of the invention device block diagram that shows related mark point in electronic map interface.
Embodiment
Exemplary embodiment of the present disclosure is described below with reference to accompanying drawings in more detail.Though showed exemplary embodiment of the present disclosure in the accompanying drawing, yet should be appreciated that and to realize the disclosure and the embodiment that should do not set forth limits here with various forms.On the contrary, it is in order thoroughly to understand the disclosure that these embodiment are provided, and can with the scope of the present disclosure complete convey to those skilled in the art.
Embodiment one
The embodiment of the invention provides a kind of method that shows related mark point in electronic map interface.This method is improved being supported in the client that shows related mark point on the electronic chart.For example, the client in the present embodiment can be PC(Personal Computer, personal computer), mobile phone, subscriber terminal equipments such as Hand Personal Computer.
Fig. 2 shows according to what one embodiment of the invention provided and a kind ofly shows the method flow diagram of related mark point in electronic map interface, the method comprising the steps of S202 to S206.
S202 determines the establishment type under the POI data that the mark point of the current selection of user identifies.
S204 in the adjustable region scope of electronic map interface, obtains wherein type and user and selects to mark the POI relation integration that each POI data that a little corresponding establishment type is identical are formed.
S206 on electronic map interface, highlights each each the self-corresponding mark point of POI data in the POI relation integration.
The embodiment of the invention provides a kind of method that shows related mark point in electronic map interface.By this method, select any one when point mark on the map interface the user, client can be obtained the establishment type of the POI data that this mark point identifies, and have the POI data of same facility type by database lookup and this POI data, and then the mark point that will identify these POI data highlights.As seen, by the method that present embodiment provides, make the user to put directional search target P OI rapidly and accurately by the mark that highlights on the electronic chart, make things convenient for the user to carry out POI and search, improved search efficiency, promoted user's experience.
Embodiment two
Present embodiment is a kind of concrete application scenarios of above-described embodiment one, by present embodiment, can set forth method provided by the present invention clearer, particularly.
A kind of method flow diagram that shows related mark point in electronic map interface that provides according to one embodiment of the invention is provided Fig. 3.This method specifically comprises step S301 to 306.
S301, client is obtained the mark point of the current selection of user at electronic chart.
In the present embodiment, showing on the electronic chart of some mark points, the user can move to cursor mark point to be selected place, and at this moment, this mark point is the mark point of the current selection of user that client obtains.
Client is after having obtained user-selected mark point, and execution in step S302 namely obtains the affiliated establishment type of POI data that this mark point identifies.
Need to prove, in the present embodiment, the POI that marks in the electronic chart is concrete geographic position, and represent by POI data (also i.e. the title in this POI geographic position pointed), for example can be " Chun Lu subbranch is known by Bank of Beijing ", " No. 3 Hospital of BJ Medical University " etc.
Optionally, step S302 specifically can realize in the following way:
At first, client is obtained the POI information of the POI data that this mark point identifies.
Need to prove that before step S301, client is marking some the POI information that has got access to each the POI data corresponding with shown mark point when showing.Wherein, comprise positional information and establishment type code at least in the POI information in the present embodiment.For example, for " Chun Lu subbranch is known by Bank of Beijing " this POI, its POI information comprises that then Bank of Beijing knows the longitude and latitude of Chun Lu subbranch and the type code of Bank of Beijing.
Secondly, client is searched the establishment type code in POI information, determines the establishment type that these POI data are affiliated.
In the present embodiment, a specific fields is set in POI information, namely type identification typeId field is used for storage establishment type code, and wherein, the establishment type code is used for the establishment type under the expression POI data.For the ease of management and differentiation, be respectively every kind of different establishment type one specific establishment type code is set.And according to the establishment type under the POI data specific establishment type code is write in the typeId field of its POI information.For example, when the establishment type under the POI data was " industrial and commercial bank ", its establishment type code can be set to " b000001 ", and when the establishment type under the POI data was " KFC ", its establishment type code can be set to " f000001 ".
After the establishment type of client under having obtained user-selected POI data, execution in step S303, namely to database sending zone searching request, select to mark each POI data that a little corresponding establishment type is identical to obtain in the adjustable region scope establishment type with the user.
In the present embodiment, database is arranged in the opposite end server of client.At least comprise the corresponding establishment type code and the positional information that marks point of mark point that the user selects in the range searching request.Optionally, the position coordinates that comprises current city title that electronic chart is shown and mark point in the positional information at least.
Database is after receiving the range searching request, execution in step S304, be that database root is searched the POI data identical with the establishment type code that receives according to the range searching request in the adjustable region scope, and will search each the POI data that obtains and form the POI relation integration.
In the present embodiment, database can obtain the POI relation integration in the following way after receiving the range searching request:
At first, read range searching request and obtain wherein position coordinates and the establishment type code of included POI data.
Secondly, centered by the position coordinates of mark point, be the content that reads typeId field in the POI information of each POI data in the border circular areas of radius respectively with the adjustable distance, obtain the establishment type code.
In the present embodiment, preserved the POI information of each POI data in the database, specifically as shown in Table 1.
Table one
Need to prove, in the present embodiment, but in order to adapt to the indication range of client display screen, optional, adjustable distance can be chosen for 2km, also moderately reduced the search pressure of database simultaneously.
Again, the establishment type code with the establishment type code in each POI information and reception compares respectively, and obtains the successful represented POI data of establishment type code of all contrasts in the adjustable region, and it is formed the POI relation integration.Wherein, the POI information that has comprised each POI data in the POI relation integration.
Database is after getting access to the POI relation integration, and execution in step S305 is about to the POI relation integration and sends to client.
After client received the POI relation integration, execution in step S306 namely on electronic map interface, highlighted each the self-corresponding mark point of each POI data in the POI relation integration.
In the present embodiment, client reads the positional information of each the POI data in the POI relation integration respectively, and the point of the mark on the relevant position in the electronic chart is highlighted.
Need to prove, the user distinguishes the mark point that highlights and the mark point that does not highlight for convenience, and client can highlight the mark point by following at least a mode: amplify, change color, change shape, change dynamic effect.In the present embodiment, be example in the amplification mode, the mark point highlighted that concrete effect as shown in Figure 4.
In order more clearly to show the mark point after highlighting, present embodiment also provides the mark point has been highlighted preceding synoptic diagram, i.e. Fig. 5.Contrast by Fig. 4 and Fig. 5 as seen, the POI data that the mark point that highlights can make the user check more rapidly and accurately to have the same facility type in the somewhere.
The embodiment of the invention provides a kind of method that shows related mark point in electronic map interface.By this method, select any one when point mark on the map interface the user, client can be obtained the establishment type of the POI data that this mark point identifies, and have the POI data of same facility type by database lookup and this POI data, and then the mark point that will identify these POI data highlights.As seen, by the method that present embodiment provides, make the user to put directional search target P OI rapidly and accurately by the mark that highlights on the electronic chart, make things convenient for the user to carry out POI and search, improved search efficiency, promoted user's experience.
Embodiment three
A kind of device block diagram that shows related mark point in electronic map interface that provides according to one embodiment of the invention is provided Fig. 6.This device 600 comprises:
User's input interface 610 is configured to receive the indication of the mark point of the current selection of user;
Type determiner 620 is coupled with above-mentioned user's input interface 610, the establishment type under the POI data that are configured to identify according to the mark point of indicating definite current selection of user;
Set getter 630 is coupled with the above-mentioned type determiner 620, is configured in the adjustable region scope of electronic map interface, obtains wherein type and user and selects to mark the POI relation integration that each POI data that a little corresponding establishment type is identical are formed;
Mark display 640 is coupled with above-mentioned set getter 630, is configured on electronic map interface, highlights each each the self-corresponding mark point of POI data in the POI set.
Optionally, the establishment type under the POI data passes through the establishment type code record in the POI of POI data information;
Type determiner 620 further is configured to obtain the POI information of the POI data that the mark point of the current selection of user identifies; And
In POI information, search the establishment type code, determine the affiliated establishment type of POI data that the user selects.
Optionally, set getter 630 further comprises:
Data transmission interface 631, be configured to send to database 800 the range searching request of establishment type code and the mark dot position information of the POI data that comprise the mark point that the user selects at least, wherein, in database 800, search to mark in the adjustable region scope of dot position information as the center, the POI data that the establishment type code of the POI data of selecting with the user is identical, and will search each the POI data that obtains and form POI relation integration;
Data receiving interface 632 is configured to obtain the POI relation integration that returns from database 800, wherein, comprises each POI information in the POI relation integration.
Optionally, the adjustable region scope comprises centered by the mark point position of the current selection of user, is the border circular areas of radius with the adjustable distance.
Optionally, mark display 640 mode that highlights mark point comprise at least following any one:
Amplify, change color, change shape, change dynamic effect.
The embodiment of the invention provides a kind of device that shows related mark point in electronic map interface.By this device, select any one when point mark on the map interface the user, client can be obtained the establishment type of the POI data that this mark point identifies, and have the POI data of same facility type by database lookup and this POI data, and then the mark point that will identify these POI data highlights.As seen, by the device that present embodiment provides, make the user to put directional search target P OI rapidly and accurately by the mark that highlights on the electronic chart, make things convenient for the user to carry out POI and search, improved search efficiency, promoted user's experience
Intrinsic not relevant with any certain computer, virtual system or miscellaneous equipment with displaying at this algorithm that provides.Various general-purpose systems also can be with using based on the teaching at this.According to top description, it is apparent constructing the desired structure of this type systematic.In addition, the present invention is not also at any certain programmed language.Should be understood that and to utilize various programming languages to realize content of the present invention described here, and the top description that language-specific is done is in order to disclose preferred forms of the present invention.
In the instructions that provides herein, a large amount of details have been described.Yet, can understand, embodiments of the invention can be put into practice under the situation of these details not having.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand one or more in each inventive aspect, in the description to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes in the above.Yet the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires the more feature of feature clearly put down in writing than institute in each claim.Or rather, as following claims reflected, inventive aspect was to be less than all features of the disclosed single embodiment in front.Therefore, follow claims of embodiment and incorporate this embodiment thus clearly into, wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and can adaptively change and they are arranged in one or more equipment different with this embodiment the module in the equipment among the embodiment.Can become a module or unit or assembly to the module among the embodiment or unit or combination of components, and can be divided into a plurality of submodules or subelement or sub-component to them in addition.In such feature and/or process or unit at least some are mutually repelling, and can adopt any combination to disclosed all features in this instructions (comprising claim, summary and the accompanying drawing followed) and so all processes or the unit of disclosed any method or equipment make up.Unless clearly statement in addition, disclosed each feature can be by providing identical, being equal to or the alternative features of similar purpose replaces in this instructions (comprising claim, summary and the accompanying drawing followed).
In addition, those skilled in the art can understand, although embodiment more described herein comprise some feature rather than further feature included among other embodiment, the combination of features of different embodiment means and is within the scope of the present invention and forms different embodiment.For example, in the following claims, the one of any of embodiment required for protection can be used with array mode arbitrarily.
Each parts embodiment of the present invention can realize with hardware, perhaps realizes with the software module of moving at one or more processor, and perhaps the combination with them realizes.It will be understood by those of skill in the art that and to use microprocessor or digital signal processor (DSP) to realize showing some or all some or repertoire of parts in the device of related mark point according to the embodiment of the invention in electronic map interface in practice.The present invention can also be embodied as for part or all equipment or the device program (for example, computer program and computer program) of carrying out method as described herein.Such realization program of the present invention can be stored on the computer-readable medium, perhaps can have the form of one or more signal.Such signal can be downloaded from internet website and obtain, and perhaps provides at carrier signal, perhaps provides with any other form.
It should be noted above-described embodiment the present invention will be described rather than limit the invention, and those skilled in the art can design alternative embodiment under the situation of the scope that does not break away from claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and is not listed in element or step in the claim.Being positioned at word " " before the element or " one " does not get rid of and has a plurality of such elements.The present invention can realize by means of the hardware that includes some different elements and by means of the computing machine of suitably programming.In having enumerated the unit claim of some devices, several in these devices can be to come imbody by same hardware branch.Any order is not represented in the use of word first, second and C grade.Can be title with these word explanations.