CN107749164A - Vehicle aggregation analysis method and device - Google Patents

Vehicle aggregation analysis method and device Download PDF

Info

Publication number
CN107749164A
CN107749164A CN201711182770.2A CN201711182770A CN107749164A CN 107749164 A CN107749164 A CN 107749164A CN 201711182770 A CN201711182770 A CN 201711182770A CN 107749164 A CN107749164 A CN 107749164A
Authority
CN
China
Prior art keywords
bayonet socket
detained
event
current
delay
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.)
Granted
Application number
CN201711182770.2A
Other languages
Chinese (zh)
Other versions
CN107749164B (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.)
Inspur Software Technology Co Ltd
Original Assignee
Inspur Software Group 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 Inspur Software Group Co Ltd filed Critical Inspur Software Group Co Ltd
Priority to CN201711182770.2A priority Critical patent/CN107749164B/en
Publication of CN107749164A publication Critical patent/CN107749164A/en
Application granted granted Critical
Publication of CN107749164B publication Critical patent/CN107749164B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/0104Measuring and analyzing of parameters relative to traffic conditions

Landscapes

  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Traffic Control Systems (AREA)

Abstract

The invention provides a vehicle aggregation analysis method and a device, wherein the method comprises the following steps: determining a target retention event; determining each frequent detention gate of a first vehicle with a target detention event and each second gate which is logically adjacent to the first gate corresponding to the target detention event; acquiring each retention event corresponding to the first bayonet and each second bayonet; executing the following steps for each acquired retention event: determining a common retention time length of a current retention event and a target retention event; determining each frequent detention checkpoint of a second vehicle in which the current detention event occurs; when the common detention time length is judged to be not less than a first preset threshold value and the first gate is not the frequent detention gate of the first vehicle and the second vehicle at the same time, it is determined that the aggregation event is generated between the two vehicles. Based on the traffic situation of each vehicle at each gate, a vehicle aggregation event can be determined. The vehicle traffic data volume is large, and the source is wide, so the scheme can reduce the misjudgment rate of the vehicle gathering event.

Description

A kind of vehicle analysis of agglomeration method and device
Technical field
The present invention relates to field of computer technology, more particularly to a kind of vehicle analysis of agglomeration method and device.
Background technology
With the progress of society, expanding economy, the popularity rate more and more higher of automobile.It is right with the increase of automobile quantity The monitoring management work of traval trace becomes increasingly complex, also more and more important.Public vehicles abnormal aggregation situation it is timely It was found that help to maintain public order, alleviate traffic pressure etc..
At present, vehicle can be analyzed by gps data and assembles data, to determine that vehicle assembles event.
But the gps data of most public vehicles is difficult to obtain so that vehicle aggregation data to carry out source range narrower, Just it is difficult to be formed accurately monitoring to judge.
The content of the invention
The invention provides a kind of vehicle analysis of agglomeration method and device, can reduce the False Rate that vehicle assembles event.
In order to achieve the above object, the present invention is achieved through the following technical solutions:
On the one hand, the invention provides a kind of vehicle analysis of agglomeration method, including:
S1:Determine that target is detained event;
S2:It is determined that at least one first frequent delay bayonet socket that the target is detained the first vehicle of event occurs, and It is determined that at least one second bayonet socket of the first bayonet socket Logic adjacent corresponding with the target delay event;
S3:Obtain first bayonet socket, each described second bayonet socket each corresponding delay event respectively;
S4:It is performed both by for each the described delay event got:It is determined that currently delay event and the target are stagnant Stay the common delay duration of event;It is determined that current second vehicle for being detained event occurs at least one second is often detained Bayonet socket;Judging that the common duration that is detained be not less than the first predetermined threshold value, and described at least one first is often detained and blocks Mouthful and described at least one second when being often detained different in bayonet socket when including first bayonet socket, determine first vehicle with Aggregation event is generated between second vehicle.
Further, the S1, including:
A1:The current record of at least one bayonet socket of first vehicle in the first preset time period is obtained, wherein, it is each The current record of bayonet socket described in bar includes bayonet socket mark and transit time, the current record of at least one bayonet socket according to it is current when Between by elder generation, putting in order after is arranged in order;
A2:Determine the current record of current bayonet socket in the current record of at least one bayonet socket;
A3:According to formula one, calculate and be detained duration corresponding to the current record of current bayonet socket;
A4:Judge whether the delay duration is not less than the second predetermined threshold value, if so, determine that the target is detained event, And S2 is performed, otherwise, using the current record of next bayonet socket as the current record of current bayonet socket, and perform A2;
Wherein, the target is detained event and included:First bayonet socket, the generation target corresponding to the target delay event The vehicle of delay event, it is detained duration, is detained initial time, is detained deadline;
Wherein, first bayonet socket is bayonet socket corresponding to the bayonet socket mark in the current current record of bayonet socket, and institute occurs The vehicle for stating target delay event is first vehicle, during the delay initial time records for the current bayonet socket is current Transit time, the delay deadline and the difference of the delay initial time are the delay duration calculated,
The formula one, including:
Wherein, △ tiDuring to be detained corresponding to the current record of i-th bayonet socket in the current record of at least one bayonet socket It is long, tiFor the transit time in the current record of i-th bayonet socket, n is the total number of the current record of at least one bayonet socket, T ' is the deadline of first preset time period.
Further, further comprise before the S2:
At least one 3rd bayonet socket is determined, wherein, first vehicle has delay in any 3rd bayonet socket Event;
It is performed both by for the 3rd bayonet socket each described:Calculate in the second preset time period, first vehicle is current The number of delay event occurs for the 3rd bayonet socket;
For at least one number calculated, maximum times therein are determined;
It is performed both by for each the described number calculated:According to formula two, current number and described maximum time are calculated The first several differences;When judging that first difference is not more than three predetermined threshold values, record corresponding to the current number 3rd bayonet socket is often detained bayonet socket for the first of first vehicle;
The formula two includes:
Wherein, Y is first difference, nmaxFor the maximum times, niFor i-th at least one number Number.
Further, further comprise before the S2:
At least one 4th bayonet socket is determined, wherein, the distance between first bayonet socket and any 4th bayonet socket is little In the 5th predetermined threshold value;
It is performed both by for the 4th bayonet socket each described:Determining that any vehicle passes through current 4th bayonet socket and described When current duration used is not more than four predetermined threshold values during one bayonet socket, control between current 4th bayonet socket and first bayonet socket It is effective cross car quantity add 1;
Judging in the 3rd preset time period, effective car number excessively between current 4th bayonet socket and first bayonet socket When amount is not less than six predetermined threshold values, current 4th bayonet socket and the first bayonet socket Logic adjacent are recorded.
Further, in the S4, when the current delay event of determination is detained the common delay of event with the target It is long, including:
Determine that the current delay initial time for being detained event and the target are detained in the delay initial time of event Maximum be detained initial time to be common;
Determine that the current delay deadline for being detained event and the target were detained in the delay deadline of event Minimum value be detained deadline to be common;
Determine that the common delay deadline subtracts the common difference for being detained initial time to determine currently to be detained Event is detained the common delay duration of event with the target.
Further, in the S4, further comprise:Judge whether the current delay duration for being detained event is not less than 7th predetermined threshold value, if so, performing the current common delay duration for being detained event and being detained event with the target of the determination.
Further, in the S4, further comprise:According to formula three, the current delay event and the mesh are calculated Mark the holdup time similarity of delay event;
Judging that described at least one first is often detained in bayonet socket or at least one second frequent delay bayonet socket During including first bayonet socket, when judging whether the holdup time similarity is not less than eight predetermined threshold values, if so, performing institute State and determine to generate aggregation event between first vehicle and second vehicle;
Judging that described at least one first is often detained in bayonet socket and at least one second frequent delay bayonet socket When not including first bayonet socket, when judging whether the holdup time similarity is not less than nine predetermined threshold values, if so, holding Aggregation event is generated between the row determination first vehicle and second vehicle;
Wherein, the 9th predetermined threshold value is not less than the 8th predetermined threshold value;
The formula three includes:
Wherein, η is the holdup time similarity, and t is detained duration, t jointly to be describedaFor the current delay event It is detained duration, tbIt is detained the delay duration of event for the target.
On the other hand, the invention provides a kind of vehicle analysis of agglomeration device, including:
First determining unit, for determining that target is detained event;
Second determining unit, it is frequent for determining to occur at least one the first of the first vehicle of the target delay event It is detained bayonet socket, and determines at least one second bayonet socket of the first bayonet socket Logic adjacent corresponding with the target delay event;
Acquiring unit, for obtaining each the corresponding delay respectively of first bayonet socket, each described second bayonet socket Event;
First processing units, for being performed both by for each the described delay event got:It is determined that currently it is detained thing Part is detained the common delay duration of event with the target;It is determined that at least the one of current second vehicle for being detained event occurs Individual second is often detained bayonet socket;Judging that the common duration that is detained is not less than the first predetermined threshold value, and it is described at least one When including first bayonet socket when different in the first frequent delay bayonet socket and at least one second frequent delay bayonet socket, it is determined that Aggregation event is generated between first vehicle and second vehicle.
Further, first determining unit, including:Obtain subelement, determination subelement, computation subunit, processing Subelement;
The acquisition subelement, lead to for obtaining at least one bayonet socket of first vehicle in the first preset time period Row record, wherein, the current record of each bayonet socket includes bayonet socket mark and transit time, at least one bayonet socket lead to According to transit time, by elder generation, putting in order after is arranged in order row record;
The determination subelement, for determining the current record of current bayonet socket in the current record of at least one bayonet socket;
The computation subunit, for according to formula one, calculating and being detained duration corresponding to the current record of current bayonet socket;
The processing subelement, for judging whether the delay duration is not less than the second predetermined threshold value, if so, determining institute State target and be detained event, and trigger second determining unit, otherwise, led to using the current record of next bayonet socket as current bayonet socket Row record, and trigger the determination subelement;
Wherein, the target is detained event and included:First bayonet socket, the generation target corresponding to the target delay event The vehicle of delay event, it is detained duration, is detained initial time, is detained deadline;
Wherein, first bayonet socket is bayonet socket corresponding to the bayonet socket mark in the current current record of bayonet socket, and institute occurs The vehicle for stating target delay event is first vehicle, during the delay initial time records for the current bayonet socket is current Transit time, the delay deadline and the difference of the delay initial time are the delay duration calculated,
The formula one, including:
Wherein, △ tiDuring to be detained corresponding to the current record of i-th bayonet socket in the current record of at least one bayonet socket It is long, tiFor the transit time in the current record of i-th bayonet socket, n is the total number of the current record of at least one bayonet socket, T ' is the deadline of first preset time period.
Further, the vehicle analysis of agglomeration device also includes:Second processing unit, for determining at least one 3rd card Mouthful, wherein, first vehicle has delay event in any 3rd bayonet socket;For the 3rd bayonet socket each described It is performed both by:Calculate in the second preset time period, the number of delay event occurs in current 3rd bayonet socket for first vehicle;For At least one number calculated, determines maximum times therein;It is performed both by for each the described number calculated:According to Formula two, calculate the first difference of current number and the maximum times;Judging that first difference is pre- no more than the 3rd If during threshold value, record first frequent delay bayonet socket of the 3rd bayonet socket corresponding to the current number for first vehicle;
The formula two includes:
Wherein, Y is first difference, nmaxFor the maximum times, niFor i-th at least one number Number.
Further, the vehicle analysis of agglomeration device also includes:3rd processing unit, for determining at least one 4th card Mouthful, wherein, the distance between first bayonet socket and any 4th bayonet socket is not more than the 5th predetermined threshold value;For each institute The 4th bayonet socket is stated to be performed both by:The current duration used when determining any vehicle by current 4th bayonet socket and first bayonet socket During no more than four predetermined threshold values, effective car quantity of crossing between current 4th bayonet socket and first bayonet socket is controlled to add 1; Judge in the 3rd preset time period, effective between current 4th bayonet socket and first bayonet socket crosses car quantity not less than the During six predetermined threshold values, current 4th bayonet socket and the first bayonet socket Logic adjacent are recorded.
Further, the first processing units, specifically for determining the current delay initial time for being detained event The maximum being detained with the target in the delay initial time of event is detained initial time to be common;Determine the current delay The be detained deadline and the minimum value being detained in deadline of target delay event of event are when being detained to end jointly Between;Determine it is described it is common be detained deadline subtract the common difference for being detained initial time for determine current delay event with The target is detained the common delay duration of event.
Further, the first processing units, it is additionally operable to whether not to judge the current delay duration for being detained event Less than the 7th predetermined threshold value, if so, during the common delay of the current delay event of the execution determination and target delay event It is long.
Further, the first processing units, be additionally operable to according to formula three, calculate it is described it is current be detained event with it is described Target is detained the holdup time similarity of event;Judging that described at least one first is often detained bayonet socket or described at least one When individual second, which is often detained bayonet socket, includes first bayonet socket, judge whether the holdup time similarity is pre- not less than the 8th If during threshold value, aggregation event is generated between the determination first vehicle and second vehicle if so, performing;Judging Go out described at least one first and be often detained bayonet socket and described at least one second to be often detained in bayonet socket and do not include described the During one bayonet socket, when judging whether the holdup time similarity is not less than nine predetermined threshold values, if so, performing described in the determination Aggregation event is generated between first vehicle and second vehicle;
Wherein, the 9th predetermined threshold value is not less than the 8th predetermined threshold value;
The formula three includes:
Wherein, η is the holdup time similarity, and t is detained duration, t jointly to be describedaFor the current delay event It is detained duration, tbIt is detained the delay duration of event for the target.
The invention provides a kind of vehicle analysis of agglomeration method and device, this method includes:Determine that target is detained event;Really Surely each of the first vehicle that target delay event occurs often is detained bayonet socket, the first bayonet socket logic corresponding with target delay event Adjacent each second bayonet socket;Obtain the first bayonet socket, each second bayonet socket each corresponding delay event respectively;For what is got Each delay event is performed both by:It is determined that currently it is detained the common delay duration that event is detained event with target;It is determined that occur current stagnant The each of the second vehicle of event is stayed often to be detained bayonet socket;Judging that being detained duration jointly is not less than the first predetermined threshold value, and During one bayonet socket difference for the frequent delay bayonet socket of the first vehicle and the second vehicle when, determine to generate aggregation event between two vehicles. Based on each vehicle each bayonet socket passage situation, it may be determined that vehicle assemble event.Vehicles data amount is big, wide material sources, Therefore the present invention can reduce the False Rate of vehicle aggregation event.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are the present invention Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis These accompanying drawings obtain other accompanying drawings.
Fig. 1 is a kind of flow chart for vehicle analysis of agglomeration method that one embodiment of the invention provides;
Fig. 2 is the flow chart for another vehicle analysis of agglomeration method that one embodiment of the invention provides;
Fig. 3 is a kind of schematic diagram for vehicle analysis of agglomeration device that one embodiment of the invention provides;
Fig. 4 is the schematic diagram for another vehicle analysis of agglomeration device that one embodiment of the invention provides.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is Part of the embodiment of the present invention, rather than whole embodiments, based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained on the premise of creative work is not made, belongs to the scope of protection of the invention.
As shown in figure 1, the embodiments of the invention provide a kind of vehicle analysis of agglomeration method, may comprise steps of:
Step 101:Determine that target is detained event.
Step 102:It is determined that at least one first frequent delay bayonet socket that the target is detained the first vehicle of event occurs, And determine at least one second bayonet socket of the first bayonet socket Logic adjacent corresponding with the target delay event.
Step 103:Obtain first bayonet socket, each described second bayonet socket each corresponding delay event respectively.
Step 104:It is performed both by for each the described delay event got:It is determined that currently it is detained event and the mesh Mark the common delay duration of delay event;It is determined that at least one second that current second vehicle for being detained event occurs is frequent It is detained bayonet socket;Judging that the common duration that is detained be not less than the first predetermined threshold value, and described at least one first is frequent stagnant When including first bayonet socket when staying different in bayonet socket and at least one second frequent delay bayonet socket, first car is determined Generate aggregation event between second vehicle.
The embodiments of the invention provide a kind of vehicle analysis of agglomeration method, determines that target is detained event;It is determined that target occurs The each of first vehicle of delay event is often detained bayonet socket, each the of the first bayonet socket Logic adjacent corresponding with target delay event Two bayonet sockets;Obtain the first bayonet socket, each second bayonet socket each corresponding delay event respectively;For each delay event got It is performed both by:It is determined that currently it is detained the common delay duration that event is detained event with target;It is determined that occur current to be detained the of event The each of two vehicles is often detained bayonet socket;Judging that being detained duration jointly is not less than the first predetermined threshold value, and the first bayonet socket is different When for the frequent delay bayonet socket of the first vehicle and the second vehicle when, determine to generate aggregation event between two vehicles.Based on each vehicle In the passage situation of each bayonet socket, it may be determined that vehicle assembles event.Vehicles data amount is big, wide material sources, therefore the present invention is real The False Rate of vehicle aggregation event can be reduced by applying example.
In an embodiment of the invention, bayonet socket can be expressway mouth, traffic light intersection etc., can be collected at bayonet socket By the license plate number of vehicle, and registration of vehicle passage time etc..
In the embodiment of the present invention, for any vehicle, the vehicle through a bayonet socket A by a bayonet socket B when, when used current Between can as the vehicle bayonet socket A delay duration.Under normal circumstances, vehicle first passes through bayonet socket A, then by bayonet socket B, therefore should Being detained duration can think that transit time of the vehicle in bayonet socket B subtracts the difference of the transit time in bayonet socket A.
Wherein, bayonet socket A and bayonet socket B can be same bayonet socket, or different bayonet sockets.
Such as one vehicle can be after some bayonet sockets in way of driving a vehicle, bayonet socket A and bayonet socket B can be the two of arbitrary neighborhood Individual bayonet socket, it might even be possible to close on crossing for any non-conterminous two.
For another example, it is assumed that after a bayonet socket, car owner gets off and stopped the vehicle, for example car owner goes home, car owner a to mesh Ground it is state-run etc., car owner gets on the bus and driven after stopping certain time, then vehicle can be through the bayonet socket backtracking, in this way, bayonet socket A It is same bayonet socket with bayonet socket B.
Based on the above, in the embodiment of the present invention, when delay duration of the vehicle in bayonet socket A is not less than respective settings threshold value When, it is believed that there occurs be detained event in bayonet socket A for the vehicle.
In the embodiment of the present invention, effective car quantity excessively between two bayonet sockets can also be determined:For above-mentioned bayonet socket A and bayonet socket B, No matter through bayonet socket A by bayonet socket B, or through bayonet socket B by bayonet socket A, as long as determining that a vehicle is used between two bayonet sockets Transit time when being not more than respective settings threshold value, effective car quantity of crossing between bayonet socket A and bayonet socket B adds 1.
Based on the above, in the embodiment of the present invention, if in corresponding preset time period, effective between two bayonet sockets crosses car number When amount is not less than respective settings threshold value, it is believed that two bayonet socket Logic adjacents.
Based on the above, in the embodiment of the present invention, situation is detained according to the bayonet socket of each vehicle, it may be determined that any two Common delay duration of the vehicle at any bayonet socket, if the common delay duration is not less than respective settings threshold value, it is believed that should There occurs aggregation event at this bayonet socket for two vehicles.
For example, vehicle 1 is in 13:00 by bayonet socket A, after being detained 5h, in 18:00 returns through bayonet socket A again, vehicle 2 In 14:00 by bayonet socket A, after being detained 4.5h, in 18:30 by bayonet socket B, in this way, the common holdup time section of the two vehicles Can be 14:00~18:00, it may thereby determine that out the two vehicles a length of 4h in bayonet socket A common delay.
Based on the above, in the embodiment of the present invention, according to two vehicles delay duration at bayonet socket A respectively, and Both bayonet socket A common delay duration, can be directed to vehicle aggregation event, further determine that holdup time similarity.
Such as situation 1:The a length of 5h in bayonet socket A delay of vehicle 1, vehicle 2 a length of 4.5h in bayonet socket A delay, two Person a length of 4h in bayonet socket A common delay;
Situation 2:The a length of 5h in bayonet socket A delay of vehicle 1, vehicle 2 a length of 4.5h, Liang Zhe in bayonet socket A delay A length of 1h during bayonet socket A common delay;
Situation 3:The a length of 10h in bayonet socket A delay of vehicle 1, vehicle 2 a length of 4.5h, Liang Zhe in bayonet socket A delay A length of 4h during bayonet socket A common delay;
For above-mentioned three kinds of situations, it is believed that the holdup time similarity in situation 1, it is higher than situation 2, also compare situation 3 is high.
Based on the above, in the embodiment of the present invention, for any vehicle, the institute of delay event occurs for the vehicle There is bayonet socket, if the vehicle is when the number that delay event occurs for a bayonet socket is relatively more, it is believed that the bayonet socket is the vehicle Often it is detained bayonet socket.Under normal circumstances, the number of the frequent delay bayonet socket of any vehicle is at least one.Such as user residence Ground, user are easily confirmed as often being detained bayonet socket with handling official business.
Based on vehicle defined above be detained duration, be detained event, between bayonet socket it is effective cross car quantity, bayonet socket Logic adjacent, Vehicle aggregation, holdup time similarity, vehicle are often detained bayonet socket etc., vehicle provided in an embodiment of the present invention can be assembled and divide Analysis method carries out further specific limit.
In an embodiment of the invention, in order to illustrate a kind of possibility implementation for determining target and being detained event, so, The step 101, including:
A1:The current record of at least one bayonet socket of first vehicle in the first preset time period is obtained, wherein, it is each The current record of bayonet socket described in bar includes bayonet socket mark and transit time, the current record of at least one bayonet socket according to it is current when Between by elder generation, putting in order after is arranged in order;
A2:Determine the current record of current bayonet socket in the current record of at least one bayonet socket;
A3:According to following formula (1), calculate and be detained duration corresponding to the current record of current bayonet socket;
A4:Judge whether the delay duration is not less than the second predetermined threshold value, if so, determine that the target is detained event, And step 102 is performed, otherwise, using the current record of next bayonet socket as the current record of current bayonet socket, and perform A2;
Wherein, the target is detained event and included:First bayonet socket, the generation target corresponding to the target delay event The vehicle of delay event, it is detained duration, is detained initial time, is detained deadline;
Wherein, first bayonet socket is bayonet socket corresponding to the bayonet socket mark in the current current record of bayonet socket, and institute occurs The vehicle for stating target delay event is first vehicle, during the delay initial time records for the current bayonet socket is current Transit time, the delay deadline and the difference of the delay initial time are the delay duration calculated,
Wherein, △ tiDuring to be detained corresponding to the current record of i-th bayonet socket in the current record of at least one bayonet socket It is long, tiFor the transit time in the current record of i-th bayonet socket, n is the total number of the current record of at least one bayonet socket, T ' is the deadline of first preset time period.
In detail, staff can set above-mentioned first preset time period, above-mentioned second predetermined threshold value on demand.Such as Above-mentioned first preset time period can be the same day, this month, nearly 3 months.If it is considered as just to be detained to reach 1h, thus it is above-mentioned second pre- If threshold value can be 1h.
In detail, when staff thinks to need to analyze above-mentioned first vehicle, the license plate number of first vehicle It will be designated, so as to obtain the current record of the bayonet socket of first vehicle in a preset time period.Under normal circumstances, each card The current record of mouth may each comprise vehicles identifications, bayonet socket mark, transit time.When being detained for convenience of the vehicle calculated at each bayonet socket Between, can be according to bayonet socket current record carry out order arrangement of the time order and function order to collecting.
Then, based on the current record of the bayonet socket arranged, delay duration of first vehicle at each bayonet socket can be calculated, and Contrasted with respective threshold, if being not less than threshold value, illustrate that the first vehicle holdup time at the bayonet socket is longer, it is stagnant so as to exist Event is stayed, if being less than threshold value, can continue to calculate next delay duration.
When determining to exist delay event, i.e., when above-mentioned target is detained event, it can perform and be detained thing for the target Part, perform above-mentioned steps 102.
But when the duration of above-mentioned first preset time period is longer, in the bayonet socket communications records collected, above-mentioned first Vehicle may have multiple delay events.In this way, after above-mentioned steps 101 to step 104 has been performed, can determine again Each is detained event, and each delay event for determining, repeats above-mentioned steps 101 to step 104.
Certainly, in an alternative embodiment of the invention, can also be determined whole according to the bayonet socket communications records collected Delay event, and each delay event for determining, above-mentioned steps 101 are performed respectively to step 104.
It is worth what is proposed, for example, the first preset time period is the 8 of the same day:The 8 of 00 to next day:00, the second default threshold It is worth for 1h, if the transit time of the current record of the bayonet socket for being arranged in last position is the 21 of the same day:00, due in the absence of next bayonet socket Current record, it is apparent that vehicle was in the 21 of the same day:The 8 of 00 to next day:Between 00, do not pass through any bayonet socket, vehicle in 11h It is detained.Therefore, it is to calculate to be detained duration, in above-mentioned formula (1), calculation during i < n and i=n is different.
Based on the above, in an embodiment of the invention, vehicle can be built and be detained event computation model:Utilize Hadoop MapReduce distributed computing frameworks, calculating analysis is carried out to the delay event of the magnanimity given category number-plate number. According to specified license plate number, retrieve in Hbase databases, the vehicle at the appointed time current record of the bayonet socket in section, and with logical Row time order and function order arranges, and forms result set LIST1;Traversing result collection LIST1, since recording Article 2, this record Transit time subtracts a record transit time, is holdup time of the vehicle in a upper bayonet socket;If during the delay Between be more than setting time threshold value T0, then the license plate number, upper bayonet socket transit time, this bayonet socket transit time, a upper bayonet socket are compiled Number, this bayonet socket numbering, the holdup time be recorded in Hbase be detained event table in.
In detail, the delay event of each vehicle can determine in advance before above-mentioned steps 101 to step 104.Such as This, staff can be as needed, is detained event using any delay event as target, to carry out subsequent analysis.
In an embodiment of the invention, in order to illustrate a kind of possibility implementation for determining often to be detained bayonet socket, so, Further comprise before the step 102:
At least one 3rd bayonet socket is determined, wherein, first vehicle has delay in any 3rd bayonet socket Event;
It is performed both by for the 3rd bayonet socket each described:Calculate in the second preset time period, first vehicle is current The number of delay event occurs for the 3rd bayonet socket;
For at least one number calculated, maximum times therein are determined;
It is performed both by for each the described number calculated:According to following formula (2), calculate current number with it is described most First difference of big number;When judging that first difference is not more than three predetermined threshold values, the current number pair is recorded The 3rd bayonet socket answered often is detained bayonet socket for the first of first vehicle;
Wherein, Y is first difference, nmaxFor the maximum times, niFor i-th at least one number Number.
In detail, the frequent delay bayonet socket of any vehicle is analyzed, it is necessary first to collect the vehicle and delay event be present All bayonet sockets, i.e., above-mentioned at least one 3rd bayonet socket.Wherein it is possible to recorded according to the vehicle pass-through of the bayonet socket collected, base In the holdup time corresponding to each bayonet socket calculated, to determine each the 3rd bayonet socket.
For example, it is computed, in the range of nearly 1 year, according to the order of number from big to small, the first vehicle is each Three bayonet sockets occur delay event number be respectively:Bayonet socket 01:20000 times, bayonet socket 03:1.5 ten thousand times, bayonet socket 10:0.8 ten thousand times, card Mouth 04:0.1 ten thousand times, bayonet socket 06:0.09 ten thousand times ....In this way, maximum times be 20,000 times, be computed, 20,000 times with 20,000 times First difference is 0%, and 1.5 ten thousand times and first difference of 20,000 times are 25%, and 0.8 ten thousand times and first difference of 20,000 times are 60%. Assuming that above-mentioned 3rd predetermined threshold value is 30%, then in above-mentioned bayonet socket, only bayonet socket 01 and bayonet socket 03 are the frequent delay of the first vehicle Bayonet socket.
In an alternative embodiment of the invention, calculate the first vehicle each 3rd bayonet socket occur delay event number it Afterwards, each number and a setting value can equally be contrasted, if being not less than setting value, may be considered the first vehicle Frequent delay bayonet socket.For example the designated value, when being 0.5 ten thousand times, in above-mentioned bayonet socket, bayonet socket 01, bayonet socket 03 and bayonet socket 10 are The frequent delay bayonet socket of first vehicle.
Based on the above, in an embodiment of the invention, vehicle can be built and be often detained bayonet socket computation model:Profit With Hadoop MapReduce distributed computing frameworks, calculating point is carried out to the delay event of the magnanimity given category number-plate number Analysis.According to the vehicle at the appointed time current record of the bayonet socket in section, and with logical in specified license plate number retrieval Hbase databases Row time order and function order arranges, and forms result set LIST2;Traversing result collection LIST2, since recording Article 2, this record It is holdup time of the vehicle in a upper bayonet socket that transit time, which subtracts a record transit time, if the holdup time More than setting time threshold value T2, then the license plate number is detained number in the long-time of a upper bayonet socket and adds 1.After the completion of traversal, for The delay number that each license plate number corresponds to bayonet socket finds out the bayonet socket being often detained using clustering algorithm.
In detail, the frequent delay bayonet socket of each vehicle can determine in advance before above-mentioned steps 101 to step 104.
According to the above, any vehicle can be directed to, determines that it is often detained bayonet socket, the embodiment of the present invention is not made herein Repeat.
In an embodiment of the invention, in order to illustrate a kind of possibility implementation for determining bayonet socket Logic adjacent, so, Further comprise before the step 102:Determine at least one 4th bayonet socket, wherein, first bayonet socket with it is any described Distance between 4th bayonet socket is not more than the 5th predetermined threshold value;
It is performed both by for the 4th bayonet socket each described:Determining that any vehicle passes through current 4th bayonet socket and described When current duration used is not more than four predetermined threshold values during one bayonet socket, control between current 4th bayonet socket and first bayonet socket It is effective cross car quantity add 1;
Judging in the 3rd preset time period, effective car number excessively between current 4th bayonet socket and first bayonet socket When amount is not less than six predetermined threshold values, current 4th bayonet socket and the first bayonet socket Logic adjacent are recorded.
In detail, physical distance of any of the above-described 4th bayonet socket generally between the first bayonet socket is nearer.
In detail, above-mentioned current duration used, is not only related to the vehicle pass-through from current 4th bayonet socket to the first bayonet socket Record, also relate to and recorded from the first bayonet socket to the vehicle pass-through of current 4th bayonet socket.
Based on the above, in an embodiment of the invention, bayonet socket neighborhood calculation model can be built:Utilize Hadoop MapReduce distributed computing frameworks, car data is crossed to magnanimity bayonet socket and carries out calculating analysis.Retrieve the vehicle in specified time section The current record of bayonet socket, and arranged with the number-plate number, transit time sequencing, form result set LIST3;Traversing result collection LIST3, since Article 2 record, by this bayonet socket G2 transit time subtract it is upper one record by bayonet socket G1 it is current when Between, be the vehicle in the holdup time of a upper bayonet socket, if the holdup time is less than setting time threshold value T3, by G1- G2 is effective to cross car quantity record plus 1;Until traversal is completed, some adjacent bayonet sockets and effective key-value pair collection for crossing car quantity are obtained Close, such as { " G1-G2 ":200000, " G1-G3 ":100000, " G4-G5 ":10000 ... ... };Travel through this set, if certain two The effective car quantity of crossing of individual bayonet socket is more than threshold value N1, then this two bayonet sockets regard as Logic adjacent bayonet socket.
In detail, each Logic adjacent bayonet socket can determine in advance before above-mentioned steps 101 to step 104.
According to the above, any vehicle can be directed to, determines its Logic adjacent bayonet socket, the embodiment of the present invention is not made herein Repeat.
In an embodiment of the invention, in order to illustrate a kind of possibility implementation for determining common delay duration, so, In the step 104, the current common delay duration for being detained event and being detained event with the target of the determination, including:
Determine that the current delay initial time for being detained event and the target are detained in the delay initial time of event Maximum be detained initial time to be common;
Determine that the current delay deadline for being detained event and the target were detained in the delay deadline of event Minimum value be detained deadline to be common;
Determine that the common delay deadline subtracts the common difference for being detained initial time to determine currently to be detained Event is detained the common delay duration of event with the target.
In detail, based on the two delay beginning and ending times for being detained event, it may be determined that both common delay durations.
In an embodiment of the invention, in the step 104, further comprise:Judge the current delay event It is detained whether duration is not less than the 7th predetermined threshold value, if so, perform the current event of being detained of the determination is detained thing with the target The common delay duration of part.
As an example it is assumed that vehicle when the delay duration of a bayonet socket exceedes setting value 1h, that is, is thought delay event occurs, So as to screen out some holdup times shorter vehicle pass-through situation on a large scale.When analyzing for specific aggregation event When, can further it be screened out according to the delay duration for being detained event.I.e. aggregation is generally detained, but is detained and is not necessarily assembled.
Such as, it is necessary to when analyzing gambling situation, it is contemplated that the duration that lasts of gambling is generally no less than half a day, therefore 7th predetermined threshold value can be defined as 5h.In this way, when though a delay duration for being detained event is more than 1h but during not less than 5h, The delay event can be screened out, without calculating common delay duration and follow-up process, this implementation can be full While sufficient demand, greatly reduce data amount of calculation.
Similarly, in above-mentioned steps 104, it is desirable to which the common duration that is detained is not less than the first predetermined threshold value.For example assembled a crowd about dividing During gambling situation, first predetermined threshold value can be defined as 4h.If although one is detained event and is detained duration more than 5h, its with When target is detained the common delay duration only 0.5h of event, because common delay duration is shorter, it is believed that both do not gather Crowd's gambling, i.e., do not produce aggregation event.
Judgement for assembling event, for example, the resident family of same cell, both of which are detained in a bayonet socket, and jointly It is detained duration to meet to require, but both are actually in the limit of consideration of analysis gambling situation, therefore in above-mentioned steps 104 In, it is desirable to it is the first vehicle and the frequent delay bayonet socket of the second vehicle during the first bayonet socket difference.
In this way, when assert the aggregation of two vehicles, the first bayonet socket can meet following either conditions:
Condition 1:First bayonet socket is often detained bayonet socket for the one of the first vehicle;
Condition 2:First bayonet socket is often detained bayonet socket for the one of the second vehicle;
Condition 3:First bayonet socket is neither the frequent delay bayonet socket of the first vehicle, is not also the frequent delay card of the second vehicle Mouthful.
Based on the above, when judging aggregation event, processing considers common delay duration, is detained duration, is often detained Outside bayonet socket, it is that big data operand is reduced on the basis for ensureing judgment accuracy, holdup time phase can be determined whether Like degree.
In detail, for above-mentioned condition 1 or condition 2, there may be following situations 1:
When user A goes to the user B family to act as a guest, the holdup time of vehicle is generally relatively long used in user A, car used in user B Holdup time it is generally relatively short.Such as 18 on the day of user A:During 00 goes back home, and in next day 8:00 is away from home, then Holdup time is 14h, 18 on the day of user B:30 act as a guest into user A family, and in the same day 21:30 leave, then the holdup time is 3h。
In detail, for above-mentioned condition 3, there may be following situations 2:
User A and user's B phases a restaurant of dividing out are had a dinner party, and the holdup time of vehicle used in user A and user B is generally relatively It is short.For example user A is in 13:00, which sets out, reaches restaurant and in 15:00 leaves, then holdup time 2h, user B is in 12:45 go out It is dealt into up to restaurant and in 15:00 leaves, then holdup time 2.25h.
Contrast situation 1 and situation 2, it can be seen that the holdup time similarity in situation 1 is relatively low, stagnant in situation 2 Stay time similarity of a relatively high, in this way, above-mentioned 3 kinds of modes can be directed to, different decision thresholds is set.
Based on the above, in an embodiment of the invention, in order to illustrate that one kind is determined according to holdup time similarity The possibility implementation of adopted aggregation event, so, in the step 104, further comprise:According to following formula (3), institute is calculated State the holdup time similarity that current delay event is detained event with the target;
Judging that described at least one first is often detained in bayonet socket or at least one second frequent delay bayonet socket During including first bayonet socket, when judging whether the holdup time similarity is not less than eight predetermined threshold values, if so, performing institute State and determine to generate aggregation event between first vehicle and second vehicle;
Judging that described at least one first is often detained in bayonet socket and at least one second frequent delay bayonet socket When not including first bayonet socket, when judging whether the holdup time similarity is not less than nine predetermined threshold values, if so, holding Aggregation event is generated between the row determination first vehicle and second vehicle;
Wherein, the 9th predetermined threshold value is not less than the 8th predetermined threshold value;
Wherein, η is the holdup time similarity, and t is detained duration, t jointly to be describedaFor the current delay event It is detained duration, tbIt is detained the delay duration of event for the target.
In summary, in an embodiment of the invention, vehicle aggregation event computation model can be built:Utilize Hadoop MapReduce distributed computing frameworks, result set caused by vehicle delay event computation model is analyzed, analysis is every one by one Individual delay event.Specifically include following flows:(1) bayonet socket G1 where target is detained event is obtained;(2) according to bayonet socket neighborhood calculation Model, the bayonet socket set M1 of all Logic adjacents of bayonet socket G1 is searched, and will separately increase bayonet socket G1 itself in M1;(3) according to bayonet socket Set M1, search the vehicle that all bayonet sockets occur in set and be detained event sets M2;(4) traversal is detained event sets M2, by it In every be detained event and carry out com-parison and analysis with current event of being detained, from be detained duration, to be detained duration, holdup time jointly similar Degree, vehicle judge that duration is more than respective threshold, the common duration that is detained is more than corresponding threshold if be detained in terms of being often detained bayonet socket Value, holdup time similarity are more than respective threshold, and are that the vehicles of two vehicles is often detained bayonet socket when being detained bayonet socket difference, then Two cars for judging currently to compare generate aggregation event.
In summary, the embodiments of the invention provide a kind of mass data for the current record of all kinds of public vehicles bayonet sockets Mining analysis method, effective calculating analysis model can be established to vehicle abnormality analysis of agglomeration, so as to enrich analysis vehicle Species, scope, reduce to vehicle abnormality aggregation event False Rate.
As shown in Fig. 2 one embodiment of the invention provides another vehicle analysis of agglomeration method, following step is specifically included Suddenly:
Step 201:Determine that target is detained event.
Step 202:It is determined that at least one first frequent delay bayonet socket that target is detained the first vehicle of event occurs.
Step 203:It is determined that at least one second bayonet socket of the first bayonet socket Logic adjacent corresponding with target delay event.
Step 204:Obtain the first bayonet socket, each second bayonet socket each corresponding delay event respectively.
Step 205:It is performed both by for each the delay event got:Judging the current delay duration for being detained event is It is no to be not less than threshold value 1, if so, performing step 206, otherwise, terminate current process.
Step 206:It is determined that currently it is detained the common delay duration that event is detained event with target.
Step 207:Judge whether common delay duration is not less than threshold value 2, if so, performing step 208, otherwise, terminate to work as Preceding flow.
Step 208:It is determined that current the second vehicle for being detained event occurs at least one second is often detained bayonet socket.
Step 209:Judge that at least one first is often detained in bayonet socket and at least one second frequent delay bayonet socket, if Asynchronously include the first bayonet socket, if so, performing step 210, otherwise, terminate current process.
Step 210:Calculate the current holdup time similarity be detained event and be detained event with target.
Step 211:Judge whether holdup time similarity is not less than threshold value 3, if so, determining the first vehicle and the second vehicle Between generate aggregation event, otherwise, terminate current process.
As shown in figure 3, one embodiment of the invention provides a kind of vehicle analysis of agglomeration device, including:
First determining unit 301, for determining that target is detained event;
Second determining unit 302, for determining to occur at least one the first of the first vehicle that the target is detained event Often it is detained bayonet socket, and determines at least one second card of the first bayonet socket Logic adjacent corresponding with the target delay event Mouthful;
Acquiring unit 303, for obtain first bayonet socket, each described second bayonet socket respectively corresponding to each is stagnant Stay event;
First processing units 304, for being performed both by for each the described delay event got:It is determined that current be detained Event is detained the common delay duration of event with the target;It is determined that current second vehicle for being detained event occurs at least One second is often detained bayonet socket;Judging that the common duration that is detained is not less than the first predetermined threshold value, and described at least one When including first bayonet socket when different in the individual first frequent delay bayonet socket and at least one second frequent delay bayonet socket, really It is fixed to generate aggregation event between first vehicle and second vehicle.
In an embodiment of the invention, it refer to Fig. 4, first determining unit 301, including:Obtain subelement 3011st, determination subelement 3012, computation subunit 3013, processing subelement 3014;
The acquisition subelement 3011, for obtaining at least one card of first vehicle in the first preset time period The current record of mouth, wherein, the current record of each bayonet socket is including bayonet socket mark and transit time, at least one card According to transit time, by elder generation, putting in order after is arranged in order the current record of mouth;
The determination subelement 3012, for determining the current note of current bayonet socket in the current record of at least one bayonet socket Record;
The computation subunit 3013, for according to above-mentioned formula (1), calculating corresponding to the current record of current bayonet socket It is detained duration;
The processing subelement 3014, for judging whether the delay duration is not less than the second predetermined threshold value, if so, really The fixed target is detained event, and triggers second determining unit 302, otherwise, using the current record of next bayonet socket as ought The current record of preceding bayonet socket, and trigger the determination subelement 3012;
Wherein, the target is detained event and included:First bayonet socket, the generation target corresponding to the target delay event The vehicle of delay event, it is detained duration, is detained initial time, is detained deadline;
Wherein, first bayonet socket is bayonet socket corresponding to the bayonet socket mark in the current current record of bayonet socket, and institute occurs The vehicle for stating target delay event is first vehicle, during the delay initial time records for the current bayonet socket is current Transit time, the delay deadline and the difference of the delay initial time are the delay duration calculated.
In an embodiment of the invention, Fig. 4 is refer to, the vehicle analysis of agglomeration device can also include:Second processing Unit 401, for determining at least one 3rd bayonet socket, wherein, first vehicle has in any 3rd bayonet socket Delay event;It is performed both by for the 3rd bayonet socket each described:Calculate in the second preset time period, first vehicle is current The number of delay event occurs for the 3rd bayonet socket;For at least one number calculated, maximum times therein are determined;For meter Each the described number calculated is performed both by:According to above-mentioned formula (2), calculate current number and the maximum times first is poor Value;When judging that first difference is not more than three predetermined threshold values, recording currently the 3rd bayonet socket corresponding to number is The first of first vehicle is often detained bayonet socket.
In an embodiment of the invention, Fig. 4 is refer to, the vehicle analysis of agglomeration device can also include:3rd processing Unit 402, for determining at least one 4th bayonet socket, wherein, the distance between first bayonet socket and any 4th bayonet socket No more than the 5th predetermined threshold value;It is performed both by for the 4th bayonet socket each described:Determining any vehicle by the current 4th When current duration used is not more than four predetermined threshold values when bayonet socket and first bayonet socket, current 4th bayonet socket and institute are controlled The effective car quantity of crossing stated between the first bayonet socket adds 1;Judging in the 3rd preset time period, current 4th bayonet socket and described When effective mistake car quantity between first bayonet socket is not less than six predetermined threshold values, current 4th bayonet socket and the described first card are recorded Mouth Logic adjacent.
In an embodiment of the invention, the first processing units 304, specifically for determining the current delay event Delay initial time and the maximum be detained in the delays initial time of event of the target be common delay initial time;Really The minimum value in the current delay deadline for being detained event and the delay deadline of target delay event is calmly It is common to be detained deadline;Determine that the common delay deadline subtracts the common difference for being detained initial time to determine The current common delay duration for being detained event and being detained event with the target.
In an embodiment of the invention, the first processing units 304, it is additionally operable to judge the current delay event It is detained whether duration is not less than the 7th predetermined threshold value, if so, perform the current event of being detained of the determination is detained thing with the target The common delay duration of part.
In an embodiment of the invention, the first processing units 304, it is additionally operable to, according to above-mentioned formula (3), calculate institute State the holdup time similarity that current delay event is detained event with the target;Judging that described at least one first is frequent When delay bayonet socket or at least one second frequent delay bayonet socket include first bayonet socket, the holdup time phase is judged When whether being not less than eight predetermined threshold values like degree, if so, performing between the determination first vehicle and second vehicle Generate aggregation event;Judging that described at least one first is often detained bayonet socket and the described at least one second often delay When not including first bayonet socket in bayonet socket, when judging whether the holdup time similarity is not less than nine predetermined threshold values, If so, performing aggregation event is generated between the determination first vehicle and second vehicle;Wherein, the described 9th is pre- If threshold value is not less than the 8th predetermined threshold value.
The contents such as the information exchange between each unit, implementation procedure in said apparatus, due to implementing with the inventive method Example is based on same design, and particular content can be found in the narration in the inventive method embodiment, and here is omitted.
In summary, each embodiment of the invention at least has the advantages that:
1st, in the embodiment of the present invention, determine that target is detained event;It is determined that each of the first vehicle of target delay event occurs Often it is detained bayonet socket, each second bayonet socket of the first bayonet socket Logic adjacent corresponding with target delay event;Obtain the first bayonet socket, each Each is detained event corresponding to second bayonet socket difference;It is performed both by for each delay event got:It is determined that currently it is detained thing Part is detained the common delay duration of event with target;It is determined that each of current the second vehicle for being detained event, which occurs, is often detained card Mouthful;Judging that being detained duration jointly is not less than the first predetermined threshold value, and be the first vehicle and the second car during the first bayonet socket difference Frequent delay bayonet socket when, determine to generate aggregation event between two vehicles., can based on each vehicle in the passage situation of each bayonet socket To determine that vehicle assembles event.Vehicles data amount is big, wide material sources, therefore the embodiment of the present invention can reduce vehicle aggregation thing The False Rate of part.
2nd, excavate and divide the embodiments of the invention provide a kind of mass data for the current record of all kinds of public vehicles bayonet sockets Analysis method, vehicle abnormality analysis of agglomeration can be established it is effective calculate analysis model, so as to enrich the species of analysis vehicle, Scope, reduce the False Rate to vehicle abnormality aggregation event.
It should be noted that herein, such as first and second etc relational terms are used merely to an entity Or operation makes a distinction with another entity or operation, and not necessarily require or imply and exist between these entities or operation Any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant be intended to it is non- It is exclusive to include, so that process, method, article or equipment including a series of elements not only include those key elements, But also the other element including being not expressly set out, or also include solid by this process, method, article or equipment Some key elements.In the absence of more restrictions, by sentence " including the key element that a 〃 〃 " is limited, it is not excluded that Other identical factor in the process including the key element, method, article or equipment also be present.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through Programmed instruction related hardware is completed, and foregoing program can be stored in computer-readable storage medium, the program Upon execution, the step of execution includes above method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or light Disk etc. is various can be with the medium of store program codes.
It is last it should be noted that:Presently preferred embodiments of the present invention is the foregoing is only, is merely to illustrate the skill of the present invention Art scheme, is not intended to limit the scope of the present invention.Any modification for being made within the spirit and principles of the invention, Equivalent substitution, improvement etc., are all contained in protection scope of the present invention.

Claims (10)

  1. A kind of 1. vehicle analysis of agglomeration method, it is characterised in that including:
    S1:Determine that target is detained event;
    S2:It is determined that at least one first often delay bayonet socket, and determining that the target is detained the first vehicle of event occurs At least one second bayonet socket of the first bayonet socket Logic adjacent corresponding with the target delay event;
    S3:Obtain first bayonet socket, each described second bayonet socket each corresponding delay event respectively;
    S4:It is performed both by for each the described delay event got:It is determined that be currently detained event is detained thing with the target The common delay duration of part;It is determined that current second vehicle for being detained event occurs at least one second is often detained card Mouthful;Judging that the common duration that is detained be not less than the first predetermined threshold value, and the described at least one first frequent delay bayonet socket When including first bayonet socket when being often detained different in bayonet socket with described at least one second, first vehicle and institute are determined State and generate aggregation event between the second vehicle.
  2. 2. according to the method for claim 1, it is characterised in that the S1, including:
    A1:The current record of at least one bayonet socket of first vehicle in the first preset time period is obtained, wherein, each institute Stating the current record of bayonet socket includes bayonet socket mark and transit time, the current record of at least one bayonet socket according to transit time by First putting in order after is arranged in order;
    A2:Determine the current record of current bayonet socket in the current record of at least one bayonet socket;
    A3:According to formula one, calculate and be detained duration corresponding to the current record of current bayonet socket;
    A4:Judge whether the delay duration is not less than the second predetermined threshold value, if so, determining that the target is detained event, and hold Row S2, otherwise, using the current record of next bayonet socket as the current record of current bayonet socket, and perform A2;
    Wherein, the target is detained event and included:The first bayonet socket, the generation target are detained corresponding to the target delay event The vehicle of event, it is detained duration, is detained initial time, is detained deadline;
    Wherein, first bayonet socket is bayonet socket corresponding to the bayonet socket mark in the current current record of bayonet socket, and the mesh occurs The vehicle for marking delay event is first vehicle, and the initial time of being detained is current in the current record of current bayonet socket Time, the delay deadline and the difference of the delay initial time are the delay duration calculated,
    The formula one, including:
    <mrow> <msub> <mi>&amp;Delta;t</mi> <mi>i</mi> </msub> <mo>=</mo> <mfenced open = "{" close = ""> <mtable> <mtr> <mtd> <mrow> <msub> <mi>t</mi> <mrow> <mi>i</mi> <mo>+</mo> <mn>1</mn> </mrow> </msub> <mo>-</mo> <msub> <mi>t</mi> <mi>i</mi> </msub> </mrow> </mtd> <mtd> <mrow> <mi>i</mi> <mo>&lt;</mo> <mi>n</mi> </mrow> </mtd> </mtr> <mtr> <mtd> <mrow> <msup> <mi>t</mi> <mo>&amp;prime;</mo> </msup> <mo>-</mo> <msub> <mi>t</mi> <mi>i</mi> </msub> </mrow> </mtd> <mtd> <mrow> <mi>i</mi> <mo>=</mo> <mi>n</mi> </mrow> </mtd> </mtr> </mtable> </mfenced> </mrow>
    Wherein, △ tiTo be detained duration, t corresponding to the current record of i-th bayonet socket in the current record of at least one bayonet socketi For the transit time in the current record of i-th bayonet socket, n is the total number of the current record of at least one bayonet socket, and t ' is The deadline of first preset time period.
  3. 3. according to the method for claim 1, it is characterised in that further comprise before the S2:
    At least one 3rd bayonet socket is determined, wherein, first vehicle has delay event in any 3rd bayonet socket;
    It is performed both by for the 3rd bayonet socket each described:Calculate in the second preset time period, first vehicle is the current 3rd The number of delay event occurs for bayonet socket;
    For at least one number calculated, maximum times therein are determined;
    It is performed both by for each the described number calculated:According to formula two, current number and the maximum times are calculated First difference;When judging that first difference is not more than three predetermined threshold values, record the 3rd corresponding to the current number Bayonet socket is often detained bayonet socket for the first of first vehicle;
    The formula two includes:
    <mrow> <mi>Y</mi> <mo>=</mo> <mfrac> <mrow> <msub> <mi>n</mi> <mrow> <mi>m</mi> <mi>a</mi> <mi>x</mi> </mrow> </msub> <mo>-</mo> <msub> <mi>n</mi> <mi>i</mi> </msub> </mrow> <msub> <mi>n</mi> <mrow> <mi>m</mi> <mi>a</mi> <mi>x</mi> </mrow> </msub> </mfrac> <mo>&amp;times;</mo> <mn>100</mn> <mi>%</mi> </mrow>
    Wherein, Y is first difference, nmaxFor the maximum times, niFor i-th number at least one number;
    And/or
    At least one 4th bayonet socket is determined, wherein, distance between first bayonet socket and any 4th bayonet socket is no more than the Five predetermined threshold values;
    It is performed both by for the 4th bayonet socket each described:Determine any vehicle pass through current 4th bayonet socket and it is described first card When current duration used is not more than four predetermined threshold values during mouth, having between current 4th bayonet socket and first bayonet socket is controlled Imitate car quantity and add 1;
    Judging in the 3rd preset time period, effective car quantity excessively between current 4th bayonet socket and first bayonet socket is not During less than six predetermined threshold values, current 4th bayonet socket and the first bayonet socket Logic adjacent are recorded.
  4. 4. according to the method for claim 1, it is characterised in that
    In the S4, the current common delay duration for being detained event and being detained event with the target of the determination, including:
    Determine that the current delay initial time for being detained event and the target are detained in the delay initial time of event most Big value is detained initial time to be common;
    Determine that the current delay deadline for being detained event and the target are detained being detained in deadline most for event Small value is detained deadline to be common;
    Determine that the common delay deadline subtracts the common difference for being detained initial time to determine current delay event It is detained the common delay duration of event with the target.
  5. 5. according to any described method in Claims 1-4, it is characterised in that
    In the S4, further comprise:Judge whether the current delay duration for being detained event is not less than the 7th predetermined threshold value, If so, perform the current common delay duration for being detained event and being detained event with the target of the determination;
    And/or
    In the S4, further comprise:According to formula three, calculate the current event of being detained and be detained the stagnant of event with the target Stay time similarity;
    Judge described at least one first often be detained bayonet socket or it is described at least one second often be detained bayonet socket include During first bayonet socket, when judging whether the holdup time similarity is not less than eight predetermined threshold values, if so, performing described true It is fixed to generate aggregation event between first vehicle and second vehicle;
    Judging that described at least one first is often detained in bayonet socket and at least one second frequent delay bayonet socket not During including first bayonet socket, when judging whether the holdup time similarity is not less than nine predetermined threshold values, if so, performing institute State and determine to generate aggregation event between first vehicle and second vehicle;
    Wherein, the 9th predetermined threshold value is not less than the 8th predetermined threshold value;
    The formula three includes:
    <mrow> <mi>&amp;eta;</mi> <mo>=</mo> <mfrac> <mi>t</mi> <mrow> <msub> <mi>t</mi> <mi>a</mi> </msub> <mo>+</mo> <msub> <mi>t</mi> <mi>b</mi> </msub> </mrow> </mfrac> <mo>&amp;times;</mo> <mn>100</mn> <mi>%</mi> </mrow>
    Wherein, η is the holdup time similarity, and t is detained duration, t jointly to be describedaFor the current delay for being detained event Duration, tbIt is detained the delay duration of event for the target.
  6. A kind of 6. vehicle analysis of agglomeration device, it is characterised in that including:
    First determining unit, for determining that target is detained event;
    Second determining unit, often it is detained for determining to occur at least one the first of the first vehicle of the target delay event Bayonet socket, and determine at least one second bayonet socket of the first bayonet socket Logic adjacent corresponding with the target delay event;
    Acquiring unit, for obtaining first bayonet socket, each described second bayonet socket each corresponding delay event respectively;
    First processing units, for being performed both by for each the described delay event got:It is determined that currently be detained event with The target is detained the common delay duration of event;It is determined that at least one the of current second vehicle for being detained event occurs Two are often detained bayonet socket;Judging that the common duration that is detained is not less than the first predetermined threshold value, and described at least one first When including first bayonet socket when being often detained different in bayonet socket and at least one second frequent delay bayonet socket, it is determined that described Aggregation event is generated between first vehicle and second vehicle.
  7. 7. vehicle analysis of agglomeration device according to claim 6, it is characterised in that
    First determining unit, including:Obtain subelement, determination subelement, computation subunit, processing subelement;
    The acquisition subelement, for obtaining the current note of at least one bayonet socket of first vehicle in the first preset time period Record, wherein, the current record of each bayonet socket includes bayonet socket mark and transit time, the current note of at least one bayonet socket According to transit time, by elder generation, putting in order after is arranged in order for record;
    The determination subelement, for determining the current record of current bayonet socket in the current record of at least one bayonet socket;
    The computation subunit, for according to formula one, calculating and being detained duration corresponding to the current record of current bayonet socket;
    The processing subelement, for judging whether the delay duration is not less than the second predetermined threshold value, if so, determining the mesh Delay event is marked, and triggers second determining unit, otherwise, the current note of current bayonet socket is used as using the current record of next bayonet socket Record, and trigger the determination subelement;
    Wherein, the target is detained event and included:The first bayonet socket, the generation target are detained corresponding to the target delay event The vehicle of event, it is detained duration, is detained initial time, is detained deadline;
    Wherein, first bayonet socket is bayonet socket corresponding to the bayonet socket mark in the current current record of bayonet socket, and the mesh occurs The vehicle for marking delay event is first vehicle, and the initial time of being detained is current in the current record of current bayonet socket Time, the delay deadline and the difference of the delay initial time are the delay duration calculated,
    The formula one, including:
    <mrow> <msub> <mi>&amp;Delta;t</mi> <mi>i</mi> </msub> <mo>=</mo> <mfenced open = "{" close = ""> <mtable> <mtr> <mtd> <mrow> <msub> <mi>t</mi> <mrow> <mi>i</mi> <mo>+</mo> <mn>1</mn> </mrow> </msub> <mo>-</mo> <msub> <mi>t</mi> <mi>i</mi> </msub> </mrow> </mtd> <mtd> <mrow> <mi>i</mi> <mo>&lt;</mo> <mi>n</mi> </mrow> </mtd> </mtr> <mtr> <mtd> <mrow> <msup> <mi>t</mi> <mo>&amp;prime;</mo> </msup> <mo>-</mo> <msub> <mi>t</mi> <mi>i</mi> </msub> </mrow> </mtd> <mtd> <mrow> <mi>i</mi> <mo>=</mo> <mi>n</mi> </mrow> </mtd> </mtr> </mtable> </mfenced> </mrow>
    Wherein, △ tiTo be detained duration, t corresponding to the current record of i-th bayonet socket in the current record of at least one bayonet socketi For the transit time in the current record of i-th bayonet socket, n is the total number of the current record of at least one bayonet socket, and t ' is The deadline of first preset time period.
  8. 8. vehicle analysis of agglomeration device according to claim 6, it is characterised in that
    Also include:Second processing unit, for determining at least one 3rd bayonet socket, wherein, first vehicle is any described 3rd bayonet socket has delay event;It is performed both by for the 3rd bayonet socket each described:Calculate in the second preset time period, institute State the number that delay event occurs in current 3rd bayonet socket for the first vehicle;For at least one number calculated, it is determined that wherein Maximum times;It is performed both by for each the described number calculated:According to formula two, current number and the maximum are calculated First difference of number;When judging that first difference is not more than three predetermined threshold values, it is corresponding to record the current number The 3rd bayonet socket for first vehicle first often be detained bayonet socket;
    The formula two includes:
    <mrow> <mi>Y</mi> <mo>=</mo> <mfrac> <mrow> <msub> <mi>n</mi> <mrow> <mi>m</mi> <mi>a</mi> <mi>x</mi> </mrow> </msub> <mo>-</mo> <msub> <mi>n</mi> <mi>i</mi> </msub> </mrow> <msub> <mi>n</mi> <mrow> <mi>m</mi> <mi>a</mi> <mi>x</mi> </mrow> </msub> </mfrac> <mo>&amp;times;</mo> <mn>100</mn> <mi>%</mi> </mrow>
    Wherein, Y is first difference, nmaxFor the maximum times, niFor i-th number at least one number;
    And/or
    Also include:3rd processing unit, for determining at least one 4th bayonet socket, wherein, first bayonet socket with it is any described Distance between 4th bayonet socket is not more than the 5th predetermined threshold value;It is performed both by for the 4th bayonet socket each described:Determine it is any When vehicle is not more than four predetermined threshold values by current duration used when current 4th bayonet socket and first bayonet socket, described in control Effective car quantity of crossing between current 4th bayonet socket and first bayonet socket adds 1;Judging in the 3rd preset time period, it is described to work as When effective mistake car quantity between preceding 4th bayonet socket and first bayonet socket is not less than six predetermined threshold values, the described current 4th is recorded Bayonet socket and the first bayonet socket Logic adjacent.
  9. 9. vehicle analysis of agglomeration device according to claim 6, it is characterised in that
    The first processing units, specifically for determining that the current delay initial time for being detained event and the target are detained Maximum in the delay initial time of event is detained initial time to be common;Determine the current delay cut-off for being detained event The minimum value being detained in deadline that time and the target are detained event is detained deadline to be common;Determine described common Delay deadline subtracts the common difference for being detained initial time to determine that current delay event and the target are detained thing The common delay duration of part.
  10. 10. according to any described vehicle analysis of agglomeration device in claim 6 to 9, it is characterised in that
    The first processing units, it is additionally operable to judge the current delay duration for being detained event whether not less than the 7th default threshold Value, if so, performing the current common delay duration for being detained event and being detained event with the target of the determination;
    And/or
    The first processing units, it is additionally operable to according to formula three, calculates the current event of being detained and be detained event with the target Holdup time similarity;Judge described at least one first often be detained bayonet socket or it is described at least one second often it is stagnant When staying bayonet socket includes first bayonet socket, when judging whether the holdup time similarity is not less than eight predetermined threshold values, if It is to perform to generate aggregation event between the determination first vehicle and second vehicle;Judge it is described at least When not including first bayonet socket in one first frequent delay bayonet socket and at least one second frequent delay bayonet socket, sentence Whether the holdup time similarity of breaking when be not less than nine predetermined threshold values, if so, perform it is described determine first vehicle with Aggregation event is generated between second vehicle;
    Wherein, the 9th predetermined threshold value is not less than the 8th predetermined threshold value;
    The formula three includes:
    <mrow> <mi>&amp;eta;</mi> <mo>=</mo> <mfrac> <mi>t</mi> <mrow> <msub> <mi>t</mi> <mi>a</mi> </msub> <mo>+</mo> <msub> <mi>t</mi> <mi>b</mi> </msub> </mrow> </mfrac> <mo>&amp;times;</mo> <mn>100</mn> <mi>%</mi> </mrow>
    Wherein, η is the holdup time similarity, and t is detained duration, t jointly to be describedaFor the current delay for being detained event Duration, tbIt is detained the delay duration of event for the target.
CN201711182770.2A 2017-11-23 2017-11-23 Vehicle aggregation analysis method and device Active CN107749164B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711182770.2A CN107749164B (en) 2017-11-23 2017-11-23 Vehicle aggregation analysis method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711182770.2A CN107749164B (en) 2017-11-23 2017-11-23 Vehicle aggregation analysis method and device

Publications (2)

Publication Number Publication Date
CN107749164A true CN107749164A (en) 2018-03-02
CN107749164B CN107749164B (en) 2020-08-11

Family

ID=61251829

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711182770.2A Active CN107749164B (en) 2017-11-23 2017-11-23 Vehicle aggregation analysis method and device

Country Status (1)

Country Link
CN (1) CN107749164B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108875835A (en) * 2018-06-26 2018-11-23 北京旷视科技有限公司 Object foothold determines method, apparatus, electronic equipment and computer-readable medium
CN111369805A (en) * 2020-01-09 2020-07-03 杭州海康威视系统技术有限公司 Fake plate detection method and device, electronic equipment and computer readable storage medium
CN114202278A (en) * 2021-12-06 2022-03-18 国家能源集团新疆能源有限责任公司 Coal transport vehicle arrival sequence arrangement method, storage medium and system
CN114419907A (en) * 2021-12-29 2022-04-29 联通智网科技股份有限公司 Accident multi-occurrence road section judgment method and device, terminal equipment and medium
CN114495502A (en) * 2022-01-29 2022-05-13 青岛海信网络科技股份有限公司 Method and device for determining abnormal driving exploration area

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0803707A3 (en) * 1996-04-28 1999-04-14 Aisin Aw Co., Ltd. Device for processing road data or intersection data
US20060064234A1 (en) * 2004-09-17 2006-03-23 Masatoshi Kumagai Traffic information prediction system
JP2008107862A (en) * 2006-09-28 2008-05-08 Fujitsu Ltd Congestion effect determination program, congestion effect determination method and congestion effect determination apparatus
CN101226688A (en) * 2008-01-11 2008-07-23 孟小峰 System and method for monitoring traffic congestion status based on cluster
CN101799990A (en) * 2010-02-08 2010-08-11 深圳市同洲电子股份有限公司 Warning method and system for unusual aggregation of vehicles
CN105336162A (en) * 2015-10-26 2016-02-17 厦门蓝斯通信股份有限公司 Early warning method and early warning system for vehicle abnormal aggregation
CN105448092A (en) * 2015-12-23 2016-03-30 浙江宇视科技有限公司 Analysis method and apparatus of associated vehicles
CN105513339A (en) * 2015-12-16 2016-04-20 青岛海信网络科技股份有限公司 Vehicle track analysis method and equipment
CN105869405A (en) * 2016-05-25 2016-08-17 银江股份有限公司 Urban road traffic congestion index calculating method based on checkpoint data
CN106530704A (en) * 2016-11-25 2017-03-22 杭州电子科技大学 Floating car aggregation detection method based on multivariate data fusion
CN106856049A (en) * 2017-01-20 2017-06-16 东南大学 Crucial intersection demand clustering analysis method based on bayonet socket number plate identification data
CN106887137A (en) * 2015-12-15 2017-06-23 高德信息技术有限公司 Congestion incidence prompt method and device

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0803707A3 (en) * 1996-04-28 1999-04-14 Aisin Aw Co., Ltd. Device for processing road data or intersection data
US20060064234A1 (en) * 2004-09-17 2006-03-23 Masatoshi Kumagai Traffic information prediction system
JP2008107862A (en) * 2006-09-28 2008-05-08 Fujitsu Ltd Congestion effect determination program, congestion effect determination method and congestion effect determination apparatus
CN101226688A (en) * 2008-01-11 2008-07-23 孟小峰 System and method for monitoring traffic congestion status based on cluster
CN101799990A (en) * 2010-02-08 2010-08-11 深圳市同洲电子股份有限公司 Warning method and system for unusual aggregation of vehicles
CN105336162A (en) * 2015-10-26 2016-02-17 厦门蓝斯通信股份有限公司 Early warning method and early warning system for vehicle abnormal aggregation
CN106887137A (en) * 2015-12-15 2017-06-23 高德信息技术有限公司 Congestion incidence prompt method and device
CN105513339A (en) * 2015-12-16 2016-04-20 青岛海信网络科技股份有限公司 Vehicle track analysis method and equipment
CN105448092A (en) * 2015-12-23 2016-03-30 浙江宇视科技有限公司 Analysis method and apparatus of associated vehicles
CN105869405A (en) * 2016-05-25 2016-08-17 银江股份有限公司 Urban road traffic congestion index calculating method based on checkpoint data
CN106530704A (en) * 2016-11-25 2017-03-22 杭州电子科技大学 Floating car aggregation detection method based on multivariate data fusion
CN106856049A (en) * 2017-01-20 2017-06-16 东南大学 Crucial intersection demand clustering analysis method based on bayonet socket number plate identification data

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
YINGYAN LOU,PEIHENG LI,XIAOYAN HONG: "A distributed framework for network-wide traffic monitoring and platoon information aggregation using V2V communications", 《TRANSPORTATION RESEARCH PART C》 *
方炜: "基于Hadoop的面向海量交通流数据分析与利用", 《中国优秀硕士学位论文全文数据库(工程科技Ⅱ辑)》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108875835A (en) * 2018-06-26 2018-11-23 北京旷视科技有限公司 Object foothold determines method, apparatus, electronic equipment and computer-readable medium
CN108875835B (en) * 2018-06-26 2021-06-22 北京旷视科技有限公司 Object foot-landing point determination method and device, electronic equipment and computer readable medium
CN111369805A (en) * 2020-01-09 2020-07-03 杭州海康威视系统技术有限公司 Fake plate detection method and device, electronic equipment and computer readable storage medium
CN114202278A (en) * 2021-12-06 2022-03-18 国家能源集团新疆能源有限责任公司 Coal transport vehicle arrival sequence arrangement method, storage medium and system
CN114419907A (en) * 2021-12-29 2022-04-29 联通智网科技股份有限公司 Accident multi-occurrence road section judgment method and device, terminal equipment and medium
CN114419907B (en) * 2021-12-29 2023-10-27 联通智网科技股份有限公司 Method, device, terminal equipment and medium for judging accident multiple road sections
CN114495502A (en) * 2022-01-29 2022-05-13 青岛海信网络科技股份有限公司 Method and device for determining abnormal driving exploration area
CN114495502B (en) * 2022-01-29 2023-11-28 青岛海信网络科技股份有限公司 Determination method and device for abnormal driving exploration area

Also Published As

Publication number Publication date
CN107749164B (en) 2020-08-11

Similar Documents

Publication Publication Date Title
CN107749164A (en) Vehicle aggregation analysis method and device
US20240220686A1 (en) Urban-region road network vehicle-passage flow prediction method and system based on hybrid deep learning model
Liang et al. Machine learning application in MOOCs: Dropout prediction
CA2940752C (en) Intelligent visualization munging
CN106483952B (en) Methods, systems, and media for identifying candidate road segments for autonomous operation
CN104166731A (en) Discovering system for social network overlapped community and method thereof
Zarei et al. Road traffic prediction using context-aware random forest based on volatility nature of traffic flows
CN107944986A (en) A kind of O2O Method of Commodity Recommendation, system and equipment
CN106610981A (en) Verification and upgrading method and system for road information in electronic map
CN111105628A (en) Parking lot portrait construction method and device
CN107862862A (en) A kind of vehicle behavior analysis method and device
CN110134963A (en) A kind of text mining is applied to the method for road traffic accident data processing
CN109002492A (en) A kind of point prediction technique based on LightGBM
CN107545038A (en) A kind of file classification method and equipment
US20140164379A1 (en) Automatic Attribute Level Detection Methods
CN106600046A (en) Multi-classifier fusion-based land unused condition prediction method and device
CN105844398A (en) PLM (product life-cycle management) database-based mining algorithm for DPIPP (distributed parameterized intelligent product platform) product families
CN110147903A (en) For predicting the method, system and storage medium of the volume of the flow of passengers at scenic spot
CN106202126A (en) A kind of data analysing method for logistics monitoring and device
CN114969263A (en) Construction method, construction device and application of urban traffic knowledge map
CN106599238A (en) Transverse association family survey method and system
CN106887157A (en) Parking stall enters car, goes out car data correlating method and device
CN111581306B (en) Driving track simulation method and device
CN110414769A (en) Student&#39;s career evaluation system
CN109300031A (en) Data digging method and device based on stock comment data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20200714

Address after: 250100 Inspur Science Park, No. 1036, Inspur Road, high tech Zone, Jinan City, Shandong Province

Applicant after: Inspur Software Technology Co.,Ltd.

Address before: 250100 Ji'nan science and Technology Development Zone, Shandong Branch Road No. 2877

Applicant before: INSPUR GROUP Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant