CN103000022B - Method for generating real-time traffic information - Google Patents

Method for generating real-time traffic information Download PDF

Info

Publication number
CN103000022B
CN103000022B CN201110265346.0A CN201110265346A CN103000022B CN 103000022 B CN103000022 B CN 103000022B CN 201110265346 A CN201110265346 A CN 201110265346A CN 103000022 B CN103000022 B CN 103000022B
Authority
CN
China
Prior art keywords
gps data
time
traffic information
real
result
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110265346.0A
Other languages
Chinese (zh)
Other versions
CN103000022A (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.)
Beijing city Mdt InfoTech Ltd
Original Assignee
BEIJING PALMCITY TECHNOLOGY 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 BEIJING PALMCITY TECHNOLOGY Co Ltd filed Critical BEIJING PALMCITY TECHNOLOGY Co Ltd
Priority to CN201110265346.0A priority Critical patent/CN103000022B/en
Publication of CN103000022A publication Critical patent/CN103000022A/en
Application granted granted Critical
Publication of CN103000022B publication Critical patent/CN103000022B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Position Fixing By Use Of Radio Waves (AREA)

Abstract

The invention discloses a method for generating real-time traffic information, and belongs to the field of intelligent traffic. The method includes that Socket connection between a GPS (global positioning system) receiving system and a FCD (floating car data) processing system of a floating car is created; a GPS data buffer is set; received GPS data are inserted into the GPS data buffer by the GPS receiving system in real time; and the GPS data are extracted from the GPS data buffer to be subjected to FCD processing by the FCD processing system so as to generate the real-time traffic information. The method has the advantages that a novel processing architecture is proposed, the GPS data buffer is created according to a manufacturer/consumer model, GPS data receiving buffer and the FCD processing can be operated synchronously, computation resources are effectively utilized, and issuing timeliness of the real-time traffic information is improved; and the latest map matching and path speculation results are buffered in the FCD processing system, and accordingly computation and issuing cycles of the real-time traffic information can be dynamically adjusted.

Description

A kind of Real-time Traffic Information generation method
Technical field
The present invention relates to intelligent transportation field, particularly a kind of Real-time Traffic Information generation method.
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 (Floating Car Data is called for short FCD) 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.Day by day goed deep into based on traffic-information service in the city that floating car technology provides and affected the trip life of people, the public it is also proposed more and more higher requirement to the accuracy of Real-time Traffic Information, the service quality such as ageing.
All the time, for vehicle mounted guidance application, Real-time Traffic Information is issued by the broadcast of FM frequency modulated subcarrier, and the restriction of channel width makes the queuing of Real-time Traffic Information issue the relatively considerable duration of needs one.For the big city such as Beijing and Shanghai, Real-time Traffic Information calculates needs about 1 minute, and road conditions are sent completely needs 1 ~ 2 minute by broadcast channel, generally need broadcast 2 ~ 3 times to ensure that data normally receive, therefore, Real-time Traffic Information generation and issue altogether about about 5 minutes consuming time.In addition, according to floating car technology principle, the vehicle bumper gps data for 5 minutes is needed effectively could to carry out path culculating and selection.To sum up, generally speaking, the cycle set that Real-time Traffic Information can calculate by floating vehicle system is 5 minutes, to ensure normal calculating and the application of Real-time Traffic Information.
As shown in Figure 1, be a kind of data processing architecture based on FCD technical limit spacing Real-time Traffic Information extensively adopted at present, this framework is a kind of linear processing mode.First GPS receiving system cushions the data stream that gps data source provider transmits, and the buffering gps data of 5 minutes generates a GPS text after format conversion; FCD disposal system reads GPS text, after the processes such as map match, path culculating and road conditions calculating, generates traffic information text; Delivery system reads traffic information text and issues to car-mounted terminal.
Ignore the time delay by text exchange data between each system, investigate and be buffered to from GPS the timeslice that traffic information generates system this section of process and distribute, as shown in Figure 2, i-th computation period, terminates to i*5 integral point, 5 minutes altogether integral point from (i-1) * 5.In order to ensure to generate traffic information at the i-th * 5 integral point, if 1 minute consuming time of FCD processing procedure (wherein map match and 40 seconds consuming time of path culculating, road conditions calculate 20 seconds consuming time), then must generate GPS text at the i-th * 5-1 minute, in order to cushion the gps data of 5 minutes, then within 5-1 minute, just start the gps data in the i-th cycle of cushioning at (i-1) *, thus define the circulation shown in a Fig. 2.
Gps data reception and FCD process are two different processes.For same computation period, gps data receiving cycle starts early than computation period for 1 minute.Before computation period terminates 1 minute, gps data receiving cycle terminated, and cushioned and generated the GPS text of current calculation cycle, and starting the data buffering of next GPS receiving cycle; Meanwhile, FCD treatment progress starts, and reads GPS text, and 1 minute consuming time generates traffic information text, now moment of terminating of computation period just, thus ensure that integral point generates traffic information at the end of computation period.
But, in above-mentioned data processing architecture, there is such problem:
The first, owing to being buffering generation in 5 minutes GPS text, so determine computation period also can only be more than or equal to 5 minutes, 5 minutes can not be less than and dynamic conditioning.In the i-th+1 complete period, like this just can only use the transport information that the i-th cycle generated, the time delay of information is maximum 11 minutes, namely (i+1) * 5 minutes use the i-th cycle article section transport information, and the transport information in this article of section to be use (i-1) the * gps data of 5-1 minute generate.This is a kind of extreme case, refer to a section for the i-th cycle, only there is vehicle to pass through at (i-1) * 5-1 minute this time point and upload GPS point, just never vehicle passed through afterwards, but this traffic information calculates and is unanimously in use to (i+1) * 5 minutes afterwards, and so maximum delay is (i+1) * 5-((i-1) * 5-1)=2*5+1=11 minute.The time delay which results in Real-time Traffic Information issue is comparatively large, reduces the actual effect of Real-time Traffic Information.
By GPS text exchange data between the second, GPS receiving system and FCD disposal system, because the generation judgement of GPS text and digital independent have a fixed response time, cause exchanges data efficiency not high.
3rd, in fig. 2, within * 5 minutes, be all in the state waiting for GPS text generation to the i-th * 5-1 minute FCD treatment progress from (i-1), system resources in computation utilization factor is not high, and counting yield is not high.
There is a kind of method of improvement to be realized by the time interval of reduction GPS text buffer at present, within such as 1 minute, generate a GPS text, current system can be alleviated so to a certain extent and issue the irreconcilable not reducible problem in interval.If want to obtain less computation period, then the time of GPS text buffer needs to reduce further.This way is made with following shortcoming:
First, low by text exchange data efficiency; If want to obtain shorter computation period, then can generate a lot of GPS texts, text generation judge time postpone a meeting or conference very large;
Secondly, the adjustment of computation period needs GPS receiving system and the interlock of FCD disposal system, underaction;
Finally, FCD disposal system is total for some time at wait gps data, and counting yield is low.
And in recent years, along with the universal of digital broadcast technologies and the arrival in 3G epoch, the bandwidth bottleneck that Real-time Traffic Information is published to car-mounted terminal has not existed, therefore the cycle time that traffic information can be generated and issues, to tackle the requirements at the higher level of the public to transport information real-time.The cycle that road conditions are issued is shorter, and car-mounted terminal user just more early can know the road condition change situation of the road that moves ahead, and to improve reaction velocity, promotes trip and experiences.Therefore, a kind of shorter and dynamically adjustable Real-time Traffic Information generation method of release cycle is badly in need of at present, to promote the actual effect of Traffic information demonstration.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of Real-time Traffic Information generation method that generating period is adjustable, for improving the actual effect of Real-time Traffic Information, promoting the exchanges data efficiency between GPS receiving system and FCD disposal system, and improving FCD disposal system computational resource utilization factor.
The invention provides a kind of Real-time Traffic Information generation method that generating period is adjustable, comprising:
Between GPS receiving system and Floating Car FCD disposal system, set up socket Socket connect, and gps data buffer zone is set, the gps data of reception is inserted in described gps data buffer zone by GPS receiving system in real time, and simultaneously FCD disposal system is taken out gps data and carried out FCD process generation Real-time Traffic Information from described gps data buffer zone.
The present invention proposes a kind of process framework of novelty, set up the buffer zone of a gps data according to the producer/Consumer model, gps data receives buffering and FCD process can synchronous operation, efficiently utilizes computational resource; And by map match and path culculating and gps data buffer synchronisation being carried out, have compressed the time that FCD process consumes further, thus improve that Real-time Traffic Information issues ageing; Carry out exchanges data by socket Socket communication between GPS receiving system and FCD disposal system, not only increase the efficiency that inter-system data exchanges, also relieve because buffering generates GPS text to the restriction of computation period.
In addition, the present invention by cushioning up-to-date map match and path culculating result in FCD disposal system, achieves Real-time Traffic Information and calculates and release cycle dynamically adjustable under the prerequisite of buffering 5 minutes gps datas.
Accompanying drawing explanation
Fig. 1 is a kind of data processing architecture schematic diagram obtaining Real-time Traffic Information based on GPS text exchange in prior art;
Fig. 2 is for distributing schematic diagram based on the timeslice of framework shown in Fig. 1 in prior art;
The data processing architecture schematic diagram of the Real-time Traffic Information that Fig. 3 provides for the embodiment of the present invention;
The Real-time Traffic Information that Fig. 4 provides for the embodiment of the present invention generates method flow diagram;
Fig. 5 is for distributing schematic diagram based on the timeslice of framework shown in Fig. 3 in the embodiment of the present invention.
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.
The embodiment of the present invention carries out exchanges data by utilizing Socket to communicate between GPS receiving system and FCD disposal system, not only increases the efficiency of exchanges data, also relieves because buffering generates GPS text to the restriction of computation period; The buffer zone of a gps data is established according to the producer/Consumer model, the gps data of reception is inserted in data buffer by GPS receiving system in real time, and FCD disposal system take out from buffer zone gps data carry out map match and path culculating operation, gps data receives buffering and FCD treatment progress can synchronous operation, efficiently utilize computational resource, have compressed the time that FCD process consumes further, thus improve the ageing of transport information.
Fig. 3 is the data processing architecture of the Real-time Traffic Information that the embodiment of the present invention provides, in the architecture, establish the buffer zone of a gps data according to the producer/Consumer model, and between GPS receiving system and FCD disposal system, utilize Socket communication to carry out exchanges data.
Based on this framework, as shown in Figure 4, the method is by two independently routine realizations, and wherein, digital independent routine comprises for the Real-time Traffic Information generation method that the embodiment of the present invention provides:
Step 4101, foundation are connected with the Socket of GPS receiving system; GPS receiving system is connected with all adopting Socket between data source and Buffer Pool;
Step 4102, startup Socket monitor, if receive gps data, are then added in GPS Buffer Pool, and perform step 4103; Otherwise, directly perform step 4103;
Step 4103, continuation monitor Socket interface.
Data processing routine is drawn together:
Step 4201, the Socket set up between Buffer Pool with FCD disposal system are connected, and the initialization of FCD disposal system and computing time distribute.Computing time distributes the setting referred to according to computation period t, distributes the time point carrying out road conditions calculating and map match and path culculating and calculate.
If step 4202 has arrived map match and path culculating time, from GPS Buffer Pool, obtain gps data, after carrying out map match, path culculating, result of calculation has been stored in map match and path culculating result Buffer Pool, perform step 4204.It doesn't matter for described map match and path culculating result Buffer Pool and GPS Buffer Pool, described result Buffer Pool is open up in FCD disposal system one independently storage space, fundamental purpose is the result of buffer map coupling and path culculating, and this is the input that road conditions calculate.The effect of result Buffer Pool and GPS Buffer Pool is similar, and map match and path culculating thread are write in result Buffer Pool, and road conditions computational threads is read from result Buffer Pool.After the road conditions calculating of one-period terminates, from result Buffer Pool, out-of-date map match and path culculating result are deleted, then replenish map match and the path culculating result in next cycle, in result Buffer Pool, still maintain the result of calculation of 5 minutes.
If step 4203 has arrived road conditions computing times, the result extracting map match and path culculating from map match and path culculating result Buffer Pool carries out traffic information calculating, output road conditions result after calculating completes, and empty expired map match and path culculating result, perform step 4204;
Step 4204, wait are distributed computing time, repeated execution of steps 4202.
For Fig. 5, gps data surge time is still 5 minutes, and computation period is set to t.I-th computation period, from (i-1) * t minute integral point, terminates to i*t minute integral point.In order to generate traffic information at the i-th * t minute integral point, owing to adopting the producer/Consumer model, map match and path culculating and GPS cushion and synchronously carry out, calculate so only need to start road conditions i*t-1/3 minute (within 1/3 minute, be 20 seconds road conditions in Fig. 2 calculate consuming time), gps data surge time sheet be i*t-5-1/3 minute to i*t-1/3 minute.After i-th computation period terminates, empty the result before 5-t minute in map match and path culculating result, then supplement the gps data (namely i*t-1/3 minute arrives (i+1) * gps data of t-1/3 minute) of the i-th+1 cycle t minute, the gps data of 5 minutes altogether, calculates the traffic information in the i-th+1 cycle.
Compared with situation shown in Fig. 2, the traffic information counting period of the embodiment of the present invention is minimum be can be adjusted to road conditions and calculates GPS map match in consuming time+computation period and path culculating time, be about half a minute, computing method are: design calculation is spaced apart t (unit is second), so t comprises the time of two parts, the time being the 5 minutes road conditions cushioned and calculating, this be 20 seconds constant, another one is that processing time of the gps data of t second of buffering, (GPS receives and process is synchronous, process is more consuming time than receiving, therefore the time of process is got here), the processing time of 5 minutes is 40 seconds, then the processing time of t second is t/300*40, this two times must be less than cycle of t second altogether, i.e. 20+t/300*40≤t, t >=300/13, cycle the shortest thus arranges and is about half a minute.The setting of this minimum t realizes in true environment.Therefore, system will promote the ageing of transport information conscientiously, and the trip improving user is experienced.
Compared with the prior art maximum delay of 11 minutes, the maximum delay of the embodiment of the present invention is 5+t+1/3 minute, obviously reduces time delay.
In a word, the foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.

Claims (3)

1. a Real-time Traffic Information generation method, is characterized in that, comprising:
Between GPS receiving system and Floating Car FCD disposal system, set up socket Socket connect, and gps data buffer zone is set; The gps data of reception is inserted in described gps data buffer zone by described GPS receiving system in real time, and simultaneously described FCD disposal system is taken out gps data and carried out FCD process generation Real-time Traffic Information from described gps data buffer zone;
Described GPS receiving system and adopt Socket to be connected between FCD disposal system with gps data buffer zone;
The gps data of reception is inserted in described gps data buffer zone and specifically comprises by described GPS receiving system in real time:
Described GPS receiving system starts Socket and monitors, if receive gps data, is then added in gps data buffer zone by described gps data, and continues to monitor Socket interface; Otherwise described GPS receiving system continues to monitor Socket interface;
Described FCD disposal system take out from described gps data buffer zone gps data carry out FCD process generate Real-time Traffic Information specifically comprise:
Carry out the initialization of FCD disposal system and distribution computing time; Described computing time is carry out map match and path culculating and carry out the time of road conditions calculating;
Checking that whether current time is for carrying out map match and path culculating time, if so, from described gps data buffer zone, supplementing the gps data do not obtained in corresponding gps data surge time sheet, carry out map match and path culculating calculating, result of calculation is preserved; Otherwise be road conditions computing times, the result of calculation extracting described map match and path culculating carries out traffic information calculating, export Real-time Traffic Information, and empty expired map match and the result of calculation of path culculating;
Wait for that computing time distributes, reexamine moment state;
The described step by result of calculation preservation is specially:
Result of calculation is stored in map match in FCD disposal system and path culculating result Buffer Pool;
Correspondingly, the described result of calculation extracting described map match and path culculating carries out traffic information calculating, export Real-time Traffic Information, and the step emptying the result of calculation of expired map match and path culculating is specially: the result of calculation extracting described map match and path culculating from described map match and path culculating result Buffer Pool carries out traffic information calculating, and from described map match and path culculating result Buffer Pool, expired map match and path culculating result are deleted;
Distribute described computing time and be specially:
Gps data surge time is set to 5 minutes, and computation period is set to t; I-th computation period is from (i-1) * t minute integral point, terminate to i*t minute integral point, i*t-1/3 minute start road conditions calculate, be map match and path culculating time before, gps data surge time sheet be i*t-5-1/3 minute to i*t-1/3 minute.
2. Real-time Traffic Information generation method according to claim 1, is characterized in that, described in empty expired map match and path culculating result of calculation specifically comprise:
Empty the result of calculation before 5-t minute in the map match of described preservation and path culculating result of calculation.
3. Real-time Traffic Information generation method according to claim 2, is characterized in that, described computation period t is minimum is set to 300/13 second.
CN201110265346.0A 2011-09-08 2011-09-08 Method for generating real-time traffic information Active CN103000022B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110265346.0A CN103000022B (en) 2011-09-08 2011-09-08 Method for generating real-time traffic information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110265346.0A CN103000022B (en) 2011-09-08 2011-09-08 Method for generating real-time traffic information

Publications (2)

Publication Number Publication Date
CN103000022A CN103000022A (en) 2013-03-27
CN103000022B true CN103000022B (en) 2015-04-08

Family

ID=47928537

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110265346.0A Active CN103000022B (en) 2011-09-08 2011-09-08 Method for generating real-time traffic information

Country Status (1)

Country Link
CN (1) CN103000022B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104217588B (en) * 2013-05-31 2017-03-08 张伟伟 A kind of Real-time Traffic Information acquisition methods, server and system
CN106408977A (en) * 2016-12-09 2017-02-15 思建科技有限公司 Traffic condition monitoring system and method
CN107393301B (en) * 2017-07-25 2019-09-27 重庆市市政设计研究院 A kind of track of vehicle recognition methods based on RFID data

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1533775A1 (en) * 2002-06-14 2005-05-25 Matsushita Electric Industrial Co., Ltd. Fcd system and device using beacon
CN101270997A (en) * 2007-03-21 2008-09-24 北京交通发展研究中心 Floating car dynamic real-time traffic information processing method based on GPS data
CN101286269A (en) * 2008-05-26 2008-10-15 北京捷讯畅达科技发展有限公司 Traffic flow forecasting system combining dynamic real time traffic data
CN101807343A (en) * 2010-01-08 2010-08-18 北京世纪高通科技有限公司 Processing method and processing system based on floating car traffic information
CN102063793A (en) * 2011-01-12 2011-05-18 上海炬宏信息技术有限公司 Road condition information detection method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1533775A1 (en) * 2002-06-14 2005-05-25 Matsushita Electric Industrial Co., Ltd. Fcd system and device using beacon
CN101270997A (en) * 2007-03-21 2008-09-24 北京交通发展研究中心 Floating car dynamic real-time traffic information processing method based on GPS data
CN101286269A (en) * 2008-05-26 2008-10-15 北京捷讯畅达科技发展有限公司 Traffic flow forecasting system combining dynamic real time traffic data
CN101807343A (en) * 2010-01-08 2010-08-18 北京世纪高通科技有限公司 Processing method and processing system based on floating car traffic information
CN102063793A (en) * 2011-01-12 2011-05-18 上海炬宏信息技术有限公司 Road condition information detection method and system

Also Published As

Publication number Publication date
CN103000022A (en) 2013-03-27

Similar Documents

Publication Publication Date Title
CN105551097B (en) A kind of on board unit, vehicle positioning method and path identification method
CN101489196A (en) Intelligent vehicle-mounted system
CN108694844A (en) Automatic driving vehicle control method, device and storage medium
CN103403639A (en) Method and management unit pertaining to vehicle trains
PT1722585E (en) Method and system for carrier-power planning in a cellular telecomunications network
CN103258439B (en) Intelligent traffic guidance system and method based on three-in-one network
CN103000022B (en) Method for generating real-time traffic information
CN104618855A (en) Mobile terminal with arrival reminding function and arrival reminding method of mobile terminal
CN101114836A (en) System and method for vehicle mounted terminal to issue traffic information gridding service
CN108028710A (en) The apparatus and method for transmitting communication information
CN202075811U (en) Control system of intelligent electric bicycle
CN103177565A (en) Bus scheduling information adjusting system based on actual bus taking requests
CN104507146A (en) Low-power-consumption system and method for realizing vehicle-road communication
CN107995241A (en) Collecting vehicle information terminal, Research on Vehicle Remote Monitoring System Based on GPRS and data transmission method
CN101894468B (en) Motion vector based traffic flow detecting method
CN103413429B (en) A kind of public transport vehicle-mounted video monitoring based on davinci platform and dispatching management information system
CN110213727A (en) A kind of method and relevant apparatus of information of charging pile management
CN102791046A (en) Exchange method and exchange node of metadata in opportunity network
CN201362966Y (en) Bus shelter with GPS bus dynamic information prompt
CN205318625U (en) Bus priority signal control system
CN113395301B (en) Intelligent city off-network operation method and system based on Internet of vehicles
CN108702584A (en) Service optimization processing method, equipment and system
CN113965590A (en) Operation method and system in smart city network based on Internet of vehicles
CN201319211Y (en) System for reminding people of destination stops
CN110211407A (en) A method of realizing that bus stops on demand based on wireless communication

Legal Events

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

Address after: 100193 No. 301, block B, building 27, phase 1, Zhongguancun Software Park, No. 8, northeast flourishing West Road, Beijing, Haidian District

Patentee after: Beijing city Mdt InfoTech Ltd

Address before: 100191 Beijing City, Haidian District Xueyuan Road No. 39 Building 9 layer solid

Patentee before: Beijing PalmCity Technology Co., Ltd.