A kind of real-time dynamic information data system and its update method
Technical field
The invention belongs to computer application field, more particularly, to a kind of real-time dynamic information data system and
Its update method.
Background technique
A large amount of monitoring camera is deployed in city, although can see that the traffic video at crossing is real by camera
Condition, but be difficult to directly show whole, macroscopic view urban transportation fact.On the other hand, Amap, Baidu map etc. are based on user
The GPS information building urban transportation fact method of feedback although the traffic for giving integral macroscopic is live, deposit by such methods
In following two problem:
1) information dimension is low.It generally is merely able to see the congestion of road, such as heavy congestion, slight congestion, not congestion
Deng can not specifically show that garage on road is live, such as whether there is an ambulance current on some road.
2) the data precision is low.Such methods are based on user feedback, are often possible to provide mistake because data processing is improper
Traffic information.Such as when there are many user's curb parkings, it may be erroneously interpreted as congestion in road, provide miscue.
Therefore, at present traffic information database that there are real-times is not strong, dynamic updates, data dimension is low, data not
Enough accurate technical problems, reference when current traffic information data being caused to be only capable of as artificial judgment or route planning according to
According to, and cannot function as the foundation of intellectual traffic control, intelligent route planning.
Summary of the invention
Aiming at the above defects or improvement requirements of the prior art, the present invention provides a kind of real-time dynamic information data
System and method, its object is to concurrent Real-time Traffic Information more new interfaces, multiple on the traffic map of true road network building
The driving behavior of existing vehicle, more acurrate, more fully real-time synchronization urban highway traffic situation, thus solves existing based on straight
Connect video flowing or GPS information feedback information it is imperfect, not macroscopical, inaccurate the technical issues of.
To achieve the above object, according to one aspect of the present invention, a kind of real-time dynamic information data system is provided
System, including:Traffic information storage unit, multiple concurrent Real-time Traffic Information more new interfaces and reading unit;
The traffic information storage unit, for storing Real-time Traffic Information data, the traffic information data includes ground
The vehicle configuration information table that figure information table, traffic control signal information table and dynamic update;
The cartographic information table, including following field:Lane ID, lane attribute, average speed, crossing ID, crossing association
Lane;
The traffic control signal information table, including following field:Semaphore ID, semaphore IP address, place crossing, letter
Number machine phase;
The vehicle configuration information table, including following field:Vehicle ID and cartographic information table for unique identification vehicle
Associated lane ID, the position in locating lane, class of vehicle;
The multiple concurrent Real-time Traffic Information more new interface is connected with the traffic information storage unit, is used for root
According to the Real-time Traffic Information that input equipment obtains, the data of the traffic information storage unit are updated;
The reading unit is connected with the traffic information storage unit, for reading the storage of traffic information storage unit
Traffic information.
Preferably, the real-time dynamic information data system, the traffic information storage unit, further includes phase
Dictionary, the association table of each crossing wagon flow phase of phase dictionary and all semaphore states in the road, the wagon flow phase are
The simultaneous wagon flow state of the mouth that shows the way.
Preferably, the real-time dynamic information data system, the multiple Real-time Traffic Information more new interface point
The data area not updated forms the division for the data that the traffic information storage unit is stored.
Preferably, the real-time dynamic information data system, the Real-time Traffic Information more new interface, including:
At least one traffic control signal more new interface and at least one vehicle configuration information more new interface;The multiple real-time friendship
Logical information update interface synchronization asynchronous is updated the traffic information storage unit.
Preferably, the real-time dynamic information data system, the traffic control signal more new interface, for more
The data of the new traffic control signal information table comprising Real time Adaptive Traffic Control signal update interface and fixed traffic control letter
Number more new interface;The Real time Adaptive Traffic Control signal update interface, for carrying out real-time synchronization update to echo signal machine state;
The fixed traffic control signal more new interface, for after being initialized to echo signal machine state according to fixed semaphore
Update is fixed in variation sequence and transformation period;
The vehicle configuration information more new interface, for updating the data of the vehicle configuration information table comprising vision
Vehicle configuration information more new interface and tracking vehicle configuration information more new interface;The vision vehicle configuration information more new interface,
For carrying out the update of vehicle configuration information data to the lane region for thering is visual signal to cover;The tracking vehicle configuration information is more
New interface, the lane region for covering to non-visual signal carry out the update of vehicle structure data.
Other side according to the invention provides a kind of update method of real-time dynamic information data system,
Include the following steps:
Multiple concurrent Real-time Traffic Information more new interfaces, according to the frequency real-time update data of oneself;The traffic letter
Storage unit is ceased, according to the data that real-time traffic more new interface obtains, is synchronized, asynchronous or mixing updates;When synchronizing
When update, each table of the traffic information storage unit reads multiple concurrent real-time traffics according to preset renewal frequency respectively
Data in information update interface are updated and are stored;When carrying out asynchronous refresh, the multiple concurrent Real-time Traffic Information is more
After new interface data are updated, operation is updated to the respective data blocks of traffic information storage immediately;When using mixed
When closing update, cartographic information table, traffic control signal information table and the vehicle configuration information table of traffic information storage unit,
It is respectively adopted and either synchronously or asynchronously updates;Preferably,
The traffic control signal information table connects according to the traffic control signal update in real-time traffic signal control interface
Mouth synchronizes or asynchronous refresh, the traffic control signal more new interface, carries out data more according to the renewal frequency of its own
Newly;
The vehicle configuration information table, according to the more new interface of the vehicle configuration information in real-time traffic signal control interface into
Row either synchronously or asynchronously updates, the traffic control signal more new interface, according to the renewal frequency of its own or unified standard frequency
Rate carries out data update.
Preferably, the update method of the real-time dynamic information data system, the traffic control signal update
In interface:
Real time Adaptive Traffic Control signal update interface carries out data reading to associated signal machine equipment according to its renewal frequency
Extract operation updates its data;Fixed traffic control signal more new interface, when according to associated semaphore variation sequence and variation
It is long, update its data.
Preferably, the update method of the real-time dynamic information data system, when the traffic control signal is believed
When breath table synchronizes update, the traffic control signal information table is refreshed according to preset refresh time, for all
Data acquired in traffic control signal more new interface in traffic information more new interface are updated to the traffic control letter
In number information table;
When the traffic control signal information table carries out asynchronous refresh, traffic control in the traffic information more new interface
After the data of signal update interface are updated, the respective data blocks of the traffic control signal information table are updated immediately
Operation.
Preferably, the update method of the real-time dynamic information data system, vehicle configuration information more new interface
In:
Vision vehicle configuration information more new interface, the video flowing of acquisition and to handle be the associated image sequence of time shaft, and
Vehicle configuration information identification is carried out to wherein image;
Vehicle configuration information more new interface is tracked, for all vehicles in the road area of its covering, according to vehicle institute
The position after all vehicle replacements in the attribute and average speed of road, forecast updating in its overlay area.
Preferably, the update method of the real-time dynamic information data system, vehicle configuration information more new interface
The data of update, as follows resolving data conflicts:
For the lane region of visual signal covering, the real-time vehicle knot that vision vehicle configuration information more new interface is obtained
Corresponding data table of the structure data to vehicle structure tables of data;For the lane region of non-visual signal covering, as follows
The vehicle configuration information table for tracking vehicle configuration information more new interface is updated into vehicle configuration information table:
For each of these vehicle of any tracking vehicle configuration information more new interface, covered according to real-time visual signal
Lane region vehicle configuration information, judge whether it appears in visual signal overlay area, when judging result be appear in view
When feeling the lane region of signal covering, its data in tracking vehicle configuration information interface is deleted, vision vehicle structure is believed
It ceases corresponding vehicle data in interface and vehicle configuration information table is written;Otherwise:
Whether the real time position for judging the tracking vehicle configuration information more vehicle described in new interface is to believe in vision
Number covering lane region, when judging result be the vehicle real time position be in non-visual signal cover lane region
When, vehicle configuration information table is written into corresponding vehicle data in tracking vehicle configuration information interface;Otherwise:
By in the vehicle configuration information table, which is hung up.
In general, through the invention it is contemplated above technical scheme is compared with the prior art, can obtain down and show
Beneficial effect:
Real-time dynamic information data system provided by the invention accurately, completely synchronizes the traffic shape of practical road network
Condition, as intellectual traffic control, the foundation of intelligent route planning.Real-time dynamic information data system provided by the invention
Update method, by multiple concurrent Real-time Traffic Information more new interfaces, dynamic updates Real-time Traffic Information data, ensure that friendship
The accuracy and real-time of logical information data.
Detailed description of the invention
Fig. 1 is the crossing A association lane that the embodiment of the present invention 1 is related to, 8 association lanes in figure centered on the A of crossing;
Fig. 2 is the crossing A phase schematic diagram that the embodiment of the present invention 1 is related to;In figure crossing A phase allow East and West direction keep straight on
And it turns right and passes through.
Fig. 3 is the vehicle configuration information more new interface overlay area schematic diagram that the embodiment of the present invention 1 is related to, including vision vehicle
Structural information update area and tracking vehicle configuration information area schematic;
Fig. 4 is the result schematic diagram that 2 crossing A of the embodiment of the present invention updates;
Fig. 5 is the database visualization effect diagram of the embodiment of the present invention.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.As long as in addition, technical characteristic involved in the various embodiments of the present invention described below
Not constituting a conflict with each other can be combined with each other.
Real-time dynamic information data system provided by the invention, including:It is traffic information storage unit, multiple concurrent
Real-time Traffic Information more new interface and reading unit;
The traffic information storage unit, for storing Real-time Traffic Information data, the traffic information data includes ground
The vehicle configuration information table that figure information table, traffic control signal information table and dynamic update, it is also preferable to include phase dictionaries;
The cartographic information table, including following field:Lane ID, lane attribute, average speed, crossing ID, crossing association
Lane, it is preferable that further include lane length and position, lane width, each area limit line attribute in lane, crossing position, crossing
Attribute, road network structure;The lane ID and practical lane correspond, and are lane uniquely tagged;The lane attribute includes straight
Row turns left, keeps straight on, and/or turn around;Average speed is the average of the vehicle pass-through rate in the recent lane, in the recent period
It can be nearly 3 months to nearly 1 day, be updated by the period;The crossing ID and practical crossing correspond, and are crossing uniquely tagged;Institute
Stating crossing association lane is the associated all lane ID in crossing;The lane length and position can be whole according to lane starting point, lane
Point can also record to record according to lane starting point, track direction, lane length;Each area limit line attribute in lane includes vehicle
Road region side line of demarcation is double yellow solid lines, yellow actual situation line, single yellow solid line, solid line or dotted line;The crossing position.
The traffic control signal information table, including following field:Semaphore ID, semaphore IP address, place crossing, letter
The phase configuration of number machine;The semaphore ID and actual signal machine correspond, and are semaphore uniquely tagged;The semaphore IP
Address is the access interface of semaphore;Place crossing is crossing ID locating for the semaphore;The phase configuration of semaphore is described
The phase that the crossing of semaphore control is presently in.
It is also preferable to include phase dictionary, the pass of each crossing wagon flow phase of phase dictionary and all semaphore states in the road
Join table, the wagon flow phase refers to leading to for corresponding the controlled lane flow of the stateful and duration of institute of semaphore combination
It goes and forbids, such as the two-way wagon flow of crossing A southeastern direction straight;The left-hand rotation of east orientation, right-hand rotation straight three-dimensional wagon flow;Without wagon flow people
Row state;There is under the various phases of crossing A record in phase dictionary, the state of corresponding all semaphores of crossing A.
The vehicle configuration information table, including following field:Vehicle ID and cartographic information table for unique identification vehicle
Associated lane ID, the position in locating lane, class of vehicle, vehicle color, vehicle style are preferably included, so as in map
It is shown by corresponding legend;Vehicle in the vehicle ID and structural information table corresponds;In the position in the lane, to work as
Preceding moment, the vehicle be in lane position, can with apart from lane starting point and/or terminal distance or percentage mark
Note;The class of vehicle includes:Private car, bus, lorry, Operation Van, extraordinary current vehicle etc., the current vehicle of special type is for example alert
Vehicle, ambulance, fire fighting truck etc..
The cartographic information table, the traffic control signal information table, the phase dictionary, can be reserved on hard disk, into
Row long term maintenance and update;The traffic control signal information table, the vehicle configuration information table, can be reserved in memory, into
Row real-time servicing and update.
The multiple concurrent Real-time Traffic Information more new interface is connected with the traffic information storage unit, is used for root
According to the Real-time Traffic Information that input equipment obtains, the data of the traffic information storage unit are updated, the multiple reality
When traffic information more new interface update the data area updated respectively form the number that the traffic information storage unit is stored
According to division;The Real-time Traffic Information more new interface, including:At least one traffic control signal more new interface and at least
One vehicle configuration information more new interface;The multiple Real-time Traffic Information update interface synchronization is asynchronous to traffic letter
Breath storage unit is updated.
The traffic control signal more new interface, for updating the data of the traffic control signal information table comprising
Real time Adaptive Traffic Control signal update interface and fixed traffic control signal more new interface;The Real time Adaptive Traffic Control signal update connects
Mouthful, for carrying out real-time synchronization update to echo signal machine;The fixed traffic control signal more new interface, for believing target
After being initialized according to fixed semaphore variation sequence and transformation period update is fixed in number machine.All traffic control letters
The data that number more new interface updates form the data of the traffic signal information table and divide, and a typical example is:Each
Crossing corresponds to a traffic control signal more new interface, and the traffic signalization interface is for semaphore associated by the crossing
It is updated.
The vehicle configuration information more new interface, for updating the data of the vehicle configuration information table comprising vision
Vehicle configuration information more new interface and tracking vehicle configuration information more new interface;The vision vehicle configuration information more new interface,
For carrying out the update of vehicle configuration information data to the lane region for thering is visual signal to cover;The tracking vehicle configuration information is more
New interface, the lane region for covering to non-visual signal carry out the update of vehicle structure data.All vehicle configuration informations
The data that more new interface updates form the data of the cartographic information and divide, and a typical example is according to cartographic information table
In lane carry out region division.
The reading unit is connected with the traffic information storage unit, for reading the storage of traffic information storage unit
Traffic information, for refer to or decision.
The update method of real-time dynamic information data system provided by the invention, includes the following steps:
Multiple concurrent Real-time Traffic Information more new interfaces, according to the frequency real-time update data of oneself;The traffic letter
Storage unit is ceased, according to the data that real-time traffic more new interface obtains, is synchronized, asynchronous or mixing updates;When synchronizing
When update, each table of the traffic information storage unit reads multiple concurrent real-time traffics according to preset renewal frequency respectively
Data in information update interface are updated and are stored;When carrying out asynchronous refresh, the multiple concurrent Real-time Traffic Information is more
After new interface data are updated, operation is updated to the respective data blocks of traffic information storage immediately;When using mixed
When closing update, cartographic information table, traffic control signal information table and the vehicle configuration information table of traffic information storage unit,
It is respectively adopted and either synchronously or asynchronously updates.
The traffic control signal information table connects according to the traffic control signal update in real-time traffic signal control interface
Mouth synchronizes or asynchronous refresh, the traffic control signal more new interface, carries out data more according to the renewal frequency of its own
Newly, such as real-time traffic control signal more new interface, reading data is carried out to associated signal machine equipment according to its renewal frequency
Operation, updates its data;Fixed traffic control signal more new interface, when according to associated semaphore variation sequence and variation
It is long, update its data;The renewal frequency of each traffic control signal more new interface is independent.When the traffic control signal is believed
When breath table synchronizes update, the traffic control signal information table is refreshed according to preset refresh time, for all
Data acquired in traffic control signal more new interface in traffic information more new interface are updated to the traffic control letter
In number information table;When the traffic control signal information table carries out asynchronous refresh, traffic in the traffic information more new interface
After the data of control signal update interface are updated, the respective data blocks of the traffic control signal information table are carried out immediately
Update operation.Since the data that all traffic control signals more new interface updates form the data of the traffic signal information table
It divides, therefore no matter synchronized update or asynchronous refresh is used all not to generate deadlock or conflict.The traffic control signal
The preferred synchronized update of information table.
The vehicle configuration information table, according to the more new interface of the vehicle configuration information in real-time traffic signal control interface into
Row either synchronously or asynchronously updates, the traffic control signal more new interface, according to the renewal frequency of its own or unified standard frequency
Rate carries out data update, and such as vision vehicle configuration information more new interface, the video flowing of acquisition is simultaneously handled as the associated figure of time shaft
Vehicle configuration information identification, therefore its renewal frequency and video stream frame rate or time shaft are carried out as sequence, and to wherein image
The frame per second of associated image sequence is related;Vehicle configuration information more new interface is tracked, for the institute in the road area of its covering
There is vehicle, it is covered according to the attribute and average speed of road where vehicle and default car-following theory model, when forecast updating
The position after all vehicle replacements in region;It, need to be according to synchronized the traffic light status meanwhile when vehicle driving to certain crossing
It is set to pass through or stop.When the vehicle configuration information table synchronizes update, the vehicle configuration information table according to
Preset refresh time is refreshed, for acquired in the vehicle configuration information more new interface in all traffic informations more new interface
Data, be updated in the traffic control signal information table;When traffic control signal information table progress is asynchronous more
When new, after the data of information of vehicles more new interface are updated in the traffic information more new interface, immediately to the traffic control
The respective data blocks of signal message table processed are updated operation.The preferred synchronized update of vehicle configuration information table.
Due to the data that all vehicle configuration informations more new interface updates, the data of the cartographic information are formed and are drawn
Point, rather than vehicle configuration information table is divided, therefore resolving data conflicts as follows:
For the lane region of visual signal covering, the real-time vehicle knot that vision vehicle configuration information more new interface is obtained
Corresponding data table of the structure data to vehicle structure tables of data;For the lane region of non-visual signal covering, as follows
The vehicle configuration information table for tracking vehicle configuration information more new interface is updated into vehicle configuration information table:
For each of these vehicle of any tracking vehicle configuration information more new interface, covered according to real-time visual signal
Lane region vehicle configuration information, judge whether it appears in visual signal overlay area, when judging result be appear in view
When feeling the lane region of signal covering, its data in tracking vehicle configuration information interface is deleted, vision vehicle structure is believed
It ceases corresponding vehicle data in interface and vehicle configuration information table is written;Otherwise:
Whether the real time position for judging the tracking vehicle configuration information more vehicle described in new interface is to believe in vision
Number covering lane region, when judging result be the vehicle real time position be in non-visual signal cover lane region
When, vehicle configuration information table is written into corresponding vehicle data in tracking vehicle configuration information interface;Otherwise:
By in the vehicle configuration information table, which is hung up;
For the vehicle configuration information of hang-up, within a preset period of time, the lane area covered according to real-time visual signal
Domain vehicle configuration information, judges whether it appears in visual signal overlay area, when judging result is to appear in visual signal to cover
When the lane region of lid, its former data structure information record is deleted, by corresponding vehicle data in vision vehicle configuration information interface
Write-in vehicle configuration information table simultaneously cancels hang-up;Otherwise the vehicle configuration information record of the vehicle is deleted.
The vision vehicle configuration information more new interface obtains the lane of real-time visual signal covering as follows
Region vehicle configuration information:
A1, the lane area video stream for obtaining vision vehicle configuration information more new interface covering, and by the video
Stream process is the associated lane area image sequence of time shaft;
A2, the lane area image sequence for obtaining in step A1 obtain wherein vehicle using image-recognizing method in real time
Structural information, the lane region vehicle configuration information as the visual signal covering that the structure obtains in real time.
The tracking vehicle configuration information more new interface obtains the vehicle of real-time non-visual signal covering as follows
Road region vehicle configuration information:
B1, it obtains in the vehicle configuration information table, the vehicle knot in the lane region of associated non-visual signal covering
Structure information;
B2, for obtained in step B1 non-visual signal covering lane region vehicle configuration information in each note
Record calculates the vehicle in the real time position in the lane, makees according to the average speed in lane where its vehicle and record time
The real-time vehicle structural information obtained for the tracking vehicle configuration information more new interface.
The cartographic information table and phase dictionary, can regularly update.
The following are embodiments:
Embodiment 1
A kind of real-time dynamic information data system, according to Distributed Storage, including:Traffic information storage is single
First, multiple concurrent Real-time Traffic Information more new interfaces and reading unit;
The traffic information storage unit, for storing Real-time Traffic Information data, the traffic information data includes ground
The vehicle configuration information table that figure information table, traffic control signal information table, phase dictionary and dynamic update;
The cartographic information table, update cycle are one week, when system worked well, are regarded as static data, database purchase,
It includes at least:Lane ID, lane attribute, average speed, lane length and position;Crossing ID, crossing association lane, crossing position
It sets, crossing attribute.
The lane ID and practical lane correspond, and are lane uniquely tagged;The lane attribute includes straight trip, a left side
Turn, straight trip turns left, and/or turns around;The average speed is the average of the vehicle pass-through rate in one week lane, and vehicle is logical
Scanning frequency rate calculation method is as follows:
Wherein v is vehicle pass-through rate, and L is the lane length, and T is vehicle from lane starting point is recorded in being recorded in vehicle
The time of road terminal.Starting crossing and termination crossing record of the present embodiment lane position using the lane.
The crossing ID and practical crossing correspond, and are crossing uniquely tagged;The crossing association lane is crossing pass
All lane ID of connection, such as shown in Fig. 1, crossing A is associated with lane 1-8;The crossing position is the GPS coordinate at crossing center
Value;The crossing attribute is the junction of three roads, crossroad, T-shaped road junction etc..
The traffic control signal information table when system worked well, is called in memory for dynamic more new data, is carried out
Real-time update, including:The lane that semaphore ID, place crossing, semaphore control;The semaphore ID and actual signal machine are one by one
It is corresponding, it is semaphore uniquely tagged;Place crossing is crossing ID locating for the semaphore;Semaphore controls lane, is the letter
The lane ID of number machine control.
The phase dictionary, the update when phase data changes, system normal operation current events are static data, data
Library storage, the association table including each crossing wagon flow phase Yu all semaphore states in the road, the wagon flow phase refer to crossing
Simultaneous wagon flow state, as shown in Fig. 2, the two-way wagon flow of such as crossing A East and West direction straight trip;The left-hand rotation of east orientation is turned right directly
Row three-dimensional wagon flow;Without wagon flow people's row state;There is under the various phases of crossing A record in phase dictionary, corresponding crossing A institute
There is the state of semaphore.
The vehicle configuration information table, for dynamic more new data, system operating room is called in memory, carries out real-time update,
Including following field:For the vehicle ID and the associated lane ID of cartographic information table of unique identification vehicle, in the position in locating lane
It sets, class of vehicle, vehicle style;Vehicle in the vehicle ID and structural information table corresponds;In the position in the lane,
For current time, the vehicle is in percentage of the lane position apart from lane starting point;The class of vehicle includes:Private car,
Bus, lorry, Operation Van, extraordinary current vehicle etc., current vehicle such as police car, ambulance, fire fighting truck of special type etc..
The multiple concurrent Real-time Traffic Information more new interface is connected with the traffic information storage unit, is used for root
According to the Real-time Traffic Information that input equipment obtains, the data of the traffic information storage unit are updated, the multiple reality
When traffic information more new interface update the data area updated respectively form the number that the traffic information storage unit is stored
According to division;The Real-time Traffic Information more new interface, including:One map information update interface, a phase dictionary updating
Interface, quantity and the identical traffic control signal of crossing quantity more new interface, multiple vehicle configuration informations more new interface.
The map information update interface reads map datum and updates data according to renewal frequency once a week
To cartographic information table;
The phase dictionary updating interface actively initiates to update operation, by data when phase dictionary data changes
Variation is updated to phase dictionary.
The traffic control signal more new interface, for updating the data of the traffic control signal information table comprising
Real time Adaptive Traffic Control signal update interface and fixed traffic control signal more new interface;The Real time Adaptive Traffic Control signal update connects
Mouthful, for carrying out real-time synchronization update to echo signal machine, i.e., according to renewal frequency, obtain the real-time status of echo signal machine;
The fixed traffic control signal more new interface, for changing after being initialized to echo signal machine according to fixed semaphore
Update is fixed in sequence and transformation period.The corresponding traffic control signal more new interface in each crossing, the traffic signals
Control interface is updated semaphore associated by the crossing, and the corresponding traffic control signal more new interface in each crossing is pressed
Data update is carried out according to the frequency of oneself.
The vehicle configuration information more new interface, for updating the data of the vehicle configuration information table, as shown in figure 3,
It includes vision vehicle configuration information more new interface and tracking vehicle configuration information more new interface;The vision vehicle configuration information
More new interface, for carrying out the update of vehicle configuration information data to the lane region for thering is visual signal to cover;The tracking vehicle
Structural information more new interface, the lane region for covering to non-visual signal carry out the update of vehicle structure data.All vehicles
The data that structural information more new interface updates carry out the data of the cartographic information according to the lane in cartographic information table
Region division, the visual signal overlay area that the driveway partition is covered at each camera, other parts are divided into non-vision letter
Number overlay area, therefore the more new interface of vehicle structure described in the present embodiment, including the one-to-one vision vehicle knot of camera
The tracking vehicle configuration information more new interface of structure information update interface and 1 responsible non-visual signal overlay area.
The reading unit is connected with the traffic information storage unit, for reading the storage of traffic information storage unit
Traffic information, shown using such as real-time traffic condition sand table, the input of intelligent traffic signal control data, special vehicle quickly leads to
Road planning etc..The present embodiment believes the vehicle structure that cartographic information table, traffic control signal information table and dynamic update
Table is ceased, is shown in a manner of electronic map, as shown in Figure 5.
Embodiment 2
A kind of update method of real-time dynamic information data system, the real-time dynamic provided applied to embodiment 1 are handed over
Communication breath data system, includes the following steps:
The traffic control signal information table connects according to the traffic control signal update in real-time traffic signal control interface
Mouth synchronizes update:
Real time Adaptive Traffic Control signal update interface, for the traffic signaling equipment without determining changing rule, using this interface, example
The manual traffic lights of such as pedestrian, traffic police control traffic lights, according to the renewal frequency of once per second to associated signal machine equipment
Data read operation is carried out, the data of the Real time Adaptive Traffic Control signal update interface are updated;
Fixed traffic control signal more new interface, at present largely according to the traffic signaling equipment of fixed rule variation,
Using such interface, the data of the interface are initialized first, synchronize associated semaphore state, then according to its association
Semaphore variation sequence and variation duration, the data of the real-time update interface;
The renewal frequency of each traffic control signal more new interface be it is independent, according to its method of synchronization and associated signal
Machine determines renewal frequency.Refresh once, in all traffic informations more new interface within the traffic control signal information table every 3 seconds
Traffic control signal more new interface acquired in data, be updated in the traffic control signal information table.
The vehicle configuration information table, according to the more new interface of the vehicle configuration information in real-time traffic signal control interface into
Row synchronizes, the traffic control signal more new interface, according to its unified primary progress data update in standard frequency 3 seconds, specifically
It is as follows:
Vision vehicle configuration information more new interface, such as vision vehicle configuration information more new interface, the video flowing of acquisition and place
Reason is the associated image sequence of time shaft, and carries out vehicle configuration information identification, therefore its renewal frequency and view to wherein image
Frequency stream frame per second or the frame per second of the associated image sequence of time shaft are related.
Vehicle configuration information more new interface is tracked, for the road area of its covering, i.e., all non-visual signal areas of coverage
All vehicles in domain, according to the attribute and average speed and car-following theory model of road where vehicle, when forecast updating its
The position after all vehicle replacements in overlay area, renewal frequency are identical with the renewal frequency of vehicle configuration information table.Tool
Body, the tracking vehicle configuration information more new interface will be based on vehicle location information relevant to time shaft, determine garage side
To (keep straight on, turn left, turn right, turn around), and the information is added to the structured message respective field of vehicle.The follow the bus reason
By model according to the history garage data of the road, parameter is specifically set.
The vehicle configuration information table synchronizes update, and the vehicle configuration information table is updated once every second, for institute
There are data acquired in the vehicle configuration information more new interface in traffic information more new interface, is updated to the traffic control
It is specific as follows in signal message table:
For the lane region of visual signal covering, the real-time vehicle knot that vision vehicle configuration information more new interface is obtained
Corresponding data table of the structure data to vehicle structure tables of data;For the lane region of non-visual signal covering, as follows
The vehicle configuration information table for tracking vehicle configuration information more new interface is updated into vehicle configuration information table:
For each of these vehicle of any tracking vehicle configuration information more new interface, covered according to real-time visual signal
Lane region vehicle configuration information, judge whether it appears in visual signal overlay area, when judging result be appear in view
When feeling the lane region of signal covering, i.e., the vehicle is captured by camera, is just retained reliable visual signal data, is deleted it
Simulation tracing data in tracking vehicle configuration information interface, corresponding vehicle data in vision vehicle configuration information interface are write
Enter vehicle configuration information table;Otherwise:
Whether the real time position for judging the tracking vehicle configuration information more vehicle described in new interface is to believe in vision
Number covering lane region, when judging result be the vehicle real time position be in non-visual signal cover lane region
When, i.e., the trace simulation vehicle is still in the lane region of non-visual signal covering, while camera does not capture the vehicle yet, then
Retain trace simulation data, vehicle configuration information table is written into corresponding vehicle data in tracking vehicle configuration information interface;Otherwise:
That is the speed of the vehicle simulation is faster than actual vehicle speed, has arrived the catching range of next camera, but camera
It does not capture still, then by the vehicle configuration information table, which is hung up;
For the vehicle configuration information of hang-up, in 5 minutes, the lane region vehicle covered according to real-time visual signal
Structural information, judges whether it appears in visual signal overlay area, when judging result is the vehicle for appearing in visual signal covering
When road region, its former data structure information record is deleted, vehicle is written into corresponding vehicle data in vision vehicle configuration information interface
Structural information table simultaneously cancels hang-up;Otherwise the vehicle configuration information record of the vehicle is deleted.
The vision vehicle configuration information more new interface obtains the lane of real-time visual signal covering as follows
Region vehicle configuration information:
A1, the lane area video stream for obtaining vision vehicle configuration information more new interface covering, and by the video
Stream process is the associated lane area image sequence of time shaft;It is specific as follows:
Its camera video stream for being associated with crossing of the interface is obtained, and handles and is and the associated image sequence of time shaft;
The described and associated image sequence frame per second of time shaft is in 12fps;The video that camera is captured generally passes through rtsp stream and is passed
It is defeated, so the rtsp stream address of all cameras need to be obtained, to obtain the video flowing of camera.Using internet or specially
It transmits to net, as far as possible low latency, to guarantee the real-time response of processing module;
A2, the lane area image sequence for obtaining in step A1 obtain wherein vehicle using image-recognizing method in real time
Structural information, the lane region vehicle configuration information as the visual signal covering that the structure obtains in real time.Specifically such as
Under:
It identifies the vehicle in the associated image sequence of the time shaft, is identified according to the external appearance characteristic of vehicle;For
In described image sequence, all vehicles occurred in each image, which are identified, to summarize, and obtains vehicle configuration information;The vehicle knot
Structure information includes:Vehicles identifications, place lane, vehicle location, class of vehicle.K-means algorithm and bag of words can be used
It is identified, the methods of Fine-Grained Classification algorithm, deep learning algorithm, the present embodiment is for each
Width image, using Baidu company provide based on deep learning and large-scale image training vehicle cab recognition service, acquisition it is every
One vehicle assigns the ID for unique identification as vehicles identifications first, according to the map its place lane, distance of information flag
Target crossing position determines class of vehicle as vehicle position information, according to recognition result.
The tracking vehicle configuration information more new interface obtains the vehicle of real-time non-visual signal covering as follows
Road region vehicle configuration information:
B1, it obtains in the vehicle configuration information table, the vehicle knot in the lane region of associated non-visual signal covering
Structure information;
B2, for obtained in step B1 non-visual signal covering lane region vehicle configuration information in each note
Record calculates the vehicle in the real time position in the lane, makees according to the average speed in lane where its vehicle and record time
The real-time vehicle structural information obtained for the tracking vehicle configuration information more new interface.
The cartographic information table, can regularly update, as schematically shown in Figure 4.
To the data of updated real-time dynamic information data system, visualization display is carried out, as a result such as Fig. 5 institute
Show.
As it will be easily appreciated by one skilled in the art that the foregoing is merely illustrative of the preferred embodiments of the present invention, not to
The limitation present invention, any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should all include
Within protection scope of the present invention.