CN107657814B - Road condition information generation method and device - Google Patents

Road condition information generation method and device Download PDF

Info

Publication number
CN107657814B
CN107657814B CN201711060194.4A CN201711060194A CN107657814B CN 107657814 B CN107657814 B CN 107657814B CN 201711060194 A CN201711060194 A CN 201711060194A CN 107657814 B CN107657814 B CN 107657814B
Authority
CN
China
Prior art keywords
value
road
sequence
congestion degree
road condition
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
CN201711060194.4A
Other languages
Chinese (zh)
Other versions
CN107657814A (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.)
Shenyang Century Qualcomm Technology Co Ltd
Original Assignee
Shenyang Century Qualcomm 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 Shenyang Century Qualcomm Technology Co Ltd filed Critical Shenyang Century Qualcomm Technology Co Ltd
Priority to CN201711060194.4A priority Critical patent/CN107657814B/en
Publication of CN107657814A publication Critical patent/CN107657814A/en
Application granted granted Critical
Publication of CN107657814B publication Critical patent/CN107657814B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/0104Measuring and analyzing of parameters relative to traffic conditions
    • G08G1/0125Traffic data processing
    • G08G1/0133Traffic data processing for classifying traffic situation
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/0104Measuring and analyzing of parameters relative to traffic conditions
    • G08G1/0137Measuring and analyzing of parameters relative to traffic conditions for specific applications
    • G08G1/0141Measuring and analyzing of parameters relative to traffic conditions for specific applications for traffic information dissemination

Landscapes

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

Abstract

The embodiment of the invention provides a road condition information generation method and device, relates to the field of traffic information processing, and can provide more accurate road condition service. The method comprises the following steps: acquiring information of all the road sections; the information of the road section comprises road condition data of the road section and the free flow speed of vehicles on the road section; acquiring the actual average speed of the vehicle on the road section according to the road condition data of the road section; and judging the road condition state of the road section according to the free flow speed and the actual average speed.

Description

Road condition information generation method and device
Technical Field
The invention relates to the field of traffic information processing, in particular to a road condition information generating method and device.
background
the real-time road condition is a concept provided aiming at the situation of congestion and smoothness of the urban traffic road, and the current real-time road condition is a mature vehicle-mounted intelligent traffic navigation technology. The real-time road condition can reflect the traffic character road condition in the area in real time, guide the best and the fastest driving route, and improve the service efficiency of roads and vehicles. The current method for calculating real-time road condition information is based on data returned by a vehicle machine (short for vehicle-mounted infotainment product installed in an automobile) through a GPS, wherein the vehicle machine returns data once every a period of time, and the information comprises position information, travel time, driving direction and the like of the vehicle. Therefore, the average speed of a road at a distance can be calculated, the road can be split into a plurality of link sections, each link section has a corresponding road grade, each road grade has a corresponding congested, slow and smooth speed interval, the road condition state of the link section can be obtained by comparing the average speed calculated in the mode with the speed interval corresponding to the road grade of the link section, and a dynamic and real-time road condition information network can be formed when enough vehicle machines return GPS information.
however, the current method for calculating real-time traffic information is to calculate an average speed through information such as travel time and distance returned by the vehicle-mounted GPS, and then obtain the traffic status of the current link through the speed interval corresponding to the road class of the current link, so the result is also limited by the road class of the link and the speed interval corresponding to the road class, and the result obtained by the calculation method is inaccurate in some special links. For example: the highway grade of the expressway is highest, the corresponding unblocked speed section is also very high, the ordinary automobile speed can be judged to be unblocked only when being more than 60km/h, but the speed when the automobile is arranged below the expressway is not as fast as the expressway, so that the speed is less than 60km/h, but the ramp at the lower high speed and the highway are identical in road grade, but due to the limitation of the road grade and the speed section, if the existing road condition information calculation mode is used, the result of the slow or congested road condition of the originally unblocked ramp at the lower expressway can be obtained. For another example: some roads which are not wide enough may have narrow roads due to external reasons such as roadside parking, so that the driving speed of automobiles is not fast, and although all automobiles passing through the road section have slow speed, the automobile should be in a clear state, and the road state which can be calculated according to the road grade and the speed interval in the prior art can be slow or congested. The calculated road condition states are obviously inconsistent with the actual road condition states.
Disclosure of Invention
embodiments of the present invention provide a method and an apparatus for generating road condition information, which can provide more accurate road condition service.
In order to achieve the above purpose, the embodiment of the invention adopts the following technical scheme:
in a first aspect, a traffic information generating method is provided, including: acquiring information of all the road sections; the information of the road section comprises road condition data of the road section and the free flow speed of vehicles on the road section; calculating the actual average speed of the vehicle on the road section according to the road condition data of the road section; and judging the road condition state of the road section according to the free flow speed and the actual average speed.
In a second aspect, a traffic information generating device is provided, including: the device comprises an acquisition module, a calculation module and a processing module;
The acquisition module is used for acquiring information of all the road sections from the first database; the information of the road section comprises road condition data of the road section and the free flow speed of vehicles on the road section;
The calculation module is used for calculating the actual average speed of the vehicle on the road section according to the road condition data of the road section acquired by the acquisition module;
And the processing module is used for judging the road condition state of the road section acquired by the acquisition module according to the free flow speed acquired by the acquisition module and the actual average speed calculated by the calculation module.
the embodiment of the invention provides a road condition information generation method and a road condition information generation device, wherein the method comprises the following steps: acquiring information of all the road sections; the information of the road section comprises road condition data of the road section and the free flow speed of vehicles on the road section; calculating the actual average speed of the vehicle on the road section according to the road condition data of the road section; and judging the road condition state of the road section according to the free flow speed and the actual average speed. In the scheme provided by the embodiment of the invention, when the road condition information needs to be generated, the road condition data of all the road sections and the free flow speeds of all the road sections are firstly obtained, then the actual average speed of the vehicles on each road section is calculated according to the road condition data, and then the road condition state of the road sections is judged according to the combination of the actual average speed and the free flow speeds of the vehicles on each road section, so that the dependence on the road grade and the speed interval of the road sections when the road condition information is obtained and the inaccuracy when the road condition information is obtained according to the road grade and the speed interval of the road sections in the prior art are avoided, and the accurate road condition information can be provided for the user at any place, so that the user can select a more appropriate travel line.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a road condition information generating method according to an embodiment of the present invention;
Fig. 2 is a schematic flow chart of a road condition information generating method according to another embodiment of the present invention;
Fig. 3 is a schematic structural diagram of a traffic information generating device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a road condition information publishing system according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
it should be noted that, in the embodiments of the present invention, "of", "corresponding" and "corresponding" may be sometimes used in combination, and it should be noted that, when the difference is not emphasized, the intended meaning is consistent.
for the convenience of clearly describing the technical solutions of the embodiments of the present invention, in the embodiments of the present invention, the words "first", "second", and the like are used for distinguishing the same items or similar items with basically the same functions and actions, and those skilled in the art can understand that the words "first", "second", and the like are not limited in number or execution order.
The existing method for calculating real-time road condition information is to calculate an average speed through information such as travel time, distance and the like returned by a vehicle-mounted GPS, and then obtain the road condition state of the current road section through a speed interval corresponding to the road grade of the current road section, so the result is also limited by the road grade of the road section and the speed interval corresponding to the road grade, and the result obtained by the calculation method is inaccurate under some special conditions (lower expressway ramps).
in view of the above problem, referring to fig. 1, an embodiment of the present invention provides a method for generating road condition information, including:
101. Acquiring information of all the road sections; the information of the road segment includes road condition data of the road segment and a free flow speed of a vehicle on the road segment.
The free flow speed referred to herein is a speed at which the density of vehicles on a road approaches zero and the vehicles can freely run without interference from other vehicles. The free flow speed is used as an important index for determining the running quality of vehicles on roads with different grades, is closely related to the vehicle operation cost, and is also the basis of road traffic capacity analysis. The driver can freely select the speed, so the speed of the free flow can directly reflect the influence of the road environment and the traffic condition on the driving, and the method is the main basis for measuring the road service level. Typical free stream speeds include vehicle speeds in three cases: (1) the theoretical speed of the traffic flow is the speed of a vehicle on a road at which the density of vehicles tends to zero, that is, the speed of a vehicle at which there are almost no other vehicles. (2) And under the condition of small traffic volume, the average speed of the vehicle passing through the road section of the urban main road without the signalized intersection is reduced. (3) Average speed of passenger cars on the basic section of the highway or the section of the multi-lane highway under the condition of small traffic volume.
Specifically, the free flow speed data and the road condition data of the road segment change with time, so in the embodiment of the invention, the acquired free flow speed of the road segment is generally updated in one month, and the road condition data is acquired in real time.
102. And calculating the actual average speed of the vehicle on the road section according to the road condition data of the road section.
103. and judging the road condition state of the road section according to the free flow speed and the actual average speed.
specifically, when the actual average speed calculated according to the road condition data of the road segment is less than zero, it is indicated that the acquired road condition data of the road segment is erroneous, and at this time, the road width state of the road segment cannot be judged according to the actual average speed and the free road speed; because some owners may increase the speed of the vehicle to be higher than the highest speed per hour of the road when there are no other vehicles on the road in practice, the speed of the obtained free flow speed must have an upper limit if the speed is used to determine the road condition of the road is inaccurate, and therefore when the speed of the obtained free flow speed exceeds a first preset value, the speed of the free flow speed needs to be modified to the first preset value, which is generally 120 (km/h).
In the scheme provided by the embodiment, when generating the road condition information, the road condition data of all the road sections and the free flow speeds of all the road sections are firstly acquired, then the actual average speed of the vehicles on each road section is calculated according to the road condition data, and then the road condition states of the road sections are judged according to the combination of the actual average speed and the free flow speeds of the vehicles on each road section, so that the dependence on the road grade and the speed interval of the road sections when acquiring the road condition information and the inaccuracy when acquiring the road condition information according to the road grade and the speed interval of the road sections in the prior art are avoided, and the accurate road condition information can be provided for the user at any place, so that the user can select a more appropriate travel route.
Referring to fig. 2, an embodiment of the present invention further provides another traffic information generation method as a supplement to the traffic information generation method provided in the foregoing embodiment, where the method includes:
201. acquiring information of all the road sections; the information of the road segment includes road condition data of the road segment and a free flow speed of a vehicle on the road segment.
202. And calculating the actual average speed of the vehicle on the road section according to the road condition data of the road section.
Specifically, when the actual average speed calculated according to the road condition data of the road segment is less than zero, it is indicated that the acquired road condition data of the road segment is erroneous, and at this time, the road width state of the road segment cannot be judged according to the actual average speed and the free road speed; because some owners may increase the speed of the vehicle to be higher than the highest speed per hour of the road when there are no other vehicles on the road in practice, the speed of the obtained free flow speed must have an upper limit if the speed is used to determine the road condition of the road is inaccurate, and therefore when the speed of the obtained free flow speed exceeds a preset value, the speed of the free flow speed needs to be modified to the preset value, which is generally 120 (km/h).
203. And acquiring a proportion value sequence and a congestion degree sequence, wherein the proportion values in the proportion value sequence correspond to the congestion degree values in the congestion degree sequence one to one.
Specifically, there are a finite number of ratio values in the ratio value sequence, and these ratio values may be arranged in the sequence from large to small or from small to large, or may be randomly distributed; the congestion degree sequence has a limited number of congestion degree values, each user degree value can represent a road condition, the congestion degree values can be arranged in the congestion degree sequence from large to small or from small to large, or can be randomly distributed, but each congestion degree value corresponds to only one proportion value in the proportion value sequence, namely, the number of the proportion values in the proportion value sequence is the same as the number of the congestion degree values in the congestion degree sequence, and the proportion values in the proportion value sequence correspond to one another.
204. The quotient of the free-flow speed and the actual average speed is calculated as a first proportional value.
Specifically, when the actual average speed is equal to zero, the first proportional value is not required to be calculated at this time, and the road condition state of the road segment is determined to be the road condition state represented by the maximum congestion degree value in the congestion degree sequence; when the actual average speed is 1, determining the road condition state of the road section as the road condition state represented by the minimum congestion degree value in the congestion degree sequence; in practice, the actual average speed is zero and the actual average speed is 1, which belong to special situations that need to be considered in the running process of the program for generating the traffic information, in these two situations, the calculation of the first proportional value has a problem and will not occur in practice, but if the situation occurs in the running process of the program for generating the traffic information, the running of the program is wrong, so the program for generating the traffic information needs to perform the above processing for these two situations. In addition, the first proportional value is a value obtained by dividing the free flow speed by the actual average speed, and the first proportional value is very small when the actual average speed is greater than or equal to the free flow speed, and is zero when the free flow speed is less than or equal to zero, which may cause a subsequent road condition judgment to be blocked in the method provided by the embodiment of the present invention, so that when the actual average speed is greater than or equal to the free flow speed or the free flow speed is less than or equal to zero, the first proportional value is set as the second preset value, and exemplarily, the second preset value is 1.
205. and judging whether a proportional value equal to the first proportional value exists in the proportional value sequence.
if so, execute 206; if not, 207 is performed.
206. and when the first proportion value is equal to the second proportion value in the proportion value sequence, determining the road condition of the road section as the road condition represented by the congestion degree value corresponding to the second proportion value in the congestion degree sequence.
207. And judging whether a proportional value which is larger than or equal to the first proportional value exists in the proportional value sequence.
if so, 208 is performed, and if not, 209 is performed.
208. and when the first proportion value is not equal to any proportion value in the proportion value sequence, if the proportion value which is greater than or equal to the first proportion value exists in the proportion value sequence, calculating the congestion degree value representing the road condition state of the road section according to a third proportion value in the proportion value sequence, a maximum fourth proportion value in the proportion value which is smaller than the third proportion value in the proportion value sequence, a first congestion degree value corresponding to the third proportion value in the congestion degree sequence and a second congestion degree value corresponding to the fourth proportion value in the user congestion degree sequence.
the specific calculation formula is as follows:
j=((J[P]-J[P-1])/(D[P]-D[P-1]))*(d-D[P])+J[P];
wherein J is a congestion degree value representing the road condition state of the road section, J is a congestion degree sequence, D is a proportional value sequence, J [ P ] is a first congestion degree value, J [ P-1] is a second congestion degree value, D [ P ] is a third proportional value, D [ P-1] is a fourth proportional value, D is a first proportional value, P is a position serial number of J [ P ] in J and a position serial number of D [ P ] in D, and P-1 is a position serial number of J [ P-1] in J and a position serial number of D [ P-1] in D.
And when the congestion degree value calculated according to the formula is a decimal number, directly removing the decimal part and rounding the decimal part to obtain the final congestion degree value.
209. And when the first proportion value is not equal to any proportion value in the proportion value sequence, if the proportion value which is greater than or equal to the first proportion value does not exist in the proportion value sequence, determining that the road condition of the road section cannot be represented by the road condition corresponding to the congestion degree sequence value in the congestion degree sequence.
Exemplarily, the obtained ratio value sequence D [8] = {1, 1.25, 1.5, 1.75, 2, 3, 8, 32 }; congestion degree sequence J [8] {0, 3, 5, 6, 7, 8, 9, 10 }; the method for determining the road condition of the road segment according to the actual average speed and the free flow speed is described as follows, wherein the free flow speed of the vehicle on the road segment is 160, and the actual average speed of the vehicle on the road segment is 30:
Firstly, because the free flow speed exceeds the preset value 120, the free flow speed is corrected to 120, and the first proportional value d calculated at the moment is 4;
Then, taking an absolute value by sequentially and circularly subtracting the D and the elements in the D, and knowing that the absolute value of the difference between the D and the elements in the D is not less than 0.0000001 (namely, no element equal to D exists in the D);
comparing D with the elements in D in sequence until D is smaller than the elements in D, and recording the position P of the elements in D when the comparison is stopped, wherein P is 7 because D is 4; obtaining a third proportion value D [7] as 8, a fourth proportion value as D [6]3, a congestion degree value corresponding to the third proportion value as J [7] as 9, and a congestion degree value corresponding to the fourth proportion value as J [6] as 8;
The finally obtained congestion degree value J ═ ((J [ P ] -J [ P-1])/(D [ P ] -D [ P-1 ]))) (D-D [ P ]) + J [ P ] ═ ((9-8)/(8-3)) (4-8) +9 ≈ 8.2 ≈ 8; the traffic condition of the section on which the vehicle free flow speed is 160 and the actual average speed is 30 is the traffic condition corresponding to the congestion degree value of 8.
The embodiment of the invention provides a road condition information generation method, which comprises the following steps: acquiring information of all the road sections; the information of the road section comprises road condition data of the road section and the free flow speed of vehicles on the road section; calculating the actual average speed of the vehicle on the road section according to the road condition data of the road section; and judging the road condition state of the road section according to the free flow speed and the actual average speed. In the scheme provided by the embodiment of the invention, when the road condition information needs to be generated, the road condition data of all the road sections and the free flow speeds of all the road sections are firstly obtained, then the actual average speed of the vehicles on each road section is calculated according to the road condition data, and then the road condition state of the road sections is judged according to the combination of the actual average speed and the free flow speeds of the vehicles on each road section, so that the dependence on the road grade and the speed interval of the road sections when the road condition information is obtained and the inaccuracy when the road condition information is obtained according to the road grade and the speed interval of the road sections in the prior art are avoided, and the accurate road condition information can be provided for the user at any place, so that the user can select a more appropriate travel line.
Referring to fig. 3, an embodiment of the present invention further provides a traffic information generating device 30, including: an acquisition module 31, a calculation module 32 and a processing module 33;
An obtaining module 31, configured to obtain information of all the link segments; the information of the road section comprises road condition data of the road section and the free flow speed of vehicles on the road section; a calculating module 32, configured to obtain an actual average speed of the vehicle on the road segment according to the road condition data of the road segment obtained by the obtaining module 31; and the processing module 33 is configured to determine the road condition state of the road segment acquired by the acquiring module 31 according to the free flow speed acquired by the acquiring module 31 and the actual average speed calculated by the calculating module 32.
Optionally, the obtaining module 31 is further configured to: and acquiring a proportion value sequence and a congestion degree sequence, wherein the proportion values in the proportion value sequence correspond to the congestion degree values in the congestion degree sequence one to one.
optionally, the processing module 33 is specifically configured to: calculating a quotient of the free flow speed acquired by the acquisition module 31 and the actual average speed calculated by the calculation module 32 as a first proportional value;
When the first proportion value is equal to the second proportion value in the proportion value sequence acquired by the acquisition module 31, determining that the road condition of the road segment acquired by the acquisition module 31 is the road condition represented by the congestion degree value corresponding to the second proportion value in the congestion degree sequence acquired by the acquisition module 31;
When the first proportional value is not equal to any proportional value in the proportional value sequence acquired by the acquisition module 31, if a proportional value greater than or equal to the first proportional value exists in the proportional value sequence, calculating a congestion degree value representing the road condition of the road segment acquired by the acquisition module 31 according to a third proportional value in the proportional value sequence, a maximum fourth proportional value in the proportional value sequence smaller than the third proportional value, a first congestion degree value corresponding to the third proportional value in the congestion degree sequence acquired by the acquisition module 31, and a second congestion degree value corresponding to the fourth proportional value in the user congestion degree sequence; the third proportion value is the minimum proportion value in the proportion values which are greater than or equal to the first proportion value in the proportion value sequence.
Optionally, the processing module 33 is further configured to: and when the first proportion value is not equal to any proportion value in the proportion value sequence, if the proportion value which is greater than or equal to the first proportion value does not exist in the proportion value sequence, determining that the road condition of the road section cannot be represented by the road condition corresponding to the congestion degree sequence value in the congestion degree sequence.
further, the specific formula when the processing module 33 calculates the congestion degree value representing the road condition state of the road segment acquired by the acquiring module 31 according to the third proportion value in the proportion value sequence, the maximum fourth proportion value in the proportion values smaller than the third proportion value in the proportion value sequence, the first congestion degree value corresponding to the third proportion value in the congestion degree sequence, and the second congestion degree value corresponding to the fourth proportion value in the user congestion degree sequence is as follows:
j=((J[P]-J[P-1])/(D[P]-D[P-1]))*(d-D[P])+J[P]
J is a congestion degree value representing the road condition of the road section, J is a congestion degree sequence, D is a proportional value sequence, J [ P ] is a first congestion degree value, J [ P-1] is a second congestion degree value, D [ P ] is a third proportional value, D [ P-1] is a fourth proportional value, D is a first proportional value, P is a position serial number of J [ P ] in J and a position serial number of D [ P ] in D, and P-1 is a position serial number of J [ P-1] in J and a position serial number of D [ P-1] in D.
optionally, the processing module 33 is further configured to, before determining the road condition state of the road segment acquired by the acquiring module 31 according to the free flow speed acquired by the acquiring module 31 and the actual average speed calculated by the calculating module 32: when the free flow speed is greater than a first preset value, modifying the free flow speed into the first preset value; when the actual average speed is less than zero, it is determined that the road condition state of the link section acquired by the acquisition module 31 cannot be judged according to the free flow speed and the actual average speed.
Optionally, the processing module 33 is further configured to: when the actual average speed calculated by the calculation module 32 is equal to zero, determining that the road condition of the road segment acquired by the acquisition module 31 is the road condition represented by the maximum congestion degree value in the congestion degree sequence; when the actual average speed calculated by the calculation module 32 is 1, determining that the road condition of the road segment acquired by the acquisition module 31 is the road condition represented by the minimum congestion degree value in the congestion degree sequence; when the actual average speed calculated by the calculating module 32 is greater than or equal to the free flow speed acquired by the acquiring module 31 or the free flow speed acquired by the acquiring module 31 is less than or equal to zero, the first proportional value is made to be the second preset value.
the embodiment of the invention provides a traffic information generating device, which comprises: the acquisition module is used for acquiring information of all the road sections from the first database; the information of the road section comprises road condition data of the road section and the free flow speed of vehicles on the road section; the calculation module is used for acquiring the actual average speed of the vehicle on the road section according to the road condition data of the road section acquired by the acquisition module; and the processing module is used for judging the road condition state of the road section acquired by the acquisition module according to the free flow speed acquired by the acquisition module and the actual average speed calculated by the calculation module. Therefore, in the scheme provided by the embodiment of the invention, when the road condition information needs to be generated, the road condition data of all the road sections and the free flow speeds of all the road sections are firstly obtained, then the actual average speed of the vehicles on each road section is calculated according to the road condition data, and then the road condition state of the road sections is judged according to the combination of the actual average speed and the free flow speeds of the vehicles on each road section, so that the dependence on the road grade and the speed interval of the road sections when the road condition information is obtained and the inaccuracy when the road condition information is obtained according to the road grade and the speed interval of the road sections in the prior art are avoided, and the accurate road condition information can be provided for the user at any place, so that the user can select a more appropriate travel route.
in practice, the Traffic information generating device provided in the above embodiment may be an MTPS (Multi Traffic distribution System), where information acquired by the MTPS is from a database, Couch Base, and information in the Couch Base is stored after information of each link section acquired in real time is preliminarily processed by monthly map software; in addition, the MTPS acquires the information of all the link sections from the Couch Base and processes the information after the information needs to be received by the data monitoring device zookeeper; after generating the road condition state data of each road section, the MTPS needs to convert the format and then store the road condition state data of each road section in the Couch Base according to the different cities to which the MTPS belongs; when the client terminal needs to inquire the road condition state of the road section where the client terminal is located, a query instruction is sent to the data issuing device, and the data issuing device searches the road condition state data of the relevant road section from the CouchBase according to the information in the query instruction after receiving the query instruction and sends the road condition state data to the client terminal.
Referring to fig. 4, an embodiment of the present invention further provides a road condition information publishing system, which is composed of MTPS41, Couch Base42, data conversion device 43, zookeeper44, and data publishing device 45, where when the data publishing system works, the specific flow is as follows:
(1) software such as an External dependency (External dependency) monthly map stores information of the processed link segment in the Couch Base 42; the information of the road section comprises road condition data of the road section and the free flow speed of vehicles on the road section, wherein the road condition data of the road section can be dynamic position reference information, speed limit information of the road section and the like.
(2) when zookeeper44 detects that information of each link segment already exists in Couch Base42, a processing notification is sent to MTPS41, and after receiving the processing notification, MTPS41 acquires road condition data of all link segments and vehicle free flow speed on the link segments from the Couch Base42, processes the road condition data to generate road condition state data of each link segment, and sends the road condition state data to data conversion device 43.
(3) The data conversion device 43 converts the received road condition status data of the link segment into xml format, compresses the road condition status data, stores the compressed road condition status data in the Couch Base42 according to different groups of the city to which the link segment belongs, and sends a cache instruction to the data issuing device so that the data issuing device caches the road condition status data of the link segment in xml format into its memory.
specifically, the MTPS is to store the generated road condition data of the link segments in the Couch Base, and then notify the data conversion device using the zookeeper, and after receiving the notification, the data conversion device acquires the road condition data of all the link segments from the ouch Base, performs format conversion, and compresses the data.
(4) when the client sends the query request to the data issuing device, the data issuing device acquires the road condition data of the corresponding road segment from the memory of the data issuing device according to the city code in the query request and sends the road condition data to the client.
Because the traffic information distribution system provided by the embodiment of the invention, through the information interaction of each part, the MTPS calculates the actual average speed of the vehicles on each section according to the traffic data, then the road condition state of the road sections is judged according to the combination of the actual average speed and the free flow speed of the vehicles on each road section, then the data is stored in the Couch Base for the data issuing device to send the road condition state data corresponding to the query instruction to the client terminal after receiving the query instruction of the client terminal, can avoid the dependence on the road grade and the speed interval of the road section when acquiring the road condition information and the inaccuracy when acquiring the road condition state information according to the road grade and the speed interval of the road section in the prior art, accurate road condition state information can be issued to the user at any place, so that the user can select a more appropriate travel route.
the embodiment of the present invention further provides a computer program, where the computer program may be directly loaded into the memory and contains a software code, and the computer program is loaded and executed by the computer, so as to implement the method for generating the traffic information.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. a road condition information generating method is characterized by comprising the following steps:
acquiring information of all the road sections; the information of the section comprises road condition data of the section and the free flow speed of vehicles on the section;
Calculating the actual average speed of the vehicle on the road section according to the road condition data of the road section;
Acquiring a proportion value sequence and a congestion degree sequence, wherein proportion values in the proportion value sequence correspond to congestion degree values in the congestion degree sequence one to one;
Judging the road condition state of the road section according to the free flow speed and the actual average speed, wherein the judging step comprises the following steps: calculating a quotient of the free flow speed and the actual average speed as a first proportional value;
when the first proportion value is equal to a second proportion value in the proportion value sequence, determining that the road condition of the road segment is the road condition represented by the congestion degree value corresponding to the second proportion value in the congestion degree sequence;
When the first proportional value is not equal to any proportional value in the proportional value sequence, if a proportional value which is greater than or equal to the first proportional value exists in the proportional value sequence, calculating a congestion degree value representing the road condition of the road section according to a third proportional value in the proportional value sequence, a maximum fourth proportional value in the proportional value sequence, a first congestion degree value corresponding to the third proportional value in the congestion degree sequence and a second congestion degree value corresponding to the fourth proportional value in the congestion degree sequence;
The third proportion value is the minimum proportion value in the proportion values which are greater than or equal to the first proportion value in the proportion value sequence.
2. The method of claim 1, further comprising:
and when the first proportional value is not equal to any proportional value in the proportional value sequence, if the proportional value which is greater than or equal to the first proportional value does not exist in the proportional value sequence, determining that the road condition of the road section cannot be represented by the road condition corresponding to the congestion degree sequence value in the congestion degree sequence.
3. The method according to claim 1, wherein the specific formula for calculating the congestion degree value representing the road condition of the road segment according to a third proportion value in the proportion value sequence, a maximum fourth proportion value in the proportion value sequence, a first congestion degree value corresponding to the third proportion value in the congestion degree sequence, and a second congestion degree value corresponding to the fourth proportion value in the congestion degree sequence is as follows:
j=((J[P]-J[P-1])/(D[P]-D[P-1]))*(d-D[P])+J[P];
j is a congestion degree value representing the road condition state of the road section, J is the congestion degree sequence, D is the proportional value sequence, J [ P ] is the first congestion degree value, J [ P-1] is the second congestion degree value, D [ P ] is the third proportional value, D [ P-1] is the fourth proportional value, D is the first proportional value, P is a position serial number of J [ P ] in J and a position serial number of D [ P ] in D, and P-1 is a position serial number of J [ P-1] in J and a position serial number of D [ P-1] in D.
4. The method according to claim 1, wherein before determining the road condition of the road segment according to the free flow speed and the actual average speed, the method further comprises:
When the free flow speed is larger than a first preset value, modifying the free flow speed to the first preset value;
and when the actual average speed is less than zero, determining that the road condition state of the road section cannot be obtained according to the free flow speed and the actual average speed.
5. The method of claim 1, further comprising:
when the actual average speed is equal to zero, determining the road condition state of the road section as the road condition state represented by the maximum congestion degree value in the congestion degree sequence;
when the actual average speed is 1, determining that the road condition state of the road section is the road condition state represented by the minimum congestion degree value in the congestion degree sequence;
and when the actual average speed is greater than or equal to the free flow speed or the free flow speed is less than or equal to zero, the first proportional value is a second preset value.
6. a traffic information generating apparatus, comprising: the device comprises an acquisition module, a calculation module and a processing module;
the acquisition module is used for acquiring information of all the road sections; the information of the section comprises road condition data of the section and the free flow speed of vehicles on the section;
The calculation module is used for calculating the actual average speed of the vehicle on the road section according to the road condition data of the road section acquired by the acquisition module;
Acquiring a proportion value sequence and a congestion degree sequence, wherein proportion values in the proportion value sequence correspond to congestion degree values in the congestion degree sequence one to one;
the processing module is configured to determine the road condition state of the road segment acquired by the acquiring module according to the free flow speed acquired by the acquiring module and the actual average speed calculated by the calculating module, and includes: calculating a quotient of the free flow speed and the actual average speed as a first proportional value;
when the first proportion value is equal to a second proportion value in the proportion value sequence, determining that the road condition of the road segment is the road condition represented by the congestion degree value corresponding to the second proportion value in the congestion degree sequence;
When the first proportional value is not equal to any proportional value in the proportional value sequence, if a proportional value which is greater than or equal to the first proportional value exists in the proportional value sequence, calculating a congestion degree value representing the road condition of the road section according to a third proportional value in the proportional value sequence, a maximum fourth proportional value in the proportional value sequence, a first congestion degree value corresponding to the third proportional value in the congestion degree sequence and a second congestion degree value corresponding to the fourth proportional value in the congestion degree sequence;
The third proportion value is the minimum proportion value in the proportion values which are greater than or equal to the first proportion value in the proportion value sequence.
7. the apparatus of claim 6, wherein the processing module is further configured to:
and when the first proportional value is not equal to any proportional value in the proportional value sequence, if the proportional value which is greater than or equal to the first proportional value does not exist in the proportional value sequence, determining that the road condition of the road section cannot be represented by the road condition corresponding to the congestion degree sequence value in the congestion degree sequence.
8. The apparatus according to claim 6, wherein the processing module calculates the congestion level value representing the road condition of the road segment acquired by the acquiring module according to a third proportional value in the proportional value sequence, a maximum fourth proportional value in the proportional value sequence smaller than the third proportional value, a first congestion level value corresponding to the third proportional value in the congestion level sequence, and a second congestion level value corresponding to the fourth proportional value in the congestion level sequence, by using a specific formula:
j=((J[P]-J[P-1])/(D[P]-D[P-1]))*(d-D[P])+J[P];
J is a congestion degree value representing the road condition state of the road section, J is the congestion degree sequence, D is the proportional value sequence, J [ P ] is the first congestion degree value, J [ P-1] is the second congestion degree value, D [ P ] is the third proportional value, D [ P-1] is the fourth proportional value, D is the first proportional value, P is a position serial number of J [ P ] in J and a position serial number of D [ P ] in D, and P-1 is a position serial number of J [ P-1] in J and a position serial number of D [ P-1] in D.
9. The apparatus according to claim 6, wherein the processing module, before determining the road condition status of the road segment acquired by the acquiring module according to the free flow speed acquired by the acquiring module and the actual average speed calculated by the calculating module, is further configured to:
When the free flow speed is larger than a first preset value, modifying the free flow speed to the first preset value;
And when the actual average speed is less than zero, determining that the road condition state of the road section acquired by the acquisition module cannot be judged according to the free flow speed and the actual average speed.
10. the apparatus of claim 6, wherein the processing module is further configured to:
When the actual average speed calculated by the calculation module is equal to zero, determining that the road condition state of the road segment acquired by the acquisition module is the road condition state represented by the maximum congestion degree value in the congestion degree sequence;
When the actual average speed calculated by the calculation module is 1, determining that the road condition of the road segment acquired by the acquisition module is the road condition represented by the minimum congestion degree value in the congestion degree sequence;
And when the actual average speed calculated by the calculating module is greater than or equal to the free flow speed acquired by the acquiring module or the free flow speed acquired by the acquiring module is less than or equal to zero, enabling the first proportional value to be a second preset value.
CN201711060194.4A 2017-11-01 2017-11-01 Road condition information generation method and device Active CN107657814B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711060194.4A CN107657814B (en) 2017-11-01 2017-11-01 Road condition information generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711060194.4A CN107657814B (en) 2017-11-01 2017-11-01 Road condition information generation method and device

Publications (2)

Publication Number Publication Date
CN107657814A CN107657814A (en) 2018-02-02
CN107657814B true CN107657814B (en) 2019-12-06

Family

ID=61096558

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711060194.4A Active CN107657814B (en) 2017-11-01 2017-11-01 Road condition information generation method and device

Country Status (1)

Country Link
CN (1) CN107657814B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109147330B (en) * 2018-09-19 2020-12-08 青岛海信网络科技股份有限公司 Congestion identification method and device
CN110047277B (en) * 2019-03-28 2021-05-18 华中科技大学 Urban road traffic jam ranking method and system based on signaling data

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103366557A (en) * 2013-07-25 2013-10-23 北京交通发展研究中心 Traffic congestion evaluation method based on congestion index
CN104021672A (en) * 2014-06-09 2014-09-03 北京世纪高通科技有限公司 Method and device for obtaining traffic jam index
CN105761520A (en) * 2014-12-17 2016-07-13 上海宝康电子控制工程有限公司 System for realizing adaptive induction of traffic route
CN105788289A (en) * 2014-12-17 2016-07-20 上海宝康电子控制工程有限公司 Method and system for realizing traffic condition assessment and analysis based on computer software system
CN107134141A (en) * 2017-06-30 2017-09-05 北京航空航天大学 Consider the expression of large-scale road network space-time traffic behavior and the analysis method of spatial structure characteristic

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9424748B2 (en) * 2014-09-09 2016-08-23 Here Global B.V. Reporting traffic conditions on road segments containing a bottleneck

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103366557A (en) * 2013-07-25 2013-10-23 北京交通发展研究中心 Traffic congestion evaluation method based on congestion index
CN104021672A (en) * 2014-06-09 2014-09-03 北京世纪高通科技有限公司 Method and device for obtaining traffic jam index
CN105761520A (en) * 2014-12-17 2016-07-13 上海宝康电子控制工程有限公司 System for realizing adaptive induction of traffic route
CN105788289A (en) * 2014-12-17 2016-07-20 上海宝康电子控制工程有限公司 Method and system for realizing traffic condition assessment and analysis based on computer software system
CN107134141A (en) * 2017-06-30 2017-09-05 北京航空航天大学 Consider the expression of large-scale road network space-time traffic behavior and the analysis method of spatial structure characteristic

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
上海市道路交通状态指数简介及应用案例;张扬 等;《交通与运输》;20160331;第16-18页 *

Also Published As

Publication number Publication date
CN107657814A (en) 2018-02-02

Similar Documents

Publication Publication Date Title
US11721205B2 (en) Method, apparatus, and computer program product for processing sensor data
US11067404B2 (en) Vehicle usage-based pricing alerts
EP2157406B1 (en) Driving evaluation system and driving evaluation method
CN107000751B (en) Apparatus and method for providing recommended driving speed
US9053593B2 (en) Vehicle data analysis method and vehicle data analysis system
EP2354762B1 (en) Navigation system and method for determining parameters in a navigation system
CN101726306B (en) Safe driving evaluation system
US11335191B2 (en) Intelligent telematics system for defining road networks
JP2001227978A (en) Method and system for supplying electronic horizon to advanced driver support system architecture
CN103542858A (en) Method of estimating an ability of a vehicle to reach a target road segment, method of generating a database, and navigation system
US10943474B2 (en) Method, apparatus, and computer program product for detecting changes in road traffic condition
US20200320866A1 (en) Method for defining road networks
JP2001229494A (en) Map data architecture platform for high-level driver assistance system
CN103842772A (en) Navigation method and navigation device
CN112734242A (en) Method and device for analyzing availability of vehicle running track data, storage medium and terminal
CN107657814B (en) Road condition information generation method and device
CN105539444B (en) For showing the method and system of the expression of the driving mode of vehicle
US20220114628A1 (en) Vehicle fuel efficiency system
KR101574137B1 (en) Apparatus for electric vehicle specific navigation adopting battery consumption weight algorithm according to the slope change of road and the method thereof
JP2013178661A (en) Evaluation value calculating device, computer program, and evaluation value calculating method
EP3922947A2 (en) Traffic analytics system for defining road networks
JP7172622B2 (en) Servers, systems, methods, and computer programs
CN113570870A (en) Distributed intersection average delay estimation method, device, equipment and storage medium
CN107481520B (en) Road transport vehicle overrun information identification method based on floating car technology
CN113903169B (en) Traffic optimization method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant