CN103559109A - Automatic detecting system of security GPS (global positioning system) positioning device - Google Patents

Automatic detecting system of security GPS (global positioning system) positioning device Download PDF

Info

Publication number
CN103559109A
CN103559109A CN201310191996.4A CN201310191996A CN103559109A CN 103559109 A CN103559109 A CN 103559109A CN 201310191996 A CN201310191996 A CN 201310191996A CN 103559109 A CN103559109 A CN 103559109A
Authority
CN
China
Prior art keywords
gps locating
terminal device
locating terminal
security protection
detecting system
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
CN201310191996.4A
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.)
GUANGDONG XUNTONG TECHNOLOGY Co Ltd
Original Assignee
GUANGDONG XUNTONG TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by GUANGDONG XUNTONG TECHNOLOGY Co Ltd filed Critical GUANGDONG XUNTONG TECHNOLOGY Co Ltd
Priority to CN201310191996.4A priority Critical patent/CN103559109A/en
Publication of CN103559109A publication Critical patent/CN103559109A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses an automatic detecting system of a security GPS positioning device. The automatic detecting system comprises GPS positioning terminal devices, a PC (personal computer) and a field bus RS485. The PC is connected with the field bus RS485 through an adaptor, the GPS positioning terminal devices are connected to the field bus RS485 through adaptors, and the PC detects the GPS positioning terminal devices through serial commands. Compared with the prior art, the automatic detecting system has the advantages that the whole system is reasonable in design and reliable in working, a bus detecting system based on the RS485 is high in communication reliability and expandability and convenient to operate and maintain, and fault detection and diagnosis efficiency of the security GPS positioning device is greatly improved.

Description

A kind of automated detection system of security protection type GPS locating device
Technical field
The present invention relates to field safety monitoring technical field, particularly a kind of automated detection system of security protection type GPS locating device.
 
Background technology
In recent years, China's security protection market development is swift and violent, the speed increment with annual 20%~30%.Security protection type GPS locating device is the product of the location high-end intelligent innovative technology of security protection and application, is the locating device that GPS positioning system, GPRS communication system, guard against theft and alarm system are combined as a whole.He can provide the more specific location information of target to object real-time tracking, can carry out Wireless Data Transmission, burglar alarm, information inquiry, data dispatch etc.
For the reliability that guarantees that product is higher, except product design being required to height, also need to carry out strict supervision and test to producing.Yet the efficiency of manual inspection cannot meet the requirement of batch production, therefore need design to meet the test macro of the security protection locating device of batch production.
 
Summary of the invention
The object of the invention is to provide a kind of test macro communication reliability high, extensibility is strong, the automated detection system of the security protection type GPS locating device of convenient operating maintenance.
For achieving the above object, the present invention implements according to following technical scheme:
A kind of automated detection system of security protection type GPS locating device, comprise GPS locating terminal device, PC, RS 485 fieldbus, described PC connects RS 485 fieldbus by breakout box, GPS locating terminal device is connected on RS 485 fieldbus by breakout box, and PC detects GPS locating terminal device by serial order.
As a kind of optimal way of the present invention, described this system also comprises the network switch being connected with PC and is arranged at the front-end processor of network switch front end.
As a kind of optimal way of the present invention, described GPS locating terminal device arranges address number so that test identification detects.
As a kind of optimal way of the present invention, described GPS locating terminal device, according to the two-wire system mode of connection, is connected on RS 485 fieldbus by bus type topological structure.
As a kind of optimal way of the present invention, described breakout box is RS 232-RS 485 breakout boxs.
Compared with prior art, whole system of the present invention is reasonable in design, reliable operation, and the bus testing system communication reliability based on RS 485 is high, and extensibility is strong, and convenient operating maintenance has improved the fault detection and diagnosis efficiency of security protection type GPS locating device greatly.
Accompanying drawing explanation
Fig. 1 is the structured flowchart of a kind of GPS locating terminal of the present invention device.
Fig. 2 is system construction drawing of the present invention.
 
Embodiment
Below in conjunction with accompanying drawing and specific embodiment, the invention will be further described, in illustrative examples and the explanation of this invention, is used for explaining the present invention, but not as a limitation of the invention.
The present invention as shown in Figure 2, comprise GPS locating terminal device, PC, RS 485 fieldbus, described PC connects RS 485 fieldbus by breakout box, GPS locating terminal device is connected on RS 485 fieldbus by breakout box, and PC detects GPS locating terminal device by serial order.A PC detects 1~127 GPS locating terminal device by RS 485 fieldbus simultaneously, and network exchange function connects multiple pc machine, for PC and the sense terminals of testing, all by RS 232, turn the breakout box of RS 485, according to the two-wire system mode of connection, by bus type topological structure (parallel way), be connected in RS 485 buses.PC is by the hardware of serial order pick-up unit.
As shown in Figure 1, a kind of security protection type GPS locating device, is comprised of the storer connecting on microprocessor, voice message, button, pilot lamp, GPS module, GPRS module and power module.Automated detection system of the present invention need to detect microprocessor unit and the communication interface of security protection type GPS locating device; Power module (comprising power management and battery charging and discharging); Storer; GPS module; GPRS module; Button; Pilot lamp; Voice message.
PC is by the communication with GPS locating terminal device, if receive, GPS locating terminal device correctly replys, and illustrates that GPS locating terminal device can be working properly, can determine that microprocessor unit, communication interface and electric power system are normal.When GPS locating terminal device normally completes test, can determine that this joint end device microprocessor unit, communication interface and electric power system are normal.
The test of storer, GPS module, GPRS module is to send test command by PC, GPS locating terminal device is correctly replied and is received after this test command, by GPS locating terminal device microprocessor, carry out respectively the test of storer, GPS module, GPRS module, and test result is reported to PC by communications protocol.
The test of pilot lamp is to send test command by PC, GPS locating terminal device is correctly replied and is received after this test command, by GPS locating terminal device microprocessor, allows respectively each pilot lamp glimmer, and by testing staff's eyes, judges, operate PC, determine the quality of these parts.PC is received after testing staff's input results, sends the order that finishes this test to GPS locating terminal device.
Whether the test of button is that PC sends test command, and GPS locating terminal device is correctly replied and received after this test command, detect respective keys press and unclamp at the appointed time by GPS locating terminal device microprocessor.If actuation of keys is correct, GPS locating terminal de-vice processor by communications protocol by the information reporting of button regular event to PC, otherwise report key errors information.The test of voice message parts is that PC sends test command, GPS locating terminal device is correctly replied and is received after this test command, by GPS locating terminal device microprocessor, recycle respectively and send each signal language segment, there is testing staff according to the quality of voice and definition judgment test result, and operate PC input results.PC is received after testing staff's input results, sends the order that finishes this test to GPS locating terminal device.
Because RS 485 buses are to adopt half-duplex operation mode, can only there is a pair of node to communicate, therefore require every table apparatus to have the address number of oneself so that test identification detects at every turn.Here design the production of end device is numbered to the address number while detecting, because the production numbering of end device has uniqueness, therefore can meet the requirement of RS 485 communications.
Producing numbering is the only sign of end device, in order to reflect better the production information of end device, considers the robotization that numbering generates simultaneously, and our definite method for numbering serial is as follows:
YYMMDDHHmmss?ID1?ID2?ID3
Wherein, YY is the year binary-coded decimal of latter two, and MM is the binary-coded decimal of the moon, and DD is the binary-coded decimal of day, the binary-coded decimal of mm for dividing, and ss is the binary-coded decimal of second.This time is the time while testing, and can automatically be generated by the computing machine of testing.ID1 and ID2 are the coding of byte, are respectively manufacturer's code, operating personnel's code; ID3 is double-byte encodings, represents software and hardware version number.
Further, RS 485 buses have only been formulated Physical layer electrical standard, and upper layer communication agreement is not stipulated, this provides very large dirigibility to deviser.A set of complete communication protocol should take in from many aspects, and simple, the complete function of claimed structure, requires again to have expandability with compatible, and standardization as far as possible.The communication protocol that native system adopts is in the functional characteristics that fully takes into account system itself, on the basis referring again to international standard communication protocol, formulates, and is applicable to the computing machine of detection and the data exchange ways that sense terminals is carried out point-to-point or one master and multiple slaves:
Starting character: Frame beginning flag, for the communication of setting out, native system is approximately decided to be 8AH.
Address code: address field consists of 10 bytes, every byte 2 is binary-coded decimal.Address size is 20 decimal numbers.Formerly, upper address bits is rear in low address position.When address is 99999999999999999999H, be broadcast address (to all terminals, sending message).When address is 11111111111111111111H, it is PC.
Control code C: a byte length, for indicating concrete command context.Each represents the command code that different contents is corresponding different.
Data field: this field is divided two parts.First is a byte, represents the byte number (length) of whole data field, and L=0 indicates without data field.Second portion, for needing the data content of transmission in communication, comprises Data Identification and data etc., and its structure changes with the function of control code.
Check code CS: from start-of-frame start to the mould 256 of all each bytes before check code and.
End mark: Frame end mark, native system agreement 16H.
The multi-machine communication system that PC and GPS locating terminal device form adopts primary and secondary structure, and data communication is always initiated by main frame.Main frame is when sending state, and slave is always for accepting state.If the address information that PC sends conforms to local slave, receive this data, otherwise continue to receive the data in bus.If GPS locating terminal device need to send data, must wait until when host computer polls is crossed this GPS locating terminal device, just can file a request.Under this network schemer, GPS locating terminal device can " not intercepted " other response of GPS locating terminal device to main frame, so just can not produce wrong response to other GPS locating terminal devices.
When PC sends after call frame, if do not receive the acknowledgement frame of slave in official hour, PC is thought LOF retransmit call frame; If send 3 times, still do not receive acknowledgement frame, system is thought this time and is reported an error communication failure.When Frame sends, native system adopts response mode to carry out Error Control, and receive direction transmit leg postbacks special control command code, as transmission correctly with not no confirmation.If frame is lost completely in transmission, transmit leg carries out timeout treatment.
Front-end processor can be converted to the serial data of transmitting on order wire the parallel data of computing machine, and completes be necessary control function, error-detecting and synchronous, by the network switch, is undertaken PC to control.
Practical using result of the present invention shows: whole system is reasonable in design, reliable operation, the bus testing system communication reliability based on RS 485 is high, and extensibility is strong, convenient operating maintenance, has improved the fault detection and diagnosis efficiency of security protection type GPS locating device greatly.And front-end processor can be converted to the serial data of transmitting on order wire the parallel data of computing machine, and complete be necessary control function, error-detecting and synchronous, by the network switch, undertaken PC further to control.
Technical scheme of the present invention is not limited to the restriction of above-mentioned specific embodiment, and the technology distortion that every technical scheme according to the present invention is made, within all falling into protection scope of the present invention.

Claims (5)

1. the automated detection system of a security protection type GPS locating device, it is characterized in that: comprise GPS locating terminal device, PC, RS 485 fieldbus, described PC connects RS 485 fieldbus by breakout box, GPS locating terminal device is connected on RS 485 fieldbus by breakout box, and PC detects GPS locating terminal device by serial order.
2. the automated detection system of security protection type GPS locating device according to claim 1, is characterized in that: described this system also comprises the network switch being connected with PC and is arranged at the front-end processor of network switch front end.
3. the automated detection system of security protection type GPS locating device according to claim 1, is characterized in that: described GPS locating terminal device arranges address number so that test identification detects.
4. the automated detection system of security protection type GPS locating device according to claim 1, is characterized in that: described GPS locating terminal device, according to the two-wire system mode of connection, is connected on RS 485 fieldbus by bus type topological structure.
5. the automated detection system of security protection type GPS locating device according to claim 1, is characterized in that: described breakout box is RS 232-RS 485 breakout boxs.
CN201310191996.4A 2013-05-22 2013-05-22 Automatic detecting system of security GPS (global positioning system) positioning device Pending CN103559109A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310191996.4A CN103559109A (en) 2013-05-22 2013-05-22 Automatic detecting system of security GPS (global positioning system) positioning device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310191996.4A CN103559109A (en) 2013-05-22 2013-05-22 Automatic detecting system of security GPS (global positioning system) positioning device

Publications (1)

Publication Number Publication Date
CN103559109A true CN103559109A (en) 2014-02-05

Family

ID=50013360

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310191996.4A Pending CN103559109A (en) 2013-05-22 2013-05-22 Automatic detecting system of security GPS (global positioning system) positioning device

Country Status (1)

Country Link
CN (1) CN103559109A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2514341Y (en) * 2001-12-18 2002-10-02 中国石化集团齐鲁石油化工公司 Automatic corrosion tester
EP0801770B1 (en) * 1995-10-18 2003-06-18 Sorvall Products, L.P. Centrifuge data communications system
CN2824146Y (en) * 2005-09-12 2006-10-04 深圳市西格玛信息技术有限公司 Automatic integrated power testing system
CN101126795A (en) * 2006-08-14 2008-02-20 英业达股份有限公司 Battery performance testing system
KR20110009381A (en) * 2009-07-22 2011-01-28 인터콘시스템스 주식회사 Multifunctional vehicle bus tester
CN102169473A (en) * 2011-04-22 2011-08-31 广州市捷信通科技发展有限公司 Method and device for detecting and isolating occupation faults of RS (Recommended Standard) 485 bus with low cost
CN202183038U (en) * 2011-07-06 2012-04-04 徐光贤 Energy monitoring and assessing system based on GPRS (General Packet Radio Service) network

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0801770B1 (en) * 1995-10-18 2003-06-18 Sorvall Products, L.P. Centrifuge data communications system
CN2514341Y (en) * 2001-12-18 2002-10-02 中国石化集团齐鲁石油化工公司 Automatic corrosion tester
CN2824146Y (en) * 2005-09-12 2006-10-04 深圳市西格玛信息技术有限公司 Automatic integrated power testing system
CN101126795A (en) * 2006-08-14 2008-02-20 英业达股份有限公司 Battery performance testing system
KR20110009381A (en) * 2009-07-22 2011-01-28 인터콘시스템스 주식회사 Multifunctional vehicle bus tester
CN102169473A (en) * 2011-04-22 2011-08-31 广州市捷信通科技发展有限公司 Method and device for detecting and isolating occupation faults of RS (Recommended Standard) 485 bus with low cost
CN202183038U (en) * 2011-07-06 2012-04-04 徐光贤 Energy monitoring and assessing system based on GPRS (General Packet Radio Service) network

Similar Documents

Publication Publication Date Title
CN205068381U (en) A secure computer platform for track traffic
CN107346980B (en) Networking communication method of multi-slave-station cable anti-theft monitoring system
CN100366029C (en) Communication controller, host-side controller, communication equipment, communication system and method
CN105224362A (en) Host computer carries out the method and system of program upgrade to slave computer
CN102355507B (en) Serial communication interface with functions of self-detection and conflict detection
CN109560838B (en) Bluetooth communication method for electric power metering field detection data
CN105610876A (en) Industrial control type automatic network communication protocol converter and communication protocol conversion method
CN112653738B (en) Internet of things network debugging system and method
CN201750226U (en) Remote detecting system of substation
CN103023715A (en) Fault monitoring method based on RS485 bus communication link
CN105551222A (en) Embedded bridge health monitoring system
TW201411336A (en) Debug control system and method thereof
CN102768561B (en) Design method for twinbridge piece mainboard redundancy
CN105676052B (en) A kind of method and system of serial ports line sequence identification
CN108768995B (en) Substation self-adaptive master station access method
CN107342789B (en) Networking communication method of cable anti-theft monitoring system
CN202111737U (en) Network management enhanced E1/ETH protocol converter
CN106953809B (en) 485 time-sharing communication-based equipment resource acquisition method
CN102869032A (en) Device and method for monitoring and alarming power supply of base station
CN107465487B (en) Bus data sending method, system and sub-equipment
CN103559109A (en) Automatic detecting system of security GPS (global positioning system) positioning device
CN103440218A (en) CAN (Control Area Network) bus monitoring method based on USB-HID (Universal Serial Bus-Human Input Device) protocol
CN104361299B (en) The method of security system, maltilevel security control system and reading position information
CN103916230A (en) Sensor identification method, host computer, sensor and sensor identification system
CN105740192A (en) PS2 interface keyboard/mouse hot plug system and realization method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20140205

WD01 Invention patent application deemed withdrawn after publication