The method and apparatus showing association mark point in electronic map interface
The application be Application No. 201310217909.8, filing date on June 3rd, 2013,
Sending out of invention entitled " method and apparatus showing association mark point in electronic map interface "
The divisional application of bright application.
Technical field
The present invention relates to internet arena, be specifically related to one in electronic map interface, show pass
The method and apparatus of connection mark point.
Background technology
At present, electronic chart has been able to provide the user POI (Point of Interest, interest
Point) function of search.When user carries out POI search by electronic chart, electronic chart client
Each POI that search can be obtained by end is to mark the form corresponding positions in electronic map interface of point
Put and be shown.In electronic chart, POI can be a bank, retail shop,
One school, a bus station etc..
After showing mark point on map interface, user can find institute in the mark point of display
The particular location of POI to be searched.And when user moves the cursor on a certain mark point,
This mark point can be lit, it is simple to user knows currently selected POI.
Such as, when the key word that certain user searches in electronic chart is " bank ", client can be
On map interface, all POI about " bank " in sector of search (such as industrial and commercial bank, are built silver
Row, Minsheng bank etc.) represent to user with the form of mark point.Wherein, each mark institute
The meaning represented is for independent, and the most each mark point represents a bank business point.When with
When cursor is moved to certain mark point by family, this mark point is lit and shows identified Bank Name
Information such as (such as Zhichun Road branches of the Industrial and Commercial Bank of China), specifically can be found in the electronics shown in Fig. 1
The schematic diagram of mark point is lighted on map interface.It is visible by Fig. 1, if user wants to check week
The bank (such as industrial and commercial bank) that limit is identical with this bank infrastructure type, then need to click on mark one by one
Point can know the bank that each mark point is identified.
In summary, in prior art, when user wants to search facility in electronic map interface
During the identical POI of type, need in numerous mark points, click on each mark point one by one and just can look into
Find the POI that establishment type is identical, thus cause the search efficiency of user low, and Consumer's Experience is relatively
Difference.
Summary of the invention
In view of the above problems, the present invention provides and shows association mark point in a kind of electronic map interface
Method and apparatus, in order to overcome the problems referred to above or solve the problems referred to above at least in part.
According to one aspect of the present invention, it is provided that show association mark in a kind of electronic map interface
The method of note point, the method includes:
Determine the establishment type belonging to POI data that the mark point that user currently selects is identified;
In the range of the adjustable region of electronic map interface, obtain wherein type and select with user
Mark the POI relation integration that the identical each POI data of the establishment type corresponding to point is formed;
In electronic map interface, highlight each POI data institute in POI relation integration each
Self-corresponding mark point.
Optionally, the establishment type belonging to POI data passes through establishment type code record at POI
In the POI of data;
Correspondingly, setting belonging to the POI data that the mark point that active user selects is identified is determined
Execute type, including:
Obtain the POI marking the POI data that point is identified that user currently selects;
In POI, search establishment type code, determine belonging to the POI data that user selects
Establishment type.
Optionally, the acquisition methods of POI relation integration, including:
The establishment type marking the POI data put at least including that user selects is sent to data base
The range searching request of code and mark dot position information, wherein, searches with mark in data base
In the range of note dot position information is as the adjustable region at center, the POI data selected with user
The identical POI data of establishment type code, and each POI data composition POI that lookup is obtained
Relation integration;
Obtaining the POI relation integration returned from data base, wherein, POI relation integration includes
Each POI.
Optionally, adjustable region scope includes the mark point position currently selected with user
Centered by, the border circular areas with adjustable distance as radius.
Optionally, highlight mark point mode at least include following any one: amplify,
Change color, change shape, change dynamic effect.
According to one aspect of the present invention, it is provided that show association mark in a kind of electronic map interface
The device of note point, this device includes:
User's input interface, is configured to receive the instruction of the mark point that user currently selects;
Type determiner, is configured to determine that the mark point that user currently selects is identified according to instruction
The establishment type belonging to POI data;
Set getter, is configured in the range of the adjustable region of electronic map interface, obtains
Wherein type selects each POI data institute group that the establishment type corresponding to mark point is identical with user
The POI relation integration become;
Annotation displayer, is configured in electronic map interface, highlights in POI set
The each self-corresponding mark point of each POI data.
Optionally, the establishment type belonging to POI data passes through establishment type code record at POI
In the POI of data;
The above-mentioned type determiner is further configured to obtain the mark point that currently selects of user and is identified
The POI of POI data;And
In POI, search establishment type code, determine belonging to the POI data that user selects
Establishment type.
Optionally, above-mentioned set getter farther includes:
Data transmission interface, is configured to send to data base at least include the mark point that user selects
POI data establishment type code and mark dot position information range searching request, wherein,
Data base searches mark dot position information as in the range of the adjustable region at center, with
The POI data that the establishment type code of POI data that user selects is identical, and lookup is obtained
Each POI data composition POI relation integration;
Data receiver interface, be configured to obtain from data base return POI relation integration, wherein,
POI relation integration includes each POI.
Optionally, adjustable region scope includes the mark point position currently selected with user
Centered by, the border circular areas with adjustable distance as radius.
Optionally, above-mentioned annotation displayer highlight mark point mode at least include following
Meaning one:
Amplify, change color, change shape, change dynamic effect.
The invention provides method and the dress showing association mark point in a kind of electronic map interface
Put.By the present invention, when user selects any one the mark point on map interface, client
End can obtain the establishment type of the POI data that this mark point is identified, and is looked into by data base
Look for, with this POI data, there is the POI data of same facility type, and then these POI will be identified
The mark point of data highlights.Method and apparatus that is visible, that provided by the present invention,
Allow users to the mark by highlighting on electronic chart and put directional search rapidly and accurately
Target POI, facilitates user to carry out POI lookup, improves search efficiency, improve user's body
Test.
Described above is only the general introduction of technical solution of the present invention, in order to better understand this
Bright technological means, and can be practiced according to the content of description, and in order to allow the present invention
Above and other objects, features and advantages can become apparent, below especially exemplified by the present invention's
Detailed description of the invention.
Accompanying drawing explanation
By reading the detailed description of hereafter preferred implementation, various other advantage and benefit
Those of ordinary skill in the art be will be clear from understanding.Accompanying drawing is only used for illustrating and is preferable to carry out
The purpose of mode, and it is not considered as limitation of the present invention.And in whole accompanying drawing, use
Identical reference marks represents identical parts.In the accompanying drawings:
Fig. 1 shows a kind of schematic diagram lighting mark point in electronic map interface;
Fig. 2 shows a kind of according to an embodiment of the invention display in electronic map interface
The method flow diagram of association mark point;
Fig. 3 shows a kind of in accordance with another embodiment of the present invention aobvious in electronic map interface
Show the method flow diagram of association mark point;
Fig. 4 shows after highlighting mark point according to an embodiment of the invention
Effect schematic diagram;
Fig. 5 shows before highlighting mark point according to an embodiment of the invention
Schematic diagram;And
Fig. 6 shows a kind of according to an embodiment of the invention display in electronic map interface
The device block diagram of association mark point.
Detailed description of the invention
It is more fully described the exemplary embodiment of the disclosure below with reference to accompanying drawings.Although accompanying drawing
In illustrate the exemplary embodiment of the disclosure, it being understood, however, that can be real in a variety of manners
Show the disclosure and should not limited by embodiments set forth here.On the contrary, it is provided that these are implemented
Example is able to thoroughly understand the disclosure, and can be by biography complete for the scope of the present disclosure
Reach to those skilled in the art.
Embodiment one
Embodiments provide a kind of side showing association mark point in electronic map interface
Method.The method is to supporting that the client showing association mark point on electronic chart is improved.
Such as, the client in the present embodiment can be PC (Personal Computer, individual calculus
Machine), mobile phone, the subscriber terminal equipment such as HPC.
Fig. 2 shows that the one according to one embodiment of the invention offer is in electronic map interface
The method flow diagram of display association mark point, the method comprising the steps of S202 to S206.
S202, determines the facility belonging to POI data that the mark point that user currently selects is identified
Type.
S204, in the range of the adjustable region of electronic map interface, obtains wherein type and use
Family selects the POI association that each POI data that the establishment type corresponding to mark point is identical is formed
Set.
S206, in electronic map interface, highlights each POI number in POI relation integration
According to each self-corresponding mark point.
Embodiments provide a kind of side showing association mark point in electronic map interface
Method.With it, when user selects any one the mark point on map interface, client
End can obtain the establishment type of the POI data that this mark point is identified, and is looked into by data base
Look for, with this POI data, there is the POI data of same facility type, and then these POI will be identified
The mark point of data highlights.Method that is visible, that provided by the present embodiment so that
User can put directional search target rapidly and accurately by the mark highlighted on electronic chart
POI, facilitates user to carry out POI lookup, improves search efficiency, improve Consumer's Experience.
Embodiment two
The present embodiment is a kind of concrete application scenarios of above-described embodiment one, by the present embodiment,
Can clearer, specifically illustrate method provided by the present invention.
Fig. 3 shows that the one according to one embodiment of the invention offer is in electronic map interface
The method flow diagram of display association mark point.The method specifically includes step S301 to 306.
S301, client obtains the mark point that user currently selects on electronic chart.
In the present embodiment, on the electronic chart showing some marks point, user can be by light
Mark moves at mark to be selected point, and now, this mark point is acquired in client
The mark point that user currently selects.
Client, after obtaining the point of the mark selected by user, performs step S302, i.e. obtains
The establishment type belonging to POI data that this mark point is identified.
It should be noted that in the present embodiment, the POI marked in electronic chart is concrete
Geographical position, and by POI data (namely the title in the geographical position pointed by this POI)
It is indicated, such as, can be " Zhichun Road subbranch of Bank of Beijing ", " Beijing Medical University
Three hospitals " etc..
Optionally, step S302 specifically can be accomplished in that
First, client obtains the POI of the POI data that this mark point is identified.
It should be noted that before step S301, client when being labeled a some display
Through having got the POI of each POI data corresponding with shown mark point.Wherein,
POI in the present embodiment at least includes positional information and establishment type code.Such as,
For " Zhichun Road subbranch of Bank of Beijing " this POI, its POI then includes Bank of Beijing
The longitude and latitude of Zhichun Road subbranch and the type code of Bank of Beijing.
Secondly, client searches establishment type code in POI, determines this POI data
Affiliated establishment type.
In the present embodiment, POI arranges a specific fields, i.e. type identification typeId
Field, for storage facility type code, wherein, establishment type code is used for representing POI number
According to affiliated establishment type.For the ease of management and differentiation, respectively every kind different facility class
Type arranges a specific establishment type code.And according to the establishment type belonging to POI data by spy
Fixed establishment type code writes in the typeId field of its POI.Such as, when POI number
When being " industrial and commercial bank " according to affiliated establishment type, its establishment type code could be arranged to
" b000001 ", when the establishment type belonging to POI data is " KFC ", its facility class
Type code could be arranged to " f000001 ".
Client, after obtaining the establishment type belonging to the POI data selected by user, performs
Step S303, i.e. to data base sending zone searching request, in the range of obtaining adjustable region
Establishment type selects each POI data that the establishment type corresponding to mark point is identical with user.
In the present embodiment, data base is positioned in the opposite end server of client.Range searching is asked
In at least include establishment type code and the position letter of mark point that mark point that user selects is corresponding
Breath.Optionally, positional information at least includes the current city title shown by electronic chart and
The position coordinates of mark point.
Data base, after receiving range searching request, performs step S304, i.e. database root evidence
Range searching request is searched identical with the establishment type code received in the range of adjustable region
POI data, and each POI data composition POI relation integration that lookup is obtained.
In the present embodiment, data base, can be by such as lower section after receiving range searching request
Formula acquisition POI relation integration:
First, reading area searching request obtain the position of wherein included POI data and sit
Mark and establishment type code.
Secondly, centered by the position coordinates by mark point, the circle with adjustable distance as radius
Read the content of typeId field in the POI of each POI data in region respectively, obtain
Establishment type code.
In the present embodiment, data base saves the POI of each POI data, the most such as
Shown in table one.
Table one
It should be noted that in the present embodiment, in order to adapt to showing of client display screen
Scope, optionally, can be chosen for adjustable distance 2km, the most moderately decrease number simultaneously
Search pressure according to storehouse.
Again, respectively by the establishment type of the establishment type code in each POI Yu reception
Code contrasts, and all contrasts successful establishment type code institute in obtaining adjustable region
The POI data represented, and formed POI relation integration.Wherein, in POI relation integration
Include the POI of each POI data.
Data base, after getting POI relation integration, performs step S305, will POI association
Set is sent to client.
After client receives POI relation integration, perform step S306, i.e. at electronic chart
On interface, highlight each self-corresponding mark point of each POI data in POI relation integration.
In the present embodiment, client reads each POI data in POI relation integration respectively
Positional information, and the mark point on relevant position in electronic chart is highlighted.
It should be noted that for convenience user's mark point to highlighting with do not highlight
Mark point make a distinction, mark point can be carried out by client by least one mode following
Highlight: amplify, change color, change shape, change dynamic effect.In the present embodiment,
As a example by an exaggerated way, being highlighted mark point, concrete effect is as shown in Figure 4.
In order to be shown more clearly by the point of the mark after highlighting, the present embodiment additionally provides mark
Note the schematic diagram before point highlights, i.e. Fig. 5.It is visible by the contrast of Fig. 4 Yu Fig. 5,
The mark point highlighted enables to have phase in user checks somewhere more rapidly and accurately
POI data with establishment type.
Embodiments provide a kind of side showing association mark point in electronic map interface
Method.With it, when user selects any one the mark point on map interface, client
End can obtain the establishment type of the POI data that this mark point is identified, and is looked into by data base
Look for, with this POI data, there is the POI data of same facility type, and then these POI will be identified
The mark point of data highlights.Method that is visible, that provided by the present embodiment so that
User can put directional search target rapidly and accurately by the mark highlighted on electronic chart
POI, facilitates user to carry out POI lookup, improves search efficiency, improve Consumer's Experience.
Embodiment three
Fig. 6 shows that the one according to one embodiment of the invention offer is in electronic map interface
The device block diagram of display association mark point.This device 600 includes:
User's input interface 610, is configured to receive the instruction of the mark point that user currently selects;
Type determiner 620, is coupled with above-mentioned user's input interface 610, is configured to according to finger
Show the establishment type belonging to POI data determining that the mark point that user currently selects is identified;
Set getter 630, is coupled with the above-mentioned type determiner 620, is configured to electronically
In the range of the adjustable region at figure interface, obtain wherein type and user and select mark point corresponding
The POI relation integration that formed of the identical each POI data of establishment type;
Annotation displayer 640, is coupled with above-mentioned set getter 630, is configured to electronically
On figure interface, highlight each self-corresponding mark point of each POI data in POI set.
Optionally, the establishment type belonging to POI data passes through establishment type code record at POI
In the POI of data;
Type determiner 620 is further configured to obtain the mark point that currently selects of user and is identified
The POI of POI data;And
In POI, search establishment type code, determine belonging to the POI data that user selects
Establishment type.
Optionally, set getter 630 farther includes:
Data transmission interface 631, is configured to send to data base 800 at least include what user selected
The establishment type code of the POI data of mark point and the range searching request of mark dot position information,
Wherein, search to mark the dot position information adjustable region as center in data base 800
In the range of, the POI data identical with the establishment type code of the POI data that user selects, and
Each POI data composition POI relation integration that lookup is obtained;
Data receiver interface 632, is configured to obtain the POI relation integration returned from data base 800,
Wherein, POI relation integration includes each POI.
Optionally, adjustable region scope includes the mark point position currently selected with user
Centered by, the border circular areas with adjustable distance as radius.
Optionally, annotation displayer 640 highlight mark point mode at least include following
Meaning one:
Amplify, change color, change shape, change dynamic effect.
Embodiments provide a kind of dress showing association mark point in electronic map interface
Put.By this device, when user selects any one the mark point on map interface, client
End can obtain the establishment type of the POI data that this mark point is identified, and is looked into by data base
Look for, with this POI data, there is the POI data of same facility type, and then these POI will be identified
The mark point of data highlights.Device that is visible, that provided by the present embodiment so that
User can put directional search target rapidly and accurately by the mark highlighted on electronic chart
POI, facilitates user to carry out POI lookup, improves search efficiency, improve Consumer's Experience
Provided herein algorithm and show not with any certain computer, virtual system or other
Equipment is intrinsic relevant.Various general-purpose systems can also be used together with based on teaching in this.Root
According to above description, construct the structure required by this kind of system and be apparent from.Additionally, this
Invention is also not for any certain programmed language.It is understood that, it is possible to use various programming languages
Realize the content of invention described herein, and the description above language-specific done be for
Disclose the preferred forms of the present invention.
In description mentioned herein, illustrate a large amount of detail.But, it is possible to reason
Solving, embodiments of the invention can be put into practice in the case of not having these details.At some
In example, it is not shown specifically known method, structure and technology, in order to not fuzzy to this theory
The understanding of bright book.
Similarly, it will be appreciated that in order to simplify the disclosure and help to understand in each inventive aspect
One or more, above in the description of the exemplary embodiment of the present invention, the present invention's
Each feature is grouped together in single embodiment, figure or descriptions thereof sometimes.So
And, should not be construed to reflect an intention that the most required for protection by the method for the disclosure
Invention requires than the more feature of feature being expressly recited in each claim.More precisely
Ground says, as the following claims reflect as, inventive aspect be less than above public affairs
All features of the single embodiment opened.Therefore, it then follows claims of detailed description of the invention
Thus being expressly incorporated in this detailed description of the invention, the most each claim itself is as this
Bright independent embodiment.
Those skilled in the art are appreciated that can be to the module in the equipment in embodiment
Adaptively change and they be arranged on different from this embodiment one or more
In equipment.Module in embodiment or unit or assembly can be combined into a module or unit
Or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Remove
Outside at least some in such feature and/or process or unit excludes each other, permissible
Use any combination to public in this specification (including adjoint claim, summary and accompanying drawing)
All features of opening and the disclosedest any method or all processes of equipment or unit are entered
Row combination.Unless expressly stated otherwise, this specification (includes adjoint claim, summary
With accompanying drawing) disclosed in each feature can by provide identical, equivalent or the replacement of similar purpose
Feature replaces.
Although additionally, it will be appreciated by those of skill in the art that embodiments more described herein
Including some feature included in other embodiments rather than further feature, but different enforcement
The combination of the feature of example means to be within the scope of the present invention and formed different enforcement
Example.Such as, in the following claims, embodiment required for protection one of arbitrarily
Can mode use in any combination.
The all parts embodiment of the present invention can realize with hardware, or with at one or many
The software module run on individual processor realizes, or realizes with combinations thereof.This area
It will be appreciated by the skilled person that microprocessor or digital signal processor can be used in practice
(DSP) realize according to embodiments of the present invention show in electronic map interface association mark point
Device in the some or all functions of some or all parts.The present invention can also be real
Now for part or all equipment or the device journey for performing method as described herein
Sequence (such as, computer program and computer program).Such journey realizing the present invention
Sequence can store on a computer-readable medium, or can have one or more signal
Form.Such signal can be downloaded from internet website and obtain, or on carrier signal
There is provided, or provide with any other form.
The present invention will be described rather than carries out the present invention to it should be noted above-described embodiment
Limit, and those skilled in the art without departing from the scope of the appended claims may be used
Design alternative embodiment.In the claims, any reference between bracket should not will be located in
Symbol construction becomes limitations on claims.Word " comprises " not exclude the presence of and is not listed in claim
In element or step.Word "a" or "an" before being positioned at element do not exclude the presence of multiple this
The element of sample.The present invention can by means of include some different elements hardware and by means of
Properly programmed computer realizes.If in the unit claim listing equipment for drying, this
Several in a little devices can be specifically to be embodied by same hardware branch.Word first,
Second and third use do not indicate that any order.Can be title by these word explanations.