CN102109332A - Displacement detection method of device and system based on GPS (Global Position System) - Google Patents

Displacement detection method of device and system based on GPS (Global Position System) Download PDF

Info

Publication number
CN102109332A
CN102109332A CN2009101894509A CN200910189450A CN102109332A CN 102109332 A CN102109332 A CN 102109332A CN 2009101894509 A CN2009101894509 A CN 2009101894509A CN 200910189450 A CN200910189450 A CN 200910189450A CN 102109332 A CN102109332 A CN 102109332A
Authority
CN
China
Prior art keywords
longitude
latitude data
gps
time
real
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.)
Pending
Application number
CN2009101894509A
Other languages
Chinese (zh)
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.)
BYD Co Ltd
Original Assignee
BYD 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 BYD Co Ltd filed Critical BYD Co Ltd
Priority to CN2009101894509A priority Critical patent/CN102109332A/en
Publication of CN102109332A publication Critical patent/CN102109332A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Position Fixing By Use Of Radio Waves (AREA)

Abstract

The invention relates to a displacement detection method of a device based on a GPS (Global Position System). The displacement detection method comprises the following detection steps: obtaining the initial longitude and latitude data of the device; setting the threshold value; detecting the real-time longitude and latitude data of the device through a network; and comparing the real-time longitude and latitude data with the initial longitude and latitude data. If the difference between the real-time longitude and latitude data and the initial longitude and latitude data exceeds the range of the threshold value, an alarm is sent out. The position offset is obtained by comparing the real-time longitude and latitude data with the initial longitude and latitude data; and the position offset is compared with the threshold value, when the displacement of the detected device is changed, the system immediately sends out an alarm or gives the prompt information to provide the convenience for a user, and the occurrence of vital problems is avoided.

Description

A kind of device displacement detecting method and system based on GPS
Technical field
The present invention relates to a kind of GPS (Global Position System) Global Positioning System (GPS) technology, relate in particular to a kind of GPS global positioning system technology with device displacement detection function.
Background technology
Along with the raising of people's life requirement, GPS Global Positioning System (GPS) technology has obtained using widely, and increasing people begin to buy and use the GPS receiver.GPS has had development rapidly in fields such as vehicle mounted guidance, mobile consumer electronics.But the function of GPS is this and more also.
A lot of disasteies is arranged, such as earthquake, when snow disaster takes place, buildings is moved, the electric pole run-off the straight is finally collapsed, and consequence will be hardly imaginable.Under some special situation, enter the motor train unit epoch gradually such as the railway of China, what lean on is that railway electric pole along the line carries out the transmission of electric energy, in case because special circumstances, electric pole tilts to some extent, and consequence can not be imagined; For another example, for the southern snow disaster at the beginning of 2008, south is most of disaster-stricken, and electrical network is subjected to weight and collapses, and causes the large-area power-cuts of a plurality of cities.At present, the related application that does not have GPS for the displacement monitoring of device.
Summary of the invention
The present invention can not in time notify user's problem for solving the situation that the device displacement occurs, and a kind of device displacement detecting method and system based on GPS is provided.
The device displacement detecting method that provides a kind of based on GPS provided by the invention, described method comprises step:
A. obtain the step of the initial longitude and latitude data of described device;
B. the step of setting threshold;
C. the step of the real-time longitude and latitude data by the described device of network measuring;
D. according to longitude and latitude data and initial longitude and latitude data computation obtain position offset and described position offset and described threshold value are compared in real time; If described position offset more than or equal to threshold value, is then exported information; If described position offset is less than threshold value, repeating step c.
The present invention also provides a kind of system of the device displacement detecting based on GPS, and described system comprises the GPS that is positioned over the device of surveying, and described system also comprises:
Initialization module is used for obtaining the initial longitude and latitude data of described device;
Locating module is used for obtaining the real-time longitude and latitude data of described device;
Comparison module is used for initial longitude and latitude data in the comparison initialization module and the real-time longitude and latitude data in the locating module;
Output module is used for exporting the comparative result in the comparison module as a result.
Obtain position offset by more real-time longitude and latitude data and initial longitude and latitude data, and described position offset and threshold value compared, when the displacement of survey device changes, system in time gives the alarm or provides information, provide convenience to the user, avoided the generation of significant problem.
Description of drawings
Fig. 1 is the schematic flow sheet that the present invention is based on the device displacement detecting method of GPS.
Fig. 2 is the module diagram that the present invention is based on the device displacement detection system of GPS.
Embodiment
In order to make technical matters solved by the invention, technical scheme and beneficial effect clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
In an embodiment of the present invention, by more real-time longitude and latitude data and initial longitude and latitude data, obtain position offset, and described position offset and threshold value compared, when the displacement of survey device changes, system in time gives the alarm or provides information, provides convenience to the user, has avoided the generation of significant problem.
Fig. 1 shows the flow process of the device displacement detecting method that the present invention is based on GPS, and this method comprises the steps:
S101: the initial longitude and latitude data of obtaining described device;
S102: setting threshold;
S103: by the real-time longitude and latitude data of the described device of network measuring;
S104: whether the position offset of more real-time longitude and latitude data and initial longitude and latitude data surpasses threshold value, surpasses then to forward step S105 to, otherwise forwards step S106 to;
S105: output information;
S106: judged whether interrupt instruction, had then to forward step S107 to, otherwise continued execution in step S104;
S107: finish.
In said method, at first obtain the initial longitude and latitude data of described device as standard value through step S101, step S102 setting threshold then, step S103 is by the real-time longitude and latitude data of the described device of network measuring, step S104 is according to longitude and latitude data and initial longitude and latitude data computation obtain position offset and described position offset and described threshold value are compared in real time, if surpassing threshold value, described position offset then forwards step S105 output information to, call user's attention, otherwise then step S106 judges whether interrupt instruction, if interrupt instruction is arranged then forward the detection that step S107 finishes real-time longitude and latitude data to, otherwise continue step S104 longitude and latitude data and initial longitude and latitude data relatively in real time.
Also comprise before the above-mentioned steps S104 and set the step that detects the interval time of described device in real time, can be according to actual needs, certain hour detects the displacement situation of described device at interval, and can be 1 hour or 2 hours described interval time, also can adjust at any time as required.This measure is in order to save Internet resources, can not account for network under unnecessary situation always.
Preset threshold among the above-mentioned steps S102 can be determined according to actual conditions.The first threshold and second threshold value can be set, and are electric pole such as described device, have calculated electric pole and have produced great position offset and will collapse with vertical direction, cause major accident.For instance, the position offset of described electric pole reaches 20cm will cause major accident, then first threshold is set at 10cm, and second threshold setting is 15cm, exports one-level information and secondary information respectively for position offset in various degree.The one-level information can be an output character information on display screen; Described secondary information can be to sound the alarm.Thereby reach caution purpose in various degree, cause that the related personnel payes attention to and in time rushes to repair.
The position offset of real-time longitude and latitude data among the above-mentioned steps S104 and initial longitude and latitude data calculates by pre-set formula.Such as initial longitude and latitude data is that initial longitude and latitude data are " 35 ° of E; 20 ° of 1 minute 05 second N ", measured real-time longitude and latitude data are " 35 ° of E, 20 ° of 1 minute 06 second N ", and promptly latitude differed 0.1 second, reduction formula according to latitude, 1 second=about 30.9m of latitude is so this position offset is approximately 3.09m, less than the first threshold scope, this position offset belongs to normal range, and any prompting will not done by system; Initial for another example longitude and latitude data are that initial longitude and latitude data are " 35 ° of E; 20 ° of 1 minute 05 second N ", measured real-time longitude and latitude data are " 35 ° of E; 20 ° of 1 minute 09 second N ", be that latitude differed 0.4 second, reduction formula according to latitude, 1 second=about 30.9m of latitude, so this position offset is approximately 12.36m, surpass the first threshold scope, but less than second threshold range, so system will send the one-level information, on display screen, export information, thereby reach caution related personnel's purpose; And for example initial longitude and latitude data are " 35 ° of E; 20 ° of 1 minute 05 second N ", and measured real-time longitude and latitude data are " 35 ° of E, 20 ° of 1 minute 1 second N ", be that latitude differed 0.5 second, according to the reduction formula of latitude, 1 second=about 30.9m of latitude is so this position offset is approximately 15.45m, surpass second threshold range, so system will send the secondary information, sound the alarm, thereby reach the purpose of warning the related personnel.
Above given example is for the offset on the latitude direction of device, the same hour offset of the offset of longitudinal and longitude and latitude direction position, can calculate with reference to the reduction formula of longitude and latitude, the reduction formula of described longitude and latitude is a common practise, does not do at this and gives unnecessary details.
The network that relates among the above-mentioned steps S103 can be to connect by cable network, such as the telecommunications broadband, also can be cdma network, 3G network etc.
And the interrupt instruction described in the above-mentioned steps S106 can be button, the perhaps button of appointment arbitrarily.Described step S106 can be before step S104 or afterwards, after system receives interrupt instruction, finishes obtaining the longitude and latitude data of described device.
Fig. 2 shows the module of the described device displacement detection system that the present invention is based on GPS, and described system comprises: initialization module 11 is used for obtaining the initial longitude and latitude data of described device; Locating module 13 is used for obtaining the real-time longitude and latitude data of described device; Comparison module 15 is used for initial longitude and latitude data in the comparison initialization module 11 and the real-time longitude and latitude data in the locating module 13; Output module 16 as a result, are used for exporting the comparative result in the comparison module.
Preferably, said system also comprises module 12 time blocks, is used for setting interval time, detects the longitude and latitude data of described device at regular intervals in real time.Can be according to actual needs, certain hour detects the displacement situation of described device at interval, and can be 1 hour or 2 hours described interval time, also can adjust at any time as required.This measure is in order to save Internet resources, can not account for network under unnecessary situation always.
Said system also comprises interrupt instruction detection module 14, is used for detecting interrupt instruction, if detect interrupt instruction, then finishes in the locating module obtaining of longitude and latitude data in real time.
Initialization module 11 is used for obtaining the initial longitude and latitude data of described device, and set interval time by time block 12, detect the longitude and latitude of described device at regular intervals in real time, locating module 13 is used for obtaining the real-time longitude and latitude data of described device, comparison module 15 is used for initial longitude and latitude data in the comparison initialization module 11 and the real-time longitude and latitude data in the locating module 13, get the position offset of auto levelizer, output module 16 is used for exporting the comparative result in the comparison module as a result.
Output module as a result 16 in the said system, according to the position offset that obtains in the comparison module 15, the output information, the information that is outputed to is at least acoustic information or text prompt information.Described output information can be the output alarm song, also can be output character information on display screen, or the combination of alarm song and text prompt information.
Obtain position offset by more real-time longitude and latitude data and initial longitude and latitude data, and described position offset and threshold value compared, when the displacement of survey device changes, system in time gives the alarm or provides information, provide convenience to the user, avoided the generation of significant problem.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (9)

1. the device displacement detecting method based on GPS is characterized in that described method comprises the steps:
A. obtain the step of the initial longitude and latitude data of described device;
B. the step of setting threshold;
C. the step of the real-time longitude and latitude data by the described device of network measuring;
D. according to longitude and latitude data and initial longitude and latitude data computation obtain position offset and described position offset and described threshold value are compared in real time; If described position offset more than or equal to threshold value, is then exported information; If described position offset is less than threshold value, repeating step c.
2. the device displacement detecting method based on GPS as claimed in claim 1 is characterized in that, the threshold value among the described step b comprises the first threshold and second threshold value; If described position offset more than or equal to first threshold and less than second threshold value, is then exported the one-level information; If described position offset more than or equal to second threshold value, is then exported the secondary information.
3. the device displacement detecting method based on GPS as claimed in claim 1 is characterized in that, also comprises step before the described step c: set the step that detects the interval time of described device in real time.
4. the device displacement detecting method based on GPS as claimed in claim 2 is characterized in that described one-level information is a text prompt information; Described secondary information is the combination of acoustic information or acoustic information and text prompt information.
5. the device displacement detecting method based on GPS as claimed in claim 1 is characterized in that, after described step c or the d, also comprises the step that detects interrupt instruction: if detect interrupt instruction, then finish the detection of real-time longitude and latitude data.
6. the device displacement detection system based on GPS comprises the GPS that is positioned over the device of surveying, and it is characterized in that described system also comprises:
Initialization module is used for obtaining the initial longitude and latitude data of described device;
Locating module is used for obtaining the real-time longitude and latitude data of described device;
Comparison module is used for initial longitude and latitude data in the comparison initialization module and the real-time longitude and latitude data in the locating module;
Output module is used for exporting the comparative result in the comparison module as a result.
7. the device displacement detection system based on GPS as claimed in claim 6 is characterized in that described system also comprises time block, is used for setting interval time, detects the longitude and latitude data of described device at regular intervals in real time.
8. the device displacement detection system based on GPS as claimed in claim 6 is characterized in that described system also comprises the interrupt instruction detection module, is used for detecting interrupt instruction, if detect interrupt instruction, then finishes in the locating module obtaining of longitude and latitude data in real time.
9. the device displacement detection system based on GPS as claimed in claim 6 is characterized in that, the comparative result of the described output of output module as a result is at least acoustic information or text prompt information.
CN2009101894509A 2009-12-26 2009-12-26 Displacement detection method of device and system based on GPS (Global Position System) Pending CN102109332A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101894509A CN102109332A (en) 2009-12-26 2009-12-26 Displacement detection method of device and system based on GPS (Global Position System)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101894509A CN102109332A (en) 2009-12-26 2009-12-26 Displacement detection method of device and system based on GPS (Global Position System)

Publications (1)

Publication Number Publication Date
CN102109332A true CN102109332A (en) 2011-06-29

Family

ID=44173553

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101894509A Pending CN102109332A (en) 2009-12-26 2009-12-26 Displacement detection method of device and system based on GPS (Global Position System)

Country Status (1)

Country Link
CN (1) CN102109332A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102316544A (en) * 2011-07-11 2012-01-11 铁道部运输局 Multiple working mode switching method in locomotive wireless communication and system thereof
CN102857639A (en) * 2012-09-19 2013-01-02 东莞宇龙通信科技有限公司 Mobile terminal and safety warning implementing method based on same
CN105205985A (en) * 2014-06-27 2015-12-30 中兴通讯股份有限公司 Alarm method, device and terminal
CN105590418A (en) * 2014-12-05 2016-05-18 深圳华智测控技术有限公司 Street lamp pole skew detection and alarm method and system
CN111551676A (en) * 2020-05-18 2020-08-18 浙江新寰科环保科技股份有限公司 Greenhouse gas emission monitoring method
CN112289167A (en) * 2020-09-14 2021-01-29 北京京东振世信息技术有限公司 Positioning method and device, computer readable storage medium and electronic equipment

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102316544A (en) * 2011-07-11 2012-01-11 铁道部运输局 Multiple working mode switching method in locomotive wireless communication and system thereof
CN102857639A (en) * 2012-09-19 2013-01-02 东莞宇龙通信科技有限公司 Mobile terminal and safety warning implementing method based on same
CN105205985A (en) * 2014-06-27 2015-12-30 中兴通讯股份有限公司 Alarm method, device and terminal
CN105205985B (en) * 2014-06-27 2019-10-29 中兴通讯股份有限公司 A kind of alarm method, device and terminal
CN105590418A (en) * 2014-12-05 2016-05-18 深圳华智测控技术有限公司 Street lamp pole skew detection and alarm method and system
CN105590418B (en) * 2014-12-05 2018-06-05 深圳华智测控技术有限公司 Street lamp post tilt detection alarm method and system
CN111551676A (en) * 2020-05-18 2020-08-18 浙江新寰科环保科技股份有限公司 Greenhouse gas emission monitoring method
CN112289167A (en) * 2020-09-14 2021-01-29 北京京东振世信息技术有限公司 Positioning method and device, computer readable storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN102109332A (en) Displacement detection method of device and system based on GPS (Global Position System)
CN202078504U (en) Intelligent walking stick for blind man
CN104236626B (en) The integrated on-line monitoring system of drainage pipeline liquid level and flow
CN105528841B (en) A kind of anti-external force damage alarm system of power cable
US9007948B2 (en) Distance measurement and alarm method and apparatus
CN103676857B (en) Solar-energy ecological environmental monitoring distributed system
CN201698025U (en) GPS antitheft tracking system for solar panel
CN103090825A (en) Compatible railroad bridge condition monitoring system based on Beidou satellite
CN102946004B (en) Antenna adjusting method and device
CN104391086B (en) Transformer external environment condition humidity parameter measuring method and system
CN204718588U (en) A kind of on-line monitoring system of inclination of electric power tower situation
CN102075860A (en) Geographic location based mobile terminal control system and working method thereof
CN105699962A (en) Distance measurement method and device
CN202486264U (en) Cable monitoring system based on general packet radio service (GPRS)
CN107884777A (en) A kind of shatter-resistant protection and loss prevention device for unmanned plane
CN202648661U (en) Flow velocity-based river eagre detection device
CN207704260U (en) A kind of detecting system of vehicle-state
CN106228823A (en) A kind of urban storm flood road surface running vehicle safety early warning device and method
CN109061681A (en) A kind of geologic shifts monitoring device, method and system
CN1449209A (en) Improved positioning system and cellular communication network
CN203011355U (en) Compatible railway bridge state monitoring system based on big dipper
CN103592576A (en) GIS-based anti-theft monitoring and positioning system for power cables and monitoring method
CN101866528A (en) Automatic alarm device
WO2009020370A3 (en) Method and apparatus of saving power using distance information
JP2006337083A (en) Earthquake motion arrival determining system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110629