CN109460444A - Method and apparatus for output information - Google Patents

Method and apparatus for output information Download PDF

Info

Publication number
CN109460444A
CN109460444A CN201811338887.XA CN201811338887A CN109460444A CN 109460444 A CN109460444 A CN 109460444A CN 201811338887 A CN201811338887 A CN 201811338887A CN 109460444 A CN109460444 A CN 109460444A
Authority
CN
China
Prior art keywords
scale bar
point map
map
weight
point
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.)
Pending
Application number
CN201811338887.XA
Other languages
Chinese (zh)
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.)
Baidu Online Network Technology Beijing Co Ltd
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201811338887.XA priority Critical patent/CN109460444A/en
Publication of CN109460444A publication Critical patent/CN109460444A/en
Pending legal-status Critical Current

Links

Landscapes

  • Navigation (AREA)

Abstract

The embodiment of the present application discloses the method and apparatus for output information.One specific embodiment of this method includes: the characteristic information for obtaining at least one point map in presumptive area, and presumptive area is divided at least one region of search set according to scheduled scale bar set;For the point map at least one point map, the weight of the point map is determined according to the characteristic information of the point map;For the scale bar in scale bar set, the maximum point map of weight of point map in the corresponding region of search of the scale bar is determined as the point map shown under the scale bar;For the scale bar in scale bar set, the information of the point map shown under the scale bar is exported.The embodiment realizes the point map in ruler Layering manifestation map in proportion, so that showing more rationally to improve the clicking rate and conversion ratio of point map.

Description

Method and apparatus for output information
Technical field
The invention relates to electronic map technique fields, and in particular to the method and apparatus for output information.
Background technique
POI (Point of Interest, point of interest), also referred to as point map, are the data basis in GIS-Geographic Information System. To allow to clearly show POI in electronic map, in order to avoid show that all POI cause when the scale bar of electronic map is smaller There is the problem of gland phenomenon between POI.
The scheme that the relevant technologies solve is: being that POI sets different degree according to POI type belonging to POI, as POI type is excellent First grade is high, then the different degree for belonging to the POI of the POI type is big, belongs to having the same heavy between the POI of the same POI type It spends.As the different degree for the POI that POI type is government organs is higher than the POI that POI type is hotel.When being opened up in electronic map When showing POI, if electronic map scale bar is smaller, the higher POI of different degree is shown in electronic map, it is lower for different degree POI the phenomenon that not showing then, POI gland can be reduced using this kind of mode to a certain extent.But the time is long, with The variation (newly-increased, to remove, temperature tails off) of POI data causes bandwagon effect to be degenerated.
Summary of the invention
The embodiment of the present application proposes the method and apparatus for output information.
In a first aspect, the embodiment of the present application provides a kind of method for output information, comprising: obtain in presumptive area At least one point map characteristic information, and presumptive area is divided by least one according to scheduled scale bar set and is searched Rope regional ensemble;For the point map at least one point map, which is determined according to the characteristic information of the point map Weight;For the scale bar in scale bar set, maximumly by the weight of point map in the corresponding region of search of the scale bar Figure point is determined as the point map shown under the scale bar;For the scale bar in scale bar set, exports and shown under the scale bar Point map information.
In some embodiments, characteristic information includes at least one of the following: area, temperature, if overlooking, brand and class Type;And the weight of the point map is determined according to the characteristic information of the point map, it includes at least one of the following: according to the point map Characteristic information in temperature, if overlooking, brand, type determine the temperature weight of the point map;According to the spy of the point map Area in reference breath, temperature, type determine the comprehensive weight of the point map;According to the face in the characteristic information of the point map Long-pending, the point map total amount in type presumptive area determines the area weight of the point map.
In some embodiments, the maximum point map of the weight of point map in the corresponding region of search of the scale bar is determined For the point map shown under the scale bar, comprising: for being greater than the scale bar of predetermined ratio value in scale bar set, by the ratio The maximum point map of temperature weight of point map is determined as the point map shown under the scale bar in the corresponding region of search of ruler.
In some embodiments, the maximum point map of the weight of point map in the corresponding region of search of the scale bar is determined For the point map shown under the scale bar, comprising: for being less than or equal to the scale bar of predetermined ratio value in scale bar set, by this The maximum point map of comprehensive weight of point map is determined as the map shown under the scale bar in the corresponding region of search of scale bar Point.
In some embodiments, the scale bar in scale bar set is corresponding with preset level;And by the scale bar The maximum point map of the weight of point map is determined as the point map shown under the scale bar in corresponding region of search, comprising: right In scale bar set be less than or equal to predetermined ratio value scale bar, by the corresponding region of search of the scale bar point map it is comprehensive Weight maximum is closed, and the area weight of point map is true greater than the point map of the area weight threshold value of the corresponding level of the scale bar It is set to the point map shown under the scale bar.
In some embodiments, this method determines the face of the corresponding level of the scale bar in target area by following steps Product weight threshold: candidate point map quantity and scheduled reference map point quantity under the scale bar, predetermined is obtained in target area Reference area weight threshold;In response to the small predetermined value of ratio of candidate point map quantity and reference map point quantity, by benchmark The ratio of point map quantity and candidate point map quantity is determined as adjusting multiple, based on adjustment multiple and reference area weight threshold Determine the area weight threshold value of the corresponding level of the scale bar in target area;In response to candidate point map quantity and reference map The ratio of point quantity is more than or equal to predetermined value, and reference area weight threshold is determined as the corresponding layer of the scale bar in target area The area weight threshold value of grade.
Second aspect, the embodiment of the present application provide a kind of device for output information, comprising: acquiring unit is matched It is set to the characteristic information for obtaining at least one point map in presumptive area, and according to scheduled scale bar set by fate Domain is divided at least one region of search set;First determination unit is configured to for the map at least one point map Point determines the weight of the point map according to the characteristic information of the point map;Second determination unit is configured to for scale bar collection The maximum point map of weight of point map in the corresponding region of search of the scale bar is determined as the scale bar by the scale bar in conjunction The point map of lower display;Output unit, be configured to for the scale bar in scale bar set, exports and shows under the scale bar The information of point map.
In some embodiments, characteristic information includes at least one of the following: area, temperature, if overlooking, brand and class Type;And first determination unit be further configured to: according to the temperature in the characteristic information of the point map, if overlooking, product Board, type determine the temperature weight of the point map;According to the area in the characteristic information of the point map, temperature, type determines should The comprehensive weight of point map;According to the area in the characteristic information of the point map, the point map total amount in type presumptive area is true The area weight of the fixed point map.
In some embodiments, the second determination unit is further configured to: for being greater than predetermined ratio in scale bar set The scale bar of example value, is determined as the ratio for the maximum point map of temperature weight of point map in the corresponding region of search of the scale bar The point map shown under example ruler.
In some embodiments, the second determination unit is further configured to: pre- for being less than or equal in scale bar set The maximum point map of comprehensive weight of point map in the corresponding region of search of the scale bar is determined as by the scale bar of certainty ratio value The point map shown under the scale bar.
In some embodiments, the scale bar in scale bar set is corresponding with preset level;And second determine it is single Member is further configured to: the scale bar for being less than or equal to predetermined ratio value in scale bar set, and the scale bar is corresponding The comprehensive weight of point map is maximum in region of search, and the area weight of point map is greater than the face of the corresponding level of the scale bar The point map of product weight threshold is determined as the point map shown under the scale bar.
In some embodiments, which further includes third determination unit, is configured to: obtaining the ratio in target area Candidate point map quantity and scheduled reference map point quantity, scheduled reference area weight threshold under ruler;In response to candidate ground The small predetermined value of ratio of figure point quantity and reference map point quantity, by the ratio of reference map point quantity and candidate point map quantity It is determined as adjusting multiple, the corresponding level of the scale bar in target area is determined based on adjustment multiple and reference area weight threshold Area weight threshold value;It is more than or equal to predetermined value in response to the ratio of candidate point map quantity and reference map point quantity, by base Quasi- area weight threshold value is determined as the area weight threshold value of the corresponding level of the scale bar in target area.
The third aspect, the embodiment of the present application provide a kind of electronic equipment, comprising: one or more processors;Storage dress Set, be stored thereon with one or more programs, when one or more programs are executed by one or more processors so that one or Multiple processors are realized such as method any in first aspect.
Fourth aspect, the embodiment of the present application provide a kind of computer-readable medium, are stored thereon with computer program, In, it realizes when program is executed by processor such as method any in first aspect.
Method and apparatus provided by the embodiments of the present application for output information, the power of POI is determined by the feature of POI Weight, then according to the weight of POI, to POI, ruler carries out Layering manifestation in proportion.So that map shows more reasonable, raising The clicking rate and conversion ratio of POI.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is that one embodiment of the application can be applied to exemplary system architecture figure therein;
Fig. 2 is the flow chart according to one embodiment of the method for output information of the application;
Fig. 3 a, 3b are the schematic diagrames according to an application scenarios of the method for output information of the application;
Fig. 4 is the flow chart according to another embodiment of the method for output information of the application;
Fig. 5 is the structural schematic diagram according to one embodiment of the device for output information of the application;
Fig. 6 is adapted for the structural schematic diagram for the computer system for realizing the electronic equipment of the embodiment of the present application.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to Convenient for description, part relevant to related invention is illustrated only in attached drawing.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 is shown can be using the method for output information of the application or the implementation of the device for output information The exemplary system architecture 100 of example.
As shown in Figure 1, system architecture 100 may include terminal device 101,102,103, network 104 and server 105. Network 104 between terminal device 101,102,103 and server 105 to provide the medium of communication link.Network 104 can be with Including various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be used terminal device 101,102,103 and be interacted by network 104 with server 105, to receive or send out Send message etc..Various telecommunication customer end applications, such as map class application, net can be installed on terminal device 101,102,103 The application of page browsing device, shopping class application, searching class application, instant messaging tools, mailbox client, social platform software etc..
Terminal device 101,102,103 can be hardware, be also possible to software.When terminal device 101,102,103 is hard When part, the various electronic equipments of map view, including but not limited to smart phone, plate are can be with display screen and supported Computer, E-book reader, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic Image expert's compression standard audio level 3), MP4 (Moving Picture Experts Group Audio Layer IV, move State image expert's compression standard audio level 4) player, pocket computer on knee and desktop computer etc..When terminal is set Standby 101,102,103 when being software, may be mounted in above-mentioned cited electronic equipment.Its may be implemented into multiple softwares or Software module (such as providing Distributed Services), also may be implemented into single software or software module.It does not do herein specific It limits.
Server 105 can be to provide the server of various services, such as to showing on terminal device 101,102,103 Map provides the backstage map server supported.Backstage map server can to receive map inquiry request etc. data into The processing such as row analysis, and processing result (such as point map of Layering manifestation) is fed back into terminal device.
It should be noted that server can be hardware, it is also possible to software.When server is hardware, may be implemented At the distributed server cluster that multiple servers form, individual server also may be implemented into.It, can when server is software It, can also be with to be implemented as multiple softwares or software module (such as providing multiple softwares of Distributed Services or software module) It is implemented as single software or software module.It is not specifically limited herein.
It should be noted that the method provided by the embodiment of the present application for output information is generally held by server 105 Row, correspondingly, the device for output information is generally positioned in server 105.
It should be understood that the number of terminal device, network and server in Fig. 1 is only schematical.According to realization need It wants, can have any number of terminal device, network and server.
With continued reference to Fig. 2, the process of one embodiment of the method for output information according to the application is shown 200.This is used for the method for output information, comprising the following steps:
Step 201, the characteristic information of at least one point map in presumptive area is obtained, and according to scheduled scale bar Presumptive area is divided at least one region of search set by set.
In the present embodiment, can lead to for the executing subject of the method for output information (such as server shown in FIG. 1) Wired connection mode or radio connection are crossed from least one point map in third-party server acquisition presumptive area Characteristic information.Presumptive area can be city, province, a country etc..Characteristic information may include but be not limited to following at least one : area, temperature, if overlooking, brand and type.Temperature can be the retrieval amount in predetermined period, click volume.Overlooking finger It is POI whether on kerbside, if it is, can be identified with 1.If not can then be identified with 0.Brand can with 1 come Mark is famous brand, and 0 is non-famous brand.Map can be zoomed in and out according to scale bar, and the POI shown under different scale bars is different.It can Presumptive area different regions of search will be divided into according to different scale to gather.Each scale bar can correspond to a field of search Domain set.Scale bar is bigger, then region of search is smaller.For example, the scale bar of 1cm:5m, region of search can be that radius is 5m circle Region.Region of search can be determined by R tree.R tree is the tree data structure for doing GML data storage.Such as to geographical position It sets, rectangle and this kind of multidimensional data of polygon establish index.
The demand for the POI that ratio each on map base map is shown is as follows:
Table 1
Here level refers to the display level of POI.For example, it can be in 19- if the level of some POI is 19 21 layers of display, and cannot be shown in the layer less than 18.
Base map generally refers in drawing course, is placed on the bottommost of multiple figure layers.Constitute the basic framework of the base map.Have After base map, so that it may element, that is, data set associated therewith be carried out in the form of figure layer orderly be superimposed upon on base map.
The POI data type of base map is complicated, shows that the principle of POI is in low scale bar to recognize city as mesh on base map , it should preferentially show airport, railway station, city terrestrial reference, the POI such as large-scale scenic spot, with positioning and city spy under large scale For the purpose of rope, popular POI should be shown, be clear to POI, brand class POI, POI at the front etc..It should be different in urban district and suburb Exhibition strategy, prevent suburb large area from there is no the case where POI.Identical power cannot be used for a line city and four line cities Recomputation strategy avoids under certain scale bars POI excessively intensive or excessively sparse problem etc..
Step 202, for the point map at least one point map, which is determined according to the characteristic information of the point map The weight of point.
In the present embodiment, the characteristic information of POI includes but is not limited to area, and temperature is overlooking, brand, type.Type can Including housing type (for example, apartment, residential area etc.), place function type (for example, hospital, supermarket etc.), colleges and universities' type (example Such as 985,211, high official rank).3 class weights can be calculated according to these features, are area weight area_rank, temperature power respectively Weight query_rank, comprehensive weight all_rank.Wherein area_rank is relative value.Query_rank can face according to temperature Street, brand calculate.All_rank is then that according to area, temperature is overlooking, and brand calculates.
It can be pre-processed before calculating weight.For example, it is too small (such as being no more than 2 retrievals weekly) to filter out temperature POI.The POI excessive to temperature can be smoothed, such as open radical sign, take logarithm etc..
It can conduct normalized after weight calculation, [0,10000] arrived into the standardization of calculated weight.
For the POI not being filtered, weight can be determined as follows:
1, according to the temperature in the characteristic information of the POI, if overlooking, brand, type determine the temperature weight of the POI.
Hot_rank=k* (q)+l*k1+b*k2
Wherein, hot_rank indicates temperature weight, and k indicates to adjust weight parameter, and q indicates hot value, and k1 indicates that overlooking data add Weight, l indicate whether overlooking, and k2 indicates branding data weighted value, and b indicates whether it is famous brand.
Then [0,10000] is arrived into hot_rank standardization.
2, according to the area in the characteristic information of the POI, temperature, type determines the comprehensive weight of the POI.
All_rank=α * k* (a)+β * k* (q)
Wherein, all_rank indicates that comprehensive weight, k indicate to adjust weight parameter, and q indicates hot value, and α indicates area tune power, a table Show that area, β indicate temperature tune power.
3, according to the area in the characteristic information of the POI, the POI total amount in type presumptive area determines the area of the POI Weight.
The non-small city area_rank=k* (a)
The small city area_rank=k* (a)+k* (q)
Wherein, area_rank indicates that area weight, k indicate to adjust weight parameter, and q indicates hot value, and a indicates area.It can basis POI total amount divides small city and non-small city in region, for example, if POI total amount is greater than POI total amount threshold value (for example, 150,000), Then think to be non-small city, otherwise it is assumed that being small city.
Then [0,10000] is arrived into area_rank standardization.
The specific explanations of POI characteristic quantity in above formula are as shown in table 2:
Table 2
The effect of all types of weights is as shown in table 3:
Table 3
In some optional implementations of the present embodiment, also weight parameter can be adjusted to carry out tune power according to temperature, type etc.. Adjusting weight parameter may include temperature, type, other tune power etc..It is weighed according to temperature tune can include: the first heat degree threshold is higher than to temperature POI carry out high fever weighting, can also to temperature lower than the second heat degree threshold POI carry out low-heat drop power.It can according to type tune power Include: to drop to weigh to cell class POI, non-key university's class POI is dropped and is weighed.Other adjust power can include: brand class weighting, it is overlooking plus Power, small city tune power etc..
Step 203, for the scale bar in scale bar set, by the power of point map in the corresponding region of search of the scale bar The maximum point map of weight is determined as the point map shown under the scale bar.
In the present embodiment, bottom-up building carries out step by step from maximum ratio ruler 1cm:5m to 1cm:20km scale bar The election of POI, each scale bar elect the maximum POI of weight according to region of search.For example, in scale bar 1cm:5m, at this time For initial level 21, the circular scope of each radius 5m is interior to choose a POI, and the weight of the POI is maximum.The weight of POI is maximum It can be temperature weight maximum or comprehensive weight be maximum, can also be that the weighted sum of temperature weight and comprehensive weight is maximum.
In some optional implementations of the present embodiment, the classification of POI is the display scale ruler level of determining POI , 16 grades or more of POI is constrained by area weight area_rank.
In some optional implementations of the present embodiment, for being greater than the ratio of predetermined ratio value in scale bar set The maximum point map of temperature weight of point map in the corresponding region of search of the scale bar is determined as showing under the scale bar by ruler Point map.For example, using hot_rank to refer to as classification when being more than or equal to 17 grades (scale bar 1cm:100m~1cm:5m) Mark,
In some optional implementations of the present embodiment, for being less than or equal to predetermined ratio value in scale bar set The maximum point map of comprehensive weight of point map in the corresponding region of search of the scale bar is determined as under the scale bar by scale bar The point map of display.For example, be less than or equal to 16 grades (scale bar 1cm:20km~1cm:200m) when, use all_qurey as Graded index.One area weight threshold value can be set for every level, when the area weight of the POI of this level is greater than the level It mays be eligible to compete next level when area weight threshold value.
It is at war with classification in hierarchical policy from the highest level (such as 21) toward low level-one (such as 11).So that it is determined that going out The displayable level of POI, i.e., can show the POI under which scale bar.
Step 204, for the scale bar in scale bar set, the information of the point map shown under the scale bar is exported.
In the present embodiment, the information of point map includes but is not limited at least one of following: title, coordinate, is divided at classification Class.Displayable POI under output different scale can be layered.The way of output can be the terminal device for being output to user, may be used also To be output in storage medium.Or the POI information shown under each scale bar is sent out again when user passes through terminal searching map Give terminal.
With continued reference to Fig. 3 a, 3b, Fig. 3 a, 3b are the application scenarios according to the method for output information of the present embodiment One schematic diagram.Fig. 3 a, 3b application scenarios in, server obtains the characteristic information of about 700,000 POI in Beijing.Then root The weight of each POI is calculated according to the characteristic information of POI.As shown in Figure 3a, it when scale bar is 1cm:5m (21 layers), can be shown on map Show POI1-POI4.When scale compression is to 1cm:10m (20 layers), it can not all show POI1-POI4, need from them The maximum POI of weight is selected in the search radius of 10m as upper one layer (20 layers) displayable POI.Due to the power of POI1 The great weight in POI2, so POI1 wins, POI1 can be in upper one layer (20 layers) display.The weight of POI3 is greater than the power of POI2 Weight, so POI3 wins, POI3 can be in upper one layer (20 layers) display.The weight of POI4 is greater than the weight of POI3, so POI4 wins Out, POI4 can be in upper one layer (20 layers) display.Similarly, the weight of POI1 is greater than the weight of POI3, and the weight of POI4 is greater than POI3 Weight, scale bar be 1cm:50m when POI1 can 19 layers show.The weight of POI1 is greater than the weight of POI4, in scale bar POI1 can be shown at 18 layers when for 1cm:100m.
Left figure is the POI that existing layered mode is shown in Fig. 3 b, and right figure is what presently filed embodiment obtained POI.Wherein, POI indicated by arrow is the POI never shown in left figure in right figure.It can be seen that presently filed embodiment can More POI are shown under the premise of not influencing bandwagon effect.
The method provided by the above embodiment of the application is shown under different scale by being selected according to the weight of POI POI so that showing more rationally to improve the clicking rate and conversion ratio of point map.
With further reference to Fig. 4, it illustrates the processes 400 of another embodiment of the method for output information.The use In the process 400 of the method for output information, comprising the following steps:
Step 401, the weight of at least one point map in presumptive area is obtained, and the level of each point map is set as Initial level.
In the present embodiment, it obtains and walks for the executing subject of the method for output information (such as server shown in FIG. 1) The weight of at least one point map (i.e. POI) in rapid 202 presumptive areas determined.The level of POI in the region is set It is set to initial level, such as 21.
Step 402, R tree is constructed based at least one point map.
In the present embodiment, R tree is the tree data structure for doing GML data storage.Such as to geographical location, square Shape and this kind of multidimensional data of polygon establish index.R tree can be used to store the spatial information on map, such as restaurant address, Or be used to construct street on map, it builds, the polygon at lake edge and coastline.Then it can be answered and " be searched with it Museum within my 2 kms ", " all sections of the retrieval within my 2 kms " (and then it is shown in navigation system In) or such issues that " search (linear distance) nearest gas station ".R tree can also be used to accelerate using including great-circle distance The Nearest Neighbor Search of various distance metric modes inside.
Step 403, the point map in R tree is traversed, determines the region of search of each point map.
In the present embodiment, different levels correspond to the region of search of different scale.For example, the corresponding ratio of initial level 21 Example ruler is 1cm:5m.Scanned in the range of radius 5m.For 11 levels, then corresponding scale bar is 1cm:10km, Search radius is 10km.
Step 404, determine whether the weight of each point map is maximum in region of search.
In the present embodiment, the weight that each level is used to compare can be unified for temperature weight or comprehensive weight or temperature The weighted sum of weight and comprehensive weight.Also different weights can be selected to be compared according to different levels.For example, being less than or equal to 16 Level use comprehensive weight.Level more than or equal to 17 uses temperature weight.So that being realized during classification big Scale bar pays the utmost attention to temperature, the features such as overlooking, and small scale pays the utmost attention to area, the features such as temperature.
Step 405, the level of the maximum point map of weight in region of search is subtracted 1.
In the present embodiment, the maximum point map of weight is won in competition in region of search, can be aobvious in a upper level Show, for example, winning in 21 layers of competition, can be shown at 20 layers.The point map of competition failure cannot continue to participate in subsequent competing It strives.
Step 406, whether the level of the point map filtered out has been smallest tier.
In the present embodiment, smallest tier is uppermost one layer, can be 1 and is also possible to 11.It is corresponding if it is 11 In scale bar 1cm:10km.If having filtered out topmost one layer of point map, whole process terminates.If also non-iteration Topmost one layer is screened, then continues iteration screening.
Step 407, it is determined whether needs according to area screened by weight?
In the present embodiment, if iteration screens scheduled level, i.e., for distinguishing using temperature weight still The level of comprehensive weight, for example, 17 layers, then need the point map using area weight greater than the area weight threshold value of this layer as competing Strive 16 layers of candidate point map.If being also not up to 17 layers, step 402 is continued to execute, it is no to then follow the steps 408.
Step 408, screening is greater than the point map of area weight.
In the present embodiment, for the point map less than or equal to scheduled level (16 level), space required weight is greater than The area weight threshold value of this layer could participate in the competition of next round.That is, area is less than the point map of the area weight threshold value of this layer It will not be in the level less than or equal to 16 and show.
In some optional implementations of the present embodiment, the scale bar pair in target area is determined by following steps The area weight threshold value for the level answered:
Step 4081, candidate point map quantity and scheduled reference map are counted under the scale bar in acquisition target area Amount, scheduled reference area weight threshold.
In the present embodiment, target area can be the region different from reference area.For example, reference area is Beijing, I.e. using the area weight threshold value of each level in Pekinese as reference area weight threshold.Candidate point map is the ground in target area Figure point.The area weight threshold value of each level in other cities can be calculated.Such as seek the area weight threshold of each level of Tianjin When value, need to obtain the reference area weight threshold of the POI total amount of Tianjin and each level of reference area.
Step 4082, in response to the small predetermined value of ratio of candidate point map quantity and reference map point quantity, by benchmark The ratio of figure point quantity and candidate point map quantity is determined as adjusting multiple, true based on adjustment multiple and reference area weight threshold The area weight threshold value for the corresponding level of the scale bar in region of setting the goal.
In the present embodiment, predetermined value can be 0.7, i.e., the POI total amount of target area to be predicted is if it is less than benchmark 0.7 times of region POI total amount then needs to adjust target area according to the reference area weight threshold of each level of reference area Each level reference area weight threshold.Adjustment multiple can be the ratio of reference map point quantity and candidate point map quantity Value.
The area weight threshold value of each level of target area is calculated by following formula:
Rnew=rmax- (rmax-r) * n
Wherein, rnew is the area weight threshold value of each level of target area, and rmax is the area weight of reference area Maximum value, 10000, the r that can be standardization is reference area weight threshold, and n is adjustment multiple.
For example, the area weight threshold value of such as 10 grades of Pekinese is 9999.516
The calculated adjustment multiple n=5 in some city
The then area weight threshold value in 10 grades of this city are as follows:
10000- (10000-9999.516) * 5=9997.57
Step 4083, it is more than or equal to predetermined value in response to the ratio of candidate point map quantity and reference map point quantity, it will Reference area weight threshold is determined as the area weight threshold value of the corresponding level of the scale bar in target area.
In the present embodiment, if the ratio of the candidate point map quantity of target area and reference map point quantity is greater than etc. In predetermined value, then the reference area weight threshold of each level of reference area is directly used for target area.
Figure 4, it is seen that the method for output information compared with the corresponding embodiment of Fig. 2, in the present embodiment Process 400 embody the step of being classified according to weight to POI.Also reasonable weight threshold can be fitted for different cities Value, so that it is determined that reasonably showing level.Display level is competed by adjusting the weight of POI, so that the displaying of POI more adduction Reason.
With further reference to Fig. 5, as the realization to method shown in above-mentioned each figure, this application provides one kind for exporting letter One embodiment of the device of breath, the Installation practice is corresponding with embodiment of the method shown in Fig. 2, which can specifically answer For in various electronic equipments.
As shown in figure 5, the device 500 for output information of the present embodiment includes: acquiring unit 501, first determines list Member 502, the second determination unit 503 and output unit 504.Wherein, acquiring unit 501 is configured to obtain in presumptive area extremely The characteristic information of a few point map, and presumptive area is divided by least one field of search according to scheduled scale bar set Domain set.First determination unit 502 is configured to for the point map at least one point map, according to the feature of the point map Information determines the weight of the point map.Second determination unit 503 is configured to for the scale bar in scale bar set, by the ratio The maximum point map of weight of point map is determined as the point map shown under the scale bar in the corresponding region of search of example ruler.Output Unit 504 is configured to export the scale bar in scale bar set the information of the point map shown under the scale bar.
In the present embodiment, for the acquiring unit 501 of the device of output information 500, the first determination unit 502, second The specific processing of determination unit 503 and output unit 504 can be with reference to step 201, step 202, the step in Fig. 2 corresponding embodiment Rapid 203, step 204.
In some optional implementations of the present embodiment, characteristic information includes at least one of the following: area, temperature, It is whether overlooking, brand and type;And first determination unit 502 be further configured to: according to the characteristic information of the point map In temperature, if overlooking, brand, type determine the temperature weight of the point map;According in the characteristic information of the point map Area, temperature, type determine the comprehensive weight of the point map;According to the area in the characteristic information of the point map, type is predetermined Point map total amount in region determines the area weight of the point map.
In some optional implementations of the present embodiment, the second determination unit 503 is further configured to: for than It is greater than the scale bar of predetermined ratio value in example ruler set, most by the temperature weight of point map in the corresponding region of search of the scale bar Big point map is determined as the point map shown under the scale bar.
In some optional implementations of the present embodiment, the second determination unit 503 is further configured to: for than It is less than or equal to the scale bar of predetermined ratio value in example ruler set, by the synthetic weights of point map in the corresponding region of search of the scale bar The maximum point map of weight is determined as the point map shown under the scale bar.
In some optional implementations of the present embodiment, the scale bar in scale bar set is opposite with preset level It answers;And second determination unit 503 be further configured to: in scale bar set be less than or equal to predetermined ratio value ratio Ruler, the comprehensive weight of point map in the corresponding region of search of the scale bar is maximum, and the area weight of point map is greater than this The point map of the area weight threshold value of the corresponding level of scale bar is determined as the point map shown under the scale bar.
In some optional implementations of the present embodiment, device 500 further includes third determination unit (not shown), quilt It is configured to: obtaining in target area candidate point map quantity and scheduled reference map point quantity, scheduled base under the scale bar Quasi- area weight threshold value.In response to the small predetermined value of ratio of candidate point map quantity and reference map point quantity, by reference map The ratio of point quantity and candidate point map quantity is determined as adjusting multiple, is determined based on adjustment multiple and reference area weight threshold The area weight threshold value of the corresponding level of the scale bar in target area.It counts in response to candidate point map quantity and reference map The ratio of amount is more than or equal to predetermined value, and reference area weight threshold is determined as the corresponding level of the scale bar in target area Area weight threshold value.
Below with reference to Fig. 6, it illustrates the electronic equipment (clothes as shown in Figure 1 for being suitable for being used to realize the embodiment of the present application Be engaged in device) computer system 600 structural schematic diagram.Electronic equipment shown in Fig. 6 is only an example, should not be to the application The function and use scope of embodiment bring any restrictions.
As shown in fig. 6, computer system 600 includes central processing unit (CPU) 601, it can be read-only according to being stored in Program in memory (ROM) 602 or be loaded into the program in random access storage device (RAM) 603 from storage section 608 and Execute various movements appropriate and processing.In RAM 603, also it is stored with system 600 and operates required various programs and data. CPU 601, ROM 602 and RAM 603 are connected with each other by bus 604.Input/output (I/O) interface 605 is also connected to always Line 604.
I/O interface 605 is connected to lower component: the importation 606 including keyboard, mouse etc.;It is penetrated including such as cathode The output par, c 607 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 608 including hard disk etc.; And the communications portion 609 of the network interface card including LAN card, modem etc..Communications portion 609 via such as because The network of spy's net executes communication process.Driver 610 is also connected to I/O interface 605 as needed.Detachable media 611, such as Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 610, in order to read from thereon Computer program be mounted into storage section 608 as needed.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium On computer program, which includes the program code for method shown in execution flow chart.In such reality It applies in example, which can be downloaded and installed from network by communications portion 609, and/or from detachable media 611 are mounted.When the computer program is executed by central processing unit (CPU) 601, limited in execution the present processes Above-mentioned function.It should be noted that computer-readable medium described herein can be computer-readable signal media or Computer readable storage medium either the two any combination.Computer readable storage medium for example can be --- but Be not limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination. The more specific example of computer readable storage medium can include but is not limited to: have one or more conducting wires electrical connection, Portable computer diskette, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only deposit Reservoir (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory Part or above-mentioned any appropriate combination.In this application, computer readable storage medium, which can be, any include or stores The tangible medium of program, the program can be commanded execution system, device or device use or in connection.And In the application, computer-readable signal media may include in a base band or the data as the propagation of carrier wave a part are believed Number, wherein carrying computer-readable program code.The data-signal of this propagation can take various forms, including but not It is limited to electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer Any computer-readable medium other than readable storage medium storing program for executing, the computer-readable medium can send, propagate or transmit use In by the use of instruction execution system, device or device or program in connection.Include on computer-readable medium Program code can transmit with any suitable medium, including but not limited to: wireless, electric wire, optical cable, RF etc., Huo Zheshang Any appropriate combination stated.
The calculating of the operation for executing the application can be write with one or more programming languages or combinations thereof Machine program code, described program design language include object oriented program language-such as Java, Smalltalk, C+ +, it further include conventional procedural programming language-such as " C " language or similar programming language.Program code can Fully to execute, partly execute on the user computer on the user computer, be executed as an independent software package, Part executes on the remote computer or executes on a remote computer or server completely on the user computer for part. In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (LAN) Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service Provider is connected by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the application, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction Combination realize.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard The mode of part is realized.Described unit also can be set in the processor, for example, can be described as: a kind of processor packet Include acquiring unit, the first determination unit, the second determination unit and output unit.Wherein, the title of these units is in certain situation Under do not constitute restriction to the unit itself, for example, acquiring unit is also described as " obtaining in presumptive area at least The characteristic information of one point map, and presumptive area is divided by least one region of search according to scheduled scale bar set The unit of set ".
As on the other hand, present invention also provides a kind of computer-readable medium, which be can be Included in device described in above-described embodiment;It is also possible to individualism, and without in the supplying device.Above-mentioned calculating Machine readable medium carries one or more program, when said one or multiple programs are executed by the device, so that should Device obtains the characteristic information of at least one point map in presumptive area, and according to scheduled scale bar set by fate Domain is divided at least one region of search set;For the point map at least one point map, according to the feature of the point map Information determines the weight of the point map;For the scale bar in scale bar set, by the corresponding region of search of the scale bar The maximum point map of weight of figure point is determined as the point map shown under the scale bar;For the scale bar in scale bar set, Export the information of the point map shown under the scale bar.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art Member is it should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic Scheme, while should also cover in the case where not departing from the inventive concept, it is carried out by above-mentioned technical characteristic or its equivalent feature Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed herein Can technical characteristic replaced mutually and the technical solution that is formed.

Claims (14)

1. a kind of method for output information, comprising:
The characteristic information of at least one point map in presumptive area is obtained, and will be described pre- according to scheduled scale bar set Region division is determined at least one region of search set;
For the point map at least one described point map, the power of the point map is determined according to the characteristic information of the point map Weight;
It is for the scale bar in the scale bar set, the weight of point map in the corresponding region of search of the scale bar is maximum Point map is determined as the point map shown under the scale bar;
For the scale bar in the scale bar set, the information of the point map shown under the scale bar is exported.
2. temperature is according to the method described in claim 1, wherein, the characteristic information includes at least one of the following: area It is no overlooking, brand and type;And
The characteristic information according to the point map determines the weight of the point map, includes at least one of the following:
According to the temperature in the characteristic information of the point map, if overlooking, brand, type determine the temperature weight of the point map;
According to the area in the characteristic information of the point map, temperature, type determines the comprehensive weight of the point map;
According to the area in the characteristic information of the point map, the point map total amount in presumptive area described in type determines the point map Area weight.
3. according to the method described in claim 2, wherein, the weight by point map in the corresponding region of search of the scale bar Maximum point map is determined as the point map shown under the scale bar, comprising:
For being greater than the scale bar of predetermined ratio value in the scale bar set, by map in the corresponding region of search of the scale bar The maximum point map of temperature weight of point is determined as the point map shown under the scale bar.
4. according to the method described in claim 2, wherein, the weight by point map in the corresponding region of search of the scale bar Maximum point map is determined as the point map shown under the scale bar, comprising:
It, will be in the corresponding region of search of the scale bar for being less than or equal to the scale bar of predetermined ratio value in the scale bar set The maximum point map of the comprehensive weight of point map is determined as the point map shown under the scale bar.
5. according to the method described in claim 2, wherein, the scale bar in the scale bar set is opposite with preset level It answers;And
The maximum point map of weight by point map in the corresponding region of search of the scale bar is determined as showing under the scale bar The point map shown, comprising:
It, will be in the corresponding region of search of the scale bar for being less than or equal to the scale bar of predetermined ratio value in the scale bar set The comprehensive weight of point map is maximum, and the area weight of point map is greater than the area weight threshold value of the corresponding level of the scale bar Point map be determined as the point map shown under the scale bar.
6. according to the method described in claim 5, wherein, the method determines the scale bar in target area by following steps The area weight threshold value of corresponding level:
Obtain in the target area candidate point map quantity and scheduled reference map point quantity, scheduled base under the scale bar Quasi- area weight threshold value;
In response to the small predetermined value of ratio of candidate the point map quantity and the reference map point quantity, by the reference map The ratio of point quantity and the candidate point map quantity is determined as adjusting multiple, is based on the adjustment multiple and the reference area Weight threshold determines the area weight threshold value of the corresponding level of the scale bar in the target area;
It is more than or equal to the predetermined value in response to the ratio of the candidate point map quantity and the reference map point quantity, by institute State the area weight threshold value that reference area weight threshold is determined as the corresponding level of the scale bar in the target area.
7. a kind of device for output information, comprising:
Acquiring unit is configured to obtain the characteristic information of at least one point map in presumptive area, and according to scheduled The presumptive area is divided at least one region of search set by scale bar set;
First determination unit is configured to for the point map at least one described point map, according to the feature of the point map Information determines the weight of the point map;
Second determination unit is configured to for the scale bar in the scale bar set, by the corresponding field of search of the scale bar The maximum point map of the weight of point map is determined as the point map shown under the scale bar in domain;
Output unit is configured to export the point map shown under the scale bar for the scale bar in the scale bar set Information.
8. device according to claim 7, wherein the characteristic information includes at least one of the following: area, and temperature is It is no overlooking, brand and type;And
First determination unit is further configured to:
According to the temperature in the characteristic information of the point map, if overlooking, brand, type determine the temperature weight of the point map;
According to the area in the characteristic information of the point map, temperature, type determines the comprehensive weight of the point map;
According to the area in the characteristic information of the point map, the point map total amount in presumptive area described in type determines the point map Area weight.
9. device according to claim 8, wherein second determination unit is further configured to:
For being greater than the scale bar of predetermined ratio value in the scale bar set, by map in the corresponding region of search of the scale bar The maximum point map of temperature weight of point is determined as the point map shown under the scale bar.
10. device according to claim 8, wherein second determination unit is further configured to:
It, will be in the corresponding region of search of the scale bar for being less than or equal to the scale bar of predetermined ratio value in the scale bar set The maximum point map of the comprehensive weight of point map is determined as the point map shown under the scale bar.
11. device according to claim 8, wherein the scale bar in the scale bar set is opposite with preset level It answers;And
Second determination unit is further configured to:
It, will be in the corresponding region of search of the scale bar for being less than or equal to the scale bar of predetermined ratio value in the scale bar set The comprehensive weight of point map is maximum, and the area weight of point map is greater than the area weight threshold value of the corresponding level of the scale bar Point map be determined as the point map shown under the scale bar.
12. device according to claim 11, wherein described device further includes third determination unit, is configured to:
Obtain in the target area candidate point map quantity and scheduled reference map point quantity, scheduled base under the scale bar Quasi- area weight threshold value;
In response to the small predetermined value of ratio of candidate the point map quantity and the reference map point quantity, by the reference map The ratio of point quantity and the candidate point map quantity is determined as adjusting multiple, is based on the adjustment multiple and the reference area Weight threshold determines the area weight threshold value of the corresponding level of the scale bar in the target area;
It is more than or equal to the predetermined value in response to the ratio of the candidate point map quantity and the reference map point quantity, by institute State the area weight threshold value that reference area weight threshold is determined as the corresponding level of the scale bar in the target area.
13. a kind of electronic equipment, comprising:
One or more processors;
Storage device is stored thereon with one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real Now such as method as claimed in any one of claims 1 to 6.
14. a kind of computer-readable medium, is stored thereon with computer program, wherein real when described program is executed by processor Now such as method as claimed in any one of claims 1 to 6.
CN201811338887.XA 2018-11-12 2018-11-12 Method and apparatus for output information Pending CN109460444A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811338887.XA CN109460444A (en) 2018-11-12 2018-11-12 Method and apparatus for output information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811338887.XA CN109460444A (en) 2018-11-12 2018-11-12 Method and apparatus for output information

Publications (1)

Publication Number Publication Date
CN109460444A true CN109460444A (en) 2019-03-12

Family

ID=65610052

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811338887.XA Pending CN109460444A (en) 2018-11-12 2018-11-12 Method and apparatus for output information

Country Status (1)

Country Link
CN (1) CN109460444A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112084271A (en) * 2019-06-13 2020-12-15 上海擎感智能科技有限公司 Map display method and device and computer storage medium
CN112201142A (en) * 2020-09-14 2021-01-08 汉海信息技术(上海)有限公司 Method and device for configuring road coding board of electronic map, electronic equipment and medium
CN113052642A (en) * 2021-04-22 2021-06-29 支付宝(杭州)信息技术有限公司 Method and device for offline operation
CN117743613A (en) * 2023-12-22 2024-03-22 青岛云世纪信息科技有限公司 Method and system for updating ground object names in unmanned aerial vehicle video frame and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130321400A1 (en) * 2012-06-05 2013-12-05 Apple Inc. 3D Map Views for 3D Maps
CN103578347A (en) * 2012-08-01 2014-02-12 高德软件有限公司 Method and device for displaying POI in electronic map and mobile terminal
CN104111076A (en) * 2013-04-19 2014-10-22 神达电脑股份有限公司 Method for displaying points of interest through mobile electronic device
CN105786915A (en) * 2014-12-25 2016-07-20 高德软件有限公司 POI importance degree determination method and device
CN105843938A (en) * 2016-03-31 2016-08-10 百度在线网络技术(北京)有限公司 Information display method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130321400A1 (en) * 2012-06-05 2013-12-05 Apple Inc. 3D Map Views for 3D Maps
CN103578347A (en) * 2012-08-01 2014-02-12 高德软件有限公司 Method and device for displaying POI in electronic map and mobile terminal
CN104111076A (en) * 2013-04-19 2014-10-22 神达电脑股份有限公司 Method for displaying points of interest through mobile electronic device
CN105786915A (en) * 2014-12-25 2016-07-20 高德软件有限公司 POI importance degree determination method and device
CN105843938A (en) * 2016-03-31 2016-08-10 百度在线网络技术(北京)有限公司 Information display method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112084271A (en) * 2019-06-13 2020-12-15 上海擎感智能科技有限公司 Map display method and device and computer storage medium
CN112201142A (en) * 2020-09-14 2021-01-08 汉海信息技术(上海)有限公司 Method and device for configuring road coding board of electronic map, electronic equipment and medium
CN112201142B (en) * 2020-09-14 2022-11-29 汉海信息技术(上海)有限公司 Method and device for configuring road coding board of electronic map, electronic equipment and medium
CN113052642A (en) * 2021-04-22 2021-06-29 支付宝(杭州)信息技术有限公司 Method and device for offline operation
CN113052642B (en) * 2021-04-22 2022-08-19 支付宝(杭州)信息技术有限公司 Method and device for offline operation
CN117743613A (en) * 2023-12-22 2024-03-22 青岛云世纪信息科技有限公司 Method and system for updating ground object names in unmanned aerial vehicle video frame and electronic equipment
CN117743613B (en) * 2023-12-22 2024-09-27 青岛云世纪信息科技有限公司 Method and system for updating ground object names in unmanned aerial vehicle video frame and electronic equipment

Similar Documents

Publication Publication Date Title
CN109460444A (en) Method and apparatus for output information
CN104508507B (en) The self-adaption cluster of position
CN106651392A (en) Intelligent business location selection method, apparatus and system
CN103314395B (en) The method create, connected and show three-dimensional object
Kosman et al. Conservation prioritization based on trait‐based metrics illustrated with global parrot distributions
CN109118265A (en) Commercial circle determines method, apparatus and server
CN108446293A (en) A method of based on urban multi-source isomeric data structure city portrait
CN109995884A (en) The method and apparatus for determining accurate geographic position
CN108171191B (en) Method and apparatus for detecting face
CN109697522A (en) A kind of method and apparatus of data prediction
CN105898762A (en) Base station optimization and deployment method and device
CN108375807A (en) The acquisition methods and device of meteorological data
CN110716935A (en) Track data analysis and visualization method and system based on online taxi appointment travel
CN109447246A (en) Method and apparatus for generating model
CN107291539B (en) Cluster program scheduler method based on resource significance level
CN108960912A (en) Method and apparatus for determining target position
CN111311193B (en) Method and device for configuring public service resources
CN112149294B (en) Elastic weather grid design method
CN110503485A (en) Geographic area classification method and device, electronic equipment, storage medium
CN109359727A (en) Structure determination methodology, device, equipment and the readable medium of neural network
CN108806254A (en) Recognition methods, device and the computer readable storage medium in urban transportation corridor
CN108173958A (en) Data-optimized storage method based on ant group algorithm under a kind of cloudy environment
Yin Forecast without historical data: objective tourist volume forecast model for newly developed rural tourism areas of China
Xie et al. [Retracted] Tourism Resource Evaluation and Countermeasures Based on Network Communication and TOPSIS Algorithm
CN108228904A (en) For the method and apparatus of output information

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190312