Background technology
At intelligent transportation field, real-time dynamic information service can provide efficiently feasible traffic guidance and trip planning information for Public Traveling, communications and transportation etc., thus reaches and save time, reduce costs and the object such as low-carbon environment-friendly.Floating Car (FCD, Floating Car Data) technology is one of technological means obtaining real-time traffic information of road in intelligent transportation system.It utilizes location technology, wireless communication technology and the information processing technology, realize the collection to traffic parameters such as the GPS position information of driving vehicle on road, instantaneous travel speed and directions, in conjunction with urban road network data, the calculating such as map match, path culculating and traffic information fusion are carried out to the traffic parameter gathered, 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 is generally equipped with GPS positioning equipment, so in current city, Floating Car application system adopts substantially is the gps data of taxi.Compared to the private car recoverable amount day by day increased, taxis quantity is relatively limited, and for Beijing, vehicle guaranteeding organic quantity is close to 5,000,000, and the hackney vehicle number that the commercial gps data source that can obtain comprises only has about 20,000.Reject invalid data (need eliminating to lie prone live, low speed such as to receive guests at the invalid data), and consider unevenness (the distribution comparatively dense of taxi on turnpike road of taxi distribution, other roads distribute less, the conventional congested link and taxi generally can detour), spatial coverage according to the traffic information of GPS data from taxi generation is lower, also only has about 35% in the spatial coverage of peak period.
Carry out transport information based on GPS data from taxi and calculate the mode that essence is a kind of batch processing, be specially: the gps data of taxi is uploaded to taxi command scheduling center by wireless communication timing, and the vehicle location information received is real-time transmitted to Floating Car computing center by dispatching center again; After FCD disposal system cushions the gps data of a period of time, batch processing generates traffic information; Traffic information is handed down to vehicle mounted guidance terminal by FM or 3G tunnel batch and uses.It is the know-why schematic diagram of Floating Car shown in Fig. 1.Adopt the mode of this batch processing, treatment scheme and Technical Architecture more clear, be the floating car technology implementation be widely adopted at present.But this mode is by the production of transport information and provide to isolate and come, Shortcomings in the quality and efficiency of traffic-information service.
Calculated by batch processing mode and issue Real-time Traffic Information, system-computed distribution situation consuming time (does not consider the time delay of exchanges data between system sub-modules here) as shown in Figure 2.System is first at AB section buffering gps data; Batch processing through BC section calculates, and generates Real-time Traffic Information in the C moment; The renewal of transport information has certain cycle, therefore the transport information of asking during CE section is consistent with the transport information of acquisition; And the request of transport information and issue also have certain time delay, therefore ask transport information in the C moment, user is the shortest can obtain transport information in the D moment, and in like manner, the E moment asks to obtain transport information in the F moment.
Therefore, when batch processing, the time delay of the transport information that user gets is minimum is | BD|, is maximumly | and AF|.Here the maximum situation of time delay is discussed, if section at current period only at A point time have taxi to pass through and upload GPS point, and never have vehicle process more afterwards, be in use to E point according to the dynamic information that A point calculates always.By chance there is terminal request transport information at E point, and got transport information at F point.Now, the time delay of the transport information of terminal applies is | AF|.As can be seen here, not the transport information in batch processing situation ageing not high.If transport information is issued by FM broadcast mode, then all transport information is queued up in a broadcast mode, and to issue the information time delay caused larger.
In addition, at present, the mode that the issue of transport information adopts FM to broadcast usually or (graticule mesh is according to certain rectangular element through difference and meridional difference formation, for being divided by map by graticule mesh.) mode of asking.Issue transport information based on 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, first vehicle mounted guidance terminal calculates vehicle place graticule mesh according to its GPS location, and graticule mesh number is uploaded to delivery system, and delivery system is handed down to vehicle mounted guidance terminal after the transport information of whole city being screened according to graticule mesh.
For vehicle mounted guidance terminal, traffic-information service should be relevant to vehicle location.Such as, vehicle is current to travel in North 4th Ring Road, and the transport information of South 3rd Ring Road is unconcerned for this vehicle.But, no matter be based on FM broadcast mode, or (scope of graticule mesh is general also larger, and need process the problem across graticule mesh based on the mode of graticule mesh request.), all can not meet the location dependant services of user to transport information, cause the waste of information flow-rate.In addition, the time delay that big data quantity issues also can be very large, causes Consumer's 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 device 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, the complete perception to road and traffic can be realized over time and space, each road is carried out to the monitoring of the full-time sky of traffic, provide traffic efficiency and traffic safety to be main traffic-information service.Therefore, on the basis of floating car technology, the car theory of networking being incorporated into real-time dynamic information service, is a current development trend.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of method providing dynamic information to serve, GPS data from taxi batch processing mode is adopted to generate and data source collection existing for distributing traffic information, service quality and poor in timeliness for solving, and the problem of shortage location dependant services.
The invention provides the method providing dynamic information to serve, 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, on the basis of the Floating Car information processing technology, builds information processing and switching plane, effectively realizes " car-road communication " in car networking concepts, brings useful effect in the following aspects:
The present invention is based on renewal and issue that GPS information that car-mounted terminal uploads carries out transport information, because the quantity of car-mounted terminal and the scope of covering will be far longer than taxi, therefore the spatial coverage of transport information becomes higher;
Car-mounted terminal, also can local updating dynamic information while obtaining information service, and obtaining information is more frequent, transport information ageing also better, thus calculates in information the circulation that formation one is optimum between information service;
Car-mounted terminal uploads GPS information when asking transport information, and server end can the transport information relevant according to vehicle location screening issue, and the flow taken is few, and the correlativity of service is strong, and customer experience is better;
Generate Real-time Traffic Information by the GPS information gathering car-mounted terminal, effectively can reduce the GPS acquisition cost of traffic-information service provider, the expense of traffic-information service of making thinner, more be conducive to dynamic information service and develop sustainably, benefit the people.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, the present invention is described in further detail.
As shown in Figure 3, the dynamic information service system that bus or train route is worked in coordination with establishes the channel of exchanges data between car-mounted terminal (" car ") and transport information (" road "), the GPS information of vehicle may be used for real-time update transport information, transport information can serve the vehicle on the way travelled, thus 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 needs to obtain transport information, first the GPS information of self is uploaded, after radio network gateway receives GPS information, on the one hand GPS information is transmitted to Traffic information demonstration module, this module filters out the section within the scope of a semicircular area according to the latitude and longitude coordinates in GPS information and instant directional information, as the relevant road segments collection of this vehicle, submit to traffic information inquiry module, traffic information inquiry module polls Real-time Traffic Information database, by the generation of the road conditions of relevant road segments collection and by after Traffic information demonstration module coding, car-mounted terminal is handed down to by radio network gateway.It is the schematic diagram of screening semicircular area shown in Fig. 4, as shown in the figure, with the latitude and longitude coordinates of vehicle for the center of circle, 5 kms are radius, with the instant deflection direction of vehicle in the same way, and diameter is the section collection relevant with vehicle location to the section within the scope of the semicircle of deflection vector normal.Certainly, radius choose also can according to user need setting.
On the other hand, GPS information is submitted to FCD processing module by GPS receiver module by radio network gateway, after FCD processing module completes FCD calculation process process, transport information local updating module is according to the result of FCD process, to vehicle in relevant time period by way of road carry out local road conditions Real-time Traffic Information upgrade, and be saved in Real-time Traffic Information database for inquiry.
Compared with adopting the batch processing mode of taxi GPS information, the Traffic Information Service Pattern that the bus or train route described in this system is worked in coordination with can utilize the GPS information of car-mounted terminal on a large scale, and the scope that information covers is wider than taxi; While obtaining information service, also can local updating dynamic information, obtaining information is more frequent, transport information ageing also better, thus achieves a benign cycle; In addition, traffic-information service has more specific aim, improves Consumer's Experience.
A kind of method flow diagram providing dynamic information to serve that Fig. 5 provides for the embodiment of the present invention, 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 that every bar GPS records (GPS point) comprises the information such as vehicle ID, GPS sampling instant (date Hour Minute Second) belonging to GPS, the GPS latitude and longitude coordinates of vehicle current time, the speed of GPS and instant direction.Vehicle circulates in the process of moving and uploads the GPS record of self.The method receiving 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, then the GPS information received are forwarded, perform step 502.
Step 502, transport information upgrade.According to GPS receiver module forward GPS information, by vehicle by way of 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, then the GPS information received are resolved, and parse the vehicle ID belonging to GPS record, inquire the GPS information that this vehicle is uploaded recently, carry out FCD process computing.The result of the GPS information in vehicle certain hour and map match, path culculating can be buffered in the internal memory of FCD processing module by the form of Hash table, and wherein, the key of Hash table is vehicle ID.
Step 5023, according to the result of FCD process 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 a section is (average speed of each car is called a sample, and the set of all samples is called sample set) of being merged by the average speed of each vehicle passing through this section in a period of time.During local updating, result of calculation is replenished sample set as a sample, and the sample of time-out (exceeding regular hour threshold value from current time) is removed from sample set, again merge and generate road conditions.
Step 503, Traffic information demonstration.Specifically comprise the following steps:
Step 5031, initialization, start Traffic information demonstration.
Step 5032, Traffic information demonstration module continue to monitor Socket, if receive GPS information, then the GPS information received is resolved, according to the half-circle area that GPS latitude and longitude coordinates and the instant direction calculating transport information of vehicle cover, determine the relevant road segments collection of this vehicle.
Step 5033, from Real-time Traffic Information database, to inquire in this half-circle area the up-to-date transport information in contained section according to relevant road segments collection, and encode.In order to improve the efficiency of transmission, real-time information all will carry out binary coding according to certain distribution protocol before issuing, and decodes to terminal again.
Step 5034, by radio network gateway by generate Traffic information demonstration to car-mounted terminal.
Wherein, step 502 and 503 does not have the sequencing performed, but synchronously processes after receiving GPS information.
Generate and the data source collection existing for distributing traffic information, service quality and poor in timeliness for utilizing the mode of GPS data from taxi batch processing, and lack the problem such as position correlation of 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 concepts.(car is car-mounted terminal, and road is transport information), brings 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 local updating dynamic information while obtaining information service, and obtaining information is more frequent, transport information ageing also better, thus calculates in information the circulation that formation one is optimum between information service;
Car-mounted terminal uploads GPS information when asking transport information, and server end can the transport information relevant according to vehicle location screening issue, and the flow taken is few, and the correlativity of service is strong, and customer experience is better;
Generate Real-time Traffic Information by the GPS information gathering car-mounted terminal, effectively can reduce the GPS acquisition cost of traffic-information service provider, the expense of traffic-information service of making thinner, more be conducive to dynamic information service and develop sustainably, benefit the people.
In addition, the function that in Fig. 3, FCD processing module completes can move on in car-mounted terminal, the advantage that car-mounted terminal high frequency GPS gathers can be utilized like this, improve the precision of (main and side road, overpass etc.) information processing in complicated road network situation, and the driving mode of vehicle is analyzed, reject the data of improper traveling, 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, effectively can reduce the calculating pressure of service end.
In a word, the foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.