CN101398973B - Automobile checking method and device by GPS technology - Google Patents

Automobile checking method and device by GPS technology Download PDF

Info

Publication number
CN101398973B
CN101398973B CN2007100096324A CN200710009632A CN101398973B CN 101398973 B CN101398973 B CN 101398973B CN 2007100096324 A CN2007100096324 A CN 2007100096324A CN 200710009632 A CN200710009632 A CN 200710009632A CN 101398973 B CN101398973 B CN 101398973B
Authority
CN
China
Prior art keywords
lines crossed
record
automobile
data
goes
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.)
Active
Application number
CN2007100096324A
Other languages
Chinese (zh)
Other versions
CN101398973A (en
Inventor
雷艳军
兰劲
许倜
张屿
余建成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiamen Yaxon Networks Co Ltd
Original Assignee
Xiamen Yaxon Networks 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 Xiamen Yaxon Networks Co Ltd filed Critical Xiamen Yaxon Networks Co Ltd
Priority to CN2007100096324A priority Critical patent/CN101398973B/en
Publication of CN101398973A publication Critical patent/CN101398973A/en
Application granted granted Critical
Publication of CN101398973B publication Critical patent/CN101398973B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method used for checking motor vehicles by the Global Positioning System (GPS) technology and a device thereof. The method comprises that lane crossing and speed exceeding of a motor vehicle is judged and counted; the GPS data uploaded by a car sill, and the data of the practical number of runs, the pre-set route and the route nodes are used for comparing the running position with the pre-set route of the vehicle so as to judge the lane crossing situation, comparing the running speed of the vehicle and the speed limit of each highway section so as to judge the overspeeding situation of the vehicle, and then the lane crossing beginning time and ending time and the lane crossing duration of the vehicle are counted, and the overspeeding beginning and ending time and the overspeeding duration of the vehicle are counted, so as to achieve the aim of checking vehicle operation.

Description

A kind of GPS of use technology is carried out the method and the device of automobile checking
Technical field
The present invention relates to a kind of method and device of automobile checking, particularly relate to and use the GPS technology to carry out the method and the device of automobile checking.
Background technology
Whether whether existing automobile operator is all needing statistics, inspection vehicle get lines crossed situation and overspeed situation usually, on fixed course, go, drive over the speed limit in each highway section to be used to supervising vehicle, and this helps the standard of vehicle to go and safety management.Existing statistics, the checking method that adopts can only be send a car to follow the tracks of vehicle or the worker's car of dispatching officers on monitoring recording, those methods all have and detect inconveniently, testing cost is high, detect inaccurate, statistics, inspection trouble, time-consuming, deficiency that cost is high.
Summary of the invention
Method and device that the present invention provides a kind of GPS of use technology to carry out automobile checking, it has overcome the existing automobile checking trouble of background technology, time-consuming, deficiency that cost is high.
The technical solution adopted for the present invention to solve the technical problems is: a kind of GPS of use technology is carried out the method for automobile checking; The device that this method is used comprises centring system and ride equipment; Ride equipment be located at automobile and and centring system between can realize data transmission, this method comprises:
Route is provided with step, on centring system, is provided with and preserves automobile information and predetermined travel route;
The reception of running data and treatment step, centring system receive the data of being uploaded successively by ride equipment successively, and each data setting that receives is a running data, all includes gps data in every running data at least; Centring system is judging one by one whether gps data is positioned at the preset range of predetermined travel route, then establishes the sign of not getting lines crossed in this way to represent that this running data for not getting lines crossed, is indicating to represent that this running data is for getting lines crossed otherwise in this running data, establish to get lines crossed; Preserve above-mentioned each bar running data and be each bar record that goes; And
Statistic procedure according to wanting accounting automobile information and time period to find out many go records of this automobile in this time period, is judging one by one in the record that goes whether the sign of getting lines crossed is arranging, and counts get lines crossed the go duration of this automobile in this time period according to this judgement.
In one preferred embodiment of present technique scheme; In the reception and treatment step of this running data; Judge whether gps data is positioned at the method that preset range adopted of being scheduled to travel route and is: calculate the vertical range value of gps data to this projected route; Judge that again this vertical range value whether in predetermined range, then establishing the sign of not getting lines crossed to represent that this running data for not getting lines crossed, is indicating to represent that this running data is for getting lines crossed otherwise in this running data, establish to get lines crossed in this way.
In one preferred embodiment of present technique scheme, this route is provided with step, on centring system, is provided with and preserves the speed limit of each segmentation of automobile information, predetermined travel route and travel route;
The reception of this running data and treatment step, it comprises:
Step P10, centring system receives the data of being uploaded successively by ride equipment successively, and each data setting that receives is a running data, all includes gps data in every running data at least;
Step P20; Centring system judges one by one whether gps data is positioned at the preset range of predetermined travel route; Then establish the sign of not getting lines crossed in this way to represent that this running data is not for getting lines crossed; Carry out P30 then, for getting lines crossed, carry out P40 to represent this running data then otherwise in this running data, establish the sign of getting lines crossed;
Step P30; Find out the speed limit of this gps data segmentation of living in, the travel speed of judging automobile then being established the hypervelocity sign to represent that this running data is a hypervelocity in this way whether greater than the speed limit of this segmentation in this running data; Otherwise establishing not, hypervelocity indicates to represent that this running data is for exceeding the speed limit
Step P40 preserves above-mentioned each bar running data and is each bar record that goes.
In one preferred embodiment of present technique scheme, this statistic procedure, it comprises:
According to wanting accounting automobile information and time period to find out many go records of this automobile in this time period, judge one by one in the record that goes whether the sign of getting lines crossed is arranging, count get lines crossed the go duration of this automobile in this time period according to this judgement;
Whether according to wanting accounting automobile information and time period to find out many go records of this automobile in this time period, judging one by one has the hypervelocity sign, count the drive over the speed limit duration of this automobile in this time period according to this judgement in the record that goes.
In one preferred embodiment of present technique scheme, all include gps data, running time and the sign of whether getting lines crossed at least in this every the record that goes.
In one preferred embodiment of present technique scheme, this statistic procedure comprises:
Step S10; According to wanting accounting automobile information and time period to find out many go records of this automobile in this time period; From article one begin to judge one by one go the record whether the sign of getting lines crossed is arranging; Having of judging got lines crossed continuous one section record statistics of getting lines crossed of sign for once getting lines crossed, wherein, with this continuous one section first of the record of getting lines crossed rising of going that record and last record that goes be set at that this time getting lines crossed, time only;
Step S20, those times are being got lines crossed and are being constituted get lines crossed the go duration of this automobile in this time period, and process form according to automobile information and the duration that goes of getting lines crossed, and show that this form checks for the user.
In one preferred embodiment of present technique scheme, the step S10 of this statistic procedure comprises:
Step S101 is according to wanting accounting automobile information and time period to find out many go records of this automobile in this time period;
Step S102 sets article one and goes and be recorded as the contrast bar record that goes;
Step S103 takes out the contrast bar data recorded of going;
Step S104 judges the contrast bar goes whether the sign of getting lines crossed is arranging in the record, if any then carrying out S105, goes and is recorded as contrast bar go record and execution S103 otherwise set next bar;
Step S105 is set at the start time that this time got lines crossed with the go running time of record of contrast bar, and sets next bar and go and be recorded as the contrast bar record that goes;
Step S106 takes out the contrast bar data recorded of going;
Step S107 judges the contrast bar goes whether the sign of getting lines crossed is arranging in the record, goes and is recorded as go record and carry out S106 of contrast bar if any then setting next bar, otherwise execution S108;
Step S108; The last running time that writes down that goes of contrast bar is set at the concluding time that this time got lines crossed; Calculate this time duration and be sent to step S20 of getting lines crossed between beginning, concluding time of getting lines crossed, and set next bar and go and be recorded as go record and carry out S103 of contrast bar;
Wherein, In statistic procedure, go and be recorded as the contrast bar and go and all also include before the record setting next bar: steps A, judge and go this contrast bar whether write down be the last item record that goes; If; If execution in step B then not, then sets next bar and goes and be recorded as the contrast bar record that goes; Step B withdraws from statistic procedure.
In one preferred embodiment of present technique scheme, this statistic procedure comprises:
Step S30 is combining to go according to automobile information, get lines crossed start time, the concluding time of getting lines crossed and the duration of getting lines crossed and is checking the interior traval trace of getting lines crossed on the engine map that is recorded in centring system.
The technical solution adopted for the present invention to solve the technical problems is: a kind of GPS of use technology is carried out the device of automobile checking; It comprises centring system and ride equipment; Ride equipment be located at automobile and and centring system between can realize data transmission, this centring system comprises:
Route is provided with the unit, on centring system, is provided with and preserves automobile information and predetermined travel route;
The reception of running data and processing unit, centring system receive the data of being uploaded successively by ride equipment successively, and each data setting that receives is a running data, all includes gps data in every running data at least; Centring system is judging one by one whether gps data is positioned at the preset range of predetermined travel route, then establishes the sign of not getting lines crossed in this way to represent that this running data for not getting lines crossed, is indicating to represent that this running data is for getting lines crossed otherwise in this running data, establish to get lines crossed; Preserve above-mentioned each bar running data and be each bar record that goes; And
Statistic unit according to wanting accounting automobile information and time period to find out many go records of this automobile in this time period, is judging one by one in the record that goes whether the sign of getting lines crossed is arranging, and counts get lines crossed the go duration of this automobile in this time period according to this judgement.
The present invention proposes a kind of GPS of use technology and carry out the method for automobile operation inspection; Comprise judgement and statistics that automobile is being got lines crossed, exceeded the speed limit; Utilize data such as gps data that ride uploads and actual order of classes or grades at school, projected route, route node; Compare the traveling-position of vehicle and the situation of getting lines crossed that projected route is judged vehicle, relatively the qualification speed of the travel speed of vehicle and the setting of each highway section is being judged the overspeed situation of vehicle, counts the get lines crossed beginning and ending time and the duration of getting lines crossed of vehicle then; Hypervelocity beginning and ending time and hypervelocity duration are to reach the purpose to the car operation inspection.The present invention can count the beginning and ending time of getting lines crossed of vehicle, the duration of getting lines crossed; The qualification speed that the hypervelocity beginning and ending time of vehicle, hypervelocity duration, maximum travel speed and minimum travel speed and this highway section are provided with; Be used to supervise vehicle and whether on fixed course, go, whether drive over the speed limit, help the standard of vehicle to go and safety management in each highway section.
Description of drawings
Below in conjunction with accompanying drawing and embodiment the present invention is further specified.
The principle schematic of the contrive equipment of the preferred embodiment that Fig. 1 has illustrated.
The get lines crossed schematic flow sheet of step of the statistics of the inventive method of the preferred embodiment that Fig. 2 has illustrated.
The schematic flow sheet of the statistics hypervelocity step of the inventive method of the preferred embodiment that Fig. 3 has illustrated.
Embodiment
Please refer to Fig. 1, the principle schematic of the contrive equipment of the preferred embodiment that Fig. 1 has illustrated, wherein arrow connects expression signal and connects.The present invention is to be example with the coach management system, but not as limit.This coach management system comprises a centring system 10 and a ride equipment 20.This ride equipment 20 is located on the coach, main being responsible for: (1), reception gps signal; (2), receive the various signals (first-class) of vehicle like ACC, service brake, shooting; (3), and centring system 10 between communication, the GPRS technology is adopted in this communication.This centring system 10 is that a cover is installed in the software systems on the central server, is responsible for: (1), with ride equipment 20 between communication, be used for sending instructions for 20 times the data that reception ride equipment 20 is uploaded to ride equipment; (2), for the keeper operation interface is provided; With MapX as engine map; Travel route, running time, guide in real time, highway section speed limit, the management methods such as rest, website stop of fixing a point of vehicle are combined; Show the various ride characteristics of vehicle with the mode of chart, be used to realize Realtime Alerts prompting and statistical study afterwards.
Centring system 10 mainly comprises: one handles and the NM server 12 of access data, the apps server 13 of a man-machine interaction and the database 14 of storage data with the GPRS front end processor of ride equipment 20 communications 11.This four part is connected on function, and is logically independent, so can be installed on the station server; Also can be installed on the multiple servers, the ride equipment 20 that the system that considers inserts is more, and data volume is handled bigger; So suggestion is installed on the different servers, to raise the efficiency.Wherein, NM server 12, GPS front end processor 11 and apps server 13, system can be Windows2000, WinowsXP or Windows2003, and GPRS front end processor 11 must be installed on the machine of public network IP.Each equipment room of centring system can realize that normal LAN connects, if GPRS front end processor 11, NM server 12 and apps server 13 are installed gateway on the machine that then need belong to not in the same network segment of same LAN.
Ride equipment 20 comprises a GPS module 21 and a GPRS module 22 at least.GPRS module 22 is used for carrying out data transmission with the GPRS front end processor 11 of centring system 10.GPS module 21 is used to receive gps signal, comprises information such as time, longitude, latitude, and to show vehicle ' time and track, to centring system 10 output current locations, GPS module 21 per seconds are exported current location at interval in the present embodiment through GPRS.The present invention need register this vehicle on the operating terminal of centring system 10 before enforcement, and correctly dispose the parameter of all necessary ride equipment.
Above-mentioned centring system 10 is being divided by functional module, can include reception and processing module, the statistical module of getting lines crossed, hypervelocity statistical module and report generation module that order of classes or grades at school and route are provided with module, running data.
Order of classes or grades at school and route are provided with module; It is provided for being provided with the function that vehicle order of classes or grades at school information, route and each highway section limit speed for the vehicle management personnel on centring system; Vehicle order of classes or grades at school information spinner will comprise vehicle, order of classes or grades at school name, route ID, departure time, time of arrival etc.; The line of a series of nodes that route is demarcated on the GIS map for managerial personnel, managerial personnel can also select certain bar highway section that qualification speed is set.
The reception of running data and processing module, it number searches order of classes or grades at school with the time according to vehicle carried mobile phone after centring system receives the running data that ride uploads; And then find out the corresponding route of this order of classes or grades at school, calculate the vertical range of the position (warp, latitude) of vehicle, if its value is in specified scope to this route; Think and do not get lines crossed; Putting the zone bit of getting lines crossed is being 0, otherwise thinks and get lines crossed, and putting the zone bit of getting lines crossed is being 1.As do not get lines crossed, then find out the affiliated highway section of vehicle location, find out the qualification speed in this highway section again; The relatively travel speed and the qualification speed of vehicle are if travel speed, is thought hypervelocity greater than qualification speed; Putting the hypervelocity zone bit is 1, otherwise thinks not have hypervelocity, and putting the hypervelocity zone bit is 0.Deposit running data and the zone bit of getting lines crossed, hypervelocity zone bit in the record sheet that goes together at last.
The statistical module of getting lines crossed, it realizes with storing process in database, the go record of enquiring vehicle in from the statistics zero-time to closing time in database; Begin from article one; Judging the attribute field of getting lines crossed in every record, is being 1 like this field, and then expression is being got lines crossed; As be 0, then be normal.One section continuous record statistics of getting lines crossed is for once getting lines crossed, and the time of article one record is being the zero-time of getting lines crossed, and the time of the last item record, the mistiming of termination time and beginning and ending time was the duration of getting lines crossed in order to get lines crossed the termination time.Add up each time successively and get lines crossed, until the last item record.This module can added up the situation of getting lines crossed of a car, also can add up the situation of getting lines crossed of the vehicle of a grouping, and each car in only needing to divide into groups is added up successively according to the method described above and got final product.
The hypervelocity statistical module, it realizes with storing process in database, the go record of enquiring vehicle in from the statistics zero-time to closing time in database; Begin from article one; Judging the hypervelocity attribute field in every record, is 1 like this field, then expression hypervelocity; As be 0, then be normal.One section continuous hypervelocity record statistics is for once exceeding the speed limit; Article one, the time of record is the hypervelocity zero-time; The time of the last item record is the hypervelocity termination time; The mistiming of hypervelocity termination time with the hypervelocity beginning and ending time is the hypervelocity duration, and wherein maximum speed is the minimum speed of going of this section hypervelocity for the top speed of going of this section hypervelocity, minimum speed.Add up each time hypervelocity successively, until the last item record.This module can be added up the overspeed situation of a car, also can add up the overspeed situation of the vehicle of a grouping, and each car in only needing to divide into groups is added up successively according to the method described above and got final product.
The report generation module; It provides user interface; The user can select certain vehicle or certain to divide into groups, and the from date and the cut-off date of statistics, and the report generation module is passed to the statistics storing process in the database with above-mentioned parameter; Storing process return data table is comprising field vehicle ID, the zero-time of getting lines crossed/exceed the speed limit, the termination time of getting lines crossed/exceed the speed limit, the duration of getting lines crossed/exceed the speed limit.Module shows the form that comprises above-mentioned field with the datagrid control.
The device that this method is used is as above described, and comprises that route is provided with reception and the treatment step and the statistic procedure of step, running data.
Route is provided with step, and the apps server 13 through man-machine interaction on centring system 10 is provided with automobile information, predetermined travel route and segmentation speed limit degree with MapX as engine map, and those data are preserved into database 14.This route is provided with step and comprises:
A101, through apps server 13 certain order of classes or grades at school essential information of input of centring system 10, this order of classes or grades at school essential information comprises that order of classes or grades at school title, route name, the time of departure, time of arrival, vehicle divide into groups and the vehicle license number;
A102 draws the corresponding route of this order of classes or grades at school through centring system 10 on the MapX engine map;
A103, the total length of calculating drawn path calculates the node number that route comprises according to the route total length; Wherein, route is made up of a lot of nodes, and adjacent two nodes are formed one section little straight line, and these little straight lines are end to end to have formed whole predetermined travel route;
A104 preserves route line information table with order of classes or grades at school essential information, route and node number that last several steps are provided with;
A105 obtains each node geography information according to route and node number, then each nodal information is preserved into informational table of nodes;
A106 in conjunction with nodal information, draws each website through the MapX engine map on route, obtain each website geography information, then each website geography information is preserved the dot information table that enters the station;
A107 customizes each site information, then each website customized information is preserved the dot information table that enters the station;
A108, every two adjacent internodal routes are all orientated a segmentation as, through apps server 13 speed limit of each segmentation are set, and then the speed limit of each segmentation are preserved into informational table of nodes.
The reception of this running data and treatment step, it comprises:
Step P10; GPRS module 22 (comprises information such as time, longitude, latitude to the GPS running data that the GPRS of centring system 10 front end processor 11 is uploaded GPS module 21 successively; To show vehicle ' time and track); GPRS front end processor 11 receives the GPS running data successively, and each data setting that receives is a running data;
Step P20; Centring system judges one by one whether gps data is positioned at the preset range of predetermined travel route; Then establish the sign of not getting lines crossed in this way to represent that this running data is not for getting lines crossed; Carry out P30 then, for getting lines crossed, carry out P40 to represent this running data then otherwise in this running data, establish the sign of getting lines crossed;
Step P30; Find out the speed limit of this gps data segmentation of living in; Whether the travel speed (can be calculated by gps data) of judging automobile is greater than the speed limit of this segmentation; Then in this running data, establish the hypervelocity sign in this way to represent that this running data is a hypervelocity, hypervelocity indicates to represent that this running data is for exceeding the speed limit otherwise establish not
Step P40 preserves above-mentioned each bar running data and is each bar record that goes, and those records that go are formed and gone record sheet and preserve database 14.
Add up the step of getting lines crossed, it is comprising:
Step S10 finds out the vehicle carried mobile phone number and the license plate number of this vehicle according to automobile ID in the vehicle table, number search the record sheet that goes closing time with statistics zero-time, statistics according to vehicle carried mobile phone, draws the n bar record that goes; From article one begin to judge one by one go the record whether the sign of getting lines crossed is arranging; The continuous one section record of judging of getting lines crossed with the sign of getting lines crossed is being added up to once getting lines crossed; Wherein, this continuous one section first of record of getting lines crossed record that goes is being set at this time getting lines crossed rise, end the time with last record that goes; Send automobile information, get lines crossed start time, the concluding time of getting lines crossed and the duration of getting lines crossed to next step again;
Step S20, the automobile information that step sends on the foundation, get lines crossed start time, the concluding time of getting lines crossed and the duration of getting lines crossed are being processed form, show that this form checks for the user;
Step S30 is combining to go according to automobile information, get lines crossed start time, the concluding time of getting lines crossed and the duration of getting lines crossed and is checking the interior traval trace of getting lines crossed on the engine map that is recorded in centring system.
The get lines crossed step S10 of step of this statistics is comprising:
Step S101 finds out the vehicle carried mobile phone number and the license plate number of this vehicle according to automobile ID in the vehicle table, number search the record sheet that goes closing time with statistics zero-time, statistics according to vehicle carried mobile phone, draws the n bar record that goes;
Step S102 sets article one and goes and be recorded as the contrast bar record that goes;
Step S103 takes out the contrast bar data recorded of going;
Step S104 judges the contrast bar goes whether the sign of getting lines crossed is arranging in the record, if any then carrying out S105, goes and is recorded as contrast bar go record and execution S103 otherwise set next bar;
Step S105 is set at the start time that this time got lines crossed with the go running time of record of contrast bar, and sets next bar and go and be recorded as the contrast bar record that goes;
Step S106 takes out the contrast bar data recorded of going;
Step S107 judges the contrast bar goes whether the sign of getting lines crossed is arranging in the record, goes and is recorded as go record and carry out S106 of contrast bar if any then setting next bar, otherwise execution S108;
Step S108; The last running time that writes down that goes of contrast bar is set at the concluding time that this time got lines crossed; Calculate this time duration and combine automobile information to be sent to step S20 of getting lines crossed between beginning, concluding time of getting lines crossed, set next bar again and go and be recorded as go record and carry out S103 of contrast bar;
Wherein, In statistic procedure, go and be recorded as the contrast bar and go and all also include before the record setting next bar: steps A, judge and go this contrast bar whether write down be the last item record that goes; If; If execution in step B then not, then sets next bar and goes and be recorded as the contrast bar record that goes; Step B withdraws from statistic procedure.
Statistics hypervelocity step, it comprises:
Step B10 finds out the vehicle carried mobile phone number and the license plate number of this vehicle according to automobile ID in the vehicle table, number search the record sheet that goes closing time with statistics zero-time, statistics according to vehicle carried mobile phone, draws the n bar record that goes; Begin to judge one by one to go whether hypervelocity sign is arranged the record from article one; The continuous one section hypervelocity record of judging with the sign that exceeds the speed limit is added up to once exceeding the speed limit; Wherein, first of this continuous one section hypervelocity record record that goes is set at rising, ending the time of this time hypervelocity with last record that goes; Send automobile information, hypervelocity start time, hypervelocity concluding time and hypervelocity duration to next step again;
Step B20, the automobile information that step sends on the foundation, hypervelocity start time, hypervelocity concluding time and hypervelocity duration are processed form, show that this form checks for the user;
Step B30 combines to go according to automobile information, hypervelocity start time, hypervelocity concluding time and hypervelocity duration and checks traval trace in the hypervelocity on the engine map that is recorded in centring system.
The step B10 of this statistics hypervelocity step comprises:
Step B101 finds out the vehicle carried mobile phone number and the license plate number of this vehicle according to automobile ID in the vehicle table, number search the record sheet that goes closing time with statistics zero-time, statistics according to vehicle carried mobile phone, draws the n bar record that goes;
Step B102 sets article one and goes and be recorded as the contrast bar record that goes;
Step B103 takes out the contrast bar data recorded of going;
Step B104 judges the contrast bar goes whether the hypervelocity sign is arranged in the record, if any then carrying out B105, goes and is recorded as go record and carry out B103 of contrast bar otherwise set next bar;
Step B105 is set at the start time of this time hypervelocity with the go running time of record of contrast bar, and sets next bar and go and be recorded as the contrast bar record that goes;
Step B106 takes out the contrast bar data recorded of going;
Step B107 judges the contrast bar goes whether the hypervelocity sign is arranged in the record, goes and is recorded as go record and carry out B106 of contrast bar if any then setting next bar, otherwise carry out B108;
Step B108; The running time of the last record that goes that contrasts bar is set at the concluding time of this time hypervelocity; The hypervelocity duration that calculates between this time hypervelocity beginning, concluding time combines information of vehicles and is sent to step B20, and sets next bar and go and be recorded as go record and carry out B103 of contrast bar;
Wherein, In statistic procedure, go and be recorded as the contrast bar and go and all also include before the record setting next bar: steps A, judge and go this contrast bar whether write down be the last item record that goes; If; If execution in step B then not, then sets next bar and goes and be recorded as the contrast bar record that goes; Step B withdraws from statistic procedure.
In order to make the reader understand said method more intuitively,, this statistics introduces Several Parameters in getting lines crossed the step 10 of step, please refer to Fig. 2, this step 10 comprises:
Step (1), the opening flag f1=0 that gets lines crossed is being set; The end mark of getting lines crossed f2=0; The start time t1=that gets lines crossed is adding up zero-time, and the concluding time t2=that gets lines crossed is adding up zero-time, and the duration Δ t=0 that goes is getting lines crossed; The LSN i=1 that goes also is to set article one in the record sheet that goes to go and be recorded as the contrast bar record that goes;
Step (2), initialize routine variable;
Step (3), get the i bar record that goes; Also be from the record sheet that goes, to take out the contrast bar record that goes, and the time field of t2=i bar record is set, the attribute field of getting lines crossed of f2=i bar record is (in the record that goes; That gets lines crossed is being masked as 1, and that does not get lines crossed is being masked as 0);
Whether step (4), comparison f2 in this way, are being provided with f2=1 for getting lines crossed, otherwise, f2=0 is set;
Step (5), judge f1 and f2, like f1=0 and f2=1, execution in step (6) then, otherwise execution in step (7);
Step (6), the beginning of getting lines crossed are being provided with t1=t2, f1=1 (will contrast bar go the running time of record be set at the start time of getting lines crossed), execution in step (9) then;
Step (7), judge f1 and f2, like f1=1 and f2=0, execution in step (8) then, otherwise execution in step (9);
Step (8), the end of getting lines crossed are being provided with the time field that t2=(i-1) bar writes down, and Δ t=t2-t1 sends record (license plate number, t1, t2, Δ t), f1=0 is set again, then execution in step (9);
Step (9), judgement i<n in this way, then are provided with i=i+1, forward step (3) to; Otherwise get into next step;
Step (10), judgement f2=1, in this way, promptly the last item is being recorded as to get lines crossed and is going, and Δ t=t2-t1 is set, and sends record (license plate number, t1, t2, Δ t); Otherwise finish statistics.
As getting lines crossed and go for the vehicle of certain grouping of statistics, then find out the ID of all vehicles of this grouping earlier, again each car ID is carried out above-mentioned algorithm, the rolling stock that draws this grouping at last statistic record of getting lines crossed.
Equally, understand said method more intuitively, in the step B10 of this statistics hypervelocity step, introduce Several Parameters, please refer to Fig. 3, and make this step comprise in order to make the reader:
Step (1), hypervelocity opening flag f1=0 is set, hypervelocity end mark f2=0, hypervelocity start time t1=statistics zero-time; Hypervelocity concluding time t2=statistics zero-time, the duration Δ t=0 that drives over the speed limit limits speed v 0=0; Travel speed v=0, minimum speed v1=0, top speed v2=0; The LSN i=1 that goes also is to set article one in the record sheet that goes to go and be recorded as the contrast bar record that goes;
Step (2), initialize routine variable;
Step (3), get the i bar record that goes; Also be from the record sheet that goes, to take out the contrast bar record that goes; And the time field of t2=i bar record is set, the hypervelocity attribute field of f2=i bar record (in the record that goes, hypervelocity be masked as 1; Hypervelocity is not masked as 0), the speed field of v=i bar record;
Whether step (4), comparison f2 are hypervelocity, in this way, f2=1 are set, otherwise, f2=0 is set;
Step (5), judge f1 and f2, like f1=0 and f2=1, execution in step (6) then, otherwise execution in step (7);
Step (6), hypervelocity beginning are provided with t1=t2, f1=1 (will contrast bar go the running time of record be set at the hypervelocity start time), the qualification speed field that v0=i bar writes down, v1=v, v2=v; Execution in step (9) then;
Step (7), judge f1 and f2, like f1=1 and f2=0, execution in step (8) then, otherwise execution in step (9);
Step (8), hypervelocity finish, and the time field of t2=(i-1) bar record is set, and Δ t=t2-t1 sends record (license plate number, t1, t2; Δ t, v1, v2 v0), is provided with f1=0, again like f1=1 and f2=1; Promptly continue to drive over the speed limit,, put v1=v,, put v2=v like v2<v relatively like v1>v; Execution in step (10) then;
Step (9), judgement i<n in this way, then are provided with i=i+1, forward step (3) to; Otherwise get into next step;
Step (10), judgement f2=1, in this way, promptly the last item is recorded as and drives over the speed limit, and Δ t=t2-t1 is set, the transmission record (license plate number, t1, t2, Δ t, v1, v2 is v0) to step B20; Otherwise finish statistics.
Overspeed of vehicle as for certain grouping of statistics goes, and then finds out the ID of all vehicles of this grouping earlier, again each car ID is carried out above-mentioned algorithm, draws the rolling stock hypervelocity statistic record of this grouping at last.
In order to make the reader further understand method of the present invention and device; The special applying examples of lifting: can follow the ride of centring system normal communication like certain passenger traffic company for its vehicle installation, and on centring system, (comprise the predefined frequency name, vehicle ID for its vehicle set predefined frequency; Departure time; Time of arrival) and route (broken lines that a series of nodes of demarcating on the GIS map are formed), in each highway section qualification speed is set then, just can inquires about getting lines crossed and driving over the speed limit situation of certain car or rolling stock.Like vehicle is the vehicle of Fujian D12131; Passenger traffic company management person is that 9 o'clock every mornings are at 17 o'clock in afternoon for it is provided with predefined frequency; On the GIS map that centring system provides, marking its travel route is passenger on long-distance routes station, Xiamen; Through Quanzhou, Foochow (is highway) to the Nan Ping, the highway section qualification speed from Quanzhou to Foochow is 90 kilometers/hour.The driver at 10 in the morning on May 1st, 2007 from the Xiamen, 12: 10 assign to 12: 20 component velocities changes to 105 kilometers/hour from 95.13: 30 begin not walk at a high speed from the Minqing behind Foochow, change provincial highway into and go, and arrive the Nan Ping in 14: 50.The vehicle management personnel are getting lines crossed and when record of exceed the speed limit this car of statistics, and system shows that getting lines crossed of this car and overspeed situation are shown in table one and table two.
Table one
Figure S2007100096324D00141
Table two
Figure S2007100096324D00142
In conjunction with the driving order of classes or grades at school, for going of vehicle is provided with projected route.Each order of classes or grades at school to vehicle is all stipulated travel route; The vehicle management personnel can mark a broken line and represent route on the GIS map that system provides; When ride is uploaded running data when (comprising vehicle carried mobile phone number, time, longitude and latitude etc.); System earlier finds out corresponding order of classes or grades at school and route according to cell-phone number and the time of this vehicle, then relatively its position arrive this route distance whether in the scope of appointment.Can qualification speed be set segmentation to projected route, the vehicle management personnel can be provided with different qualification speed according to different highway section situations, and are concrete more, reasonable to the speed limit of vehicle.When calculating vehicle is driven over the speed limit, show that the maximum travel speed of vehicle and minimum travel speed reach the qualification speed that is provided with in this highway section, relatively check the hypervelocity degree of vehicle more clearly.
The above is merely preferred embodiment of the present invention, so can not limit the scope that the present invention implements with this, the equivalence of promptly doing according to claim of the present invention and description changes and modifies, and all should still belong in the scope that patent of the present invention contains.

Claims (9)

1. method of using the GPS technology to carry out automobile checking is characterized in that: the device that this method is used comprises centring system and ride equipment, ride equipment be located at automobile and and centring system between realize data transmission, this method comprises:
Route is provided with step, on centring system, is provided with and preserves automobile information and predetermined travel route;
The reception of running data and treatment step, centring system receive the data of being uploaded successively by ride equipment successively, and each data setting that receives is a running data, all includes gps data in every running data at least; Centring system is judging one by one whether gps data is positioned at the preset range of predetermined travel route, then establishes the sign of not getting lines crossed in this way to represent that this running data for not getting lines crossed, is indicating to represent that this running data is for getting lines crossed otherwise in this running data, establish to get lines crossed; Preserve above-mentioned each bar running data and be each bar record that goes; And
Statistic procedure according to wanting accounting automobile information and time period to find out many go records of this automobile in this time period, is judging one by one in the record that goes whether the sign of getting lines crossed is arranging, and counts get lines crossed the go duration of this automobile in this time period according to this judgement.
2. a kind of GPS of use technology according to claim 1 is carried out the method for automobile checking; It is characterized in that: in the reception and treatment step of this running data; Judge whether gps data is positioned at the method that preset range adopted of being scheduled to travel route and is: calculate the vertical range value of gps data to this projected route; Judge that again this vertical range value is whether in predetermined range; Then establish the sign of not getting lines crossed in this way to represent that this running data for not getting lines crossed, is indicating to represent that this running data is for getting lines crossed otherwise in this running data, establish to get lines crossed.
3. a kind of GPS of use technology according to claim 1 is carried out the method for automobile checking, it is characterized in that:
This route is provided with step, on centring system, is provided with and preserves the speed limit of each segmentation of automobile information, predetermined travel route and travel route;
The reception of this running data and treatment step, it comprises:
Step P10, centring system receives the data of being uploaded successively by ride equipment successively, and each data setting that receives is a running data, all includes gps data in every running data at least;
Step P20; Centring system judges one by one whether gps data is positioned at the preset range of predetermined travel route; Then establish the sign of not getting lines crossed in this way to represent that this running data is not for getting lines crossed; Carry out P30 then, for getting lines crossed, carry out P40 to represent this running data then otherwise in this running data, establish the sign of getting lines crossed;
Step P30; Find out the speed limit of this gps data segmentation of living in, the travel speed of judging automobile then being established the hypervelocity sign to represent that this running data is a hypervelocity in this way whether greater than the speed limit of this segmentation in this running data; Otherwise establishing not, hypervelocity indicates to represent that this running data is for exceeding the speed limit
Step P40 preserves above-mentioned each bar running data and is each bar record that goes.
4. a kind of GPS of use technology according to claim 3 is carried out the method for automobile checking, it is characterized in that: this statistic procedure, and it comprises:
According to wanting accounting automobile information and time period to find out many go records of this automobile in this time period, judge one by one in the record that goes whether the sign of getting lines crossed is arranging, count get lines crossed the go duration of this automobile in this time period according to this judgement;
Whether according to wanting accounting automobile information and time period to find out many go records of this automobile in this time period, judging one by one has the hypervelocity sign, count the drive over the speed limit duration of this automobile in this time period according to this judgement in the record that goes.
5. a kind of GPS of use technology according to claim 1 is being carried out the method for automobile checking, it is characterized in that: all include gps data, running time and the sign of whether getting lines crossed at least in this every the record that goes.
6. a kind of GPS of use technology according to claim 5 is carried out the method for automobile checking, it is characterized in that: this statistic procedure comprises:
Step S10; According to wanting accounting automobile information and time period to find out many go records of this automobile in this time period; From article one begin to judge one by one go the record whether the sign of getting lines crossed is arranging; Having of judging got lines crossed continuous one section record statistics of getting lines crossed of sign for once getting lines crossed, wherein, with this continuous one section first of the record of getting lines crossed rising of going that record and last record that goes be set at that this time getting lines crossed, time only;
Step S20, those times are being got lines crossed and are being constituted get lines crossed the go duration of this automobile in this time period, and process form according to automobile information and the duration that goes of getting lines crossed, and show that this form checks for the user.
7. a kind of GPS of use technology according to claim 6 is carried out the method for automobile checking, it is characterized in that:
The step S10 of this statistic procedure comprises:
Step S101 is according to wanting accounting automobile information and time period to find out many go records of this automobile in this time period;
Step S102 sets article one and goes and be recorded as the contrast bar record that goes;
Step S103 takes out the contrast bar data recorded of going;
Step S104 judges the contrast bar goes whether the sign of getting lines crossed is arranging in the record, if any then carrying out S105, goes and is recorded as contrast bar go record and execution S103 otherwise set next bar;
Step S105 is set at the start time that this time got lines crossed with the go running time of record of contrast bar, and sets next bar and go and be recorded as the contrast bar record that goes;
Step S106 takes out the contrast bar data recorded of going;
Step S107 judges the contrast bar goes whether the sign of getting lines crossed is arranging in the record, goes and is recorded as go record and carry out S106 of contrast bar if any then setting next bar, otherwise execution S108;
Step S108; The last running time that writes down that goes of contrast bar is set at the concluding time that this time got lines crossed; Calculate this time duration and be sent to step S20 of getting lines crossed between beginning, concluding time of getting lines crossed, and set next bar and go and be recorded as go record and carry out S103 of contrast bar;
Wherein, In statistic procedure, go and be recorded as the contrast bar and go and all also include before the record setting next bar: steps A, judge and go this contrast bar whether write down be the last item record that goes; If; If execution in step B then not, then sets next bar and goes and be recorded as the contrast bar record that goes; Step B withdraws from statistic procedure.
8. carry out the method for automobile checking according to claim 6 or the 7 described a kind of GPS of use technology, it is characterized in that: this statistic procedure comprises:
Step S30 is combining to go according to automobile information, get lines crossed start time, the concluding time of getting lines crossed and the duration of getting lines crossed and is checking the interior traval trace of getting lines crossed on the engine map that is recorded in centring system.
9. device that uses the GPS technology to carry out automobile checking, it is characterized in that: it comprises centring system and ride equipment, ride equipment be located at automobile and and centring system between realize data transmission, this centring system comprises:
Route is provided with the unit, on centring system, is provided with and preserves automobile information and predetermined travel route;
The reception of running data and processing unit, centring system receive the data of being uploaded successively by ride equipment successively, and each data setting that receives is a running data, all includes gps data in every running data at least; Centring system is judging one by one whether gps data is positioned at the preset range of predetermined travel route, then establishes the sign of not getting lines crossed in this way to represent that this running data for not getting lines crossed, is indicating to represent that this running data is for getting lines crossed otherwise in this running data, establish to get lines crossed; Preserve above-mentioned each bar running data and be each bar record that goes; And
Statistic unit according to wanting accounting automobile information and time period to find out many go records of this automobile in this time period, is judging one by one in the record that goes whether the sign of getting lines crossed is arranging, and counts get lines crossed the go duration of this automobile in this time period according to this judgement.
CN2007100096324A 2007-09-30 2007-09-30 Automobile checking method and device by GPS technology Active CN101398973B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007100096324A CN101398973B (en) 2007-09-30 2007-09-30 Automobile checking method and device by GPS technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007100096324A CN101398973B (en) 2007-09-30 2007-09-30 Automobile checking method and device by GPS technology

Publications (2)

Publication Number Publication Date
CN101398973A CN101398973A (en) 2009-04-01
CN101398973B true CN101398973B (en) 2012-05-09

Family

ID=40517499

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007100096324A Active CN101398973B (en) 2007-09-30 2007-09-30 Automobile checking method and device by GPS technology

Country Status (1)

Country Link
CN (1) CN101398973B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102158798A (en) * 2011-01-27 2011-08-17 深圳市美赛达科技有限公司 Driving data counting method, system and driving data counting terminal
CN103236166B (en) * 2013-05-13 2015-05-27 交通运输部公路科学研究所 Method for recognizing vehicle violation behaviors with satellite positioning technology
CN105333877A (en) * 2014-07-31 2016-02-17 小米科技有限责任公司 Navigation processing method and apparatus
CN104464356B (en) * 2014-12-11 2019-04-30 厦门雅迅网络股份有限公司 A kind of taxi driver's traffic safety prevention method
CN104933869B (en) * 2015-05-19 2017-02-01 交通运输部公路科学研究所 Anti-noise type satellite positioning data-based method for identifying vehicle violation behaviors
CN106571042A (en) * 2015-10-12 2017-04-19 深圳市赛格导航科技股份有限公司 Variable speed limit vehicle overspeed determining method and system
CN108417050A (en) * 2018-03-02 2018-08-17 西南交通大学 A kind of excess speed event real-time detecting method based on continuous hypervelocity GPS track point
CN109101549B (en) * 2018-07-09 2021-12-28 广东赛诺科技股份有限公司 Taxi GPS track data extraction method beyond operation range
CN110428621B (en) * 2019-07-30 2022-07-15 山东交通学院 Track data-based monitoring and early warning method for dangerous driving behavior of floating car

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2724113Y (en) * 2004-05-28 2005-09-07 福建省天通电讯科技有限公司 Automatic warning device for real-time storaging and deviation set line for vehicle travel line
CN1873273A (en) * 2005-06-05 2006-12-06 巨科集团有限公司 Composite tube of stainless steel and aluminum
CN1996039A (en) * 2006-12-22 2007-07-11 凯立德欣技术(深圳)有限公司 Method, device, and apparatus for recording navigation path, and navigation method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2724113Y (en) * 2004-05-28 2005-09-07 福建省天通电讯科技有限公司 Automatic warning device for real-time storaging and deviation set line for vehicle travel line
CN1873273A (en) * 2005-06-05 2006-12-06 巨科集团有限公司 Composite tube of stainless steel and aluminum
CN1996039A (en) * 2006-12-22 2007-07-11 凯立德欣技术(深圳)有限公司 Method, device, and apparatus for recording navigation path, and navigation method

Also Published As

Publication number Publication date
CN101398973A (en) 2009-04-01

Similar Documents

Publication Publication Date Title
CN101398973B (en) Automobile checking method and device by GPS technology
CN103236166B (en) Method for recognizing vehicle violation behaviors with satellite positioning technology
CN110675629B (en) Big data-based highway congestion prediction and active prevention and control method
CN107067720B (en) Urban real-time traffic system and method based on block chain
US6754580B1 (en) System for guiding vehicles
CN104933869A (en) Anti-noise type satellite positioning data-based method for identifying vehicle violation behaviors
CN111915896A (en) Intelligent traffic system and method based on Internet of things
CN101425225B (en) Method for managing automobile line by using GPS technology
CN108074396A (en) The evaluation method that drives safely and system
CN105070076A (en) Method and system for planning special route of special vehicle based on V2I (Vehicle to Infrastructure)
CN103500503A (en) Method and system for analyzing accurate road conditions based on crowdsourcing mode
CN104240500A (en) Road condition information predicting method and system
CN104166390A (en) Intelligent sanitation processing system based on smart cities
CN104875731A (en) Method for identifying rapid acceleration or rapid deceleration of vehicle in real time by using satellite positioning data
CN101398972A (en) Automobile schedule managing method by GPS technology
CN105069853A (en) Method for analyzing traffic accidents
CN102024330A (en) Intelligent traffic signal control system, method and equipment based on high-definition video technology
CN110310499A (en) A kind of method and device of ring road speed limit identification
CN103247169A (en) Social network-based vehicle information publishing method
CN106157608A (en) Information processing method and device
CN102024331A (en) Intelligent traffic signal control system
CN111127882A (en) Tourist attraction parking lot coming vehicle number prediction method based on big data
CN114997493A (en) Method and system for predicting carbon emission of vehicles on highway
CN107421558A (en) Parking system capable of automatically planning route
CN109686119A (en) Parking stall shared system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant