CN109827573A - Judgment method, system and the application of coordinate system - Google Patents
Judgment method, system and the application of coordinate system Download PDFInfo
- Publication number
- CN109827573A CN109827573A CN201711184207.9A CN201711184207A CN109827573A CN 109827573 A CN109827573 A CN 109827573A CN 201711184207 A CN201711184207 A CN 201711184207A CN 109827573 A CN109827573 A CN 109827573A
- Authority
- CN
- China
- Prior art keywords
- coordinate
- base station
- coordinate system
- coordinates
- conversion
- 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.)
- Granted
Links
Abstract
The present invention provides the judgment method, system and application of a kind of coordinate system, and wherein method includes: to convert the coordinate that user terminal reports according to different conversion formulas, the coordinate after obtaining the conversion for corresponding each reference frame;Coordinate after calculating each conversion to the base station coordinates distance, using the coordinate after shortest conversion as coordinates of targets;The true coordinate system for the coordinate that the corresponding reference frame of the coordinates of targets is reported as the user terminal;The coordinate set type is one of geographic coordinate system or projected coordinate system.The present invention realizes simply, can be accurately judged to coordinate system used by the coordinate that user terminal reports.
Description
Technical field
The present invention relates to field of locating technology, more particularly, to the judgment method, system and application of coordinate system.
Background technique
Due to Bureau of Surveying and Mapping to the encryption of Internet map regulation and each Internet map for number one the considerations of,
Coordinate system, map tile organizational form, the slice rule of each Internet map company etc. are not each identical to the greatest extent.
GPS people's location technology at present is all to obtain GPS position information by terminal, the map APP carried by terminal
Platform interface is reported to after conversion to coordinate system, and realizes and shows on itself map.Therefore, the coordinate phase between each APP
To independence, information can not directly be shared.This provides across multi-platform, more the platforms such as operator, Internet of Things and service provider
There are technological difficulties for the uniform location service of coordinate.
In order to the coordinate combined analysis for getting different channels, first have to do is exactly to sit to all kinds of coordinates
The judgement of mark system.Due to the numerous types of coordinate system, the coordinate of completely uncertain coordinate system there is no well at present
Method confirms coordinate system.Currently used judgement coordinate system, method has following several:
The first, the coordinate system informations directly provided according to data providing.The method has the following problems: on the one hand,
Since the relied on data providing of APP positioning is many kinds of, and partial data provider is not high to the extent of disclosure of data, because
This can not accurately obtain the coordinate system informations of data providing.On the other hand, part APP carries map APP according to system to determine
Position, since the default map of user setting is different, different user used coordinate type when using same APP can also exist
Difference leads to not accurately know Orientation on map coordinate system.
Second, the SHP file based on ArcGIS (a kind of GIS platform) includes data head XML file, is directly acquired wherein
The information such as creation time, storage location, the coordinate system of preservation.The method has the following problems: APP positions relied on data
The GPS position information reported when from APP interaction, and APP interaction is completed by data packet, when data packet is network report
Wen Shi does not have SHP file more, therefore can not know accurate coordinate system due to being free of coordinate set type in network message.
The third, judges coordinate system according to known coordinate points and respective coordinates position.The method has the following problems:
From the defect of first method: the coordinate set type that different APP are used is different, and same APP different terminals use coordinate
System may also be inconsistent, therefore the historical data of difference APP or different terminals is almost without referential;Simultaneously by second method
Defect known to: GPS data source be according to the GPS position information that reports in user APP interaction, in these information it is most of only
Containing GPS position information, and do not include corresponding coordinate points, no history known coordinate point and respective coordinates position is caused to be believed
Breath.
4th kind, judge to be exactly geographic coordinate system in [- 180,180] according to coordinate, other are exactly projected coordinate system.This side
Although method can judge substantially coordinate set type, by taking geographic coordinate system as an example, same geographic coordinate system is also classified at home
The different coordinates such as WGS84, GCJ02, DB09, and deviation is larger between coordinate system, about 1200 meters of maximum deviation, so method
It can not accurately learn specific coordinate system.
In addition, current GPS data goes drying method generally to use track denoising strategy: being sentenced according to one section of continuous point
Whether certain points that break are noises.It whether is more than to face generally by the degrees of offset that composition track is put with other in the center for calculating point
Dividing value judges.If each point connects together, the track to be formed is smoother, would not be by denoising.
The use premise of existing track denoising strategy, needs to obtain one section of user's history continuous point, and is actually answering
In, user use and report GPS information all and be on demand it is random reported (such as: with cuisines APP positioning nearby restaurant, use
Traffic APP positions vehicle etc. nearby), leading to the GPS data of user is all sparse data, not according to one section of continuous GPS of history
Information can refer to, and data volume needed for this method is larger, realize difficult.
Summary of the invention
The present invention provides a kind of judgement side of coordinate system for overcoming the above problem or at least being partially solved the above problem
Method, system and application.
According to an aspect of the present invention, a kind of judgment method of coordinate system is provided, comprising:
S1, the coordinate that user terminal reports is converted according to different conversion formulas, obtains and corresponds each ginseng
Coordinate after examining the conversion of coordinate system;
S2, the distance for calculating the coordinate after each conversion to the base station coordinates, by the coordinate after shortest conversion
As coordinates of targets;
The true coordinate of S3, the coordinate for reporting the corresponding reference frame of the coordinates of targets as the user terminal
System;
Wherein, each conversion formula is used to convert a kind of reference frame accordingly to the coordinate system of base station coordinates,
The reference frame is the coordinate system that a kind of coordinate set type is belonged to the coordinate system of the base station, the coordinate set type
For one of geographic coordinate system or projected coordinate system.
Preferably, before the step S1 further include:
The coordinate that user terminal is reported is determined as prepared coordinate, the coordinate system of the prepared coordinate and the base station coordinates
Coordinate system belong to a coordinate set type;
The coordinate system of the base station coordinates and a certain number of and base station coordinates coordinate systems are belonged to one
The coordinate system of coordinate set type obtains each corresponding reference frame and converts to the base station coordinates as each reference frame
Coordinate system the conversion formula.
Preferably, the method for distance of the coordinate to the base station coordinates after each conversion is calculated in the step S2 is specific
Include:
When the coordinate system of the base station coordinates belongs to geographic coordinate system, the coordinate after calculating conversion according to the following formula is extremely
The distance of the base station:
Wherein, the coordinate after conversion is (Alng,Alat), base station coordinates are (Blng,Blat), DABCoordinate after indicating conversion is extremely
The distance of base station, PI are pi, and R is equatorial radius.
Preferably, the step S3 is specifically included:
S3.1, grid azimuth is obtained according to the base station coordinates and coordinates of targets;
S3.2, the coverage direction that the base station coordinates respective base station is in the grid azimuth, while the target
The coverage area that the distance of coordinate to the base station coordinates is in the base station coordinates respective base station is Rule of judgment, and judgement is known
The corresponding reference frame of the coordinates of targets is the true coordinate system for the coordinate that the user terminal reports.
Preferably, the step S3.1 is specifically included:
S3.1.1, the position according to the base station coordinates relative to coordinates of targets, know where the base station coordinates as
Limit;
S3.1.2, the quadrant according to where the base station coordinates, the base station coordinates and coordinates of targets obtain grid bearing
Angle;
Wherein, for the quadrant using coordinates of targets as origin, warp is X-axis, and weft is Y-axis.
Preferably, the step 3.1.2 is specifically included:
The reference azimuth A of the base station coordinates and coordinates of targets is calculated according to the following formula:
When the base station coordinates are in the positive axis of first quartile or Y-axis, the grid azimuth is A;
When the base station coordinates are in the second quadrant, the grid azimuth is 360 ° of+A;
When the base station coordinates are in the negative semiaxis of third quadrant, fourth quadrant or Y-axis, the grid azimuth is
180°+A。
Preferably, the coordinate that user terminal is reported is determined as the step of prepared coordinate and includes:
It is defined according to coordinate system, judges the coordinate system for the coordinate that the user terminal reports and the coordinate of the base station coordinates
Whether system belongs to a coordinate set type;
If belonging to a coordinate set type, the coordinate that user terminal is reported is determined as prepared coordinate, if being not belonging to
The coordinate transform that user terminal reports then extremely is belonged to a coordinate system class with the base station coordinates by the same coordinate set type
Transformed coordinate is determined as prepared coordinate by type.
Preferably, the coordinate system of the base station coordinates is international coordinate system WGS84.
According to another aspect of the present invention, a kind of judgement system of coordinate system is also provided, comprising:
Index module is converted, the coordinate for reporting user terminal is converted according to different conversion formulas, is obtained
Coordinate after corresponding the conversion of each reference frame;
Coordinates of targets module will be apart from most short for calculating the coordinate after each conversion to the distance of the base station coordinates
Conversion after coordinate as coordinates of targets;
Coordinate system judgment module, for being reported using the corresponding reference frame of the coordinates of targets as the user terminal
Coordinate true coordinate system;
Wherein, each conversion formula is used to convert a kind of reference frame accordingly to the coordinate system of base station coordinates,
The reference frame is the coordinate system that a kind of coordinate set type is belonged to the coordinate system of the base station, the coordinate set type
For one of geographic coordinate system or projected coordinate system.
Other side according to an embodiment of the present invention, the judgment method for also providing a kind of coordinate system as described above exist
Application in GPS data denoising.
Judgment method, system and the application of coordinate system proposed by the present invention, since the coordinate that user terminal reports is relied on
Coordinate system be it is unknown, therefore, the coordinate that the embodiment of the present invention first reports user terminal is assumed to be various coordinate systems, so
It converts afterwards according to different coordinates to the method for coordinate system used by base station coordinates, after the conversion for obtaining corresponding every kind of coordinate system
Coordinate;Coordinate after calculating each conversion to the base station coordinates distance, using the coordinate after shortest conversion as
Coordinates of targets;The true coordinate for the coordinate that the corresponding reference frame of the coordinates of targets is reported as the user terminal
System.The judgment method of coordinate system proposed by the present invention is realized simply, and coordinate type can be accurately judged to.
Detailed description of the invention
Fig. 1 is the schematic diagram of the implementation environment according to involved in the embodiment of the present invention;
Fig. 2 is the flow diagram according to the judgment method of the embodiment of the present invention;
Fig. 3 is the functional block diagram according to the judgement system of the embodiment of the present invention;
Fig. 4 is the distribution schematic diagram of the base station the Shanghai City 4G base station distance nearest with it;
Fig. 5 is the distribution schematic diagram of the base station Shanghai City 4G and its 4 nearest base station distance.
Specific embodiment
With reference to the accompanying drawings and examples, specific embodiments of the present invention will be described in further detail.Implement below
Example is not intended to limit the scope of the invention for illustrating the present invention.
In order to overcome the above problem of the prior art, the embodiment of the present invention provides a kind of judgment method of coordinate system.This hair
Bright each embodiment mainly illustrates that the coordinate system of the coordinate reported to user terminal judges.Coordinate set type is broadly divided into ground
Coordinate system and projected coordinate system are managed, wherein geographic coordinate system includes international coordinate system (WGS84 coordinate system), Mars coordinate system
(GCJ-02 coordinate system), figure coordinate system (MapBar coordinate system), search dog coordinate system (sogou coordinate system) and Baidu's coordinate system
(BD-09 coordinate system);Projected coordinate system includes Baidu's projected coordinate system and web Mercator projection coordinate system.Not only geographical coordinate
It can mutually be converted according to existing conversion formula between system and projected coordinate system, and belong to two of a type
Coordinate system can also be converted arbitrarily.Specific conversion method or conversion formula belong to the common knowledge of this field, such as
Https: //www.biaodianfu.com/coordinate-system.html just describes map longitude and latitude and coordinate system
The specific method of conversion, the embodiment of the present invention repeat no more.
Involved user terminal (English abbreviation: UE) in the embodiment of the present invention may include various with channel radio
The internet of things equipment of telecommunication function, handheld device, mobile unit, wearable device, calculates equipment or is connected to smart grid equipment
Other processing equipments of radio modem.
Involved base station, is that one kind is deployed in wireless access network to provide wirelessly for UE in the embodiment of the present invention
The device of communication function may include various forms of macro base stations, micro-base station, relay station, access point etc..Using different
In the system of wireless access technology, the title for having the equipment of base station functions may be different.
Fig. 1 shows the schematic diagram of implementation environment involved in each embodiment of the present invention, each embodiment master of the present invention
Illustrate that the coordinate system for the coordinate that UE is reported is judged, but in the concrete application of the embodiment of the present invention, there may be multiple
UE and multiple base stations 4G (eNB), the interactive mode between UE and eNB are identical as the explanation in the embodiment of the present invention.
As shown in Figure 1, eNB101 is communicated with UE102,103,104,105 by wireless network, UE can be such as 102
Mobile communication equipment, perhaps as 103 portable intelligent device or as 104 and 105 intelligent things network termination, such as intelligence
Energy grid equipment etc..It should be understood that UE type shown in Fig. 1 is only exemplary, institute of embodiment of the present invention body
Existing invention thought can be adapted for the judgment method of the coordinate system of any coordinate uploaded using wireless network.
It is a kind of flow diagram of the judgment method of coordinate system of the embodiment of the present invention, embodiment description in conjunction with Fig. 2
The method of the coordinate system of coordinate based on a kind of judgement user terminal uploads of the invention, this method comprises:
S101, the coordinate that user terminal reports is converted according to different conversion formulas, obtains and corresponds each
Coordinate after the conversion of reference frame.Each conversion formula is used to convert a kind of reference frame accordingly to base station and sit
Target coordinate system.The reference frame is the coordinate system that a kind of coordinate set type is belonged to the coordinate system of the base station.
It should be noted that by coordinate system that coordinate that user terminal reports is relied on be it is unknown, the present invention
The coordinate that embodiment first reports user terminal is assumed to be various coordinate systems, then converts according to different coordinates to base station and sits
The method of coordinate system used by marking, the coordinate after obtaining the conversion of corresponding every kind of coordinate system.
It should be noted that imaginary various coordinate systems are referred to as reference frame, the coordinate of reference frame and base station
System belongs to a kind of coordinate set type, such as the coordinate system of base station is Baidu's coordinate system, that is, belongs to geographic coordinate system, then referring to
Coordinate system also should belong to geographic coordinate system, such as GCJ-02, BD-09, WGS84 etc..
In a concrete application, base station coordinates system is BD-09, and the coordinate that user terminal is reported is converted according to GCJ-02
Conversion formula to BD-09 is converted, the coordinate after obtaining conversion corresponding with GCJ-02, referred to as coordinate 1;According to
WGS84 is converted to the conversion formula of BD-09 and is converted, the coordinate after obtaining conversion corresponding with WGS84, referred to as coordinate 2;
It is converted according to the conversion formula that search dog coordinate system is converted to BD-09, the seat after obtaining conversion corresponding with search dog coordinate system
It marks, referred to as coordinate 3, after the conversion of each reference frame of one-to-one correspondence obtained in the exactly step S101 of coordinate 1,2 and 3
Coordinate.
Coordinate after S102, each conversion of calculating makees the coordinate after shortest conversion to the distance of base station coordinates
For coordinates of targets.
The true coordinate system of S103, the coordinate for reporting the corresponding reference frame of coordinates of targets as user terminal.
It should be noted that the true coordinate system in order to judge coordinate that user terminal reports, the embodiment of the present invention is to turn
The distances of coordinate value base station coordinates after changing judges.This is because first user terminal reporting message when can all select it is nearest
Base station, secondly as each coordinate system is essentially all the appropriate deviation processing carried out to the coordinate on basis, so if adopting
With correct conversion method, the amount deviateed naturally is also just not present, the coordinate and base station coordinates after being converted by calculating
Distance, so that it may know nearest according to the coordinate and base station coordinates distance of which kind of coordinate system conversion formula conversion, it is clear that distance is most
Conversion formula used in close coordinate should be correctly coordinate system corresponding to the conversion formula i.e. true coordinate
System.
The embodiment of the present invention overcomes practicability existing for the method for judging coordinate system in the prior art and feasibility is poor
The problem of, have and realizes simple, accuracy of judgement advantage.
On the basis of the various embodiments described above, before step S101 further include:
The coordinate that user terminal is reported is determined as prepared coordinate, the coordinate system of preparation coordinate and the coordinate system of base station coordinates
Belong to a coordinate set type.
The coordinate system of the base station coordinates and a certain number of and base station coordinates coordinate systems are belonged to one
The coordinate system of coordinate set type obtains each corresponding reference frame and converts to the base station coordinates as each reference frame
Coordinate system the conversion formula.
It should be noted that determining that the purpose of preparation coordinate is that the coordinate for reporting user terminal is converted to and sits with base station
Target coordinate system belongs to a coordinate set type.If the coordinate system for the coordinate that user terminal reports and the coordinate system of base station coordinates
It is not belonging to a coordinate set type, then the coordinate that user terminal reports cannot will directly be converted to the coordinate system of base station coordinates.
On the basis of the various embodiments described above, the distance of coordinate after each conversion is calculated in step S102 to base station coordinates
Method specifically include:
When the coordinate system of base station coordinates belongs to geographic coordinate system, the coordinate after converting is calculated according to the following formula to base station
Distance:
Wherein, the coordinate after conversion is (Alng,Alat), base station coordinates are (Blng,Blat), DABCoordinate after indicating conversion is extremely
The distance of base station, PI are pi, and R is equatorial radius.
It should be noted that the embodiment of the present invention is only listed coordinate after the conversion when base station coordinates are geographic coordinate system
It, can also be with by existing other methods when coordinate when base station coordinates and after converting is projected coordinate system to the distance of base station
The distance is obtained, the present invention does not do specific line segment.
It should also be noted that since geographic coordinate system is the spheric coordinate system for indicating to order millet cake position with longitude and latitude, one
The coordinate form of geographic coordinate system is succinct, thus calculate apart from when it is also more convenient, in one alternate embodiment,
When calculating the coordinate after converting at a distance from base station coordinates, even if base station coordinates are projected coordinate system, remain on after first converting
Coordinate and base station coordinates convert to geographic coordinate system.
In practical application, include in the data packet that user terminal reports user request coordinate and user terminal institute according to
Bad base station information can be obtained base station coordinates by base station information.And the coordinate of user's request can be divided into two classes, Yi Leiwei
The current coordinate of user terminal, for example when opening mobile phone shopping APP, usually will pop up and " request to determine your current address
The dialog box of position ", if agreeing to the request, the i.e. current coordinate that user terminal reports, this when, user terminal was relied on
Base station be also the base station nearest with user terminal;It is another kind of, it is not the current coordinate of user terminal, for example open hand in A point
Machine map, it is desirable to the position of B point is obtained, what user terminal reported is no longer just current coordinate, but coordinate elsewhere,
So in this case, it is clear that in base station that coordinate elsewhere is relied on and data packet base station corresponding to user terminal
It is likely to different, then directly most judging the coordinate system risk low there are accuracy recently again with distance.
Therefore, on the basis of the various embodiments described above, step S103 is specifically included:
S3.1, grid azimuth is obtained according to base station coordinates and coordinates of targets;
S3.2, the coverage direction that base station coordinates respective base station is in grid azimuth, while coordinates of targets to base station is sat
Coverage area of the target distance in base station coordinates respective base station is Rule of judgment, and judgement knows that the corresponding reference of coordinates of targets is sat
Mark system is the true coordinate system for the coordinate that user terminal reports.
It should be noted that the present embodiment according to the coverage area and coverage direction of base station judge coordinates of targets whether with
Base station in the data packet that family terminal reports is corresponding, and the requirement of reliability is judged as coordinate system.If coverage direction or covering
Range illustrates that coordinate that user terminal reports is not the current location of user terminal there are incongruent situation, therefore also
It cannot continue to judge true coordinate system.
On the basis of the various embodiments described above, step S3.1 is specifically included:
S3.1.1, the position according to base station coordinates relative to coordinates of targets, know the quadrant where base station coordinates;Quadrant with
Coordinates of targets is origin, and warp is X-axis, and weft is Y-axis
S3.1.2, the quadrant according to where base station coordinates, base station coordinates and coordinates of targets obtain grid azimuth.
It is X-axis losing side to the west of origin as it will be appreciated by persons skilled in the art that be X-axis positive direction to the east of origin
To, it is Y-axis positive direction to the north of origin, is Y-axis negative direction on the south origin, is i.e. the first quartile of origin Northeast Regional, origin northwest
Region is the second quadrant, and origin southwest region is third quadrant, and origin Northeast Regional is third quadrant, and origin South East area is the
Four-quadrant.
On the basis of the above embodiments, step S3.1.2 is specifically included:
The reference azimuth A of calculation base station coordinate and coordinates of targets according to the following formula:
When base station coordinates are in the positive axis of first quartile or Y-axis, grid azimuth A;
When base station coordinates are in the second quadrant, grid azimuth is 360 ° of+A;
When base station coordinates are in the negative semiaxis of third quadrant, fourth quadrant or Y-axis, grid azimuth is 180 ° of+A.
On the basis of the various embodiments described above, the step of coordinate that user terminal is reported is determined as prepared coordinate, includes:
It is defined according to coordinate system, whether the coordinate system of the coordinate system and base station coordinates that judge the coordinate that user terminal reports is same
Belong to a coordinate set type;
When concrete application, the differentiation of coordinate set type can be defined by coordinate system to be realized, by taking Shanghai City as an example, projection is sat
Dimension (X-axis) range of mark system is (13358484~13692446), and progress (Y-axis) range is (3481989~3871817),
And the coordinate range of geographic coordinate system is very intuitive, are as follows: [- 180,180], it is clear that can be easily by the format of coordinate
The coordinate set type for the coordinate that user terminal reports is distinguished.
If belonging to a coordinate set type, the coordinate that user terminal is reported is determined as prepared coordinate, if being not belonging to
The coordinate transform that user terminal reports then extremely is belonged to a coordinate set type with base station coordinates by the same coordinate set type,
Transformed coordinate is determined as prepared coordinate.
It should be noted that it is the basis realized of the present invention that coordinate set type is identical, therefore, by above-mentioned deterministic process,
Basis is provided for the subsequent coordinate calculated after converting and base station coordinates.For example, if coordinate and base station that user terminal reports are sat
Mark belongs to geographic coordinate system, then the coordinate that user terminal is reported is determined as prepared coordinate, and if user terminal reports
Coordinate be based on projected coordinate system, and base station coordinates are based on geographic coordinate system, it is necessary to which case projected coordinate system turns
The formula for shifting to geographic coordinate system, the coordinate that user terminal is reported convert, and transformed coordinate is determined as prepared seat
Mark.
On the basis of the various embodiments described above, the coordinate system of base station coordinates is international coordinate system WGS84.International coordinate system
Coordinate system WGS84 most widely used when being China's base station location, it is more convenient when being positioned, coordinate system being converted.
According to another aspect of the present invention, a kind of judgement system of coordinate system is also provided, as shown in figure 3, the system is used
In judging coordinate system used by coordinate that user terminal reports in foregoing embodiments, therefore, in each embodiment of preamble
Judgment method in description and definition, can be used for the understanding of each execution module in the embodiment of the present invention.
As shown, the judgement system of coordinate system includes:
Index module 201 is converted, the coordinate for reporting user terminal is converted according to different conversion formulas, obtained
Coordinate after the conversion of each reference frame must be corresponded.Reference frame is to belong to a kind of seat with the coordinate system of base station
Mark the coordinate system of set type.
It should be noted that by coordinate system that coordinate that user terminal reports is relied on be it is unknown, the present invention
The coordinate that the conversion index module 201 of embodiment first reports user terminal is assumed to be various coordinate systems, then according to difference
Coordinate system is converted to the method for coordinate system used by base station coordinates, the coordinate after obtaining the conversion of corresponding every kind of coordinate system.
It should be noted that imaginary various coordinate systems are referred to as reference frame, the coordinate of reference frame and base station
System belongs to a kind of coordinate set type, such as the coordinate system of base station is Baidu's coordinate system, that is, belongs to geographic coordinate system, then referring to
Coordinate system also should belong to geographic coordinate system, such as GCJ-02, BD-09, WGS84 etc..
In a concrete application, base station coordinates system is BD-09, and the coordinate that user terminal is reported is converted according to GCJ-02
Conversion formula to BD-09 is converted, the coordinate after obtaining conversion corresponding with GCJ-02, referred to as coordinate 1;According to
WGS84 is converted to the conversion formula of BD-09 and is converted, the coordinate after obtaining conversion corresponding with WGS84, referred to as coordinate 2;
It is converted according to the conversion formula that search dog coordinate system is converted to BD-09, the seat after obtaining conversion corresponding with search dog coordinate system
It marks, referred to as coordinate 3, after the conversion of each reference frame of one-to-one correspondence obtained in the exactly step S101 of coordinate 1,2 and 3
Coordinate.
Coordinates of targets module 202 will be apart from shortest for calculating the coordinate after each conversion to the distance of base station coordinates
Coordinate after conversion is as coordinates of targets;
Coordinate system judgment module 203, the seat for reporting the corresponding reference frame of coordinates of targets as user terminal
Target true coordinate system.
It should be noted that the true coordinate system in order to judge coordinate that user terminal reports, the seat of the embodiment of the present invention
Mark system judgment module 203 is judged with the distance of the coordinate value base station coordinates after converting.This is because user terminal reports first
Nearest base station can be all selected when message, secondly as each coordinate system is essentially all to fit to what the coordinate on basis carried out
When deviation is handled, so if using correct conversion method, the amount deviateed naturally is also just not present, and is converted by calculating
Coordinate afterwards is at a distance from base station coordinates, so that it may know the coordinate and base station coordinates according to which kind of coordinate system conversion formula conversion
Distance is recently, it is clear that the conversion formula used in the nearest coordinate should be correctly seat corresponding to the conversion formula
Mark system i.e. true coordinate system.
On the basis of the above embodiments, coordinate system judgment module specifically includes:
Grid azimuth unit, for obtaining grid azimuth according to base station coordinates and coordinates of targets;
Judging unit, for being in the coverage direction of base station coordinates respective base station, while coordinates of targets with grid azimuth
Distance to base station coordinates is in the coverage area of base station coordinates respective base station as Rule of judgment, and judgement knows that coordinates of targets is corresponding
Reference frame be the true coordinate system of coordinate that user terminal reports.
It should be noted that the coordinate system judgment module of the present embodiment judges according to the coverage area and coverage direction of base station
Whether coordinates of targets is corresponding with the base station in the data packet that user terminal reports, and the requirement of reliability is judged as coordinate system.Such as
Fruit coverage direction or coverage area illustrate that the coordinate that user terminal reports not is working as user terminal there are incongruent situation
Front position, therefore cannot also continue to judge true coordinate system.
The above method provided in an embodiment of the present invention can be applied in GPS denoising scene.Specific application method are as follows: according to
The method of above-described embodiment description obtains coordinates of targets, in conjunction with known base station coverage distance and directional information, if target is sat
Mark is not in base station range or in the coverage direction of base station, then coordinates of targets is noise, needs to delete.
It should be noted that the judgement coordinate system combined with base station coverage information that the various embodiments described above of the present invention provide
Method, being able to solve terminal and reporting position is not physical location problem, that is, realizes the denoising of GPS information.
Reasonability of the invention is analyzed below with reference to a specific embodiment.
For the coordinate system that the coordinate of base station uses in the present embodiment for WGS84 coordinate system, which belongs to geographic coordinate system.
Step 1, judge coordinate system whether geographic coordinate system
According to coordinate system define judge UE report coordinate use coordinate system classification, such as: coordinate points [- 180,
180] it can determine whether as geographic coordinate system;If non-geographic coordinate is converted to geographical coordinate according to existing conversion formula.Such as Baidu
The judgement of projection coordinate can be distinguished according to Y value range, and the coordinate that UE is reported is determined as prepared coordinate.
Step 2, preparation coordinate is converted into WGS84 coordinate by each reference frame conversion formula
This step be by the co-ordinate position information of unknown specific coordinate type, specifically respectively according to existing GCJ02,
The coordinates type such as BD09, WGS84 is converted into the technology of WGS84 coordinate, is uniformly converted into WGS84 coordinate.
Step 3, distance between the coordinate and base station coordinates after calculating conversion
Distance and the deflection relative to base station location between coordinate points and base station coordinates (WGS84) after calculating conversion.
Assuming that the A point coordinate (A after conversionlng,Alat), base station B point coordinate (Blng,Blat), distance between the two are as follows:
Wherein, DABCoordinate after indicating conversion is to the distance of base station, and PI is pi, and R is equatorial radius.
Step 4, the grid azimuth between coordinate and base station coordinates after calculating conversion
Calculating benchmark azimuth A:
When B point is in first quartile and Y-axis positive axis, grid azimuth=A;
When B is in the second quadrant, grid azimuth=360 °+A;
When B is in third four-quadrant and the negative semiaxis of Y-axis, grid azimuth=180 °+A.
Step 5, using the coordinate after shortest conversion as coordinates of targets, base station coordinates are according to grid azimuth
The coverage direction of respective base station, while coordinates of targets is in the covering model of base station coordinates respective base station to the distance of base station coordinates
It encloses, judges the true coordinate system for the coordinate for knowing that the corresponding reference frame of coordinates of targets reports as user terminal.If target
For coordinate not in coverage area and coverage direction, that indicates the reality for judging type error or report the non-UE in position of former coordinate system
Border position.
Fig. 4 shows the distribution situation of the Shanghai City base station the 4G base station distance nearest with it, and Fig. 5 shows Shanghai City 4G base
The distribution situation for 4 base station distance nearest with it of standing.From Fig. 4 and Fig. 5 it is found that between base station spacing within 900 meters, and
Just there are other base stations within 500 meters near about 89% base station, so can estimate that base station range is within 450 meters.
Table 1 show the present embodiment calculating each reference frame between differ apart from situation.
Distance (rice) | WGS84 | GCJ-02 | BD-09 |
WGS84 | 0 | 480 | 1200 |
GCJ-02 | 480 | 0 | 940 |
BD-09 | 1200 | 940 | 0 |
Differed between each reference frame of table 1 apart from table
As known from Table 1, between each coordinate system range deviation about in 480-1200 meters of ranges, therefore can pass through calculate and base station
Between distance judge coordinate system that UE is reported, the coordinate system judgment method of the embodiment of the present invention is feasible.
The apparatus embodiments described above are merely exemplary, wherein unit can be as illustrated by the separation member
Or may not be and be physically separated, component shown as a unit may or may not be physical unit, i.e.,
It can be located in one place, or may be distributed over multiple network units.It can select according to the actual needs therein
Some or all of the modules achieves the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying creative labor
In the case where dynamic, it can understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
It realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on
Stating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should
Computer software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including several fingers
It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation
The method of certain parts of example or embodiment.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used
To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;
And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and
Range.
Claims (10)
1. a kind of judgment method of coordinate system characterized by comprising
S1, the coordinate that user terminal reports is converted according to different conversion formulas, obtains and corresponds each reference seat
Coordinate after marking the conversion of system;
S2, the distance for calculating the coordinate after each conversion to the base station coordinates, using the coordinate after shortest conversion as
Coordinates of targets;
The true coordinate system of S3, the coordinate for reporting the corresponding reference frame of the coordinates of targets as the user terminal;
Wherein, each conversion formula is used to convert a kind of reference frame accordingly to the coordinate system of base station coordinates, described
Reference frame is the coordinate system that a kind of coordinate set type is belonged to the coordinate system of the base station, and the coordinate set type is ground
Manage one of coordinate system or projected coordinate system.
2. judgment method as described in claim 1, which is characterized in that before the step S1 further include:
The coordinate that user terminal is reported is determined as prepared coordinate, the coordinate system of the prepared coordinate and the seat of the base station coordinates
Mark system belongs to a coordinate set type;
The coordinate system of the base station coordinates and a certain number of and base station coordinates coordinate systems are belonged into a coordinate
The coordinate system of set type obtains each corresponding reference frame and converts to the seat of the base station coordinates as each reference frame
Mark the conversion formula of system.
3. judgment method as described in claim 1, which is characterized in that the coordinate after calculating each conversion in the step S2 is extremely
The method of the distance of the base station coordinates specifically includes:
When the coordinate system of the base station coordinates belongs to geographic coordinate system, the coordinate after calculating conversion according to the following formula is to described
The distance of base station:
Wherein, the coordinate after conversion is (Alng,Alat), base station coordinates are (Blng,Blat), DABIndicate the coordinate after converting to base station
Distance, PI is pi, and R is equatorial radius.
4. judgment method as claimed in claim 1 or 3, which is characterized in that the step S3 is specifically included:
S3.1, grid azimuth is obtained according to the base station coordinates and coordinates of targets;
S3.2, the coverage direction that the base station coordinates respective base station is in the grid azimuth, while the coordinates of targets
Distance to the base station coordinates is in the coverage area of the base station coordinates respective base station as Rule of judgment, and judgement is known described
The corresponding reference frame of coordinates of targets is the true coordinate system for the coordinate that the user terminal reports.
5. judgment method as claimed in claim 4, which is characterized in that the step S3.1 is specifically included:
S3.1.1, the position according to the base station coordinates relative to coordinates of targets, know the quadrant where the base station coordinates;
S3.1.2, the quadrant according to where the base station coordinates, the base station coordinates and coordinates of targets obtain grid azimuth;
Wherein, for the quadrant using coordinates of targets as origin, warp is X-axis, and weft is Y-axis.
6. judgment method as claimed in claim 5, which is characterized in that the step 3.1.2 is specifically included:
The reference azimuth A of the base station coordinates and coordinates of targets is calculated according to the following formula:
When the base station coordinates are in the positive axis of first quartile or Y-axis, the grid azimuth is A;
When the base station coordinates are in the second quadrant, the grid azimuth is 360 ° of+A;
When the base station coordinates are in the negative semiaxis of third quadrant, fourth quadrant or Y-axis, the grid azimuth be 180 °+
A。
7. judgment method as claimed in claim 2, which is characterized in that the coordinate for reporting user terminal is determined as preparing
The step of coordinate includes:
It is defined according to coordinate system, the coordinate system of the coordinate system and the base station coordinates that judge the coordinate that the user terminal reports is
It is no to belong to a coordinate set type;
If belonging to a coordinate set type, the coordinate that user terminal is reported is determined as prepared coordinate, if being not belonging to same
The coordinate transform that user terminal reports then extremely is belonged to a coordinate set type with the base station coordinates by a coordinate set type,
Transformed coordinate is determined as prepared coordinate.
8. judgment method as described in claim 1, which is characterized in that the coordinate system of the base station coordinates is international coordinate system
WGS84。
9. a kind of judgement system of coordinate system characterized by comprising
Index module is converted, the coordinate for reporting user terminal is converted according to different conversion formulas, is obtained one by one
Coordinate after the conversion of corresponding each reference frame;
Coordinates of targets module will be apart from shortest turn for calculating the coordinate after each conversion to the distance of the base station coordinates
Coordinate after changing is as coordinates of targets;
Coordinate system judgment module, the seat for reporting the corresponding reference frame of the coordinates of targets as the user terminal
Target true coordinate system;
Wherein, each conversion formula is used to convert a kind of reference frame accordingly to the coordinate system of base station coordinates, described
Reference frame is the coordinate system that a kind of coordinate set type is belonged to the coordinate system of the base station, and the coordinate set type is ground
Manage one of coordinate system or projected coordinate system.
10. a kind of application of judgment method of coordinate system as claimed in claim 4 in GPS data denoising.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711184207.9A CN109827573B (en) | 2017-11-23 | 2017-11-23 | Method, system and application for judging coordinate system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711184207.9A CN109827573B (en) | 2017-11-23 | 2017-11-23 | Method, system and application for judging coordinate system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109827573A true CN109827573A (en) | 2019-05-31 |
CN109827573B CN109827573B (en) | 2020-11-13 |
Family
ID=66859556
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711184207.9A Active CN109827573B (en) | 2017-11-23 | 2017-11-23 | Method, system and application for judging coordinate system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109827573B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111107485A (en) * | 2019-12-03 | 2020-05-05 | 浙江大学 | Positioning base station selection method |
CN111221014A (en) * | 2020-01-07 | 2020-06-02 | 南京华苏科技有限公司 | OTT data position-based intelligent deviation rectifying method and device |
CN111858798A (en) * | 2020-06-24 | 2020-10-30 | 广东邦盛北斗科技股份公司 | Method for automatically identifying track data coordinate system, method for displaying track of positioning product on map, storage medium and electronic equipment |
CN111988843A (en) * | 2020-08-12 | 2020-11-24 | 中国计量大学 | Base station self-calibration method |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1399200A (en) * | 2001-07-25 | 2003-02-26 | 日本电气株式会社 | Method and system for converting positioning signal in different coordinate system to specified coordinate system |
JP2011232444A (en) * | 2010-04-26 | 2011-11-17 | Ntt Docomo Inc | Coordinate conversion device, coordinate conversion method and program |
CN105160191A (en) * | 2015-09-16 | 2015-12-16 | 广州市城市规划勘测设计研究院 | Plane coordinate conversion method and apparatus |
CN105160197A (en) * | 2015-09-23 | 2015-12-16 | 湖北省基础地理信息中心 | Comprehensive geographical spatial data coordinate conversion method and system |
CN106204734A (en) * | 2015-04-30 | 2016-12-07 | 浙江宇视科技有限公司 | The map integrated based on multi-source map generates method and device |
US20170115376A1 (en) * | 2014-04-23 | 2017-04-27 | Snu R&Db Foundation | Method for effectively estimating three-dimensional location by using trilateration in wireless network, and recording medium in which program is recorded for carrying out same |
-
2017
- 2017-11-23 CN CN201711184207.9A patent/CN109827573B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1399200A (en) * | 2001-07-25 | 2003-02-26 | 日本电气株式会社 | Method and system for converting positioning signal in different coordinate system to specified coordinate system |
JP2011232444A (en) * | 2010-04-26 | 2011-11-17 | Ntt Docomo Inc | Coordinate conversion device, coordinate conversion method and program |
US20170115376A1 (en) * | 2014-04-23 | 2017-04-27 | Snu R&Db Foundation | Method for effectively estimating three-dimensional location by using trilateration in wireless network, and recording medium in which program is recorded for carrying out same |
CN106204734A (en) * | 2015-04-30 | 2016-12-07 | 浙江宇视科技有限公司 | The map integrated based on multi-source map generates method and device |
CN105160191A (en) * | 2015-09-16 | 2015-12-16 | 广州市城市规划勘测设计研究院 | Plane coordinate conversion method and apparatus |
CN105160197A (en) * | 2015-09-23 | 2015-12-16 | 湖北省基础地理信息中心 | Comprehensive geographical spatial data coordinate conversion method and system |
Non-Patent Citations (2)
Title |
---|
乔金海等: "ArcGIS中的坐标系统及投影变换应用研究 ", 《城市道桥与防洪》 * |
刘缨: "一种工程中实用的WGS-84到BJ-54坐标系转换方法 ", 《现代电子技术》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111107485A (en) * | 2019-12-03 | 2020-05-05 | 浙江大学 | Positioning base station selection method |
CN111107485B (en) * | 2019-12-03 | 2021-07-06 | 浙江大学 | Positioning base station selection method |
CN111221014A (en) * | 2020-01-07 | 2020-06-02 | 南京华苏科技有限公司 | OTT data position-based intelligent deviation rectifying method and device |
CN111858798A (en) * | 2020-06-24 | 2020-10-30 | 广东邦盛北斗科技股份公司 | Method for automatically identifying track data coordinate system, method for displaying track of positioning product on map, storage medium and electronic equipment |
CN111988843A (en) * | 2020-08-12 | 2020-11-24 | 中国计量大学 | Base station self-calibration method |
Also Published As
Publication number | Publication date |
---|---|
CN109827573B (en) | 2020-11-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9426044B2 (en) | Radio access network geographic information system with multiple format | |
CN109827573A (en) | Judgment method, system and the application of coordinate system | |
CN104010364B (en) | For determining the method and system in the geographical location of the estimation of base station | |
US7974632B2 (en) | Method and system for the localization of a mobile WLAN client | |
CN103179658B (en) | Method for positioning by using wireless signals and positioning server | |
CN103096464B (en) | Single base station user method of locating terminal and system | |
JP7108626B2 (en) | Method and system for locating a terminal in a wireless communication system | |
CN106454722A (en) | Dynamic differential positioning method based on map matching for mobile communication terminals | |
CN103901398B (en) | A kind of location fingerprint localization method based on combination collating sort | |
CN104144493B (en) | Localization method, alignment system and base station location platform | |
JP2010500604A (en) | Cell ID based positioning from common cell parts | |
CN107466043A (en) | A kind of azimuthal method and apparatus for determining antenna for base station | |
CN104284352B (en) | Shift position area overlapping coverage optimization method and device | |
CN108450060B (en) | Positioning method and device based on WI-FI access point | |
Koivisto et al. | Continuous high-accuracy radio positioning of cars in ultra-dense 5G networks | |
CN107371173A (en) | A kind of method and apparatus of tested rotating platform | |
CN106465328A (en) | Method and system for estimating the geographical distance or for estimating a range of the geographical distance between at least two user equipments, mobile communication network, user equipment, program and computer program product | |
CN107509165A (en) | A kind of method for being calculated based on big data, determining AP positions | |
CN103404177B (en) | Node and method for positioning | |
CN103763773B (en) | The localization method and device of a kind of mobile terminal | |
US20040075606A1 (en) | Method and system for location estimation analysis within a communication network | |
CN109640262A (en) | A kind of localization method and system, equipment, storage medium based on mixed-fingerprint | |
CN111638537B (en) | Indoor and outdoor multi-technology fusion positioning method | |
CN110109055A (en) | A kind of indoor orientation method based on RSSI ranging | |
CN108281023A (en) | A kind of method and system showing real-time road by mobile terminal |
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 |