CN104796859B - A kind of switching method and apparatus of geocoder - Google Patents
A kind of switching method and apparatus of geocoder Download PDFInfo
- Publication number
- CN104796859B CN104796859B CN201510175457.0A CN201510175457A CN104796859B CN 104796859 B CN104796859 B CN 104796859B CN 201510175457 A CN201510175457 A CN 201510175457A CN 104796859 B CN104796859 B CN 104796859B
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- geocoder
- current
- networklocation
- target
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 47
- 238000006243 chemical reaction Methods 0.000 claims abstract description 26
- 239000003550 marker Substances 0.000 claims description 9
- 238000005516 engineering process Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000005457 optimization Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/025—Services making use of location information using location based information parameters
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/29—Geographical information databases
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/02—Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Data Mining & Analysis (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Remote Sensing (AREA)
- Telephone Function (AREA)
- Telephonic Communication Services (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention discloses a kind of switching method of geocoder and devices, this method comprises: determining the current geographic position mark of mobile terminal;By the geocoder for being used for geocoding service of current application, it is switched to target geographic encoder corresponding with geographical location mark;Based on the target geographic encoder, the conversion between geographical coordinate and address information is completed.The embodiment of the present invention can optimize existing geographical analysis service, meet the address resolution demand of the growing facilitation of people, accuracy.
Description
Technical field
The present invention relates to communication technique field more particularly to a kind of switching method and apparatus of geocoder.
Background technique
With the continuous development of computer technology and terminal technology, the navigation type based on mobile terminal is applied by increasingly
More users are used.Navigation type application is main to provide map by geocoding service (also referred to as geocode service)
Navigation feature.The geocoding service refers to geographical coordinate (for example, longitude and latitude) resolving to street address or other points
The process and its inverse process of position and geographical feature.For example, navigation type application passes through when user wants to know about the position being presently in
GPS data can directly acquire the current latitude and longitude information of user, but user understands after this latitude and longitude information still to working as
Preceding present position is known nothing, and passes through geocoding service, the available address letter corresponding with latitude and longitude information of user at this time
Breath.
Currently, geocoding service is mainly realized by way of construct longitude and latitude address resolution library.By above-mentioned
The corresponding relationship between geographical coordinate and address information is stored in address resolution library, can be realized and geographical coordinate is resolved into address
Information (or inverse process).Obviously, the address resolution library content of country variant storage is not identical, and country variant completes ground
Reason coordinate and the analytical algorithm of address information are also not quite similar, for example, country higher for address rule degree, can take
The above-mentioned parsing of mode combination address resolution library completion of " address interpolation ", and the country more random for Address d istribution, then can only root
Above-mentioned parsing is completed according to address resolution library.
With economic and science and technology development, go abroad work, study, the chance of tourism of people is more and more, works as people
Just to a new country, the address resolution library and analytical algorithm that also country is applicable in front of use then will appear movement
Terminal positional information show not to or display mistake the problems such as, to people life bring inconvenience.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of switching method and apparatus of geocoder, it is existing to optimize
Geographical analysis service meets the address resolution demand of the growing facilitation of people, accuracy.
In a first aspect, the embodiment of the invention provides a kind of switching methods of geocoder, comprising:
Determine the current geographic position mark of mobile terminal;
By the geocoder for being used for geocoding service of current application, it is switched to corresponding with geographical location mark
Target geographic encoder;
Based on the target geographic encoder, the conversion between geographical coordinate and address information is completed.
Second aspect, the embodiment of the invention also provides a kind of switching devices of geocoder, comprising:
Station location marker determination unit, for determining that the current geographic position of mobile terminal identifies;
Geocoder switch unit, for switching the geocoder for being used for geocoding service of current application
For target geographic encoder corresponding with geographical location mark;
Converting unit is based on the target geographic encoder, completes the conversion between geographical coordinate and address information.
The switching method and device of a kind of geocoder provided in an embodiment of the present invention, by determining working as mobile terminal
The geocoder of current application is switched to the geographical location and identifies corresponding target geographic coding by preceding geographical location mark
Device completes the conversion between geographical coordinate and address information, can optimize existing geographical analysis service, solve at the beginning of people
When to a new country, the location information of mobile terminal of appearance show not to or the problems such as display mistake, meet
The growing facilitation of people, accuracy address resolution demand, offer convenience to people's lives.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, of the invention other
Feature, objects and advantages will become more apparent upon:
Fig. 1 is a kind of switching method flow chart for geocoder that the embodiment of the present invention one provides;
Fig. 2 is a kind of switching method flow chart of geocoder provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of switching method flow chart for geocoder that the embodiment of the present invention three provides;
Fig. 4 is a kind of switching method flow chart for geocoder that the embodiment of the present invention four provides;
Fig. 5 is a kind of switching method flow chart for geocoder that the embodiment of the present invention five provides;
Fig. 6 is a kind of switching device structural block diagram for geocoder that the embodiment of the present invention six provides.
Specific embodiment
The present invention 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 the present invention rather than limiting the invention.It also should be noted that in order to just
In description, only some but not all contents related to the present invention are shown in the drawings.
Embodiment one
Fig. 1 is a kind of switching method flow chart for geocoder that the embodiment of the present invention one provides;This method can be by
A kind of switching device of geocoder executes, and device therein can be realized by the mode of software and/or hardware, the device
Set on the inside of mobile terminal, as shown in Figure 1, which comprises
Step 101: determining the current geographic position mark of mobile terminal.
The mobile terminal is the electronic equipments such as smart phone, tablet computer;Geographical location mark can for country,
Area, city or time zone etc. can be used to indicate the information of mobile terminal position.
Step 102: the geocoder for being used for geocoding service of current application is switched to and the geographical location
Identify corresponding target geographic encoder.
As previously mentioned, different countries or regional since the address resolution library content of storage is not identical, and different states
Family completes geographical coordinate and the analytical algorithm of address information is also not quite similar, when mobile terminal is in diverse geographic location,
The geocoder being applicable in also is not quite similar, it is therefore desirable to be identified according to the current geographical location of mobile terminal, using opposite
The geocoder answered.
For example, the geographical location mark is specially country, and setting mobile terminal is external in China and China
The applied geocoder for geocoding service is different, and e.g., mobile terminal is applied by the China
The geocoder that Baidu provides, in the Chinese external applied geocoder provided for Google.It is moved if user carries
Dynamic terminal is traveled by China to the U.S., when the position that mobile terminal is presently in is the U.S., then need by it is current
The geocoder that the Baidu of China application provides switches to the mesh that Google corresponding with the national information in the U.S. provides
Mark geocoder.
In the present embodiment, mobile terminal is stored with the corresponding relationship between geocoder and geographical location mark, when
After obtaining geographical location mark, that is, it can determine target geographic encoder corresponding with geographical location mark.
Step 103: being based on the target geographic encoder, complete the conversion between geographical coordinate and address information.
The target geographic encoder, can complete the conversion between geographical coordinate and address information, by the ground of conversion
Reason coordinate or address information are shown on electronic map in the terminal, for example, when user uses mobile terminal location
When the location of oneself, the geographical coordinate for the present position that the geocoder in mobile terminal will acquire is converted into address letter
Breath, in this way, user can find the location of oneself on map;If user wants to understand the longitude and latitude of oneself present position
Degree, can input the title in place on the electronic map, by geocoder, address information is converted into latitude and longitude information,
Display is on the electronic map.
On the basis of the present embodiment, if user wonders the longitude and latitude letter in the place in addition to oneself location
Breath, can input the title in the place, through geocoder, by address on the electronic map in portable mobile terminal
Information is converted into latitude and longitude information, shows on the electronic map.
The switching method of a kind of geocoder provided in this embodiment, by the current geographic position for determining mobile terminal
The geocoder of current application is switched to the geographical location and identifies corresponding target geographic encoder, completes ground by mark
The conversion between coordinate and address information is managed, existing geographical analysis service can be optimized, is solved new to one at the beginning of people
Country when, the location information of mobile terminal of appearance show not to or display mistake the problems such as, meet people increasingly
The facilitation of growth, accuracy address resolution demand, offer convenience to people's lives.
Embodiment two
Fig. 2 is a kind of switching method flow chart of geocoder provided by Embodiment 2 of the present invention;It is more than the present embodiment
It states and optimizes based on embodiment, in the present embodiment, will determine the mark optimization of mobile terminal current geographic position are as follows: according to
Operator's registration information of the modem in mobile terminal listened to determines the current country's mark of the mobile terminal
Know;It is identified the country identification as mobile terminal current geographic position.
Correspondingly, as shown in Fig. 2, the method for the present embodiment specifically comprises the following steps:
Step 201: according to operator's registration information of the modem in the mobile terminal listened to, determining the shifting
The current country identification of dynamic terminal.
In the present embodiment, mobile terminal can monitor the registration information of the operator of internal modems, modulatedemodulate
Country's number of the variation of Tiao Qi operator registration information, operator name can also change, according to the country of operator name
Number can determine the current country identification of mobile terminal, that is, determine national information locating for mobile terminal.
For example, in China, there are movement, connection, telecommunications, Netcom in the operator of modem;Different
The number of country, these operators is different respectively, and in each country, the number of these operators is unique fixation respectively
's.For example, telecommunications has fixed number in China if the mobile terminal of user is telecommunication user, had separately in the U.S.
An outer number, in different countries, number is different;If country locating for user is the U.S., the movement that user carries
Terminal can listen to the registration information of operator's (telecommunications) of modem, determine its number based on registration information, according to
The national information that the current country identification of the determining mobile terminal of number, i.e. mobile terminal are presently in.
Step 202: being identified the country identification as mobile terminal current geographic position.
It is identified the country identification as mobile terminal current geographic position, for example, if mobile terminal is current
Locating country is China, then identifies China as mobile terminal current geographic position.
Step 203: the geocoder for being used for geocoding service of current application is switched to and the geographical location
Identify corresponding target geographic encoder.
Step 204: being based on the target geographic encoder, complete the conversion between geographical coordinate and address information.
A kind of switching method of geocoder provided in this embodiment, this method is according to modem in mobile terminal
Registration information, determine mobile terminal current geographic position mark, the geocoder of current application is switched to describedly
The corresponding target geographic encoder of station location marker is managed, the conversion between geographical coordinate and address information is completed, can optimize existing
Geographical analysis service, when solving at the beginning of people to a new country, the location information of mobile terminal of appearance is aobvious
Show not to or display mistake the problems such as, meet the address resolution demand of the growing facilitation of people, accuracy, give people
Life offer convenience.
Embodiment three
Fig. 3 is a kind of switching method flow chart for geocoder that the embodiment of the present invention three provides;This method give
Another implementation of step 201 and step 202 in embodiment two, as shown in figure 3, this method comprises:
Step 301: being changed according to the time change of the mobile terminal listened to and/or time zone, determine the mobile terminal
Current time zone identification.
Specifically, country locating for mobile terminal is different, the time listened in mobile terminal also can be different, and time zone also can
It is different, wherein the time is synchronous with time zone.When user is in somewhere, the mobile terminal of carrying it is automatic right
When be capable of the variation in acquisition time and/or time zone, be which time zone determine that mobile terminal is presently in, by the time-zone information
The time zone identification current as mobile terminal.
Step 302: being identified the time zone identification as mobile terminal current geographic position.
In the present embodiment, it is identified the time zone identification as mobile terminal current geographic position, for example, if
Current 8th area time zone identification Wei Dong of mobile terminal, then 8th area the Ba Dong geographical location current as mobile terminal identifies.
Step 303: the geocoder for being used for geocoding service of current application is switched to and the geographical location
Identify corresponding target geographic encoder.
In the present embodiment, there are corresponding geocoders in each time zone, and current application is used for geographical volume
The geocoder of code service, is switched to target geographic encoder corresponding with geographical location mark, after in step 302
Example, current 8th area time zone identification Wei Dong of mobile terminal will if current geocoder is different from subject encoder
The geocoder of current application, switching subject encoder corresponding with eastern 8th area.
Step 304: being based on the target geographic encoder, complete the conversion between geographical coordinate and address information.
A kind of switching method of geocoder provided in this embodiment, this method according to the mobile terminal listened to when
Between change and/or time zone variation, determine the current geographic position mark of mobile terminal, the geocoder of current application switched
Corresponding target geographic encoder is identified for the geographical location, completes the conversion between geographical coordinate and address information, it can
Optimize existing geographical analysis service, when solving at the beginning of people to a new country, the mobile terminal position of appearance
Confidence breath display not to or display mistake the problems such as, meet the address resolution need of the growing facilitation of people, accuracy
It asks, offers convenience to people's lives.
Example IV
Fig. 4 is a kind of switching method flow chart for geocoder that the embodiment of the present invention four provides;This method is with above-mentioned
It is optimized based on embodiment, in the present embodiment, when geocoder is the coding application for geocoding service
Bao Shi, if the coding application packet of mobile terminal current application target code application packet corresponding with geographical location mark is not
Together, then the coding application packet applied in current system is unloaded;Load the target code application packet.
Correspondingly, as shown in figure 4, the method for the present embodiment specifically comprises the following steps:
Step 401: determining the current geographic position mark of mobile terminal.
Step 402: judging the coding application packet of mobile terminal current application target corresponding with geographical location mark
Whether coding application packet is identical: if so, executing step 406;Otherwise, step 403 is executed.
In the present embodiment, the geocoder is particularly for the coding application packet of geocoding service namely soft
Part packet.Wherein, target code application is wrapped corresponding with the current geographic position of mobile terminal mark.
Step 403 unloads the coding application packet applied in current system, executes step 404.
Step 404: loading the target code application packet, execute step 405.
In the present embodiment, if the coding application packet of mobile terminal current application is different from target code application packet,
The coding application packet applied in current system is unloaded;Load the target code application packet.
For example, if geographical indication is country, mobile terminal current geographic is identified as South Korea, if mobile terminal is worked as
The coding application packet of preceding application is identical as target code application packet (coding application packet corresponding with South Korea), then applies in system
Coding application packet it is constant, otherwise, the coding application packet applied in current system is unloaded, loads corresponding with South Korea target
Coding application packet.
Step 405: based on target code application packet, completing the conversion between geographical coordinate and address information.
Include geographical coordinate and corresponding address information in the target code application packet, geography can be completed
Conversion between coordinate and address information.
Step 406: completing the conversion between geographical coordinate and address information using the coding application packet in system.
In the present embodiment, if the coding application packet of mobile terminal current application is corresponding with geographical location mark
Identical, to then be used directly in mobile terminal system coding application packet completion geographical coordinate and address information are wrapped in target code application
Between conversion.
A kind of switching method for geocoder that the present embodiment four provides, this method carry out on the basis of example 1
Optimization, when solving at the beginning of people to a new country, the location information of mobile terminal of appearance show not pair or
Person shows the problems such as mistake, can optimize existing geographical analysis service, meets the growing facilitation of people, accuracy
Address resolution demand.
Embodiment five
Fig. 5 is a kind of switching method flow chart for geocoder that the embodiment of the present invention five provides;This method is with above-mentioned
Be optimized based on embodiment, in the present embodiment, when geocoder be geocode services package when, obtain with it is described
Geographical location identifies corresponding target NetworkLocation data packet;Wherein, in the NetworkLocation data packet
Prestore corresponding geocode services package;If the NetworkLocation data packet applied in mobile terminal current system with
The target NetworkLocation data packet is different, then unloads the NetworkLocation data packet applied in current system
It carries;
Correspondingly, as shown in figure 5, the method for the present embodiment specifically comprises the following steps:
Step 501: determining the current geographic position mark of mobile terminal.
Step 502: obtaining target NetworkLocation data packet corresponding with geographical location mark.
In the present embodiment, the geocoder is specially geocode services package.In general, different geocode
Services package is pre-stored in different NetworkLocation data packets.Therefore, in order to realize the switching of geocode services package, only
Need to realize the switching of NetworkLocation data packet.
In a preferred embodiment of the present embodiment, comprising there are two NetworkLocation in mobile terminal
Data packet, wherein the domestic NetworkLocation data packet provided for Baidu or high moral;External is that Google provides
NetworkLocation data packet, all prestore corresponding geocode services package in the two data packets.
For example, it if geographical indication is country, when the current geographic position of mobile terminal is identified as China, obtains
The NetworkLocation data packet provided with Chinese corresponding Baidu or high moral;If mobile terminal current geographic position
The country being identified as except China is set, the NetworkLocation data packet that Google corresponding with the country provides is obtained.
Step 503: judging the NetworkLocation data packet applied in mobile terminal current system and the target
Whether NetworkLocation data packet is identical;If so, executing step 507;Otherwise, step 504 is executed.
Step 504: the NetworkLocation data packet applied in current system being unloaded, step 505 is executed.
Step 505: loading the target NetworkLocation data packet, execute step 506.
In the present embodiment, if the NetworkLocation data packet applied in mobile terminal current system with it is described
Target NetworkLocation data packet is identical, and the NetworkLocation data packet applied in mobile terminal current system is not
Become, otherwise, the NetworkLocation data packet applied in current system is unloaded, the target is loaded
NetworkLocation data packet.
After the example in step 502, if geographical indication is country, in the current geographic position of mobile terminal is identified as
When state, the NetworkLocation data packet provided with Chinese corresponding Baidu or high moral is obtained, if mobile terminal is worked as
Applying in preceding system is Baidu or the NetworkLocation data packet that high moral provides, then in mobile terminal current system
The NetworkLocation data packet of application is constant;If applying in mobile terminal current system is what Google provided
NetworkLocation data packet, because of NetworkLocation data packet and target that Google provides
NetworkLocation data packet (corresponding from the current location China of mobile terminal) is different, then is currently by mobile terminal
What the NetworkLocation data packet unloading that the Google applied in system provides, load Baidu or high moral provided
NetworkLocation data packet.
Step 506: being based on the target NetworkLocation data packet, complete between geographical coordinate and address information
Conversion.
Corresponding geocode services package is prestored in the target NetworkLocation data packet, when mobile whole
When loading target NetworkLocation data packet in end, the switching of geocode services package is realized, geographical seat is finally completed
Conversion between mark and address information.
Step 507: using the NetworkLocation data packet in system, completing between geographical coordinate and address information
Conversion.
In the present embodiment, if the NetworkLocation data packet applied in mobile terminal current system with it is described
Target NetworkLocation data packet is identical, then using using the NetworkLocation data packet in system, completes ground
Manage the conversion between coordinate and address information.
A kind of switching method of geocoder provided in this embodiment, this method are another realizations of example IV
Mode can optimize existing geographical analysis service, meet the address resolution need of the growing facilitation of people, accuracy
It asks.
Embodiment six
Fig. 6 is a kind of switching device structural block diagram of geocoder provided in an embodiment of the present invention, which, which is set to, moves
In dynamic terminal, the switching of geocoder is carried out using the method for above-described embodiment in the present invention, as shown in fig. 6, the device 600
Include:
Station location marker determination unit 601, for determining that the current geographic position of mobile terminal identifies;
Geocoder switch unit 602, for cutting the geocoder for being used for geocoding service of current application
It is changed to target geographic encoder corresponding with geographical location mark;
Converting unit 603 is based on the target geographic encoder, completes the conversion between geographical coordinate and address information.
The switching device for the geocoder that the embodiment of the present invention six provides, which, which passes through, determines the current of mobile terminal
The geocoder of current application is switched to the geographical location and identifies corresponding target geographic coding by geographical location mark
Device completes the conversion between geographical coordinate and address information, can optimize existing geographical analysis service, meet people and increasingly increase
The address resolution demand of long facilitation, accuracy.
Further, the station location marker determination unit 601, is specifically used for: according to the tune in the mobile terminal listened to
Operator's registration information of modulator-demodulator determines the current country identification of the mobile terminal;Using the country identification as shifting
Dynamic terminal current geographic position mark.
The station location marker determination unit 601, also particularly useful for: according to the time change of the mobile terminal listened to and/
Or time zone variation, determine the current time zone identification of the mobile terminal;Using the time zone identification as mobile terminal current geographic
Station location marker.
Further, when the geocoder is the coding application packet for geocoding service;
Geocoder switch unit 602, is specifically used for: if the coding application packet of mobile terminal current application with it is described
Target code application packet is different, then unloads the coding application packet applied in current system;Load the target code application packet.
When the geocoder is geocode services package,
Geocoder switch unit 602, is specifically used for:
Obtain target NetworkLocation data packet corresponding with geographical location mark;Wherein, described
Corresponding geocode services package is prestored in NetworkLocation data packet;
If the NetworkLocation data packet applied in mobile terminal current system and the target
NetworkLocation data packet is different, then unloads the NetworkLocation data packet applied in current system;
Load the target NetworkLocation data packet.
The switching device of geocoder provided by the embodiment of the present invention can be used for executing any embodiment of that present invention and mention
The switching method of the geocoder of confession has corresponding functional module, realizes identical beneficial effect.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that
The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention
It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also
It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.
Claims (10)
1. a kind of switching method of geocoder characterized by comprising
When mobile terminal is due to the difference in locating geographical location, and lead to the location information mistake shown when mobile terminal location
When, determine the current geographic position mark of mobile terminal;
By the geocoder for being used for geocoding service of current application, it is switched to mesh corresponding with geographical location mark
Mark geocoder;
Based on the target geographic encoder, the conversion between geographical coordinate and address information is completed, by the geographical coordinate of conversion
Or address information is shown on electronic map in the terminal.
2. the method according to claim 1, wherein determining that mobile terminal current geographic position mark includes:
According to operator's registration information of the modem in the mobile terminal listened to, determine that the mobile terminal is current
Country identification;
It is identified the country identification as mobile terminal current geographic position.
3. the method according to claim 1, wherein determining that mobile terminal current geographic position mark includes:
Changed according to the time change of the mobile terminal listened to and/or time zone, determines the current time zone mark of the mobile terminal
Know;
It is identified the time zone identification as mobile terminal current geographic position.
4. method according to claim 1-3, which is characterized in that the geocoder is for geocoding
The coding application packet of service;
By the geocoder of current application, it is switched to target geographic coding implement body packet corresponding with geographical location mark
It includes:
If the coding application packet of mobile terminal current application target code application packet corresponding with geographical location mark is not
Together, then the coding application packet applied in current system is unloaded;
Load the target code application packet.
5. method according to claim 1-3, which is characterized in that the geocoder is geocode service
Packet;
By the geocoder of current application, it is switched to target geographic coding implement body packet corresponding with geographical location mark
It includes:
Obtain target NetworkLocation data packet corresponding with geographical location mark;Wherein, described
Corresponding geocode services package is prestored in NetworkLocation data packet;
If the NetworkLocation data packet applied in mobile terminal current system and the target
NetworkLocation data packet is different, then unloads the NetworkLocation data packet applied in current system;
Load the target NetworkLocation data packet.
6. a kind of switching device of address scrambler characterized by comprising
Station location marker determination unit for working as mobile terminal due to the difference in locating geographical location, and leads to mobile terminal location
When show location information mistake when, determine mobile terminal current geographic position mark;
Geocoder switch unit, for by the geocoder for being used for geocoding service of current application, be switched to
The geographical location identifies corresponding target geographic encoder;
Converting unit is based on the target geographic encoder, the conversion between geographical coordinate and address information is completed, by conversion
Geographical coordinate or address information are shown on electronic map in the terminal.
7. device according to claim 6, which is characterized in that the station location marker determination unit is specifically used for:
According to operator's registration information of the modem in the mobile terminal listened to, determine that the mobile terminal is current
Country identification;
It is identified the country identification as mobile terminal current geographic position.
8. device according to claim 6, which is characterized in that the station location marker determination unit is specifically used for:
Changed according to the time change of the mobile terminal listened to and/or time zone, determines the current time zone mark of the mobile terminal
Know;
It is identified the time zone identification as mobile terminal current geographic position.
9. described in any item devices according to claim 6-8, which is characterized in that the geocoder is for ground
Manage the coding application packet of encoding service;
Geocoder switch unit, is specifically used for:
If the coding application packet of mobile terminal current application target code application packet corresponding with geographical location mark is not
Together, then the coding application packet applied in current system is unloaded;
Load the target code application packet.
10. according to the described in any item devices of claim 6-8, which is characterized in that the geocoder is geocode service
Packet,
Geocoder switch unit, is specifically used for:
Obtain target NetworkLocation data packet corresponding with geographical location mark;Wherein, described
Corresponding geocode services package is prestored in NetworkLocation data packet;
If the NetworkLocation data packet applied in mobile terminal current system and the target
NetworkLocation data packet is different, then unloads the NetworkLocation data packet applied in current system;
Load the target NetworkLocation data packet.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510175457.0A CN104796859B (en) | 2015-04-14 | 2015-04-14 | A kind of switching method and apparatus of geocoder |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510175457.0A CN104796859B (en) | 2015-04-14 | 2015-04-14 | A kind of switching method and apparatus of geocoder |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104796859A CN104796859A (en) | 2015-07-22 |
CN104796859B true CN104796859B (en) | 2019-03-15 |
Family
ID=53561292
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510175457.0A Expired - Fee Related CN104796859B (en) | 2015-04-14 | 2015-04-14 | A kind of switching method and apparatus of geocoder |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104796859B (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101865695A (en) * | 2009-01-30 | 2010-10-20 | 纳夫特克北美有限责任公司 | The method and system that is used for refreshing location code data |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101606139A (en) * | 2005-11-23 | 2009-12-16 | 探空气球无线公司 | Be used for Internet search and the location toolbar of communicating by letter |
US8060582B2 (en) * | 2008-10-22 | 2011-11-15 | Google Inc. | Geocoding personal information |
CN103247226B (en) * | 2013-04-23 | 2015-10-14 | 小米科技有限责任公司 | A kind of determination method and apparatus of electronic chart |
CN104503987A (en) * | 2014-12-02 | 2015-04-08 | 深圳市金立通信设备有限公司 | Terminal |
-
2015
- 2015-04-14 CN CN201510175457.0A patent/CN104796859B/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101865695A (en) * | 2009-01-30 | 2010-10-20 | 纳夫特克北美有限责任公司 | The method and system that is used for refreshing location code data |
Non-Patent Citations (1)
Title |
---|
谷歌地图API和百度地图API用于地理编码;ldldong;《CSDN博客》;20140513;正文第1-4段 |
Also Published As
Publication number | Publication date |
---|---|
CN104796859A (en) | 2015-07-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102158801B (en) | Mobile terminal user-oriented accurate location based information service method and device | |
KR100802052B1 (en) | Method for acquiring a direction to a target location with a portable device | |
TWI374255B (en) | Method and system for synchronizing mark on electronic map and computer program product using the same | |
CN105144808B (en) | Methods for location determination and device, mobile device and computer-readable media | |
KR20040011478A (en) | Accelerating acquisition of a preferred cellular system by a portable communication device using position location | |
ATE515745T1 (en) | USER TERMINAL FOR PROCESSING GEOGRAPHIC LOCATION DATA AND METHOD THEREOF | |
CN103905981B (en) | Position information sharing method and system | |
CN104469934A (en) | Method for determining relative positions of positioning terminals | |
CN101252731A (en) | Structure for building mobile sociality network based on mixed locating mode | |
CN104185190A (en) | Method and system for prompting signal area | |
CN103297915A (en) | Method and system for collecting position information | |
CN105430618A (en) | Network registration method and apparatus | |
CN106569243A (en) | Multi-positioning-mode hybrid positioning method, control system, and intelligent watch | |
CN102984654B (en) | Mobile terminal group tracking service method based on internet of things resource sharing platform | |
CN101945331A (en) | Method, system and mobile terminal for displaying position information of contact person | |
Pereira et al. | A smart-phone indoor/outdoor localization system | |
CN103220566B (en) | The localization method of Intelligent television terminal, intelligent television and system | |
CN103327451A (en) | Mobile phone location system, mobile phone location method and mobile phone | |
WO2016202263A1 (en) | Method and server for saving standard format page | |
CN105516241A (en) | Device and method for obtaining user geographical position information | |
CN105103007A (en) | Synchronous network device time transfer for location determination | |
CN104796859B (en) | A kind of switching method and apparatus of geocoder | |
CN102970436B (en) | Mobile terminal and method for setting proxy configuration information of browser | |
CN1930864A (en) | Method for transmitting calling communication terminal location data to a call centre | |
CN104349272A (en) | Terminal equipment positioning method and terminal equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190315 |
|
CF01 | Termination of patent right due to non-payment of annual fee |