CN107066606A - A kind of KEY value calculating methods and device based on recorder management platform - Google Patents

A kind of KEY value calculating methods and device based on recorder management platform Download PDF

Info

Publication number
CN107066606A
CN107066606A CN201710283278.8A CN201710283278A CN107066606A CN 107066606 A CN107066606 A CN 107066606A CN 201710283278 A CN201710283278 A CN 201710283278A CN 107066606 A CN107066606 A CN 107066606A
Authority
CN
China
Prior art keywords
ordinate
coordinates
offset
coordinate
key values
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
Application number
CN201710283278.8A
Other languages
Chinese (zh)
Other versions
CN107066606B (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.)
Aerospace Hi Tech Holding Group Co Ltd
Original Assignee
Aerospace Hi Tech Holding Group 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 Aerospace Hi Tech Holding Group Co Ltd filed Critical Aerospace Hi Tech Holding Group Co Ltd
Priority to CN201710283278.8A priority Critical patent/CN107066606B/en
Publication of CN107066606A publication Critical patent/CN107066606A/en
Application granted granted Critical
Publication of CN107066606B publication Critical patent/CN107066606B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Remote Sensing (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Traffic Control Systems (AREA)
  • Navigation (AREA)

Abstract

The present invention relates to a kind of acceleration coordinate transformation method and device based on recorder management platform, belong to electronic map vehicle position information process field, in order to solve existing recorder management platform without deviant caching function, the shortcoming of platform operations performance is had a strong impact on when the coordinate data amount received is larger, and proposes a kind of acceleration coordinate transformation method and device based on recorder management platform.The method of the present invention includes:Pending geographical coordinate is converted into two-dimentional rectangular co-ordinate;According to given precision, mesh generation is carried out to coordinate system;The southwestern point coordinates of grid where solving coordinate;The abscissa and ordinate of southwestern point coordinates are combined to form character string, KEY values are used as;Coordinate of the KEY values for characterizing the grid at pending geographical coordinate.The present invention is applied to the electronic map positioning of recorder management platform.

Description

A kind of KEY value calculating methods and device based on recorder management platform
Technical field
The present invention relates to a kind of KEY value calculating methods and device based on recorder management platform, belong to electronic map car Position information process field.
Background technology
When recorder management platform shows vehicle position information on the electronic map, it is necessary first to enter line displacement to coordinate and turn Change, afterwards with the offset coordinates after conversion, just can correctly show on the electronic map.Platform is needed by extranet access Ministry of Communications The coordinate offset service for the Map Services business issue specified, can normal conversion coordinate.Because platform vehicle is more, and upload The frequency of coordinate is big, carries out the serious operating characteristics that have impact on platform of Coordinate Conversion by outer net in real time.
Because the vehicle on platform is main in national major highways, urban district sections of road, many vehicles are all past in same section Multiple traveling, most Coordinate Conversion occurs in that repetition, or position quite close on.This is using the seat with reference significance The offset operational that mark and its offset data are carried out to the coordinate near it in precision permission is provided may.
The content of the invention
The invention aims to solve existing recorder management platform without deviant caching function, work as reception To coordinate data amount it is larger when have a strong impact on the shortcoming of platform operations performance, and propose a kind of based on recorder management platform Accelerate coordinate transformation method and device.
According to the first aspect of the invention there is provided a kind of KEY value calculating methods based on recorder management platform, bag Include:
Step one:Obtain pending geographical coordinate;
Step 2:The geographical coordinate is converted into two-dimentional rectangular co-ordinate;
Step 3:According to given precision, mesh generation is carried out to coordinate system where two-dimentional rectangular co-ordinate;
Step 4:The southwestern point coordinates of grid where solving the two-dimentional rectangular co-ordinate;
Step 5:The abscissa and ordinate of the southwestern point coordinates are combined and to form character string, by the character string It is used as KEY values;Coordinate of the KEY values for characterizing the grid at pending geographical coordinate.
According to the second aspect of the invention there is provided a kind of KEY value calculation apparatus based on recorder management platform, bag Include:
Geographical coordinate acquisition module, the pending geographical coordinate for obtaining;
Rectangular co-ordinate modular converter, for the geographical coordinate to be converted into two-dimentional rectangular co-ordinate;
Mesh generation module, for according to given precision, mesh generation to be carried out to coordinate system where two-dimentional rectangular co-ordinate;
Mesh coordinate solves module, the southwestern point coordinates of grid where for solving the two-dimentional rectangular co-ordinate;
KEY value generation modules, will for combining to form character string the abscissa and ordinate of the southwestern point coordinates The character string is used as KEY values;Coordinate of the KEY values for characterizing the grid at pending geographical coordinate.
Beneficial effects of the present invention are:1st, the present invention generates a KEY in precision tolerance band according to true coordinate value Value, KEY values can be buffered in local service wherein, when other coordinates in the accuracy rating, it is necessary to when carrying out Coordinate Conversion, The buffered results can be used to carry out coordinate offset computing, carry out the performance of lifting system map denotation.2nd, find in the buffer During matching value, the speed for producing coordinate offset data is very fast, in embodiment, and the present invention is compared to existing recorder platform Nearly 1000 times of speed lifting;3rd, the service fee produced by the data, services that excessive use Ministry of Communications provides can be reduced;4th, may be used Reduction system uses outer net resource, improves the stability of system data conversion.
Brief description of the drawings
Fig. 1 is the flow chart of the KEY value calculating methods based on recorder management platform of the present invention;
Fig. 2 is the principle assumption diagram of the KEY value calculation apparatus based on recorder management platform of the present invention.
Embodiment
Embodiment one:KEY value calculating methods such as Fig. 1 institutes based on recorder management platform of present embodiment Show, including:
Step one:Obtain pending geographical coordinate.
Step 2:The geographical coordinate is converted into two-dimentional rectangular co-ordinate.The unit of geographical coordinate is degree, and two-dimentional right angle is sat Target unit for centimetre.
For example, using meridian by equator point as origin, longitude is abscissa, and latitude is ordinate, and east longitude, north latitude are Just, set up coordinate system, then east longitude on sphere, the two-dimentional rectangular co-ordinate of the every bit in north latitude region computational methods such as Under, unit rice.
Abscissa:X=R* (lng*cos (lat*PI/180) * PI/180)
Ordinate:Y=R* (lat*PI/180)
Wherein, R is earth radius, and lng is longitude, and lat is latitude.
Step 3:According to given precision, mesh generation is carried out to coordinate system where two-dimentional rectangular co-ordinate.I.e. each is sat Mark is each fallen within a grid.
Step 4:The southwestern point coordinates of grid where solving the two-dimentional rectangular co-ordinate.
Step 5:The abscissa and ordinate of the southwestern point coordinates are combined and to form character string, by the character string It is used as KEY values.
For example, according to given accuracy, being segmented to horizontal (vertical) coordinate, each section of coordinate is all the grid of the precision Coordinate, then horizontal (vertical) coordinate of distance recently and less than horizontal (vertical) coordinate grid coordinates be exactly the coordinate points the grid fallen into seat Mark.The abscissa dx and ordinate dy of grid computational methods are as follows:
Dx=int (x/d) × d
Dy=int (y/d) × d
Wherein int represents to round, and d is the precision of mesh generation.
Then dx and dy are combined as character string as KEY values, i.e. KEY=dx_dy.
Embodiment two:Present embodiment present embodiment from unlike embodiment one:Methods described Also include step 6:Search whether there is the value matched with the KEY values in the buffer;If in the presence of according to what is found Value determines corresponding deviant, and calculates offset coordinates;If being not present, sat by KEY values correspondence described in Network Capture Target offset coordinates, and calculate the deviant storage of offset coordinates in the buffer.
When being present in the value that KEY values match, step 6 specifically includes following steps:
Step A1:Obtain KEY values.
Step A2:Obtain offset corresponding with the KEY values.
Step A3:Calculate the rectangular co-ordinate of the KEY values respective coordinates.Here rectangular co-ordinate is by the character of KEY values The transverse and longitudinal coordinate that string is split into, it represents the coordinate of grid.
Step A4:The rectangular co-ordinate is converted into geographical coordinate, offset coordinates are used as.
When being not present in value that the KEY values match, step 6 specifically includes following steps:
Step B1:Pass through the offset coordinates of Network Capture KEY value respective coordinates;
Step B2:The corresponding coordinate of KEY values and offset coordinates are converted into two-dimentional rectangular co-ordinate;
Step B3:Taken after the two-dimentional right angle abscissa of offset coordinates is subtracted into the two-dimentional right angle abscissa of KEY respective coordinates It is whole, it is used as the abscissa of offset;The vertical seat in two-dimentional right angle that the two-dimentional right angle ordinate of offset coordinates is subtracted into KEY respective coordinates Rounded after mark, be used as the ordinate of offset.
Embodiment three:Present embodiments provide for a kind of KEY value calculation apparatus based on recorder management platform, As shown in Fig. 2 including:
Geographical coordinate acquisition module 101, the pending geographical coordinate for obtaining.
Rectangular co-ordinate modular converter 102, for the geographical coordinate to be converted into two-dimentional rectangular co-ordinate.
Mesh generation module 103, for according to given precision, carrying out grid to coordinate system where two-dimentional rectangular co-ordinate and drawing Point.
Mesh coordinate solves module 104, the southwestern point coordinates of grid where for solving the two-dimentional rectangular co-ordinate.
KEY values generation module 105, for combining and to form character the abscissa and ordinate of the southwestern point coordinates String, regard the character string as KEY values.
Present embodiment is the corresponding software service of embodiment one, is not detailed herein.
Embodiment four:Present embodiment from unlike embodiment three:
The device of the present invention also includes cache lookup module 106, for searching whether exist and the KEY values in the buffer The value matched;If in the presence of to offset coordinates computing module 106A transmission execution signals;It is slow to deviant if being not present Storing module 106B, which is sent, performs signal.
Offset coordinates computing module 106A, for after execution signal is received, it to be right with it to be determined according to the value found The deviant answered, and calculate offset coordinates.
Deviant cache module 106B, sits for after execution signal is received, passing through KEY values correspondence described in Network Capture Target offset coordinates, and calculate the deviant storage of offset coordinates in the buffer.
Offset coordinates computing module 106A includes:
KEY value acquiring units, for obtaining KEY values.
Offset acquiring unit, for obtaining offset corresponding with the KEY values.
First rectangular co-ordinate computing unit, the rectangular co-ordinate for calculating the KEY values respective coordinates.
Offset coordinates computing unit, for the rectangular co-ordinate to be converted into geographical coordinate, is used as offset coordinates.
Deviant cache module 106B includes:
Offset coordinates acquiring unit, for the offset coordinates by Network Capture KEY value respective coordinates.
Second rectangular co-ordinate acquiring unit, for the corresponding coordinate of KEY values and offset coordinates to be converted into two-dimentional right angle Coordinate.
Offset computation unit, the two dimension for the two-dimentional right angle abscissa of offset coordinates to be subtracted to KEY respective coordinates is straight Rounded after the abscissa of angle, be used as the abscissa of offset;The two-dimentional right angle ordinate of offset coordinates is subtracted into KEY respective coordinates Rounded after two-dimentional right angle ordinate, be used as the ordinate of offset.
Present embodiment is the corresponding software service of embodiment two, is not detailed herein.
Other steps and parameter are identical with embodiment three.
Below according to following test process, to illustrate beneficial effects of the present invention.
1) test environment (PC):
Processor:Intel(R)Core(TM)2Duo CPU E7500@2.93GHz 2.94GHz
Internal memory:4GB
Operating system:64 windows7
Java context:jkd1.8.0_51
2) code is tested:
3) test result
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.ht.test.TestGisPix
100000 609 milliseconds of coordinate used times
Tests run:2,Failures:0,Errors:0,Skipped:0,Time elapsed:0.687sec。
The present invention can also have other various embodiments, in the case of without departing substantially from spirit of the invention and its essence, this area Technical staff works as can make various corresponding changes and deformation according to the present invention, but these corresponding changes and deformation should all belong to The protection domain of appended claims of the invention.

Claims (4)

1. a kind of KEY value calculating methods based on recorder management platform, it is characterised in that including:
Step one:Obtain pending geographical coordinate;
Step 2:The geographical coordinate is converted into two-dimentional rectangular co-ordinate;
Step 3:According to given precision, mesh generation is carried out to coordinate system where two-dimentional rectangular co-ordinate;
Step 4:The southwestern point coordinates of grid where solving the two-dimentional rectangular co-ordinate;
Step 5:The abscissa and ordinate of the southwestern point coordinates are combined and to form character string, using the character string as KEY values;Coordinate of the KEY values for characterizing the grid at pending geographical coordinate.
2. the KEY value calculating methods according to claim 1 based on recorder management platform, it is characterised in that also include:
Step 6:Search whether there is the value matched with the KEY values in the buffer;If in the presence of according to the value found Corresponding deviant is determined, and calculates offset coordinates;If being not present, pass through KEY values respective coordinates described in Network Capture Offset coordinates, and calculate offset coordinates deviant storage in the buffer;
When being present in the value that the KEY values match, step 6 specifically includes following steps:
Step A1:Obtain KEY values;
Step A2:Obtain offset corresponding with the KEY values;
Step A3:Calculate the rectangular co-ordinate of the KEY values respective coordinates;
Step A4:The rectangular co-ordinate is converted into geographical coordinate, offset coordinates are used as;
When being not present in value that the KEY values match, step 6 specifically includes following steps:
Step B1:Pass through the offset coordinates of Network Capture KEY value respective coordinates;
Step B2:The corresponding coordinate of KEY values and offset coordinates are converted into two-dimentional rectangular co-ordinate;
Step B3:Round, make after the two-dimentional right angle abscissa of offset coordinates is subtracted into the two-dimentional right angle abscissa of KEY respective coordinates For the abscissa of offset;After the two-dimentional right angle ordinate that the two-dimentional right angle ordinate of offset coordinates is subtracted to KEY respective coordinates Round, be used as the ordinate of offset.
3. a kind of KEY value calculation apparatus based on recorder management platform, it is characterised in that including:
Geographical coordinate acquisition module, the pending geographical coordinate for obtaining;
Rectangular co-ordinate modular converter, for the geographical coordinate to be converted into two-dimentional rectangular co-ordinate;
Mesh generation module, for according to given precision, mesh generation to be carried out to coordinate system where two-dimentional rectangular co-ordinate;
Mesh coordinate solves module, the southwestern point coordinates of grid where for solving the two-dimentional rectangular co-ordinate;
KEY value generation modules, will be described for combining to form character string the abscissa and ordinate of the southwestern point coordinates Character string is used as KEY values;Coordinate of the KEY values for characterizing the grid at pending geographical coordinate.
4. the KEY value calculation apparatus according to claim 3 based on recorder management platform, it is characterised in that also include:
Cache lookup module, for searching whether there is the value matched with the KEY values in the buffer;If in the presence of to inclined Move coordinate calculation module and send execution signal, to calculate the offset coordinates matched with KEY values;If being not present, to skew Value cache module sends execution signal, is cached obtained deviant is calculated by KEY values;
The offset coordinates computing module includes:
KEY value acquiring units, for obtaining KEY values;
Offset acquiring unit, for obtaining offset corresponding with the KEY values;
First rectangular co-ordinate computing unit, the rectangular co-ordinate for calculating the KEY values respective coordinates;
Offset coordinates computing unit, for the rectangular co-ordinate to be converted into geographical coordinate, is used as offset coordinates;
The deviant cache module includes:
Offset coordinates acquiring unit, for the offset coordinates by Network Capture KEY value respective coordinates;
Second rectangular co-ordinate acquiring unit, for the corresponding coordinate of KEY values and offset coordinates to be converted into two-dimentional rectangular co-ordinate;
Offset computation unit, the two-dimentional right angle for the two-dimentional right angle abscissa of offset coordinates to be subtracted to KEY respective coordinates is horizontal Rounded after coordinate, be used as the abscissa of offset;The two-dimentional right angle ordinate of offset coordinates is subtracted into the two dimension of KEY respective coordinates Rounded after right angle ordinate, be used as the ordinate of offset.
CN201710283278.8A 2017-04-26 2017-04-26 KEY value calculation method and device based on recorder management platform Active CN107066606B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710283278.8A CN107066606B (en) 2017-04-26 2017-04-26 KEY value calculation method and device based on recorder management platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710283278.8A CN107066606B (en) 2017-04-26 2017-04-26 KEY value calculation method and device based on recorder management platform

Publications (2)

Publication Number Publication Date
CN107066606A true CN107066606A (en) 2017-08-18
CN107066606B CN107066606B (en) 2020-10-23

Family

ID=59604922

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710283278.8A Active CN107066606B (en) 2017-04-26 2017-04-26 KEY value calculation method and device based on recorder management platform

Country Status (1)

Country Link
CN (1) CN107066606B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108510778A (en) * 2018-04-11 2018-09-07 航天科技控股集团股份有限公司 A kind of implementation method of the vehicle polymerization display based on recorder management platform

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005050483A1 (en) * 2003-10-24 2005-06-02 The Real Estate Cable Network, Inc. Integrated information processing system for geospatial media
CN104619014A (en) * 2015-01-09 2015-05-13 中山大学 SVM-KNN (Support Vector Machine-K Nearest Neighbor)-based indoor positioning method
CN106407213A (en) * 2015-07-31 2017-02-15 阿里巴巴集团控股有限公司 Geographic position-based information retrieval method, device and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005050483A1 (en) * 2003-10-24 2005-06-02 The Real Estate Cable Network, Inc. Integrated information processing system for geospatial media
CN104619014A (en) * 2015-01-09 2015-05-13 中山大学 SVM-KNN (Support Vector Machine-K Nearest Neighbor)-based indoor positioning method
CN106407213A (en) * 2015-07-31 2017-02-15 阿里巴巴集团控股有限公司 Geographic position-based information retrieval method, device and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108510778A (en) * 2018-04-11 2018-09-07 航天科技控股集团股份有限公司 A kind of implementation method of the vehicle polymerization display based on recorder management platform

Also Published As

Publication number Publication date
CN107066606B (en) 2020-10-23

Similar Documents

Publication Publication Date Title
CN104634352B (en) A kind of road matching method merged based on Floating Car motion track and electronic chart
JP5041638B2 (en) Method for transmitting location information of digital map and device used therefor
CN101105524B (en) Quick cadastral survey measurement and data processing method based on real-time dynamic positioning technology
CN106953928A (en) The acquisition methods and device of positional information
CN101179851A (en) Positioning system and method of navigation mobile phone
CN103077201A (en) Estimation method for unknown position based on internet initiative iteration detection
CN103577539A (en) Method of measuring reachability of public transportation service based on GIS (Geographic Information System)
CN105300373A (en) Three-dimensional coordinate conversion method and device
CN104392113B (en) A kind of evaluation method of COASTAL SURFACE cold reactive antibodies wind speed
CN102779363A (en) Method and system for calculating road bridge cost
CN107066606A (en) A kind of KEY value calculating methods and device based on recorder management platform
CN107169080A (en) A kind of geospatial analysis system being combined based on GIS and spatial database
Poddubny et al. Retrieval of spatial field of atmospheric aerosol concentration according to data from local measurements: A modification of the method of back trajectory statistics
CN103499821A (en) Simulator of GNSS receivers
CN107122453A (en) A kind of acceleration coordinate transformation method and device based on recorder management platform
CN107133295B (en) Accelerated inverse address resolution method and device based on recorder management platform
Yang et al. The research on real-time map-matching algorithm
CN109947877B (en) Method and system for improving map positioning precision of GIS mobile terminal
Liu et al. Dyna-CLUE model improvement based on exponential smoothing method and land use dynamic simulation
CN112434393B (en) Marketing water meter positioning method using hundred-degree map API and ArcGIS
CN117870651B (en) Map high-precision acquisition method, memory and storage medium based on RTK-SLAM technology
Li et al. Quantification of road grade to improve the estimation of fuel consumptions using the global positioning system
Zhong et al. Collaborative navigation in V2I network based on Chan-Taylor joint iterative algorithm
CN113259947B (en) Network coverage data determination method, device, equipment, medium and product
YoonSong et al. A real-time filtering method of positioning data with moving window mechanism

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