CN109211250B - Method and device for automatically converting electronic map coordinates of mobile terminal - Google Patents

Method and device for automatically converting electronic map coordinates of mobile terminal Download PDF

Info

Publication number
CN109211250B
CN109211250B CN201811065617.6A CN201811065617A CN109211250B CN 109211250 B CN109211250 B CN 109211250B CN 201811065617 A CN201811065617 A CN 201811065617A CN 109211250 B CN109211250 B CN 109211250B
Authority
CN
China
Prior art keywords
mobile terminal
map
coordinate
coordinates
china
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
CN201811065617.6A
Other languages
Chinese (zh)
Other versions
CN109211250A (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.)
Zhuhai Doufan Technology Co ltd
Original Assignee
Zhuhai Doufan 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 Zhuhai Doufan Technology Co ltd filed Critical Zhuhai Doufan Technology Co ltd
Priority to CN201811065617.6A priority Critical patent/CN109211250B/en
Publication of CN109211250A publication Critical patent/CN109211250A/en
Application granted granted Critical
Publication of CN109211250B publication Critical patent/CN109211250B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • G01C21/28Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network with correlation of data from several navigational instruments
    • G01C21/30Map- or contour-matching
    • G01C21/32Structuring or formatting of map data

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Automation & Control Theory (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Navigation (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)

Abstract

A method for automatically converting coordinates of an electronic map of a mobile terminal comprises the following steps: acquiring the coordinates of the current geographical position of the mobile terminal through a GPS (global positioning system) and acquiring the home location of the current signal operator; determining whether the mobile terminal is currently located in the Chinese environment or not by using the acquired geographic position coordinates and the signal operator attribution; converting the acquired geographic position coordinate into a map coordinate corresponding to the electronic map according to the current position of the mobile terminal; and displaying the position on the corresponding map position according to the map coordinate. The application also provides a device for automatically converting the coordinates of the electronic map of the corresponding mobile terminal. The beneficial effect of this application does: the method and the device can determine whether the geographic position coordinate obtained by the GPS equipment needs to be subjected to encryption offset by combining the current signal operator attribution of the mobile terminal, so as to improve the accuracy of positioning and navigation of the mobile terminal.

Description

Method and device for automatically converting electronic map coordinates of mobile terminal
Technical Field
The present invention relates to the field of electronic maps, and in particular, to a method and an apparatus for automatically converting coordinates of an electronic map at a mobile terminal.
Background
For reasons of national security, the national geographic mapping administration requires that all electronic maps published in the country have to be artificially biased by an encryption plug-in, so as to encrypt real geographic coordinates (i.e. coordinates of WGS84 geographic coordinate system) into false coordinates (i.e. coordinates under colloquially called mars coordinate system) in order to meet the standard of the GCJ02 coordinate system. Therefore, the mobile terminal (such as a smart phone, a smart watch, a tablet computer, etc.) acquires the real geographic coordinates of the current position through the civil GPS chip (such as a beidou chip) and the location on the electronic map provided by the electronic map provider in China is not matched. At present, if a GPS device carried by a mobile terminal officially released in china supports map loading, a national security plug-in published by the national geographic mapping bureau must be installed to convert a real geographic coordinate into a coordinate under a GCJ02 coordinate system, so as to realize civil functions such as positioning and navigation.
However, for the user who frequently enters and exits, since the user can directly use the real geographic coordinates to perform positioning after exiting, whether the mobile terminal is currently located in china is required to be performed; on the other hand, many electronic map suppliers in the country perform biasing processing (such as application of Baidu maps and dog-searching maps) on the basis of the GCJ02 coordinate system. Therefore, when the user is located near the border, it is difficult for the mobile terminal to determine whether the user is really within the border through the GPS device to determine whether the coordinates of the WGS84 geographical coordinate system need to be converted. Or when a plurality of users share the location through the mobile terminal, especially when the users share the location by using different electronic map applications, the users may have a considerable position deviation among themselves. These deficiencies in practical applications will affect the user experience.
Disclosure of Invention
The present application aims to solve the deficiencies of the prior art, and provides a method and a device for automatically converting coordinates of an electronic map of a Mobile terminal, which obtain an effect of improving the positioning accuracy of the Mobile terminal by combining a Mobile Country Code (MCC) of an operator home location.
In order to achieve the above object, the present application adopts the following technical solutions:
firstly, the application provides a method for automatically converting the coordinates of an electronic map of a mobile terminal. The method comprises the following steps:
s100) acquiring the coordinates of the geographic position of the current mobile terminal through a GPS (global positioning system) and acquiring the home location of the current signal operator;
s200) determining whether the mobile terminal is currently located in China or not by using the acquired geographic position coordinates and the signal operator attribution;
s300) converting the acquired geographic position coordinate into a map coordinate corresponding to the electronic map according to the current position of the mobile terminal;
s400) displaying the location on the corresponding map location according to the map coordinates.
Further, in the above method of the present application, the step S200 further includes the following sub-steps:
s201) judging whether the mobile terminal is currently located in China according to the obtained geographic position coordinates, if so, executing a step S203, otherwise, executing a step S202;
s202) obtaining the mobile country number of the signal operator attribution of the mobile terminal, if the mobile country number is not 460, determining that the mobile terminal is currently located outside China, otherwise, executing the step S203;
s203) determining that the mobile terminal is currently located in China.
Further, in the above method of the present application, the step S300 further includes the following sub-steps: and when the mobile terminal is judged to be currently located in the Chinese environment, converting the geographic position coordinate into a Mars coordinate to be used as a map coordinate, otherwise, directly using the geographic position coordinate as the map coordinate.
Still further, in the method of the present application, when it is determined that the mobile terminal is currently located in china, the step S300 further includes the following sub-steps:
s301) acquiring a Mars coordinate conversion interface of an electronic map used by a current mobile terminal;
s402) converting the Mars coordinate into a corresponding map coordinate by using the acquired Mars coordinate conversion interface.
Further, in the method of the present application, when it is determined that the mobile terminal is currently located outside china, the electronic map is a Google map; when the mobile terminal is judged to be currently located in China, the electronic map is a Baidu map.
Alternatively, in the above method of the present application, the electronic map may be only a hundred-degree map.
Secondly, the application also provides a device for automatically converting the coordinates of the electronic map of the mobile terminal. The device comprises the following modules: the collection module is used for acquiring the coordinates of the geographic position of the current mobile terminal through a GPS (global positioning system) and acquiring the home location of the current signal operator; the judging module is used for determining whether the mobile terminal is currently located in the Chinese environment or not by using the acquired geographic position coordinates and the signal operator attribution; the conversion module is used for converting the acquired geographic position coordinates into map coordinates corresponding to the electronic map according to the current position of the mobile terminal; and the display module is used for displaying the position on the corresponding map position according to the map coordinate.
Further, in the above apparatus of the present application, the determining module further includes the following sub-modules: the first judging module is used for judging whether the mobile terminal is currently positioned in the Chinese environment or not according to the obtained geographic position coordinates, if so, the second judging module is called, and otherwise, the determining module is called; the second judging module is used for acquiring the mobile country number of the signal operator attribution of the mobile terminal, if the mobile country number is not 460, the mobile terminal is determined to be currently located outside China, otherwise, the determining module is called; and the determining module is used for determining that the mobile terminal is currently located in China.
Further, in the above apparatus of the present application, the conversion module further includes the following sub-modules: and the first execution module is used for converting the geographic position coordinate into a Mars coordinate to be used as a map coordinate when the mobile terminal is judged to be located in the Chinese environment at present, and otherwise, directly using the geographic position coordinate as the map coordinate.
Still further, in the apparatus of the present application, when it is determined that the mobile terminal is currently located in china, the conversion module further includes the following sub-modules: the acquisition module is used for acquiring a Mars coordinate conversion interface of an electronic map used by the current mobile terminal; and the second execution module is used for converting the Mars coordinate into a corresponding map coordinate by using the acquired Mars coordinate conversion interface.
Further, in the apparatus of the present application, when it is determined that the mobile terminal is currently located outside china, the electronic map is a Google map; when the mobile terminal is judged to be currently located in China, the electronic map is a Baidu map.
Alternatively, in the above-described apparatus of the present application, the electronic map may be only a hundred-degree map.
Finally, the present application also provides a computer readable storage medium having computer instructions stored thereon. When the instructions are executed by the processor, the following steps are executed:
s100) acquiring the coordinates of the geographic position of the current mobile terminal through a GPS (global positioning system) and acquiring the home location of the current signal operator;
s200) determining whether the mobile terminal is currently located in China or not by using the acquired geographic position coordinates and the signal operator attribution;
s300) converting the acquired geographic position coordinate into a map coordinate corresponding to the electronic map according to the current position of the mobile terminal;
s400) displaying the location on the corresponding map location according to the map coordinates.
Further, when the processor executes the above instructions, the step S200 further includes the following sub-steps:
s201) judging whether the mobile terminal is currently located in China according to the obtained geographic position coordinates, if so, executing a step S203, otherwise, executing a step S202;
s202) obtaining the mobile country number of the signal operator attribution of the mobile terminal, if the mobile country number is not 460, determining that the mobile terminal is currently located outside China, otherwise, executing the step S203;
s203) determining that the mobile terminal is currently located in China.
Further, when the processor executes the above instructions, the step S300 further includes the following sub-steps: and when the mobile terminal is judged to be currently located in the Chinese environment, converting the geographic position coordinate into a Mars coordinate to be used as a map coordinate, otherwise, directly using the geographic position coordinate as the map coordinate.
Still further, when the processor executes the above instruction and determines that the mobile terminal is currently located in china, the step S300 further includes the following sub-steps:
s301) acquiring a Mars coordinate conversion interface of an electronic map used by a current mobile terminal;
s402) converting the Mars coordinate into a corresponding map coordinate by using the acquired Mars coordinate conversion interface.
Further, when the processor executes the instruction and judges that the mobile terminal is currently located outside China, the electronic map is a Google map; when the mobile terminal is judged to be currently located in China, the electronic map is a Baidu map.
Alternatively, the electronic map may be a hundred degree map only, when the processor executes the instructions.
The beneficial effect of this application does: the method and the device can determine whether the geographic position coordinate obtained by the GPS equipment needs to be subjected to encryption offset by combining the current signal operator attribution of the mobile terminal, so as to improve the accuracy of positioning and navigation of the mobile terminal.
Drawings
FIG. 1 is a schematic diagram showing the relationship between three coordinate systems;
fig. 2 is a flowchart illustrating a method for automatically converting coordinates of an electronic map of a mobile terminal according to the present disclosure;
FIG. 3 is a flowchart illustrating a sub-method of step S200 in one embodiment disclosed herein;
FIG. 4 is a flowchart illustrating a sub-method of step S300 in another embodiment disclosed herein;
fig. 5 is a block diagram of an apparatus for automatically converting coordinates of an electronic map of a mobile terminal according to the present disclosure.
Detailed Description
The conception, specific structure and technical effects of the present application will be described clearly and completely with reference to the following embodiments and the accompanying drawings, so that the purpose, scheme and effects of the present application can be fully understood. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that, unless otherwise specified, when a feature is referred to as being "fixed" or "connected" to another feature, it may be directly fixed or connected to the other feature or indirectly fixed or connected to the other feature. Furthermore, the descriptions of upper, lower, left, right, etc. used in this application are only relative to the positional relationship of the various elements of the application with respect to one another in the drawings. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
Furthermore, unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art. The terminology used in the description herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used herein, the term "and/or" includes any combination of one or more of the associated listed items.
It will be understood that, although the terms first, second, third, etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element of the same type from another. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at … …" or "at … …" depending on the context.
Refer to the three coordinate system transformation diagrams shown in fig. 1. For reasons of law, electronic maps published in china must be artificially shifted using the algorithms specified by the national mapping agency to the true geographical coordinates of the map (i.e. the coordinates in the WGS84 coordinate system), before approval for marketing is possible. Therefore, the coordinates of the civil electronic map used in china are all shifted. The offset is non-linear, the offset varies from 300 to 500 meters, and the offset direction is also uncertain. This offset map coordinate is the so-called "Mars coordinate", i.e. the coordinate in the GCJ02 coordinate system. On this basis, many electronic map suppliers again perform artificial offsetting processing on the coordinates in the GCJ02 coordinate system to form map coordinates for use on their issued electronic maps. Thus, the coordinates for navigating or locating to the same location may not be the same on electronic maps provided by different electronic map providers. Therefore, when a user enters and exits a gate at a border by means of an electronic map carried on a mobile terminal, due to the difference of the accuracy of the mobile terminal to the coordinates of the geographic position acquired by the GPS device, the offset processing may be performed incorrectly or not performed, so that the difference of the accuracy is greatly amplified, and the normal use of the related function is affected.
Therefore, referring to the method flowchart shown in fig. 2, the present application proposes a method for automatically converting coordinates of an electronic map of a mobile terminal. The method comprises the following steps:
s100) acquiring the coordinates of the geographic position of the current mobile terminal through a GPS (global positioning system) and acquiring the home location of the current signal operator;
s200) determining whether the mobile terminal is currently located in China or not by using the acquired geographic position coordinates and the signal operator attribution;
s300) converting the acquired geographic position coordinate into a map coordinate corresponding to the electronic map according to the current position of the mobile terminal;
s400) displaying the location on the corresponding map location according to the map coordinates.
The geographical position judging method provided by the application combines the information of the current operator attribution of the mobile terminal, so that whether the user is located in the environment or not can be determined more accurately, and the possibility of mistakenly encrypting or not encrypting the real geographical coordinates obtained by the GPS is reduced.
Specifically, referring to the flowchart of the sub-method shown in fig. 3, in one or more embodiments of the present application, the specific determination process of the step S200 is as follows:
s201) judging whether the mobile terminal is currently located in China according to the obtained geographic position coordinates, if so, executing a step S203, otherwise, executing a step S202;
s202) obtaining the mobile country number of the signal operator attribution of the mobile terminal, if the mobile country number is not 460, determining that the mobile terminal is currently located outside China, otherwise, executing the step S203;
s203) determining that the mobile terminal is currently located in China.
Wherein the mobile country number is composed of 3 digits. The relevant resources are uniformly allocated and managed by the International Telecommunications Union (ITU) for uniquely identifying the country to which the mobile subscriber belongs. Since the mobile country number to which china is assigned is fixed (i.e. 460), by acquiring the mobile country number of the current operator home location, it can be accurately confirmed whether the user holding the mobile terminal is currently located in china. The mobile country number of the current operator can be obtained by a person skilled in the art in a conventional technical manner, which is not limited in the present application. On the basis, in one or more embodiments of the present application, when it is determined that the mobile terminal is currently located in china, the geographic position coordinate is converted into a mars coordinate to be used as a map coordinate, otherwise, the geographic position coordinate is directly used as the map coordinate.
Further, referring to the flowchart of the sub-method shown in fig. 4, after determining whether the user is currently located in china, in one or more embodiments of the present application, the mobile terminal may implement conversion between the geographic position coordinates and the map coordinates for the electronic maps provided by different electronic map providers by:
s301) acquiring a Mars coordinate conversion interface of an electronic map used by a current mobile terminal;
s402) converting the Mars coordinate into a corresponding map coordinate by using the acquired Mars coordinate conversion interface.
Specifically, when the mobile terminal is judged to be currently located outside China, the electronic map is a Google map, the coordinates below a WGS84 coordinate system acquired by GPS equipment can be directly used as the coordinates of the electronic map, and navigation and positioning functions are realized according to the coordinates; when the mobile terminal is judged to be currently located in china, the electronic map is an Baidu map, and at this time, the coordinates below the WGS84 coordinate system need to be used as the coordinates of the Baidu map by using an interface provided by the Baidu map. Alternatively, when it is determined that the mobile terminal is currently located outside china, since there is no need to convert coordinates under the WGS84 coordinate system at this time, it is also possible to use a Baidu map as the electronic map and directly use the coordinates under the WGS84 coordinate system acquired by the GPS device as the coordinates of the electronic map without affecting the related positioning and navigation functions.
In addition, referring to the module structure diagram shown in fig. 5, the present application also provides a device for automatically converting the coordinates of the electronic map of the mobile terminal. The device comprises the following modules: the collection module is used for acquiring the coordinates of the geographic position of the current mobile terminal through a GPS (global positioning system) and acquiring the home location of the current signal operator; the judging module is used for determining whether the mobile terminal is currently located in the Chinese environment or not by using the acquired geographic position coordinates and the signal operator attribution; the conversion module is used for converting the acquired geographic position coordinates into map coordinates corresponding to the electronic map according to the current position of the mobile terminal; and the display module is used for displaying the position on the corresponding map position according to the map coordinate. Likewise, because the geographic position judging device provided by the application combines the current operator attribution information of the mobile terminal, whether the user is currently located in the environment can be more accurately determined, and the possibility of mistakenly encrypting or not encrypting the real geographic coordinates obtained by the GPS is reduced.
Specifically, in one or more embodiments of the present application, the determining module may further include the following sub-modules: the first judging module is used for judging whether the mobile terminal is currently positioned in the Chinese environment or not according to the obtained geographic position coordinates, if so, the determining module is called, and otherwise, the second judging module is called; the second judging module is used for acquiring the mobile country number of the signal operator attribution of the mobile terminal, if the mobile country number is not 460, the mobile terminal is determined to be currently located outside China, otherwise, the determining module is called; and the determining module is used for determining that the mobile terminal is currently located in China. Since the mobile country number to which china is assigned is fixed (i.e. 460), by acquiring the mobile country number of the current operator home location, it can be accurately confirmed whether the user holding the mobile terminal is currently located in china. The mobile country number of the current operator can be obtained by a person skilled in the art in a conventional technical manner, which is not limited in the present application. On this basis, in one or more embodiments of the present application, the conversion module may further include a first execution module, configured to convert the geographic position coordinate into a mars coordinate as a map coordinate when it is determined that the mobile terminal is currently located in china, and otherwise, directly use the geographic position coordinate as the map coordinate.
Further, after determining whether the user is currently located in china, in one or more embodiments of the present application, the mobile terminal may implement conversion between the geographic location coordinate and the map coordinate for the electronic maps provided by different electronic map providers through the following sub-modules of the conversion module: the acquisition module is used for acquiring a Mars coordinate conversion interface of an electronic map used by the current mobile terminal; and the second execution module is used for converting the Mars coordinate into a corresponding map coordinate by using the acquired Mars coordinate conversion interface.
Specifically, when the mobile terminal is judged to be currently located outside China, the electronic map is a Google map, the coordinates below a WGS84 coordinate system acquired by GPS equipment can be directly used as the coordinates of the electronic map, and navigation and positioning functions are realized according to the coordinates; when the mobile terminal is judged to be currently located in china, the electronic map is an Baidu map, and at this time, the coordinates below the WGS84 coordinate system need to be used as the coordinates of the Baidu map by using an interface provided by the Baidu map. Alternatively, when it is determined that the mobile terminal is currently located outside china, since there is no need to convert coordinates under the WGS84 coordinate system at this time, it is also possible to use a Baidu map as the electronic map and directly use the coordinates under the WGS84 coordinate system acquired by the GPS device as the coordinates of the electronic map without affecting the related positioning and navigation functions. It should be recognized that the embodiments of the present application can be realized and implemented by computer hardware, a combination of hardware and software, or by computer instructions stored in a non-transitory computer readable memory. The method may be implemented in a computer program using standard programming techniques, including a non-transitory computer readable storage medium configured with the computer program, where the storage medium so configured causes a computer to operate in a specific and predefined manner, according to the method and figures described in the detailed description. Each program may be implemented in a high level procedural or object oriented programming language to communicate with a computer system. However, the program(s) can be implemented in assembly or machine language, if desired. In any case, the language may be a compiled or interpreted language. Furthermore, the program can be run on a programmed application specific integrated circuit for this purpose.
Further, the method may be implemented in any type of computing platform operatively connected to a suitable interface, including but not limited to a personal computer, mini computer, mainframe, workstation, networked or distributed computing environment, separate or integrated computer platform, or in communication with a charged particle tool or other imaging device, and the like. Aspects of the application may be embodied in machine-readable code stored on a non-transitory storage medium or device, whether removable or integrated into a computing platform, such as a hard disk, optically read and/or write storage medium, RAM, ROM, or the like, such that it is readable by a programmable computer, which when read by the storage medium or device can be used to configure and operate the computer to perform the procedures described herein. Further, the machine-readable code, or portions thereof, may be transmitted over a wired or wireless network. The applications described herein include these and other different types of non-transitory computer-readable storage media when such media include instructions or programs that implement the above steps in conjunction with a microprocessor or other data processor. The present application also includes the computer itself when programmed according to the methods and techniques described herein.
A computer program can be applied to input data to perform the functions described herein to transform the input data to generate output data that is stored to non-volatile memory. The output information may also be applied to one or more output devices, such as a display. In a preferred embodiment of the present application, the transformed data represents physical and tangible objects, including particular visual depictions of physical and tangible objects produced on a display.
The specification and drawings are, accordingly, to be regarded in an illustrative sense rather than a restrictive sense. However, it will be apparent that: various modifications and changes may be made thereto without departing from the broader spirit and scope of the application as set forth in the claims.
Other variations are within the spirit of the present application. Accordingly, while the disclosed technology is susceptible to various modifications and alternative constructions, certain embodiments thereof have been shown in the drawings and have been described above in detail. It should be understood, however, that there is no intention to limit the application to the specific form or forms disclosed; on the contrary, the intention is to cover all modifications, alternative constructions, and equivalents falling within the spirit and scope of the application, as defined in the appended claims.

Claims (5)

1. A method for automatically converting coordinates of an electronic map of a mobile terminal is characterized by comprising the following steps:
s100) acquiring the coordinates of the geographic position of the current mobile terminal through a GPS (global positioning system) and acquiring the home location of the current signal operator;
s200) determining whether the mobile terminal is currently located in China or not by using the acquired geographic position coordinates and the signal operator attribution;
wherein the step S200 further comprises the following substeps:
s201) judging whether the mobile terminal is currently located in China according to the obtained geographic position coordinates, if so, executing a step S203, otherwise, executing a step S202;
s202) obtaining the mobile country number of the signal operator attribution of the mobile terminal, if the mobile country number is not 460, determining that the mobile terminal is currently located outside China, otherwise, executing the step S203;
s203) determining that the mobile terminal is currently located in China;
s300) converting the acquired geographic position coordinate into a map coordinate corresponding to the electronic map according to the current position of the mobile terminal;
wherein the step S300 further comprises the following substeps:
when the mobile terminal is judged to be currently located in China, converting the geographic position coordinate into a Mars coordinate as a map coordinate, otherwise, directly using the geographic position coordinate as the map coordinate;
when it is determined that the mobile terminal is currently located in china, the step S300 further includes the following sub-steps:
s301) acquiring a Mars coordinate conversion interface of an electronic map used by a current mobile terminal;
s302) converting the Mars coordinate into a corresponding map coordinate by using the acquired Mars coordinate conversion interface;
s400) displaying the location on the corresponding map location according to the map coordinates.
2. The method according to claim 1, wherein when the mobile terminal is judged to be currently located outside China, the electronic map is a Google map; when the mobile terminal is judged to be currently located in China, the electronic map is a Baidu map.
3. The method of claim 1, wherein the electronic map is a Baidu map.
4. The device for automatically converting the coordinates of the electronic map of the mobile terminal is characterized by comprising the following modules:
the collection module is used for acquiring the coordinates of the geographic position of the current mobile terminal through a GPS (global positioning system) and acquiring the home location of the current signal operator;
the judging module is used for determining whether the mobile terminal is currently located in the Chinese environment or not by using the acquired geographic position coordinates and the signal operator attribution;
the conversion module is used for converting the acquired geographic position coordinates into map coordinates corresponding to the electronic map according to the current position of the mobile terminal;
the display module is used for displaying the position on the corresponding map position according to the map coordinate;
the judgment module further comprises the following sub-modules: the first judging module is used for judging whether the mobile terminal is currently positioned in the Chinese environment or not according to the obtained geographic position coordinates, if so, the second judging module is called, and otherwise, the determining module is called; the second judging module is used for acquiring the mobile country number of the signal operator attribution of the mobile terminal, if the mobile country number is not 460, the mobile terminal is determined to be currently located outside China, otherwise, the determining module is called; the determining module is used for determining that the mobile terminal is currently located in China;
the conversion module further comprises the following sub-modules: the first execution module is used for converting the geographic position coordinate into a Mars coordinate to be used as a map coordinate when the mobile terminal is judged to be located in China at present, and otherwise, directly using the geographic position coordinate as the map coordinate;
when the mobile terminal is judged to be currently located in China, the conversion module further comprises the following sub-modules: the acquisition module is used for acquiring a Mars coordinate conversion interface of an electronic map used by the current mobile terminal; and the second execution module is used for converting the Mars coordinate into a corresponding map coordinate by using the acquired Mars coordinate conversion interface.
5. A computer-readable storage medium having stored thereon computer instructions, characterized in that the instructions, when executed by a processor, carry out the steps of the method according to any one of claims 1 to 3.
CN201811065617.6A 2018-09-13 2018-09-13 Method and device for automatically converting electronic map coordinates of mobile terminal Active CN109211250B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811065617.6A CN109211250B (en) 2018-09-13 2018-09-13 Method and device for automatically converting electronic map coordinates of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811065617.6A CN109211250B (en) 2018-09-13 2018-09-13 Method and device for automatically converting electronic map coordinates of mobile terminal

Publications (2)

Publication Number Publication Date
CN109211250A CN109211250A (en) 2019-01-15
CN109211250B true CN109211250B (en) 2022-08-12

Family

ID=64983593

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811065617.6A Active CN109211250B (en) 2018-09-13 2018-09-13 Method and device for automatically converting electronic map coordinates of mobile terminal

Country Status (1)

Country Link
CN (1) CN109211250B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110927759B (en) * 2019-11-29 2021-10-08 北京世纪高通科技有限公司 Method and device for processing coordinate data of vehicle
CN114322986A (en) * 2021-12-24 2022-04-12 深圳依时货拉拉科技有限公司 Order popularity-based cellular hotspot mapping method and computer equipment
US20240027227A1 (en) * 2022-07-21 2024-01-25 Qualcomm Incorporated Usage of transformed map data with limited third party knowledge

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101267673A (en) * 2007-03-13 2008-09-17 和记黄埔第三代网际(巴哈马)有限公司 Method for implementing home zone application in mobile communication networks
CN102158953A (en) * 2010-12-06 2011-08-17 郑茂 Method and system for assisting regional geography position navigation by mobile communication positioning technology
CN106792617A (en) * 2017-03-24 2017-05-31 中国联合网络通信集团有限公司 A kind of border user determines method, charging method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2712212A4 (en) * 2011-07-01 2014-10-29 Huawei Device Co Ltd Communication terminal, system and method for location-based service
GB2519078A (en) * 2013-10-08 2015-04-15 Ibm Obtaining a geographical position of a mobile device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101267673A (en) * 2007-03-13 2008-09-17 和记黄埔第三代网际(巴哈马)有限公司 Method for implementing home zone application in mobile communication networks
CN102158953A (en) * 2010-12-06 2011-08-17 郑茂 Method and system for assisting regional geography position navigation by mobile communication positioning technology
CN106792617A (en) * 2017-03-24 2017-05-31 中国联合网络通信集团有限公司 A kind of border user determines method, charging method and device

Also Published As

Publication number Publication date
CN109211250A (en) 2019-01-15

Similar Documents

Publication Publication Date Title
CN110166943B (en) Method for processing terminal position information
CN109211250B (en) Method and device for automatically converting electronic map coordinates of mobile terminal
AU2015323425B2 (en) Systems and methods for identifying mobile devices
US20150031397A1 (en) Address Point Data Mining
CN105392178B (en) A kind of method and apparatus for being used to obtain the access information of WAP
US20200141753A1 (en) Method and apparatus for generating information
CN106411878B (en) Method, device and system for making access control strategy
US9532216B2 (en) Method of authenticating user, server and mobile terminal performing the same
CN109561390A (en) Determine the method and device of public praise scene coverage cell
CN112039861B (en) Risk identification method and device, electronic equipment and computer readable storage medium
CN110677810B (en) Method and apparatus for generating geo-fences
CN106658666B (en) Method and equipment for establishing wireless connection
CN110779516A (en) Mobile terminal map positioning method, terminal equipment and storage medium
US10708880B2 (en) Electronic device and method for determining entry of region of interest of electronic device
US8467990B2 (en) Method for setting the geolocation of a non-GPS enabled device
CN107977366B (en) Data output method and device for coordinate system and terminal
CN107889191B (en) Connection method, device and equipment of wireless local area network and computer readable storage medium
CN107247280B (en) Positioning authentication and processing method and device
CN111292148A (en) Order information processing method, device, server, terminal and storage medium
CN110839201B (en) Pipeline data processing method, transmitting device, receiving device and storage medium
CN110456398B (en) Geographic position determining method, device, storage medium and equipment
CN113015117B (en) User positioning method and device, electronic equipment and storage medium
CN109612447B (en) Construction method of enhanced positioning transformation model of remote sensing image map data, enhanced positioning method and enhanced positioning server
JP2009230255A (en) Information providing device, information providing method and information providing processing program
CN110365738A (en) Localization method, device and storage medium based on Hybird framework

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
GR01 Patent grant
GR01 Patent grant