CN103476000B - A kind of method and system for showing telecom operation channel based on Google Maps - Google Patents

A kind of method and system for showing telecom operation channel based on Google Maps Download PDF

Info

Publication number
CN103476000B
CN103476000B CN201310409464.3A CN201310409464A CN103476000B CN 103476000 B CN103476000 B CN 103476000B CN 201310409464 A CN201310409464 A CN 201310409464A CN 103476000 B CN103476000 B CN 103476000B
Authority
CN
China
Prior art keywords
administrative region
channel
telecom operation
operation channel
border
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310409464.3A
Other languages
Chinese (zh)
Other versions
CN103476000A (en
Inventor
车棋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Si Tech Information Technology Co Ltd
Original Assignee
Beijing Si Tech Information 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 Si Tech Information Technology Co Ltd filed Critical Beijing Si Tech Information Technology Co Ltd
Priority to CN201310409464.3A priority Critical patent/CN103476000B/en
Publication of CN103476000A publication Critical patent/CN103476000A/en
Application granted granted Critical
Publication of CN103476000B publication Critical patent/CN103476000B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Instructional Devices (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention relates to a kind of method and system for showing telecom operation channel based on Google Maps, methods described includes:Step 1, it is selected it is all need to carry out the administrative region of telecom operation channel displaying, and obtain the positional information of telecom operation channel in each administrative region;Step 2, the border geography information of selected administrative region is obtained by Baidu map API;Step 3, is packaged into the positional information of the border geography information of administrative region and telecom operation channel JSON forms and is responsive in a JSP;Step 4, using Google API technologies, the border geography information of administrative region is obtained from JSP, and generate the administrative region icon that piecemeal shows;Step 5, using Google API technologies, the positional information of telecom operation channel is obtained from JSP, and the position icon of telecom operation channel is generated on the administrative division map target relevant position that piecemeal shows.The present invention is conducive to channel gridding to market, and overcoming google maps can not obtain the limitation on administrative region border.

Description

A kind of method and system for showing telecom operation channel based on Google Maps
Technical field
It is more particularly to a kind of to show telecom operation canal based on Google Maps the present invention relates to telecom operation technical field The method and system in road.
Background technology
With the popularization and the quickening of business development speed of telecommunications industry business, the competition of channel is also more and more fiery, each electricity Believe that the channel data of operator are also more and more.But with increasing for channel quantity, it is laid out on regional location for channel Reasonability is also just more difficult to control, and greater risk is brought to cutting operating costs.Google Maps are in network electronic map row The characteristics of industry is with its quick and mass data, more and more users are used to position and navigate.Additionally, Google Maps are in itself Open several API to be used for developer, Google API provide a large amount of utilities(Such as ready-made function and control)With In treatment map, and content is added to map by various service, user can be helped to be answered in the relatively full-featured map of establishment Use program.
But, when actual positioning is with navigation, in addition it is also necessary to meet the demand that user shows to area, city, county's piecemeal, and The API of the free version maps of Google does not provide the method and class for obtaining administrative region border, it is impossible to divided area, city, county Block shows.
Therefore, in order to help user to be preferably laid out to channel on regional location, the present invention is proposed google Map is incorporated into channel gridding marketing, is divided the own channel of operator, resource, Marketing group using google maps API Cloth and being distributed on map for rival's channel carry out contrast displaying with block form, and can show the pin of own channel The data such as amount, reward.
The content of the invention
The technical problems to be solved by the invention are to provide a kind of side for showing telecom operation channel based on Google Maps Method and system, for solving the problems, such as that the telecom operation channel to each administrative region carries out mapable displaying.
The technical scheme that the present invention solves above-mentioned technical problem is as follows:One kind shows telecom operation canal based on Google Maps The method in road, including:
Step 1, it is selected it is all need to carry out the administrative region of telecom operation channel displaying, and obtain telecommunications in each administrative region The positional information of channel is runed, and the positional information is stored in database;
Step 2, the border geography information of selected administrative region, and the border that will be obtained are obtained by Baidu map API Geography information is stored in database;
Step 3, the positional information of the border geography information of administrative region in database and telecom operation channel is packaged into JSON forms are simultaneously responsive in a JSP;
Step 4, using Google API technologies, the border geography information of administrative region is obtained from JSP, and based on this The administrative region icon that border geography information generation piecemeal shows;
Step 5, using Google API technologies, the positional information of telecom operation channel is obtained from JSP, and in piecemeal On the administrative division map target relevant position of display, the position icon of telecom operation channel is generated.
On the basis of above-mentioned technical proposal, the present invention can also do following improvement.
Further, the telecom operation channel includes the own channel and rival's channel of telecom operators.
Further, the Boundary classes for being provided by Baidu map API in the step 2 obtain selected administrative region Border geography information.
Further, the administrative division map that the border geography information generation piecemeal based on administrative region shows in the step 4 The positional information based on telecom operation channel generates the position icon of telecom operation channel in mark and the step 5, passes through What the MarkerClusterer plug-in units of Google API were realized.
Further, the administrative region icon for being shown using trunking mode generation piecemeal and the position of generation telecom operation channel Icon.
Further, the trunking mode is including grid trunking mode, apart from trunking mode and subregion trunking mode.
Based on the above method, technical scheme also includes a kind of based on Google Maps displaying telecom operation channel System, including:
Channel position acquisition module, its positional information for being used to obtain telecom operation channel in selected administrative region;
Border geography data obtaining module, its outland for being used to be obtained by Baidu map API selected administrative region Reason information;
DBM, it connects the channel position acquisition module and border geography data obtaining module, is used for Store the positional information of telecom operation channel and the border geography information of administrative region;
Data pack processing module, its connection DBM, for by the outland of administrative region in DBM The positional information of reason information and telecom operation channel is packaged into JSON forms and is responsive in a JSP;
Area dividing module, its connection data packaging processing module, for using Google API technologies, from JSP The page obtains the border geography information of administrative region, and the administrative division map shown based on the border geography information generation piecemeal Mark;
Channel position display module, its connection data packaging processing module and the area dividing module, for adopting With Google API technologies, the positional information of telecom operation channel, and the administrative region icon that piecemeal shows are obtained from JSP Relevant position on, generate telecom operation channel position icon.
Further, the border geography data obtaining module obtains choosing by the Boundary classes that Baidu map API is provided The border geography information of fixed administrative region.
Further, it is equipped with Google API's in the area dividing module and channel position display module MarkerClusterer plug-in units, it is used for the administrative division map that the border geography information generation piecemeal based on administrative region shows Mark and the positional information based on telecom operation channel generate the position icon of telecom operation channel.
Further, the administrative region icon that the area dividing module is shown using trunking mode generation piecemeal, and it is described Channel position display module also generates the position icon of telecom operation channel with trunking mode, and the trunking mode includes grid Trunking mode, apart from trunking mode and subregion trunking mode.
The beneficial effects of the invention are as follows:The present invention is using google maps to the own channel of telecom operators and competition The layout of opponent's channel is shown under conditions of based on geographical position, can be existed by by own channel and rival's channel Contrast displaying is carried out on map, the propulsion for being conducive to channel gridding to market.And instant invention overcomes the free version of google maps The limitation on administrative region border can not be obtained, is clicked on google maps, it is possible to show the administrative area of districts and cities where the point The border in domain, and corresponding telecom operation channel can be shown in each administrative region, to management level, channel is laid out in certain region Decision-making foundation is provided, while offer help is instigated rebellion within enemy camp channel.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of the method based on Google Maps displaying telecom operation channel of the present invention;
Fig. 2 is the structural representation of the system based on Google Maps displaying telecom operation channel of the present invention.
In accompanying drawing, the list of parts representated by each label is as follows:
1st, channel position acquisition module, 2, border geography data obtaining module, 3, DBM, 4, data packing processes Module, 5, area dividing module, 6, channel position display module.
Specific embodiment
Principle of the invention and feature are described below in conjunction with accompanying drawing, example is served only for explaining the present invention, and It is non-for limiting the scope of the present invention.
As shown in figure 1, present embodiments providing a kind of method for showing telecom operation channel based on Google Maps, bag Include:
Step 1, it is selected it is all need to carry out the administrative region of telecom operation channel displaying, and obtain telecommunications in each administrative region The positional information of channel is runed, and the positional information is stored in database;
Step 2, the border geography information of selected administrative region, and the border that will be obtained are obtained by Baidu map API Geography information is stored in database;
Step 3, the positional information of the border geography information of administrative region in database and telecom operation channel is packaged into JSON forms are simultaneously responsive in a JSP;
Step 4, using Google API technologies, the border geography information of administrative region is obtained from JSP, and based on this The administrative region icon that border geography information generation piecemeal shows;
Step 5, using Google API technologies, the positional information of telecom operation channel is obtained from JSP, and in piecemeal On the administrative division map target relevant position of display, the position icon of telecom operation channel is generated.
For step 2, because the API of the free versions of google map does not provide the class or method that obtain administrative information region, So obtaining administrative region using the API of Baidu map;Can be obtained by the get methods of Baidu map API Boundary classes Take administrative region boundary information.
After getting relevant information from database using java technologies in the step 3, these data are packaged into foreground page The data of the easy-to-use Json forms in face, are then responding to the jsp pages.
The step 4 generates polygon and covers according to border geographical coordinate using the Polygon classes of google map api Thing, the region of Polygons Representation is administrative region.
The step 5 uses MarkerClusterer plug-in units, the icon Marker that will be generated using google map API Packed, then automatic Partitioning is shown.
Again as shown in Fig. 2 the present embodiment additionally provides the system for implementing the above method, its structure includes:
Channel position acquisition module 1, its positional information for being used to obtain telecom operation channel in selected administrative region;
Border geography data obtaining module 2, its outland for being used to be obtained by Baidu map API selected administrative region Reason information;
DBM 3, it connects the channel position acquisition module 1 and border geography data obtaining module 2, uses In the positional information and the border geography information of administrative region of storage telecom operation channel;
Data pack processing module 4, its connection DBM 3, for by the border of administrative region in DBM 3 The positional information of geography information and telecom operation channel is packaged into JSON forms and is responsive in a JSP;
Area dividing module 5, its connection data packaging processing module 4, for using Google API technologies, from JSP obtains the border geography information of administrative region, and the administrative region shown based on the border geography information generation piecemeal Icon;
Channel position display module 6, its connection data packaging processing module 4 and the area dividing module 5, is used for Using Google API technologies, the positional information of telecom operation channel, and the administrative division map that piecemeal shows are obtained from JSP On target relevant position, the position icon of telecom operation channel is generated.
In the present embodiment, the telecom operation channel includes the own channel and rival's channel of telecom operators, In addition thereto, the target market of telecom operators and Marketing group etc. can also be classified as telecom operation channel and shown in the lump.And The own channel and rival's channel of telecom operators are shown by way of contrast, while the pin of the own channel of displaying The data such as amount, reward, it is very clear.
In addition, the maximum problem of administrative region piecemeal display is exactly how to obtain, the border of districts and cities or district is geographical believes Breath, because google maps api does not provide the method or class that obtain administrative region border, the present embodiment finally selects to use Baidu The Boundary classes that map API is provided obtain administrative region border geography information, i.e. administrative region border point coordinates, it would be desirable to The districts and cities of displaying or the border geography information storage in district, there is provided used to being shown based on Google Maps.
In the present embodiment, administrative region icon and be based on that the border geography information generation piecemeal based on administrative region shows The positional information of telecom operation channel generates the position icon of telecom operation channel, is by Google API What MarkerClusterer plug-in units were realized.But, add excessive MarkerClusterer plug-in units, use speed compared with Slowly, and if MarkerClusterer card address is very intensive, user be just difficult to see clearly on map show position, such as display 10 Individual, 100 position problems less, but when 1000 positions are shown, by MarkerClusterer inserted by map denotation space Part is occupied, and is difficult to see clearly the relevant position on map.To solve this problem, the present embodiment generates Block Explicit in the way of cluster The position icon of the administrative region icon that shows and generation telecom operation channel, trunking mode mainly include again grid trunking mode, Apart from trunking mode and subregion trunking mode.
Grid trunking mode:Map is divided into many grids, according to the map different level of zoom in same net During MarkerClusterer plug-in units cluster in lattice is grouped at one.
Apart from trunking mode:It is in including being grouped at one apart near MarkerClusterer plug-in units.
Subregion trunking mode:Map is divided into different subregions, such as map is divided into by different subregions according to province, will MarkerClusterer plug-in units in province concentrate in together display.
What the present embodiment was mainly used is to carry out the scheme that icon shows based on grid trunking mode.
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all it is of the invention spirit and Within principle, any modification, equivalent substitution and improvements made etc. should be included within the scope of the present invention.

Claims (8)

1. it is a kind of based on Google Maps show telecom operation channel method, it is characterised in that including:
Step 1, it is selected it is all need to carry out the administrative region of telecom operation channel displaying, and obtain telecom operation in each administrative region The positional information of channel, and the positional information is stored in database;
Step 2, the border geography information of selected administrative region is obtained by Baidu map API, and the border that will be obtained is geographical Information is stored in database;
Step 3, JSON is packaged into by the positional information of the border geography information of administrative region in database and telecom operation channel Form is simultaneously responsive in a JSP;
Step 4, using Google API technologies, the border geography information of administrative region is obtained from JSP, and based on the border The administrative region icon that geography information generation piecemeal shows;
Step 5, using Google API technologies, the positional information of telecom operation channel is obtained from JSP, and show in piecemeal Administrative division map target relevant position on, generate telecom operation channel position icon;
Wherein, the border geography information generation piecemeal based on administrative region shows in the step 4 administrative region icon and institute The position icon of the positional information generation telecom operation channel based on telecom operation channel in step 5 is stated, is by Google What the MarkerClusterer plug-in units of API were realized.
2. method according to claim 1, it is characterised in that the telecom operation channel includes the own of telecom operators Channel and rival's channel.
3. method according to claim 1, it is characterised in that provided by Baidu map API in the step 2 Boundary classes obtain the border geography information of selected administrative region.
4. method according to claim 1, it is characterised in that the administrative division map shown using trunking mode generation piecemeal The position icon of mark and generation telecom operation channel.
5. method according to claim 4, it is characterised in that the trunking mode includes grid trunking mode, distance set Group's mode and subregion trunking mode.
6. it is a kind of based on Google Maps show telecom operation channel system, it is characterised in that including:
Channel position acquisition module, its positional information for being used to obtain telecom operation channel in selected administrative region;
Border geography data obtaining module, it is used for the geographical letter in border for obtaining selected administrative region by Baidu map API Breath;
DBM, it connects the channel position acquisition module and border geography data obtaining module, for storing The positional information of telecom operation channel and the border geography information of administrative region;
Data pack processing module, its connection DBM, for the border geography of administrative region in DBM to be believed The positional information of breath and telecom operation channel is packaged into JSON forms and is responsive in a JSP;
Area dividing module, its connection data packaging processing module, for using Google API technologies, from JSP The border geography information of administrative region is obtained, and the administrative region icon shown based on the border geography information generation piecemeal;
Channel position display module, its connection data packaging processing module and the area dividing module, for using Google API technologies, the positional information of telecom operation channel, and the administrative division map target that piecemeal shows are obtained from JSP On relevant position, the position icon of telecom operation channel is generated
Wherein, it is equipped with Google API's in the area dividing module and channel position display module MarkerClusterer plug-in units, it is used for the administrative division map that the border geography information generation piecemeal based on administrative region shows Mark and the positional information based on telecom operation channel generate the position icon of telecom operation channel.
7. system according to claim 6, it is characterised in that the border geography data obtaining module passes through Baidu map The Boundary classes that API is provided obtain the border geography information of selected administrative region.
8. system according to claim 6, it is characterised in that the area dividing module generates piecemeal using trunking mode The administrative region icon of display, and channel position display module also generates the location drawing of telecom operation channel with trunking mode Mark, and the trunking mode is including grid trunking mode, apart from trunking mode and subregion trunking mode.
CN201310409464.3A 2013-09-10 2013-09-10 A kind of method and system for showing telecom operation channel based on Google Maps Active CN103476000B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310409464.3A CN103476000B (en) 2013-09-10 2013-09-10 A kind of method and system for showing telecom operation channel based on Google Maps

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310409464.3A CN103476000B (en) 2013-09-10 2013-09-10 A kind of method and system for showing telecom operation channel based on Google Maps

Publications (2)

Publication Number Publication Date
CN103476000A CN103476000A (en) 2013-12-25
CN103476000B true CN103476000B (en) 2017-06-13

Family

ID=49800669

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310409464.3A Active CN103476000B (en) 2013-09-10 2013-09-10 A kind of method and system for showing telecom operation channel based on Google Maps

Country Status (1)

Country Link
CN (1) CN103476000B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104317927B (en) * 2014-10-31 2018-03-30 北京思特奇信息技术股份有限公司 The method for building up and system and inspection method and system of a kind of map of increasing income
CN110740160B (en) * 2019-08-29 2022-08-05 武汉烽火众智数字技术有限责任公司 Multi-source data map gridding and data state real-time pushing system
CN112507055B (en) * 2020-12-17 2024-02-13 青岛以萨数据技术有限公司 Method and device for realizing administrative region aggregation based on leaf

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101089891A (en) * 2007-07-13 2007-12-19 左立国 Technical method for analysing and managing channel distribution of telecommunication operation firm based on GIS system
EP2487838A1 (en) * 2011-02-12 2012-08-15 Huawei Device Co., Ltd. Data card and method for internet access of data card

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101089891A (en) * 2007-07-13 2007-12-19 左立国 Technical method for analysing and managing channel distribution of telecommunication operation firm based on GIS system
EP2487838A1 (en) * 2011-02-12 2012-08-15 Huawei Device Co., Ltd. Data card and method for internet access of data card

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
java调用百度地图和谷歌地图;yangjianzhouctgu;《博客》;20130410;全文 *
百度地图API如何获取行政区域的边界;酸奶小妹;《博客》;20120411;全文 *

Also Published As

Publication number Publication date
CN103476000A (en) 2013-12-25

Similar Documents

Publication Publication Date Title
CN101694669B (en) Pace note making method, device thereof, pace note making and sharing system
CN108601976A (en) Game image processing system and program
CN103955955B (en) A kind of electronic map information processing method and processing device
CN106484693A (en) Map-indication method, picture block storage method and picture display terminal
CN103606192A (en) Wind field visual display method based on three-dimensional virtual globe
CN103476000B (en) A kind of method and system for showing telecom operation channel based on Google Maps
CN103514626A (en) Method and device for displaying weather information and mobile terminal
CN103294466B (en) Method and device for displaying background image of application
CN109446281A (en) On-line intelligence Mapping System construction method, system and drafting method based on ArcGIS
CN104331562A (en) Geographical wiring diagram dispatching method and device in power grid information system
CN102519452A (en) Display method of electronic map and terminal thereof
CN106504523A (en) A kind of traffic isochrone information generating method and device
CN105718481A (en) Massive topographic data organization and release method
CN101469988B (en) Cutting method for map vector data in mobile phone network navigation
CN111260749A (en) Method, device and storage medium for generating standard scale map
CN104599069A (en) Power transmission line route planning method based on environment factors and geographic features
CN111935331A (en) Network space mapping method, visualization method and system
CN109146360A (en) Grid method for building up and device and allocator and device
CN103500060A (en) Electronic map manufacturing method, electronic map manufacturing device, electronic map displaying method and electronic map displaying device
CN110532059A (en) The quota management method and device of K8s cluster management software
CN102024377B (en) 3D map layered display method and device
CN102930481B (en) network load density analysis method and system
CN103902633B (en) A kind of method and its device, system of generation POI hot-zone data
CN102708162A (en) Visualization method for information of ancient architecture
CN103324815A (en) Reality testing method for design drawing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant