CN102833320A - Web client system of GPS (Global Positioning System) vehicle monitoring system - Google Patents

Web client system of GPS (Global Positioning System) vehicle monitoring system Download PDF

Info

Publication number
CN102833320A
CN102833320A CN2012102804728A CN201210280472A CN102833320A CN 102833320 A CN102833320 A CN 102833320A CN 2012102804728 A CN2012102804728 A CN 2012102804728A CN 201210280472 A CN201210280472 A CN 201210280472A CN 102833320 A CN102833320 A CN 102833320A
Authority
CN
China
Prior art keywords
server
gps
gis
layer
database
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
CN2012102804728A
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.)
Zhejiang University of Technology ZJUT
Original Assignee
Zhejiang University of Technology ZJUT
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 Zhejiang University of Technology ZJUT filed Critical Zhejiang University of Technology ZJUT
Priority to CN2012102804728A priority Critical patent/CN102833320A/en
Publication of CN102833320A publication Critical patent/CN102833320A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a web client system of a GPS (Global Positioning System) vehicle monitoring system, which uses three layers of a B/S (Browser/Server) structure. The web client system comprises a presentation layer, a service logic layer and a data layer; the presentation layer is designed by adopting a UI (User Interface) open-source framework ExtJS based on Java Script; the service logic layer comprises a Web server, an application server and a GIS (Geographic Information System) server; the Web server is developed based on a Django framework; the application server comprises a GPS server and a GIS server; the GPS server is used for analyzing and processing GPS positioning information received from a mobile terminal, and writing the received GPS positioning information in a database; the GIS server is used for GIS search and analysis; and the data layer comprises data processing logic of an entire web client system, and is used for receiving a requirement of the service logic layer on operation of the database, so that searching and modifying functions of the system database can be realized, and a result is submitted to the service logic layer. The web client system provided by the invention has the advantages of low threshold, wide covering face, high security, simplicity and convenience in operation, and high positioning speed.

Description

The webpage FTP client FTP of GPS vehicle monitoring system
Technical field
The present invention relates to the vehicle monitoring field, especially a kind of GPS vehicle monitoring system.
Background technology
In recent years, motor vehicles are universal day by day, and this has brought a lot of convenience to daily life; But a lot of stubborn problems have also been brought simultaneously; As vehicle disperse not manageability, stolen, meet and rob, get lost etc., so a kind of technology of people's needs can be understood the operation conditions of vehicle in real time; Whole process provides security protection and guide service for it, can also the data record in the running be got off so that ex-post analysis simultaneously.GPS (global positioning system) vehicle monitoring system arises at the historic moment, and it is the multifunction system that a high accuracy, round-the-clock, global wireless navigation are located.Tellurian any one GPS receiver, as long as receive the signal that three or above gps satellite are launched, moment just can calculate the state information of vehicle equipment, like longitude and latitude, highly, speed, direction etc.
Yet there is the deficiency of following aspect in a lot of GPS vehicle monitoring systems of domestic existing at present: 1) Surveillance center normally designs towards the solid financial strength user of unit, and numerous vehicle user are difficult to possess expensive supervisory control system construction condition; 2) there is not authority setting mechanism, can't the support vehicles user information safety; 3) complex structure, the user need carry out the training of multinomial professional knowledges such as computer, database, electronic chart before use could be on duty; 4) locating speed is fast inadequately, and the vehicle rate of empty ride is higher.
Summary of the invention
The deficiency high for the threshold that overcomes existing GPS vehicle monitoring system, that coverage rate is little, fail safe is low, complicated operation and locating speed are fast inadequately, the present invention provides that a kind of threshold is low, broad covered area, fail safe is higher, easy and simple to handle and the locating speed webpage FTP client FTP of GPS vehicle monitoring system faster.
The technical solution adopted for the present invention to solve the technical problems is:
A kind of webpage FTP client FTP of GPS vehicle monitoring system, said webpage FTP client FTP adopts three layers B/S framework, and said webpage FTP client FTP comprises presentation layer, Business Logic and data Layer, wherein,
Said presentation layer adopts the framework ExtJS that increases income of the UI based on JavaScript to design, and shows and basic operation the historical track demonstration of the positional information of moving vehicle and the demonstration of state information, vehicle and the various report display of vehicle in order to accomplish map;
Said Business Logic comprises Web server, application server and GIS server, and said Web server is based on Django framework exploitation, in order to accept the request of presentation layer, returns to presentation layer after handling relevant service logic; Said application server comprises GPS server and GIS server, and said GPS server is in order to resolving and to handle the GPS locating information that receives from portable terminal, and writes database; Said GIS server is in order to GIS inquiry and analysis;
Said data Layer comprises the data process method of whole webpage FTP client FTP, to the database request of operating, realizes inquiry and modify feature to system database in order to the logical layer of accepting business, and submits to Business Logic to the result.
Beneficial effect of the present invention mainly shows: the general frame of (1) webpage client adopts three layers of relatively independent B/S framework, realizes the modularization and the independence of system development; (2) presentation layer adopts the framework ExtJS that increases income, and makes that each module speed of service is very fast, realizes location fast; (3) Web server adopts the Django framework, makes to develop high in efficiency and convenience more; (4) native system have that threshold is low, networked, broad covered area, simple to operate, safe, the fast precision advantages of higher of locating speed.
Description of drawings
Fig. 1 is the sketch map of the master-plan framework of webpage client.
Fig. 2 is a database E-R illustraton of model.
Embodiment
Below in conjunction with accompanying drawing the present invention is further described.
See figures.1.and.2; A kind of webpage FTP client FTP of GPS vehicle monitoring system; Adopt three layers B/S framework, be respectively presentation layer (Presentation), Business Logic (Business Logic) and data Layer (data), this is three relatively independent modules.The general frame design of webpage client is as shown in Figure 1:
Presentation layer: this one deck refers to Web browser, comprises the display logic of system, adopts UI (User Interface, user interface) based on the JavaScript framework ExtJS that increases income to design.It mainly accomplishes map demonstration and basic operation, mainly comprises positional information and the demonstration of state information, the historical track demonstration of vehicle and the various report display of vehicle of moving vehicle.The positional information of moving vehicle and the demonstration of state information adopt Ajax to realize the timing renewal of vehicle GPS information on map, can reduce refreshing frequency, less page furbishing area, improve network resource utilization.The historical track demonstration of vehicle and the various report display of vehicle adopt the ExtJS technology, can improve the speed of service of each module, realize the fast query of vehicle form.
Business Logic: this one deck has comprised Web server and application server.Web server is based on the exploitation of Django framework, and main task is to accept the request of presentation layer, handles relevant service logic and returns to presentation layer afterwards, and this also is a major part of the present invention.Application server comprises GPS server and GIS server.The GPS server is responsible for resolving and handling from the GPS locating information that portable terminal receives, and writes database; The GIS server is responsible for GIS inquiry and analytic function.
Data Layer: this one deck has comprised the data process method of whole system, mainly is positioned at database server side.The effect of database server is to accept business logical layer to the database request of operating, realizes the function such as inquiry, modification to system database, submits to Business Logic to the result at last.
The webpage client of this GPS vehicle monitoring system goes up exploitation at linux system (the red cap Linux of enterprise server version 5); The programming language that uses is Python; The database that uses is relational database MySQL, and whole development platform environment adopts Python2.4, MySQL5.0.77, Django1.2.
Database is the part of data Layer, and all required data of webpage client operate as normal of GPS vehicle monitoring system are being stored in the inside.
1) database table
What deposit among the relational database MySQL is various tables, and database table of the present invention comprises: users table, user_dev_privs table, devs table, dev_gps_history table, dev_alarm_history table, areas table.
A) the users table mainly is used for storing and subscriber-related data.Table 1 has shown the list structure of user table, and the id field is represented the index of this gps record, is the unique identification of its database consistency operation; The userid field is represented this affiliated user's of gps record numbering; The password field is represented the password of login user; The name field is represented the user name of login user; The ip field is represented the ip that the user lands the last time; The port field is represented the port that the user lands the last time; The lastactive field is represented the concrete time of the last login of user; The admin field is represented user's authority.
Table 1users list structure
The row name Data type Length Whether allow for null value Explanation
id int 11 Not Major key
userid varchar 64 Not Unique, be used for the id of video monitoring
password varchar 64 Not User cipher
name varchar 64 Not Unique, the stored user name
ip varchar 64 Be The ip of the last login of user
port int 11 Be The port of the last login of user
lastactive int 11 Be The concrete time of the last login of user
admin varchar 64 Be Relevant with user right
B) user_dev_privs table is used for the mapping relations between stored user and the equipment, comprises also whether the user has this equipment to watch or revise authority.Table 2 has shown the list structure of user_dev_privs table; Id field in the corresponding users table of useridx field; Id field in the corresponding devs table of devidx field, the watch field representes whether the user watches authority, and the control field representes whether the user has the modification authority.
Table 2user_dev_privs list structure
Figure BDA00001986536800051
C) the devs table is used to store the relevant information at vehicle-mounted gps terminal.Table 3 has shown the list structure of devs table, and the id field is represented the index of this gps record, and the devid field is represented the numbering of this gps record corresponding device; Signcode between password field indication equipment and the server, the name field is represented implementor name, the chns field is represented implementor name; The last ip that connects of ip field indication equipment, the last port that connects of port field indication equipment, the last longitude that connects of lang field indication equipment; The last latitude that connects of lat field indication equipment; The date that lastactive field indication equipment is the last online, the unit under the unit field indication equipment, the mobile phone card number of card_number field indication equipment; The number of vehicle_license field indication equipment place vehicle, the descriptor of vehicle_descr field indication equipment place vehicle.
Table 3devs list structure
Figure BDA00001986536800052
Figure BDA00001986536800061
D) the dev_gps_history table is used for all state informations of store car.Table 4 has shown the list structure of devs table, and the id field is represented the index of this gps record, and the devidx field is represented the numbering of this gps record corresponding device, the id field in the corresponding devs table; The logtime field representes that server receives the time of this gps record that equipment sends, with the utc format; The gpssn field is represented the sequence number of this car-mounted terminal equipment; The positioning time of gpsutc field storage car mounted terminal is with the utc format; The strong and weak degree of device signal when the gpsstar field representes to gather current gps information, data area 0 to 5, asterisk is being effective information more than 3 generally speaking; Lat and lang field are represented the longitude and latitude (lat representes latitude, and lang representes longitude) of car-mounted terminal equipment, with the Circular measure stored in form; Direction and speed field represent car-mounted terminal equipment travel direction and speed (direction calculates with the Zheng Bei drift angle, the unit of speed be kilometer/hour); The driver_id field is represented driver's numbering, stores with the short form; The has_alarm field representes whether this gps record has generation warning message (if produce warning numerical value is 1, otherwise is 0); The meters field is represented the current total mileage number of car-mounted terminal, and unit is a rice; The vehicle field is represented the state of this car engine.
Table 4dev_gps_history list structure
Figure BDA00001986536800062
Figure BDA00001986536800071
E) the dev_alarm_history table is used to store the warning message at vehicle-mounted gps terminal.Table 5 has shown the list structure of dev_alarm_history table, and id representes the index of this alarm logging; Devidx representes to send the numbering of the equipment of warning message, the id in the corresponding devs table; Alarm_type store alarms type, it comprises 0 (alarm free), 1 (overspeed alarming), 2 (overtime warning), 3 (alarm of electronics fence); Parameter information when alarm_param store to report to the police, such as when the overspeed of vehicle, storage is exactly current hypervelocity threshold value here; Id field in the corresponding dev_gps_history table of gpsidx just can inquire the concrete state information of this equipment in dev_gps_history shows through gpsidx.
Table 5dev_alarm_history list structure
Figure BDA00001986536800072
F) the areas table is used for the electronics fence coordinate information that recording user is provided with.Table 6 has shown the list structure of areas table, and the areaname field is represented the title of the electronics fence that the user draws; Id field in the corresponding users table of useridx field just can inquire some information of the user of this electronics fence of drafting through this field; The arealalons field type is the variable character type, and maximum length 2048 is used for the set of the coordinate points of stored electrons fence; What the savetime field stored is the time that the electronics fence is drawn.
Table 6areas list structure
Figure BDA00001986536800073
Figure BDA00001986536800081
2) database E-R model
The E-R model is entity-contact model (Entity Relationship Model), refers to the method that presentation-entity type, attribute and contact are provided, and is the conceptual model that is used for describing real world.Fig. 2 represents the E-R figure of this project database.
Wherein rectangular tables is shown tables of data, and the literal in the rectangle is each field in the tables of data, and the first half of each rectangle representes that the major key of this table, rhombus represent the contact between each database, and wherein " 1 " expression is single, and " M " expression is a plurality of.The relation that we can draw between each table of database is following:
(1) users table and areas table.Relation between two entities is 1:M (many-one relationship), and the corresponding relation in showing with areas through id major key in the users table between the useridx field is realized.
(2) users table and user_dev_privs table.Corresponding relation between these two entities is 1:M, realizes through the corresponding relation between the useridx field in id major key in the users table and the user_dev_privs table.
(3) user_dev_privs table and devs table.Corresponding relation between these two entities is M:1, realizes through the corresponding relation between the devidx field in id major key in the devs table and the user_dev_privs table.
(4) devs table and dev_gps_history table.Corresponding relation between these two entities is 1:M, realizes through the corresponding relation between the devidx field in id major key in the devs table and the dev_gps_history table.
(5) devs table and dev_alarm_history table.Corresponding relation between these two entities is 1:M, realizes through the corresponding relation between the devidx field in id major key in the devs table and the dev_alarm_history table.
(6) dev_gps_history table and dev_alarm_history table.Corresponding relation between these two entities is 1:1, realizes through the corresponding relation between the gpsidx field in id major key in the dev_gps_history table and the dev_alarm_history table.It more than is exactly a webpage client general frame design that the present invention relates to based on the vehicle monitoring system of B/S framework and Django framework.The member can carry out vehicle GPS location, historical track playback, the inquiry of vehicle essential information, vehicle report query, customer parameter setting or the like through Web browser in the place of any Internet of having.This system has that threshold is low, networked, broad covered area, economical and practical, safe, simple to operate, the fast precision advantages of higher of locating speed.
The webpage client application of present embodiment is arrived the GPS vehicle monitoring system, and the GPS vehicle monitoring system is made up of webpage client, car-mounted terminal, server end and 4 essential parts of cordless communication network.Car-mounted terminal with the gps satellite locator data that receives after treatment; Via cordless communication network the latest position data of each car, the situation and the warning message of vehicle are transferred to server end then, server end writes down these information automatically so that ex-post analysis.And the webpage client to be through the request of sending to server end, carries out the work such as transmitting-receiving, inquiry of information of vehicles, after server process, obtains the locating information of vehicle, grasps the Real-time and Dynamic (position, state, travel speed etc.) of vehicle.

Claims (1)

1. the webpage FTP client FTP of a GPS vehicle monitoring system is characterized in that: said webpage FTP client FTP adopts three layers B/S framework, and said webpage FTP client FTP comprises presentation layer, Business Logic and data Layer, wherein,
Said presentation layer adopts the framework ExtJS that increases income of the UI based on JavaScript to design, and shows and basic operation the historical track demonstration of the positional information of moving vehicle and the demonstration of state information, vehicle and the various report display of vehicle in order to accomplish map;
Said Business Logic comprises Web server, application server and GIS server, and said Web server is based on Django framework exploitation, in order to accept the request of presentation layer, returns to presentation layer after handling relevant service logic; Said application server comprises GPS server and GIS server, and said GPS server is in order to resolving and to handle the GPS locating information that receives from portable terminal, and writes database; Said GIS server is in order to GIS inquiry and analysis;
Said data Layer comprises the data process method of whole webpage FTP client FTP, to the database request of operating, realizes inquiry and modify feature to system database in order to the logical layer of accepting business, and submits to Business Logic to the result.
CN2012102804728A 2012-08-08 2012-08-08 Web client system of GPS (Global Positioning System) vehicle monitoring system Pending CN102833320A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012102804728A CN102833320A (en) 2012-08-08 2012-08-08 Web client system of GPS (Global Positioning System) vehicle monitoring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012102804728A CN102833320A (en) 2012-08-08 2012-08-08 Web client system of GPS (Global Positioning System) vehicle monitoring system

Publications (1)

Publication Number Publication Date
CN102833320A true CN102833320A (en) 2012-12-19

Family

ID=47336288

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012102804728A Pending CN102833320A (en) 2012-08-08 2012-08-08 Web client system of GPS (Global Positioning System) vehicle monitoring system

Country Status (1)

Country Link
CN (1) CN102833320A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103078905A (en) * 2012-12-25 2013-05-01 泉州豪杰信息科技发展有限公司 Communication management method of GPS (Global Position System) terminal
CN103337194A (en) * 2013-07-16 2013-10-02 沈阳时尚实业有限公司 Operation method of electronic fence technology in long-distance passenger transport system
WO2015027695A1 (en) * 2013-08-27 2015-03-05 上海司南卫星导航技术有限公司 Satellite positioning receiver integrated with high-precision positioning application system
CN104574006A (en) * 2013-10-12 2015-04-29 北京航天长峰科技工业集团有限公司 Dangerous material vehicle positioning management system
CN105893575A (en) * 2016-04-01 2016-08-24 无锡中科富农物联科技有限公司 Agricultural materials network electronic map system based on .NET
CN106502679A (en) * 2016-10-30 2017-03-15 合肥微匠信息科技有限公司 A kind of management system configured based on embedded software developing
CN106547538A (en) * 2016-10-09 2017-03-29 广州市佳众联科技有限公司 A kind of intelligent operation management system based on Django
CN107168701A (en) * 2017-05-05 2017-09-15 郑州云海信息技术有限公司 A kind of public transportation enquiry system of three layers of framework
CN107730400A (en) * 2017-11-24 2018-02-23 广州功骏自动化科技有限公司 A kind of manufacturing enterprise's electric energy uses monitoring management system and its method for managing and monitoring
CN110555039A (en) * 2018-03-29 2019-12-10 武汉斗鱼网络科技有限公司 data query control method, storage medium, device and system
CN111767276A (en) * 2020-06-29 2020-10-13 北京百度网讯科技有限公司 Data storage method and device, electronic equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
周吉波等: "基于Djangoweb框架的GPS车载管理***网站的设计和实现", 《APCITT-2011》 *
范圣策: "GPS客户端的设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103078905B (en) * 2012-12-25 2015-08-12 泉州豪杰信息科技发展有限公司 A kind of communication management method of GPS terminal
CN103078905A (en) * 2012-12-25 2013-05-01 泉州豪杰信息科技发展有限公司 Communication management method of GPS (Global Position System) terminal
CN103337194A (en) * 2013-07-16 2013-10-02 沈阳时尚实业有限公司 Operation method of electronic fence technology in long-distance passenger transport system
WO2015027695A1 (en) * 2013-08-27 2015-03-05 上海司南卫星导航技术有限公司 Satellite positioning receiver integrated with high-precision positioning application system
CN104574006A (en) * 2013-10-12 2015-04-29 北京航天长峰科技工业集团有限公司 Dangerous material vehicle positioning management system
CN105893575A (en) * 2016-04-01 2016-08-24 无锡中科富农物联科技有限公司 Agricultural materials network electronic map system based on .NET
CN106547538A (en) * 2016-10-09 2017-03-29 广州市佳众联科技有限公司 A kind of intelligent operation management system based on Django
CN106502679A (en) * 2016-10-30 2017-03-15 合肥微匠信息科技有限公司 A kind of management system configured based on embedded software developing
CN107168701A (en) * 2017-05-05 2017-09-15 郑州云海信息技术有限公司 A kind of public transportation enquiry system of three layers of framework
CN107730400A (en) * 2017-11-24 2018-02-23 广州功骏自动化科技有限公司 A kind of manufacturing enterprise's electric energy uses monitoring management system and its method for managing and monitoring
CN110555039A (en) * 2018-03-29 2019-12-10 武汉斗鱼网络科技有限公司 data query control method, storage medium, device and system
CN111767276A (en) * 2020-06-29 2020-10-13 北京百度网讯科技有限公司 Data storage method and device, electronic equipment and storage medium
CN111767276B (en) * 2020-06-29 2024-03-15 北京百度网讯科技有限公司 Data storage method, device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN102833320A (en) Web client system of GPS (Global Positioning System) vehicle monitoring system
US20220114894A1 (en) Tracking and analysis of drivers within a fleet of vehicles
CA2985509C (en) Determining street segment headings
US11514276B2 (en) System and method for detecting and classifying recurrent stops of a vehicle fleet
AU2018259218B2 (en) Verifying sensor data using embeddings
US20140195454A1 (en) System, method, and apparatus for managing fluid transportation
US20160335878A1 (en) User device and method for tracking physical location of vehicle keys
US20080129491A1 (en) Find And See Application For A Group Of Devices
CN102801803B (en) Based on the vehicle monitoring system of B/S framework
US9514630B1 (en) System and method for tracking physical location of vehicle keys
CN103186963A (en) Electronic fence based on real-time geographic position
CN103150777A (en) Mobile attendance method and system
CN104951891A (en) Tour guide system and method
CN103994764A (en) Portable positioning system
US20160189067A1 (en) Application-based commercial ground transportation management system
CN104951892A (en) Tour guide management background system
CN102868718A (en) Method for dynamic multi-information-source integration in marine environment
Ahmed et al. Real-time vehicle tracking system
CN102629270A (en) Three-dimensional presentation method and device for geographic information of smarter cities
CN101311678B (en) Hand-held electronic device and its map data sharing method
CN111209318B (en) Geographic position data analysis method and device, electronic equipment and storage medium
WO2021114615A1 (en) Method, apparatus, and device for visualization of behavior risk identification, and storage medium
Alazawi et al. Design and Implementation of a Vehicle Tracking System Using the Internet of Things (IoT)
CN201689466U (en) Auto Alco-lock integrated with GPS positioning, tracing and navigation tester
Firner et al. Elastic pathing: Your speed is enough to track you

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20121219