Real-time positioning scheduling management terminal device for police motorcycleTechnical field
The present invention relates to a kind of real-time positioning scheduling management terminal device for police motorcycle, relate in particular to a kind of scheduling of police motorcycle real-time positioning and personal management end device based on GPS technology, WiMAX broadband wireless communication technique, GIS monitoring technique.
Background technology
The public security industry is one and has work movability, sudden, industry that emergency is strong that it is bearing and maintaining social stability, hitting the glorious mission of all kinds of crimes, defendance people safety.Unified command, rapid reaction, cooperation, the ability of fighting crime and the level of scientific management how to utilize modern technological means to improve public security organ is the strong alert importance of building of science and technology.
At present, China each province and city public security department has adopted the GPS technical equipment location tracking warning command system and part squad car set up police vehicle satnav command dispatching system.This system is the Integrated Vehicle Management System that integrates GPS technology, wireless communication technology and GIS technology, it has shortened the responding response time widely, greatly improved quick-reaction capability (QRC), tentatively shown the advanced and effect of GPS technology, commander is relieved traffic congestion, prevent, fight crime and maintain public order and played significant role.
When police vehicle satnav command dispatching system has been given play to huge effect, also more and more expose some significant disadvantage.Mainly come from China's rapid development of economy, vehicle fleet size is increased severely but the urban road construction development relatively lags behind, and the contradiction between them just is on the rise, vehicle is more and more in the city, traffic is more and more blocked up, corresponding traffic hazard, accident, the masses report to the police seek help etc. needs quick and precisely, the demand disposed of being in time is also more and more, public security police will cause more serious traffic jam as if can not in time arriving the site of the accident apace.Under the situation of this traffic congestion, when especially besieging and chasing in alleyway and lane, the four-wheel police car can't be reached the spot smoothly because of car body is relatively large, thereby has incured loss through delay the best opportunity of dealing with emergencies and dangerous situations.In this case, police motorcycle is little because of its volume, maneuverability, less demanding to road conditions, not limited by congestion in road, can be apace arrive the site of the accident by the road surface that blocks up, alleyway and lane, demonstrate the four-wheel police car incomparable faster significant advantage more easily.Therefore, police motorcycle real-time positioning dispatching system has really realized public security organ's rapid reaction, has improved the fighting capacity of public security organ, has filled up domestic blank, is an urgent demand of public security field work.
GPS is a GPS, launches information such as high-precision Position, Velocity and Time in the world continuously for sea, land, aerial user are round-the-clock.Gps system is made up of three independent parts: space segment---the gps satellite constellation; The Ground Control part---form by master station, injection plant and monitoring station; Customer equipment part---gps signal receiver is made up of GPS receiver hardware, data processing software etc.After user's GPS receiver receives satellite positioning signal, by the contrast signal x time with obtain signal propagation time the time of reception, thereby calculate the distance of gps satellite to receiver user.When receiving the data of 4 above satellites, three-dimensional coordinate, speed and the time that just can calculate the user are to realize the location navigation function.
WiMAX is that worldwide interoperability for microwave inserts, be based on the broadband wireless MAN access technology of IEEE 802.16 standards, can provide towards the high speed of wireless network to connect, data transmission distance can reach 50 kilometers farthest, has advantages such as QoS guarantees, transfer rate height, business be rich and varied.Use to adapt to all kinds of wideband multimedias in order to improve frequency spectrum resource utilization rate, WiMAX has adopted multiple advanced technologies such as OFDM/OFDMA, AAS, MIMO.WiMAX has following advantage: 1, realize farther transmission range.WiMAX can realize 50 kilometers transmission of wireless signals, and network coverage area is 10 times of 3G launching tower.2, provide the more broadband access of high speed.The highest access speed that WiMAX can provide is 70Mbps, but the realization of High Speed long-distance transmissions, and this speed is 30 times of the 3G broadband speeds that can provide.3, provide good last kilometer network access service.It can be connected to the internet with Wi-Fi focus, also can be used as the wireless extensions that DSL etc. has line access mode.4, provide carrier class multimedia communication service.Because WiMAX has better extensibility and security than Wi-Fi, thereby can realize carrier-class multimedia communication service.
GIS is that the English of Geographic Information System (Geographic Information System) is called for short, it is the geography investigative technique that begins to develop rapidly the sixties in 20th century, be along with development of computer, integrate an emerging frontier branch of science of surveying and drawing subject technology, database technology and computer graphics techniques.Development and maturation along with the GIS technology, GIS in the application of GPS vehicle monitoring navigation field also more and more widely, at the vehicle monitoring management center, the locator data of each moving vehicle by wireless network transmissions to supervision and management center, supervision and management center shows the position of each vehicle in real time, exactly by electronic chart, thereby realizes the management to moving vehicle.
A kind of GPS module, central controller, GPRS module composition car-mounted terminal on vehicle, installed, the method for realization vehicle monitoring and scheduling, consulting application number is 200410023677.3.It discloses the method for a kind of vehicle monitoring and scheduling, the car-mounted terminal of being made up of GPS module, central controller, GPRS module is installed on vehicle, car-mounted terminal is packaged into packet with the vehicle position information of receiving according to ICP/IP protocol, land the GSM/GPRS network and send to the GPRS communication server, send to the customer database server according to the IP address, the vehicle monitoring and dispatching workstation reads vehicle position information by the Internet from WebGIS central site network server and customer database server, realizes monitoring and scheduling to vehicle.This system just realizes the monitoring and the scheduling of vehicle based on GPRS network, also not based on the transmission of WiMAX cordless communication network, realize the end device of the scheduling of police motorcycle car real-time positioning, audio/video information real-time Transmission and the long-range attendance management of personnel at present.
Summary of the invention
For defective and the deficiency that overcomes prior art, the invention provides a kind of real-time positioning scheduling management terminal device for police motorcycle that integrates multiple functions such as live recording video recording evidence obtaining, integrated information inquiry, the long-range attendance management of policeman.
A kind of real-time positioning scheduling management terminal device for police motorcycle, comprise: central controller module, GPS locating module, WiMAX wireless communication module, identification module, audio frequency and video module, alarm module, LCD MODULE, memory module and power module is characterized in that central controller module is connected with GPS locating module, WiMAX wireless communication module, identification module respectively by serial communication interface; Be connected with alarm module by general purpose I/O expansion interface; Be connected with memory module, LCD MODULE, audio frequency and video module by data bus; Power module is connected in the device to other each module provides direct supply, and whole device is fixed in the casing and is installed on the police motorcycle car.
Have card reader in the described identification module, be used for the IC-card that has personally identifiable information that the policeman holds is discerned, have only, could start the police motorcycle car by the qualified policeman of identification.
Comprise digital camera, recording microphone and video and audio recording unit in the described audio frequency and video module, can carry out the video and audio recording evidence obtaining the site of the accident.Utilize simultaneously information such as digital watermark technology embeds time, position, car-mounted terminal ID number, policeman ID number at the scene in the audio/video information of evidence obtaining, be convenient to inquiry evidence obtaining in the future.
The storer that has storage policeman management information in the described memory module, can encrypt information such as name, sex, policeman ID number, unit, car-mounted terminal ID number of the storage policeman, attendance time, position, turnover fence time and position, warning, by realize in conjunction with IC-card recognition technology, fence technology flowing the policeman regularly, the long-range two-stage attendance management of fixed point.
The storer that has storing electronic map in the described memory module can show police strength distribution situation, alarm set point position, optimum responding route etc.Car-mounted terminal also can be inquired about integrated informations such as down loading updating electronic map information, fence zone, real-time traffic information, selected regional population unit public security situation from command centre, and shows in conjunction with electronic chart, is used for daily police work.
Have USB interface in the described memory module, in order to the data read that will preserve in USB flash disk or portable hard drive.
Described alarm module has the emergency alarm button, and the policeman can press the emergency alarm button and upload alerting signal to command centre when be in an emergency; When the police motorcycle car under normal circumstances occurs driving over the speed limit, crosses the border and travel etc., car-mounted terminal is noted alarm indication and voice suggestion policeman.
Described GPS locating module is a kind of module that adopts three kinds of positioning signal transmission modes of long timing/weak point timing/spacing, can according to circumstances finish the automatic switchover of three kinds of transmission modes.Car-mounted terminal reads the transmission mode control bit that command centre issues, and selects regularly short or spacing transmission mode in view of the above.When adopting short regularly transmission mode, per 5 seconds of car-mounted terminal sends the one-time positioning data to command centre; When adopting the spacing transmission mode, car-mounted terminal whenever travels 50m to command centre's transmission one-time positioning data; When detecting the car-mounted terminal travel speed and surpass 60s less than 1 kilometer/hour duration, will adopt long regularly power saving transmission mode, per 120 seconds of car-mounted terminal is to command centre's transmission one-time positioning data.In addition, its positioning signal adopts residual error to fill up mode, command centre is according to current longitude and latitude and longitude and latitude residual error in the positioning signal that receives, but forward direction is extrapolated the continuous change location of car-mounted terminal in a period of time, though reduced the transmission number of times of locator data like this, obtained level and smooth auditory localization cues equally.
Described WiMAX wireless communication module is supported WiMAX broadband wireless network transmission mode, can realize the identity identification information of Unified coding packing, warning message, GPS information, audio/video information etc. are uploaded command centre in real time, receive packing datas such as configuration information that command centre issues, command information, renewal electronic map information, comprehensive police service information simultaneously.
In the described LCD MODULE LCDs is installed, be used for showing information such as the audio frequency and video image of shooting, the control dispatch command that command centre issues, comprehensive police service information, actions menu, can show the size of vehicular power-bottle electric weight and the strong and weak degree of gps signal simultaneously.When car-mounted terminal receives the control dispatch command that command centre issues, in the time of screen display with voice suggestion.
Have energy efficient management circuit and reserve storage battery device in the described power module, after stopping working at motorcycle, each module works on and causes the vehicular power-bottle electricity consumption to increase the weight of, and has designed energy efficient management circuit and reserve storage battery device in the power module.
Each module of central controller module and other is connected with interface by corresponding bus, it is the control core of on-vehicle terminal device, is responsible for the work such as information processing that work, exchanges data, computing and the software protocol layer of inner each module of car-mounted terminal are coordinated in control.Central controller module adopts super low-power consumption, perfect in shape and function, cost performance height, reliability height, integrated level height, the easy ARM9 series microprocessor of exploitation, as the S3C2410 or the S3C2440 of Samsung company; The GPS locating module receives the GPS locating information from Navsat, calculates the information such as longitude, latitude, speed, direction of self-position; The WiMAX wireless communication module adopts the transmission of WiMAX cordless communication network, and what be used to realize big data quantity between on-vehicle terminal device and the command centre looks data transmission such as audio frequency, order, comprehensive police service information; Identification module is used to discern the IC-card that has policeman's information, to confirm the legal user of police motorcycle car; The audio frequency and video module comprises digital camera, recording microphone and video and audio recording unit, in order to the site of the accident is realized the video and audio recording evidence obtaining; Alarm module is equipped with the emergency alarm button, when being in an emergency, the policeman can press the emergency alarm button and upload alerting signal simultaneously when the police motorcycle situation such as travel that under normal circumstances occurs driving over the speed limit, crosses the border to command centre, and car-mounted terminal is noted sound and light alarm and voice suggestion policeman; LCD MODULE is used to show the audio frequency and video image of shooting, control dispatch command, actions menu and the various comprehensive police service information that command centre sends; Encrypt information such as name, sex, policeman ID number, unit, car-mounted terminal ID number of the storage policeman, attendance time, position in policeman's diode-capacitor storage in the memory module, by IC-card identification, fence technology realize flowing policeman's timing, the long-range two-stage attendance management of fixed point; Storing the electronic map information downloaded from command centre, fence zone, integrated informations such as traffic information, selected regional population unit public security situation in good time in the information management storer in the memory module; Power module provides corresponding work voltage for other each module, realizes energy efficient management and reserve storage battery function.
A kind ofly start the method that said apparatus carries out work, step is as follows:
(1) at first the policeman inserts the motorcycle ignition key ignition switch and turns round " ON " position, the direct supply of each module in the engaging means;
(2) system's power-on self-test;
(3) do you judge whether System self-test normal? if judged result then continues to carry out this step for not;
(4) if step (3) judged result is for being then each module of police motorcycle on-vehicle terminal device to be carried out initialization;
(5) do you judge whether each module initialization normal? if judged result then continues to carry out this step for not;
(6) if step (5) judged result is for being the then demonstration of the LCDs in motorcycle loaded end device LCD MODULE " identification of identity IC-card ";
(7) do you judge that IC-card identification is arranged on the card reader in the identification module? if judged result is then returned step for not
(6);
(8) if judged result is for being then to read policeman's information of storing in the IC-card;
(9) with memory module in policeman's diode-capacitor storage in information compare;
(10) judge whether to be validated user? if judged result is then returned step (6) for not;
(11) if judged result is for being then to connect motorcycle ignition circuit;
(12) ignition trigger motorcycle.
WiMAX wireless communication module described in the said apparatus receives the method for work of data, and step is as follows:
(1) data that command centre issues is arranged in the reception data buffer and trigger to receive and interrupt;
(2) keep the scene intact;
(3) enter the reception interrupt service routine;
(4) read data in the reception data buffer;
(5) do you judge that the data type zone bit is " 1 " in the data that receive? if judged result is for denying then redirect execution in step (9);
(6) if step (5) judged result is for being then the data that receive to be unpacked, decompressed;
(7) data are saved in order in thememory module 8, be provided with in the command memory;
(8) redirect execution in step (19);
(9) do you judge that the data type zone bit is " 2 " in the data that receive? if judged result is for denying then redirect execution in step (13);
(10) if step (9) judged result is for being then the data that receive to be unpacked, decompressed;
(11) data are saved in the electronic chart storer in the memory module;
(12) redirect execution in step (19);
(13) do you judge that the data type zone bit is " 3 " in the data that receive? if judged result is for denying then redirect execution in step (16);
(14) if step (13) judged result is for being then the data that receive to be unpacked, decompressed;
(15) data are saved in the comprehensive police service information-storing device in the memory module;
(16) do you judge that the data type zone bit is " 4 " in the data that receive? if judged result is for denying then redirect execution in step (19);
(17) if step (16) judged result is for being then the data that receive to be unpacked, decompressed;
(18) data are saved in the audio frequency and video storer in the memory module;
(19) from receive interrupt service routine, return;
(20) recover on-the-spot;
(21) return.
Utilize said apparatus to realize the method for work of the GPS location and the long-range attendance management of policeman of flowing, step is as follows:
(1) central controller reads gps data;
(2) information such as longitude and latitude, time and speed in the gps data are resolved and stored to central controller;
(3) central controller calculates and stores the changing value △ long of the current and last second longitude of living in of motorcycle loaded terminal and the changing value △ lat of latitude;
(4) central controller reads in the memory module order, is provided with that the fence zone that is passed down by command centre in the command memory is provided with parameter, beat is provided with parameter and speed limit;
(5) according to the gps data that read and fence zone parameter is set and judges that motorcycle passes in and out fence? if judged result then jumps to (7) for not;
(6) if judged result is for being, then with policeman ID number, car-mounted terminal ID number, time, position, advance fence or go out fence to be saved in the memory module in policeman's diode-capacitor storage;
(7) judged whether that alarm button presses? if judged result for being, is then uploaded alerting signal and car-mounted terminal ID to command centre, then execution in step (8);
(8), judge that motorcycle loaded terminal present position crosses the border if judged result for not, then is provided with parameter according to the gps data and the beat that have read? if judged result is for being, then alarm indication and voice suggestion is arranged, execution in step (9) then;
(9) if judged result for not, then reads order in the memory module, the transmission mode control bit that command centre issues in the command memory is set;
(10) do you judge that the transmission mode control bit is 0? if judged result for being, then starts the spacing transmission mode, jump to step (21);
(11) if judged result for not, then starts short regularly transmission mode, is the speed of judging motorcycle loaded terminal less than 1 kilometer/hour according to the gps data of the current time that reads? if judged result then jumps to (13) for not;
(12) if judged result for being, then judge motorcycle speed less than 1 kilometer/hour time that is continued greater than 60s? if judged result for being, then jumps to step (18), promptly start long regularly transmission mode;
(13) if judged result is not, then central processing unit is whenever readgps data 5 times, with the longitude long of current state and difference △ long1, the △ lat1 of latitude lat and preceding 5 seconds each adjacent longitude and latitude, △ long2, △ lat2, △ long3, △ lat3, △ long4, △ lat4, △ long5, △ lat5 break into packet;
(14) central processing unit carries out compressed encoding to the packet in the step (13);
(15) central processing unit sent the packet behind the compressed encoding every 5 seconds one time to command centre;
(16) do you judge that speed is less than 1 kilometer/hour? if judged result for being, is then returned, promptly transmission mode may need to change, so return;
(17) if judged result for not, then the speed limit that issues according to the gps data that has read and center judges that motorcycle loaded terminal exceeds the speed limit? if judged result is for being that then alarm indication and voice suggestion jumps to step (15) then; If judged result then jumps to step (15) for not;
(18) start long regularly transmission mode, after 120 seconds, send once by the longitude long of current state and latitude lat and at difference △ long1, the △ lat1 of 5 seconds before this each adjacent longitude and latitude, △ long2, △ lat2, △ long3, △ lat3, △ long4, △ lat4, the packet behind the compressed coding that △ long5, △ lat5 break into;
(19) do you judge that speed is less than 1 kilometer/hour? if judged result is for being then to jump to step (18);
(20) if judged result for not, then the speed limit that issues according to the gps data that has read and center judges that motorcycle loaded terminal exceeds the speed limit? if judged result is for being that then alarm indication and voice suggestion are returned then; If judged result is then returned for not;
(21) calculate the range difference of adjacent two seconds positions wheneverWherein c1, c2 are respectively the conversion coefficient of local longitude and latitude unit change value and distance (is unit with m);
(22) utilize St=ST-1+ Δ S cumulative calculation total distance of travelling;
(23) do you judge that speed is less than 1 kilometer/hour? if judged result then jumps to step (25) for not;
(24) if judged result for being, then judge motorcycle loaded terminal velocity less than 1 kilometer/hour time that is continued greater than 60s? if judged result for being, then jumps to step (18), promptly start long regularly transmission mode;
(25) if judged result is not, then travel and send behind the 50m once by the longitude long of current state and difference △ long1, the △ lat1 of latitude lat and preceding 5 seconds each adjacent longitude and latitude, △ long2, △ lat2, △ long3, △ lat3, △ long4, △ lat4, the packet behind the compressed coding that △ long5, △ lat5 break into;
(26) do you judge that speed is less than 1 kilometer/hour? if judged result for being, is then returned, promptly transmission mode may need to change, thus return,
(27) if judged result for not, then the speed limit that issues according to the gps data that has read and center judges that motorcycle loaded terminal exceeds the speed limit? if judged result is for being then alarm indication and voice suggestion, redirect execution in step then (25);
(28) if judged result for not, then jumps to step (25).
The police motorcycle on-vehicle terminal device is at first by the legal user of identification module identification; Receive the GPS locating information by the GPS locating module, calculate the information such as longitude, latitude, speed, direction, time of self; Obtain the audio/video information of on-the-spot evidence obtaining by the audio frequency and video module; By the WiMAX wireless communication module information uploadings such as policeman ID number, GPS information, car-mounted terminal ID of packing number, warning, audio frequency and video to command centre's server, and be saved in corresponding vehicle, policeman and the generalized information management database.Command centre's server is resolved these data, coordinate information and electronic map match, and functions such as the position display of realization police motorcycle car, tracking enquiry on command centre's display screen and monitor workstation.Concrete condition according to each motorcycle issues control corresponding, dispatches, is provided with instruction by cordless communication network simultaneously, thereby realizes the location dispatching and monitoring management to police motorcycle car and personnel.
The long-range attendance management function of mobile policeman of the present invention is designed to regularly, fixed point two-stage attendance management mode, is based on IC-card recognition technology, fence technology, WiMAX wireless communication technology and realizes.At first read the IC-card that has its information that the policeman holds by the card reader in the motorcycle loaded end device identification module, and policeman's management information in policeman's diode-capacitor storage in the information that reads and the memory module compared, if be validated user then connect car-mounted terminal starting ignition circuit, simultaneously information such as car-mounted terminal ID number, policeman ID number, time, position are saved in the memory module in policeman's diode-capacitor storage and upload command centre, realize flowing the policeman regularly, the long-range one-level attendance management of fixed point; Command centre is according to the latitude and longitude coordinates of beat, utilize the GPS technology, the GIS technology is carried out the fence setting of beat in electronic chart, simultaneously the fence zone is provided with and is issued to motorcycle loaded terminal, car-mounted terminal is provided with self GPS position in real time compares with the zone, when the fence zone is left or entered to motorcycle loaded terminal, car-mounted terminal is with alarm and with car-mounted terminal ID number, policeman ID number, time, the position, advance fence or go out information such as fence to deposit in policeman's diode-capacitor storage, upload command centre simultaneously, realize that the policeman regularly, the long-range secondary attendance management of fixing a point.
Fig. 2 is that the long-range attendance management fence of mobile policeman of the present invention is provided with synoptic diagram.According to the actual conditions of beat, the value that parameter is set by change can fence be set to the combination of circle (fence A), square (fence B) or rectangle (fence C) and multiple shape.
Compared with prior art, the invention has the beneficial effects as follows: overcome the four-wheel police car and be subjected to road traffic congestion, the too big defective of road basis condition restriction, given full play to that the police motorcycle car body is long-pending little, maneuverability, be not subjected to the advantage of congestion in road restriction, really realized rapid reaction; This on-vehicle terminal device has been realized live recording video recording evidence obtaining, integrated information inquiry, the navigator fix of vehicle, monitoring and scheduling simultaneously, especially solved the problem of the long-range attendance management of mobile policeman, advantage such as that this device has is low in energy consumption, perfect in shape and function, shock resistance are good has greatly improved the fighting capacity of public security organ.
Description of drawings
Fig. 1 is a police motorcycle on-vehicle terminal device structured flowchart of the present invention.
Wherein: 1, central controller module, 2, the GPS locating module, 3, the WiMAX wireless communication module, 4, identification module, 5, the audio frequency and video module, 6, alarm module, 7, LCD MODULE, 8, memory module, 9, power module.
Fig. 2 is that the long-range attendance management fence of mobile policeman of the present invention is provided with synoptic diagram.
Fig. 3 starts the method synoptic diagram that apparatus of the present invention are carried out work.
Fig. 4 is the synoptic diagram that apparatus of the present invention WiMAX wireless communication module receives the datamation method.
Fig. 5 is the method for work synoptic diagram that apparatus of the present invention realize the GPS location and the long-range attendance management of policeman of flowing.
Embodiment
Following examples are to further specify of the present invention, but are not limited thereto.
Embodiment 1:
A kind of real-time positioning scheduling management terminal device for police motorcycle, as shown in Figure 1, comprise: central controller module 1,GPS locating module 2, WiMAXwireless communication module 3, identification module 4, audio frequency andvideo module 5,alarm module 6,LCD MODULE 7,memory module 8 andpower module 9 is characterized in that central controller module 1 is connected withGPS locating module 2, WiMAXwireless communication module 3, identification module 4 respectively by serial communication interface; General purpose I/O expansion interface is connected withalarm module 6; Be connected withmemory module 8,LCD MODULE 7, audio frequency andvideo module 5 by data bus;Power module 9 is connected in the device to other each module provides direct supply, and whole device is fixed in the casing and is installed on the police motorcycle car.
Have card reader in the described identification module 4, be used for the IC-card that has personally identifiable information that the policeman holds is discerned, have only, could start the police motorcycle car by the qualified policeman of identification.
Comprise digital camera, recording microphone and video and audio recording unit in the described audio frequency andvideo module 5, can carry out the video and audio recording evidence obtaining the site of the accident.Utilize simultaneously information such as digital watermark technology embeds time, position, car-mounted terminal ID number, policeman ID number at the scene in the audio/video information of evidence obtaining, be convenient to inquiry evidence obtaining in the future.
The storer that has storage policeman management information in the describedmemory module 8, can encrypt information such as name, sex, policeman ID number, unit, car-mounted terminal ID number of the storage policeman, attendance time, position, turnover fence time and position, warning, by realize in conjunction with IC-card recognition technology, fence technology flowing the policeman regularly, the long-range two-stage attendance management of fixed point.
The storer that has storing electronic map in the describedmemory module 8 can show police strength distribution situation, alarm set point position, optimum responding route etc.Car-mounted terminal also can be inquired about integrated informations such as down loading updating electronic map information, fence zone, real-time traffic information, selected regional population unit public security situation from command centre, and shows in conjunction with electronic chart, is used for daily police work.
Have USB interface in the describedmemory module 8, in order to the data read that will preserve in USB flash disk or portable hard drive.
DescribedGPS locating module 2 is a kind of modules that adopt three kinds of positioning signal transmission modes of long timing/weak point timing/spacing, can according to circumstances finish the automatic switchover of three kinds of transmission modes.
Embodiment 2:
A kind ofly start the method that said apparatus carries out work, as shown in Figure 3, step is as follows:
(1) at first the policeman inserts the motorcycle ignition key ignition switch and turns round " ON " position, the direct supply of each module in the engaging means;
(2) system's power-on self-test;
(3) do you judge whether System self-test normal? if judged result then continues to carry out this step for not;
(4) if step (3) judged result is for being then each module of police motorcycle on-vehicle terminal device to be carried out initialization;
(5) do you judge whether each module initialization normal? if judged result then continues to carry out this step for not;
(6) if step (5) judged result is for being the then demonstration of the LCDs in motorcycle loaded enddevice LCD MODULE 7 " identification of identity IC-card ";
(7) do you judge that IC-card identification is arranged on the card reader in the identification module 4? if judged result is then returned step for not
(6);
(8) if judged result is for being then to read policeman's information of storing in the IC-card;
(9) withmemory module 8 in policeman's diode-capacitor storage in information compare;
(10) judge whether to be validated user? if judged result is then returned step (6) for not;
(11) if judged result is for being then to connect motorcycle ignition circuit;
(12) ignition trigger motorcycle.
WiMAX wireless communication module described in the said apparatus receives the method for work of data, and step is as follows as shown in Figure 4:
(1) data that command centre issues is arranged in the reception data buffer and trigger to receive and interrupt;
(2) keep the scene intact;
(3) enter the reception interrupt service routine;
(4) read data in the reception data buffer;
(5) do you judge that the data type zone bit is " 1 " in the data that receive? if judged result is for denying then redirect execution in step (9);
(6) if step (5) judged result is for being then the data that receive to be unpacked, decompressed;
(7) data are saved in order in thememory module 8, be provided with in the command memory;
(8) redirect execution in step (19);
(9) do you judge that the data type zone bit is " 2 " in the data that receive? if judged result is for denying then redirect execution in step (13);
(10) if step (9) judged result is for being then the data that receive to be unpacked, decompressed;
(11) data are saved in the electronic chart storer in thememory module 8;
(12) redirect execution in step (19);
(13) do you judge that the data type zone bit is " 3 " in the data that receive? if judged result is for denying then redirect execution in step (16);
(14) if step (13) judged result is for being then the data that receive to be unpacked, decompressed;
(15) data are saved in the comprehensive police service information-storing device in thememory module 8;
(16) do you judge that the data type zone bit is " 4 " in the data that receive? if judged result is for denying then redirect execution in step (19);
(17) if step (16) judged result is for being then the data that receive to be unpacked, decompressed;
(18) data are saved in the audio frequency and video storer in thememory module 8;
(19) from receive interrupt service routine, return;
(20) recover on-the-spot;
(21) return.
Utilize said apparatus to realize the method for work of the GPS location and the long-range attendance management of policeman of flowing, as shown in Figure 5, step is as follows:
(1) central controller reads gps data;
(2) information such as longitude and latitude, time and speed in the gps data are resolved and stored to central controller;
(3) central controller calculates and stores the changing value △ long of the current and last second longitude of living in of motorcycle loaded terminal and the changing value △ lat of latitude;
(4) central controller reads in thememory module 8 order, is provided with that the fence zone that is passed down by command centre in the command memory is provided with parameter, beat is provided with parameter and speed limit;
(5) according to the gps data that read and fence zone parameter is set and judges that motorcycle passes in and out fence? if judged result then jumps to (7) for not;
(6) if judged result is for being, then with policeman ID number, car-mounted terminal ID number, time, position, advance fence or go out fence to be saved in thememory module 8 in policeman's diode-capacitor storage;
(7) judged whether that alarm button presses? if judged result for being, is then uploaded alerting signal and car-mounted terminal ID to command centre, then execution in step (8);
(8), judge that motorcycle loaded terminal present position crosses the border if judged result for not, then is provided with parameter according to the gps data and the beat that have read? if judged result is for being, then alarm indication and voice suggestion is arranged, execution in step (9) then;
(9) if judged result for not, then reads order in thememory module 8, the transmission mode control bit that command centre issues in the command memory is set;
(10) do you judge that the transmission mode control bit is 0? if judged result for being, then starts the spacing transmission mode, jump to step (21);
(11) if judged result for not, then starts short regularly transmission mode, is the speed of judging motorcycle loaded terminal less than 1 kilometer/hour according to the gps data of the current time that reads? if judged result then jumps to (13) for not;
(12) if judged result for being, then judge motorcycle speed less than 1 kilometer/hour time that is continued greater than 60s? if judged result for being, then jumps to step (18), promptly start long regularly transmission mode;
(13) if judged result is not, then central processing unit is whenever readgps data 5 times, with the longitude long of current state and difference △ long1, the △ lat1 of latitude lat and preceding 5 seconds each adjacent longitude and latitude, △ long2, △ lat2, △ long3, △ lat3, △ long4, △ lat4, △ long5, △ lat5 break into packet;
(14) central processing unit carries out compressed encoding to the packet in the step (13);
(15) central processing unit sent the packet behind the compressed encoding every 5 seconds one time to command centre;
(16) do you judge that speed is less than 1 kilometer/hour? if judged result for being, is then returned, promptly transmission mode may need to change, so return;
(17) if judged result for not, then the speed limit that issues according to the gps data that has read and center judges that motorcycle loaded terminal exceeds the speed limit? if judged result is for being that then alarm indication and voice suggestion jumps to step (15) then; If judged result then jumps to step (15) for not;
(18) start long regularly transmission mode, after 120 seconds, send once by the longitude long of current state and latitude lat and at difference △ long1, the △ lat1 of 5 seconds before this each adjacent longitude and latitude, △ long2, △ lat2, △ long3, △ lat3, △ long4, △ lat4, the packet behind the compressed coding that △ long5, △ lat5 break into;
(19) do you judge that speed is less than 1 kilometer/hour? if judged result is for being then to jump to step (18);
(20) if judged result for not, then the speed limit that issues according to the gps data that has read and center judges that motorcycle loaded terminal exceeds the speed limit? if judged result is for being that then alarm indication and voice suggestion are returned then; If judged result is then returned for not;
(21) calculate the range difference of adjacent two seconds positions wheneverWherein c1, c2 are respectively the conversion coefficient of local longitude and latitude unit change value and distance (is unit with m);
(22) utilize St=ST-1+ Δ S cumulative calculation total distance of travelling;
(23) do you judge that speed is less than 1 kilometer/hour? if judged result then jumps to step (25) for not;
(24) if judged result for being, then judge motorcycle loaded terminal velocity less than 1 kilometer/hour time that is continued greater than 60s? if judged result for being, then jumps to step (18), promptly start long regularly transmission mode;
(25) if judged result is not, then travel and send behind the 50m once by the longitude long of current state and difference △ long1, the △ lat1 of latitude lat and preceding 5 seconds each adjacent longitude and latitude, △ long2, △ lat2, △ long3, △ lat3, △ long4, △ lat4, the packet behind the compressed coding that △ long5, △ lat5 break into;
(26) do you judge that speed is less than 1 kilometer/hour? if judged result for being, is then returned, promptly transmission mode may need to change, so return;
(27) if judged result for not, then the speed limit that issues according to the gps data that has read and center judges that motorcycle loaded terminal exceeds the speed limit? if judged result is for being then alarm indication and voice suggestion, redirect execution in step then (25);
(28) if judged result for not, then jumps to step (25).