The method and system of dynamic information service are provided
Technical field
The present invention relates to intelligent transportation field, the method and system that the dynamic information service is provided that particularly a kind of bus or train route is collaborative.
Background technology
At intelligent transportation field, the real-time dynamic information service can provide efficient feasible traffic guidance and trip planning information for Public Traveling, communications and transportation etc., saves time, reduces costs and the purpose such as low-carbon environment-friendly thereby reach.Floating Car (FCD, Floating Car Data) technology is one of technological means of obtaining in intelligent transportation system real-time traffic information of road.It utilizes location technology, wireless communication technology and the information processing technology, the collection of realization to traffic parameters such as the GPS positional information of driving vehicle on road, instantaneous travel speed and directions, in conjunction with the urban road road net data, the traffic parameter that gathers is carried out the calculating such as map match, path culculating and traffic information fusion, form the transport information of reflection Real-time Road jam situation, for vehicle supervision department and the public provide dynamic traffic control and induced service.
Because scheduling and the needs of security, metropolitan taxi has generally been equipped the GPS positioning equipment, is the gps data of taxi so in present city, the Floating Car application system adopts substantially.Than the private car recoverable amount that day by day increases, taxis quantity is relatively limited, take Beijing as example, and vehicle guaranteeding organic quantity is near 5,000,000, and the hackney vehicle number that the commercial gps data source that can obtain comprises only has 20,000 left and right.Reject invalid data invalid datas such as (need to get rid of lie prone) living, low speed is received guests, and unevenness (the distribution comparatively dense of taxi on turnpike road of considering the taxi distribution, distribute on other roads less, and generally can the detour routine highway section that blocks up of taxi), the spatial coverage of the traffic information that generates according to GPS data from taxi is lower, also only has 35% left and right in the spatial coverage of peak period.
Carrying out transport information calculating essence based on GPS data from taxi is a kind of mode of batch processing, be specially: the gps data of taxi is uploaded to taxi command scheduling center by wireless communication timing, and the dispatching center is real-time transmitted to the vehicle location information of receiving Floating Car computing center again; After the gps data of FCD disposal system buffering a period of time, batch processing generates traffic information; Traffic information is handed down in batches vehicle mounted guidance terminal by FM or 3G passage and uses.Shown in Figure 1 is the know-why schematic diagram of Floating Car.Adopt the mode of this batch processing, treatment scheme and Technical Architecture are more clear, are the floating car technology implementations that is widely adopted at present.But this mode is with the production of transport information and provide to isolate and come, Shortcomings aspect the quality of traffic-information service and efficient.
Calculate and issue Real-time Traffic Information by batch processing mode, system-computed distribution situation consuming time is (here not the time delay of exchanges data between the taking into account system submodule) as shown in Figure 2.System is at first at AB section buffering gps data; Batch processing through the BC section is calculated, and constantly generates Real-time Traffic Information in C; The renewal of transport information is that certain cycle is arranged, therefore the transport information of asking during the CE section is consistent with the transport information of obtaining; And the request of transport information and issue also have certain time delay, therefore constantly ask transport information at C, the user is the shortest can obtain transport information constantly at D, and in like manner, E constantly asks and will constantly obtain transport information at F.
Therefore, in the situation that batch processing, the time delay minimum of the transport information that the user gets is | BD|, and maximum is | AF|.The situation of time delay maximum is discussed here, and establishing a highway section has taxi to pass through and has uploaded the GPS point during only at A point at current period, and never has afterwards vehicle process again, and the dynamic information that calculates according to the A point is in use to the E point always.At the E point, the terminal request transport information is by chance arranged, and got transport information at the F point.At this moment, the time delay of the transport information of terminal applies is | AF|.This shows the transport information in the batch processing situation ageing not high.If transport information issues by the FM broadcast mode, all transport information are queued up under broadcast mode, and to issue the information time delay that causes larger.
In addition, at present, the mode of FM broadcasting is usually adopted in the issue of transport information or (graticule mesh is according to certain rectangular element through difference and meridional difference formation, is used for map is divided by graticule mesh.) request mode.Issue transport information based on the FM broadcast mode, the transport information of whole city all can send to vehicle mounted guidance terminal; During based on graticule mesh request transport information, vehicle mounted guidance terminal is at first according to its GPS position calculation vehicle place graticule mesh, and the lattice network No. is uploaded to delivery system, and delivery system is handed down to vehicle mounted guidance terminal after the transport information of whole city is screened according to graticule mesh.
For vehicle mounted guidance terminal, traffic-information service should be relevant to vehicle location.For example, vehicle is current to travel in the North 4th Ring Road, and the transport information of South 3rd Ring Road is unconcerned for this vehicle.But, no matter be based on the FM broadcast mode, (scope of graticule mesh is generally also larger, and need to process the problem across graticule mesh also to be based on the mode of graticule mesh request.), all can not satisfy the user to the location dependant services of transport information, caused the waste of information flow-rate.In addition, the time delay that big data quantity issues also can be very large, causes the user to experience bad.
Along with the rise of Internet of Things and car networking technology, the vehicle mounted guidance terminal (also claiming car-mounted terminal) of equipment GPS equipment day by day becomes the standard configuration of vehicle.Utilize advanced sensing technology, network technology and computing technique, gather and utilize the locating information of vehicle mounted guidance terminal, can realize the comprehensive perception to road and traffic on time and space, each road is carried out the monitoring of the full-time sky of traffic, it is main traffic-information service that traffic efficiency and traffic safety are provided.Therefore, on the basis of floating car technology, car networking theory being incorporated into the real-time dynamic information service, is a present development trend.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of method and system that the dynamic information service is provided, be used for solving and adopt the GPS data from taxi batch processing mode to generate and the existing data source collection of distributing traffic information, service quality and poor in timeliness, and the problem that lacks location dependant services.
The invention provides a kind of system that the dynamic information service is provided, comprising:
Radio network gateway is used for described GPS information being transmitted to the GPS receiver module, and Real-time Traffic Information being handed down to car-mounted terminal after receiving the GPS information that car-mounted terminal uploads;
The Real-time Traffic Information database is used for the storage Real-time Traffic Information;
The GPS receiver module is used for described GPS information is transmitted to FCD processing module and transport information release module;
The FCD processing module is used for described GPS information is carried out the FCD calculation process;
Transport information local updating module is used for the result processed according to described FCD, to vehicle within the relevant period by way of the road Real-time Traffic Information that carries out local road conditions upgrade, and be saved in described Real-time Traffic Information database;
The transport information release module is used for filtering out a highway section in the semicircular area scope according to latitude and longitude coordinates and the instant directional information of described GPS information, as the relevant road segments collection of this vehicle, submits to the traffic information inquiry module; And the Real-time Traffic Information of the relevant road segments collection that the traffic information inquiry module is returned is encoded and is handed down to car-mounted terminal by described radio network gateway;
The traffic information inquiry module is used for generating the Real-time Traffic Information of described relevant road segments collection, and returning to described transport information release module according to described relevant road segments collection inquiry Real-time Traffic Information database.
The present invention also provides the method for dynamic information service, comprising:
Receive the GPS information that car-mounted terminal is uploaded, complete the renewal of Real-time Traffic Information, and according to described GPS information, the Real-time Traffic Information of the relevant road segments collection of vehicle is handed down to described car-mounted terminal.
The present invention builds information processing and switching plane on the basis of the Floating Car information processing technology, effectively realize " car-road communication " in car networking concept, has brought useful effect in the following aspects:
The present invention is based on the GPS information that car-mounted terminal uploads and carry out renewal and the issue of transport information, because the quantity of car-mounted terminal and the scope of covering will be far longer than taxi, so the spatial coverage of transport information becomes higher;
Car-mounted terminal also can the local updating dynamic information in obtaining information service, and obtaining information is more frequent, transport information ageing also better, thereby information calculate and information service between form an optimum circulation;
Car-mounted terminal is uploaded GPS information when the request transport information, server end can issue according to the relevant transport information of vehicle location screening, and the flow that takies is few, and the correlativity of service is strong, and customer experience is better;
Generate Real-time Traffic Information by the GPS information that gathers car-mounted terminal, can effectively reduce the GPS acquisition cost of traffic-information service provider, the expense of the traffic-information service of making thinner more is conducive to the dynamic information service and develops sustainably, benefits the people.
Description of drawings
Fig. 1 is the know-why schematic diagram of Floating Car in prior art;
Fig. 2 is the distribution situation schematic diagram consuming time that calculates and issue Real-time Traffic Information in prior art by batch processing mode;
The system construction drawing that Fig. 3 serves for the dynamic information that the embodiment of the present invention provides;
Fig. 4 is the schematic diagram of screening semicircular area in the embodiment of the present invention;
The method flow diagram that Fig. 5 serves for the dynamic information that the embodiment of the present invention provides.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with accompanying drawing.
As shown in Figure 3, the collaborative dynamic information service system of bus or train route has been set up the channel of exchanges data between car-mounted terminal (" car ") and transport information (" road "), the GPS information of vehicle can be used for the real-time update transport information, transport information can be served the vehicle that on the way travels, thereby forms the good interaction between " car " and " road ".Car-mounted terminal carries out two-way interactive by radio network gateway and system.
wherein, when car-mounted terminal need to obtain transport information, at first upload the GPS information of self, after radio network gateway receives GPS information, on the one hand GPS information is transmitted to the transport information release module, this module filters out a highway section in the semicircular area scope according to the latitude and longitude coordinates in GPS information and instant directional information, relevant road segments collection as this vehicle, submit to the traffic information inquiry module, traffic information inquiry module inquiry Real-time Traffic Information database, with the road conditions generation of relevant road segments collection and by after transport information release module coding, be handed down to car-mounted terminal by radio network gateway.Shown in Figure 4 is the schematic diagram of screening semicircular area, as shown in the figure, take the latitude and longitude coordinates of vehicle as the center of circle, 5 kms are radius, with the instant deflection direction of vehicle in the same way, and the highway section in the vertical semicircle scope of diameter and deflection vector is the highway section collection relevant with vehicle location.Certainly, choosing also of radius can be set according to user's needs.
On the other hand, radio network gateway is crossed the GPS receiver module with the GPS information exchange and is submitted to the FCD processing module, after the FCD processing module is completed FCD calculation process process, the result that transport information local updating module is processed according to FCD, to vehicle within the relevant period by way of the road Real-time Traffic Information that carries out local road conditions upgrade, and be saved in the Real-time Traffic Information database for inquiry.
Compare with the batch processing mode that adopts taxi GPS information, the collaborative Traffic Information Service Pattern of the described bus or train route of this system can be utilized the GPS information of car-mounted terminal on a large scale, and the scope that information covers is wider than taxi; In obtaining information service, also can the local updating dynamic information, obtaining information is more frequent, transport information ageing also better, thus realized a benign cycle; In addition, traffic-information service has more specific aim, has promoted user's experience.
Fig. 5 is a kind of method flow diagram that the dynamic information service is provided that the embodiment of the present invention provides, and comprises the following steps:
Step 501, reception GPS information.Comprise the GPS record that vehicle is uploaded in real time in GPS information, the content of every GPS record (GPS point) comprises the information such as the speed of GPS latitude and longitude coordinates, GPS of vehicle ID under GPS, GPS sampling instant (date Hour Minute Second), vehicle current time and instant direction.The GPS record that vehicle circulates in the process of moving and uploads self.The method that receives GPS information specifically comprises:
Step 5011, initialization start the reception of GPS information.
Step 5012, GPS receiver module are set up and are connected with the Socket of radio network gateway.
Step 5013, GPS receiver module continue to monitor Socket, if receive GPS information, the GPS information that receives are forwarded execution in step 502.
Step 502, transport information are upgraded.The GPS information that forwards according to the GPS receiver module, with vehicle by way of the highway section road conditions carry out local updating.Specifically comprise the following steps:
Step 5021, initialization start transport information and upgrade.
Step 5022, FCD processing module continue to monitor Socket, if receive GPS information, the GPS information that receives are resolved, and parse the affiliated vehicle ID of GPS record, inquire the GPS information that this vehicle is uploaded recently, carry out FCD and process computing.The result of the GPS information in the vehicle certain hour and map match, path culculating can be buffered in by the form of Hash table in the internal memory of FCD processing module, and wherein, the key of Hash table is vehicle ID.
Step 5023, the result processed according to FCD to this vehicle between two GPS information points by way of the road Real-time Traffic Information that carries out local road conditions upgrade.The method of local updating is: the speed of a motor vehicle on highway section is to merge by the average speed through each vehicle in this highway section in a period of time (average speed of each car is called a sample, and the set of all samples is called sample set) that forms.During local updating, result of calculation is replenished sample set as a sample, and the sample of overtime (surpassing the regular hour threshold value from current time) is removed from sample set, again merge the generation road conditions.
Step 503, transport information issue.Specifically comprise the following steps:
Step 5031, initialization start the transport information issue.
Step 5032, transport information release module continue to monitor Socket, if receive GPS information, the GPS information that receives is resolved, according to the GPS latitude and longitude coordinates of vehicle and the semicircle zone of instant direction calculating transport information covering, determine the relevant road segments collection of this vehicle.
Step 5033, inquire the up-to-date transport information in contained highway section in this semicircle zone according to the relevant road segments collection from the Real-time Traffic Information database, and encode.In order to improve the efficient of transmission, all to carry out binary coding according to certain distribution protocol before the real-time information issue, decode again to terminal.
Step 5034, by radio network gateway, the transport information that generates is distributed to car-mounted terminal.
Wherein, step 502 and 503 does not have the sequencing of execution, but synchronously processes after receiving GPS information.
Generate and the existing data source collection of distributing traffic information, service quality and poor in timeliness for the mode of utilizing the GPS data from taxi batch processing, and the problems such as position correlation that lack service, the embodiment of the present invention is on the basis of the Floating Car information processing technology, build information processing and switching plane, effectively realize " car-road communication " in car networking concept.(car is car-mounted terminal, and the road is transport information), brought useful effect in the following aspects:
The quantity of car-mounted terminal and the scope of covering will be far longer than taxi, and therefore, the spatial coverage of transport information becomes higher;
Car-mounted terminal also can the local updating dynamic information in obtaining information service, and obtaining information is more frequent, transport information ageing also better, thereby information calculate and information service between form an optimum circulation;
Car-mounted terminal is uploaded GPS information when the request transport information, server end can issue according to the relevant transport information of vehicle location screening, and the flow that takies is few, and the correlativity of service is strong, and customer experience is better;
Generate Real-time Traffic Information by the GPS information that gathers car-mounted terminal, can effectively reduce the GPS acquisition cost of traffic-information service provider, the expense of the traffic-information service of making thinner more is conducive to the dynamic information service and develops sustainably, benefits the people.
In addition, the function that in Fig. 3, the FCD processing module is completed can move on in car-mounted terminal, the advantage that can utilize like this car-mounted terminal high frequency GPS to gather, the precision of raising (main and side road, overpass etc.) information processing in complicated road network situation, and the driving mode of vehicle is analyzed, reject improper data of travelling, conscientiously improve the accuracy of transport information.In addition, calculating is concentrated on terminal, server end only need carry out the fusion of traffic information, can effectively reduce the calculating pressure of service end.
In a word, the above is only preferred embodiment of the present invention, is not for limiting protection scope of the present invention.