TWI893616B - Road traffic condition prediction method, system, device, and storage medium - Google Patents
Road traffic condition prediction method, system, device, and storage mediumInfo
- Publication number
- TWI893616B TWI893616B TW113101782A TW113101782A TWI893616B TW I893616 B TWI893616 B TW I893616B TW 113101782 A TW113101782 A TW 113101782A TW 113101782 A TW113101782 A TW 113101782A TW I893616 B TWI893616 B TW I893616B
- Authority
- TW
- Taiwan
- Prior art keywords
- vehicle
- predicted
- data
- road
- route
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/01—Detecting movement of traffic to be counted or controlled
- G08G1/0104—Measuring and analyzing of parameters relative to traffic conditions
- G08G1/0125—Traffic data processing
- G08G1/0129—Traffic data processing for creating historical data or processing based on historical data
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/01—Detecting movement of traffic to be counted or controlled
- G08G1/0104—Measuring and analyzing of parameters relative to traffic conditions
- G08G1/0125—Traffic data processing
- G08G1/0133—Traffic data processing for classifying traffic situation
Landscapes
- Chemical & Material Sciences (AREA)
- Analytical Chemistry (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Traffic Control Systems (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
本發明涉及資料處理技術領域,特別是涉及一種用位於複數個道路區域的複數個車輛的道路交通狀態預測方法、系統、設備及儲存媒體。 The present invention relates to the field of data processing technology, and in particular to a method, system, device, and storage medium for predicting road traffic conditions using a plurality of vehicles located in a plurality of road areas.
目前都市中機動車輛數量不斷增長,使交通壓力急劇增加,部分地區經常發生塞車。特別是上下班高峰時間,很多地段會出現嚴重的塞車。塞車容易引起路怒症、交通違法、插隊超車等情況,導致增加超過10%的交通事故,並且帶來了很大的塞車成本。塞車成本主要包括時間成本和油耗成本,停車3分鐘的油耗相當於行駛1公里。 The growing number of motor vehicles in cities has dramatically increased traffic pressure, leading to frequent traffic jams in some areas. This is particularly true during rush hour, when many areas experience severe congestion. Traffic jams can easily lead to road rage, traffic violations, and overtaking, resulting in an increase of over 10% in traffic accidents and significant traffic congestion costs. The costs of traffic congestion primarily include time and fuel consumption. A three-minute stoppage uses as much fuel as one kilometer of driving.
即時的交通路況無法高效率地引導出行,比如上班路上的一個中繼點,出發時不塞車,等到達時可能就會發生塞車。現有交通壅塞預測有很多方法,如模型化方法、機器學習法等,實際應用中存在很多缺點。有的只能在小範圍內,短時程交通流量15分鐘內進行預測,並且預測準確率不高。 Real-time traffic conditions cannot efficiently guide travel. For example, a transit point on the way to work may not be congested when leaving, but may be congested by the time you arrive. Existing methods for predicting traffic congestion, such as modeling and machine learning, have many shortcomings in practical application. Some can only predict traffic flow within a small area, within a short period of 15 minutes, and the prediction accuracy is low.
需要說明的是,上述背景技術部分公開的資訊僅用於加強對本發明的背景的理解,因此可以包括不構成對本領域普通技術人員已知的現有技術的資訊。 It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present invention and may include information that does not constitute prior art known to ordinary technicians in this field.
針對現有技術中的問題,本發明的目的在於提供一種道路交通狀態預測方法、系統、設備及儲存媒體,準確預測未來一段時間內的道路交通狀態。 To address the problems in the existing technology, the present invention aims to provide a road traffic status prediction method, system, device, and storage medium to accurately predict road traffic conditions within a certain period of time in the future.
本發明的道路交通狀態預測方法中,首先收集用於預測的相關資料,確定每個車輛的當前所處道路區域,基於車輛的狀態資料和車輛對應道路區域的狀態資料來預測車輛的預測出行資料,並根據道路區域的狀態資料、車輛的狀態資料以及通過前一步驟獲得的預測出行資料來預測每個道路區域的交通狀態,實現更加準確地預測未來一段時間內的道路交通狀態。道路交通狀態預測方法可以部署於雲端伺服器中,可以與車輛的中控系統、道路一側的路側單元、智慧紅綠燈等進行通信,並通過道路交通狀態預測方法預測到道路交通狀態後,及時向車輛使用者或其他設備發送壅塞預警資訊,方便使用者更合理選擇出行路線,也有利於減少道路壅塞現象。 In the road traffic state prediction method of the present invention, relevant data for prediction is first collected to determine the current road area of each vehicle. The vehicle's predicted travel data is then predicted based on the vehicle's state data and the state data of the road area corresponding to the vehicle. The traffic state of each road area is then predicted based on the road area state data, the vehicle state data, and the predicted travel data obtained in the previous step, thereby achieving a more accurate prediction of road traffic conditions in the future. The road traffic status prediction method can be deployed on a cloud server and communicate with the vehicle's central control system, roadside units, smart traffic lights, and other systems. After predicting the road traffic status, the method promptly sends congestion warning information to vehicle users or other devices, enabling users to choose more appropriate travel routes and reducing road congestion.
為使能更進一步瞭解本發明的特徵及技術內容,請參閱以下有關本發明的詳細說明與圖式,然而所提供的圖式僅用於提供參考與說明,並非用來對本發明加以限制。 To further understand the features and technical contents of the present invention, please refer to the following detailed description and drawings of the present invention. However, the drawings provided are for reference and illustration only and are not intended to limit the present invention.
S100、S200、S300、S400、S110~S190、S190’、S510~S580:步驟 S100, S200, S300, S400, S110~S190, S190’, S510~S580: Steps
M100:資料收集模組 M100: Data Collection Module
M200:道路判斷模組 M200: Road detection module
M300:出行預測模組 M300: Travel Prediction Module
M400:狀態預測模組 M400: Status Prediction Module
600:電子設備 600: Electronic equipment
610:處理單元 610: Processing unit
620:儲存單元 620: Storage Unit
6201:RAM 6201: RAM
6202:快取記憶體 6202: Cache memory
6203:ROM 6203:ROM
6204:程式/實用工具 6204: Programs/Utilities
6205:程式模組 6205: Programming Module
630:匯流排 630: Bus
640:顯示單元 640: Display unit
650 I/O:界面 650 I/O: Interface
660:網路介面卡 660: Network interface card
700:外部設備 700:External device
圖1為本發明第一實施例的道路交通狀態預測方法的流程圖。 Figure 1 is a flow chart of the road traffic status prediction method according to the first embodiment of the present invention.
圖2是本發明一實施例的確定車輛的當前行駛路線的流程圖。 Figure 2 is a flowchart of determining the current driving route of a vehicle according to an embodiment of the present invention.
圖3是本發明一實施例的選擇推薦行駛路線的流程圖。 Figure 3 is a flow chart of selecting a recommended driving route according to an embodiment of the present invention.
圖4是本發明一實施例的道路交通狀態預測系統的結構示意圖。 Figure 4 is a schematic diagram of the structure of a road traffic status prediction system according to an embodiment of the present invention.
圖5是本發明一實施例的道路交通狀態預測設備的結構示意圖。 Figure 5 is a schematic diagram of the structure of a road traffic status prediction device according to an embodiment of the present invention.
以下是通過特定的具體實施例來說明本發明所公開有關“道路交通狀態預測方法、系統、設備及儲存媒體”的實施方式,本領域技術人員可由本說明書所公開的內容瞭解本發明的優點與效果。本發明可通過其他不同的具體實施例加以施行或應用,本說明書中的各項細節也可基於不同觀點與應用,在不背離本發明的構思下進行各種修改與變更。另外,本發明的附圖僅為簡單示意說明,並非依實際尺寸的描繪,事先聲明。以下的實施方式將進一步詳細說明本發明的相關技術內容,但所公開的內容並非用以限制本發明的保護範圍。另外,本文中所使用的術語“或”,應視實際情況可能包括相關聯的列出項目中的任一個或者多個的組合。 The following is an explanation of the implementation of the "road traffic status prediction method, system, device and storage medium" disclosed in the present invention through specific concrete embodiments. Technical personnel in this field can understand the advantages and effects of the present invention from the contents disclosed in this specification. The present invention can be implemented or applied through other different specific embodiments. The details in this specification can also be modified and changed based on different viewpoints and applications without departing from the concept of the present invention. In addition, the drawings of the present invention are only simple schematic illustrations and are not depicted in actual size. Please note in advance. The following implementation will further explain the relevant technical content of the present invention in detail, but the disclosed content is not intended to limit the scope of protection of the present invention. In addition, the term "or" used in this document may include any one or more combinations of the related listed items as the case may be.
[第一實施例] [First embodiment]
如圖1所示,本發明實施例提供一種道路交通狀態預測方法,用於預測未來一段時間內的道路交通狀態,所述方法包括如下步驟: As shown in FIG1 , an embodiment of the present invention provides a road traffic status prediction method for predicting road traffic status within a period of time in the future. The method includes the following steps:
S100:在每個預測時間點,收集每個車輛的狀態資料和每個道路區域的狀態資料。在該實施例中,所述車輛的狀態資料包括車輛的歷史路線資料和車輛的即時行駛資料,所述車輛的歷史路線資料至少包括該車輛的每條歷史路線的出發時間、起點、終點、經過道路、路口、車速等。所述歷史路線資料從歷史資料庫中取得。 S100: At each predicted time point, collect status data for each vehicle and each road area. In this embodiment, the vehicle status data includes historical route data and real-time driving data. The historical route data includes at least the departure time, starting point, end point, roads passed, intersections, and vehicle speed for each historical route of the vehicle. The historical route data is obtained from a historical database.
在該實施例中,所述車輛的即時行駛資料至少包括當前預測時間點的車輛的位置、速度和當前行駛路線;所述車輛的即時行駛資料可以通過從車輛獲取車輛上報的資料和/或從路側單元獲取監測資料;此處一個道路區域指的是一個道路的某個路段或者某個路口,此處收集每個道路區域的狀態資料,包括收集在一個劃定的預測範圍內的每條道路的路段和路口的狀態資料。 In this embodiment, the real-time vehicle driving data includes at least the vehicle's position, speed, and current driving route at the current prediction time. The real-time vehicle driving data can be obtained by obtaining vehicle-reported data and/or monitoring data from roadside units. A road area here refers to a road section or intersection. The state data collected for each road area includes the state data collected for each road section and intersection within a defined prediction range.
在該實施例中,所述道路區域的狀態資料至少包括道路區域的 靜態資料和道路區域的即時狀態資料,道路區域的靜態資料包括該道路區域所對應的道路的編號、該道路區域的編號、道路區域通行方向編號、道路長度、道路區域長度、道路區域限速等。所述道路區域的即時狀態資料包括當前預測時間點的車流量和車速、當前預測時間點的車輛分佈資料、當前預測時間點的道路車速、當前是否塞車、路口每個方向即時綠燈秒數、路口每個方向車輛排隊佇列等資料。其中,路口每個方向車輛排隊佇列可以通過每個車輛上報的位置資料來計算得到車輛排隊佇列,再根據綠燈和道路區域限速來計算出佇列的變化。 In this embodiment, the road area status data includes at least static data and real-time status data. The static data includes the road number corresponding to the road area, the road area number, the road area traffic direction number, the road length, the road area length, and the road area speed limit. The real-time status data includes information such as the traffic volume and speed at the current forecast time, the vehicle distribution data at the current forecast time, the road speed at the current forecast time, whether there is a traffic jam, the real-time green light duration in each direction at the intersection, and the vehicle queues in each direction at the intersection. The queues for vehicles in each direction at the intersection can be calculated using the location data reported by each vehicle. Changes in the queues are then calculated based on green lights and the speed limit in the road area.
S200:根據所述每個車輛的狀態資料確定每個車輛當前所處道路區域。具體地,根據當前預測時間點的車輛位置以及每個道路區域的座標範圍來確定每個車輛當前所處道路區域。 S200: Determine the road area currently located by each vehicle based on the status data of each vehicle. Specifically, the road area currently located by each vehicle is determined based on the vehicle position at the current predicted time point and the coordinate range of each road area.
S300:將所述每個車輛的狀態資料和當前所處道路區域的狀態資料輸入出行預測模型,取得所述出行預測模型預測得到的每個車輛的預測出行資料。在該實施例中,所述每個車輛的預測出行資料至少包括每個車輛的預測出行路線、出行時間和未壅塞時車輛行駛速度。其中,未壅塞時車輛行駛速度即為該車輛在正常行駛狀態下的習慣車速。 S300: Inputting the state data of each vehicle and the state data of the road area it is currently in into a travel prediction model to obtain predicted travel data for each vehicle as predicted by the travel prediction model. In this embodiment, the predicted travel data for each vehicle includes at least the predicted travel route, travel time, and uncongested vehicle speed. The uncongested vehicle speed is the vehicle's usual speed under normal driving conditions.
S400:將所述每個道路區域的狀態資料、所述每個車輛的狀態資料和預測出行資料輸入狀態預測模型,取得所述狀態預測模型輸出的下一預測時間點的每個道路區域的預測交通狀態資料。 S400: Input the state data of each road area, the state data of each vehicle, and the predicted travel data into a state prediction model, and obtain the predicted traffic state data for each road area at the next predicted time point output by the state prediction model.
在該實施例中,所述預測交通狀態資料包括下一預測時間點內每個道路區域分佈的車輛資訊、通行時間和預測車速。其中,下一預測時間點內每個道路區域分佈的車輛資訊即為預測得到的下一預測時間點內每個道路區域分佈的車輛的編號,通行時間即為預測通過該道路區域需要的時間,預測車速即為預測車輛在通過該道路區域時的車速等。 In this embodiment, the predicted traffic status data includes vehicle information, travel time, and predicted vehicle speed for each road zone at the next predicted time point. The vehicle information for each road zone at the next predicted time point is the predicted vehicle number for each road zone at the next predicted time point, the travel time is the predicted time required to pass through the road zone, and the predicted vehicle speed is the predicted speed of the vehicle when passing through the road zone.
本發明的道路交通狀態預測方法中,首先通過步驟S100收集用於預測的相關資料,通過步驟S200確定每個車輛的當前所處道路區域,通過步驟S300基於車輛的狀態資料和車輛對應道路區域的狀態資料來預測車輛的預測出行資料,並通過步驟S400來根據道路區域的狀態資料、車輛的狀態資料以及通過步驟S300獲得的預測出行資料來預測每個道路區域的交通狀態,實現更加準確地預測未來一段時間內的道路交通狀態。該道路交通狀態預測方法可以部署於雲端伺服器中,可以與車輛的中控系統、道路一側的路側單元、智慧紅綠燈等進行通信,並通過該道路交通狀態預測方法預測到道路交通狀態後,及時向車輛使用者或其他設備發送壅塞預警資訊,方便使用者更合理選擇出行路線,也有利於減少道路壅塞現象。 In the road traffic status prediction method of the present invention, first, relevant data for prediction is collected through step S100, and the current road area of each vehicle is determined through step S200. The predicted travel data of the vehicle is predicted based on the vehicle status data and the status data of the road area corresponding to the vehicle through step S300. Finally, the traffic status of each road area is predicted through step S400 based on the road area status data, the vehicle status data, and the predicted travel data obtained through step S300, thereby achieving a more accurate prediction of the road traffic status in the future period. This road traffic status prediction method can be deployed on a cloud server and communicate with the vehicle's central control system, roadside units, smart traffic lights, and other systems. Once the traffic status is predicted, this method promptly sends congestion warning information to vehicle users or other devices, enabling users to choose more appropriate routes and reducing road congestion.
在該實施例中,可以將預測時間範圍劃分為多個預測時間週期,每個預測時間週期包括多個間隔設置的預測時間點。每隔一個預設預測間隔時間,預測未來一個預測時間週期的道路交通狀態,其中,預測未來一個預測時間週期內每個預測時間點的道路交通狀態。例如,設置預設間隔時間為1分鐘,預測時間週期為1小時,在1小時內每隔3s設置一個預測時間點。在實際應用中,每隔1分鐘啟動一次道路交通狀態預測流程,首先預測未來3s的道路交通狀態,然後預測未來6s、9s、12s的道路交通狀態,直到預測完未來1小時的道路交通狀態,則結束當前預測時間週期的預測。 In this embodiment, the prediction time range can be divided into multiple prediction time periods, each of which includes multiple prediction time points set at intervals. At every preset prediction interval, the road traffic conditions for the next prediction time period are predicted, wherein the road traffic conditions at each prediction time point within the next prediction time period are predicted. For example, if the preset interval is set to 1 minute and the prediction time period is 1 hour, a prediction time point is set every 3 seconds within the 1 hour. In actual applications, the traffic status prediction process is initiated every minute, first predicting traffic conditions for the next 3 seconds, then 6 seconds, 9 seconds, and 12 seconds, until the traffic conditions for the next hour are predicted, at which point the current prediction period ends.
在該實施例中,所述步驟S400:獲取所述狀態預測模型輸出的下一預測時間點的每個道路區域的預測交通狀態資料之後,還包括如下步驟: In this embodiment, after obtaining the predicted traffic state data for each road area at the next predicted time point output by the state prediction model in step S400, the following steps are also included:
根據所述每個道路區域的預測交通狀態資料確定壅塞區域和壅塞時間,將壅塞預警資訊發送至對應的車輛。此處壅塞區域例如為根據預測交通狀態資料判斷符合嚴重壅塞條件的道路區域,壅塞時間即為預測發生壅塞的持續時間。此處對應的車輛即為當前處於壅塞區域或者馬上要行駛到壅 塞區域的車輛,通過及時發送壅塞預警資訊,可以提示車輛儘快切換路線,減少壅塞發生。 Based on the predicted traffic status data for each road area, congestion areas and congestion durations are determined, and congestion warning information is sent to the corresponding vehicles. Here, the congestion area is, for example, a road area determined to meet severe congestion conditions based on the predicted traffic status data, and the congestion duration is the predicted duration of the congestion. The corresponding vehicles are those currently in the congested area or about to enter the congested area. By sending timely congestion warning information, vehicles can be prompted to change routes as quickly as possible, thereby reducing congestion.
通過採用本發明的道路交通狀態預測方法,採用出行預測模型和狀態預測模型兩個機器學習模型,如卷積神經網路模型等,自動學習和預測,其中,出行預測模型可以預測出各輛車的當前行駛路線,狀態預測模型可以預測每條道路、路口的車輛分佈和當前通行能力,預測每條路的未來壅塞狀況。具體地,可以準確地預測未來一個預測時間週期所有車輛分佈情況,準確地預測未來一個預測時間週期內所有道路和路口的車輛排隊情況,準確地預測未來一個預測時間週期內某條道路或某個路口是否會塞車,提前發佈預測的塞車時間和塞車地點給用戶,提醒用戶選擇不塞車的路線,從而優化用戶出行路線,也減少了使用者集中壅塞的情況。 By adopting the road traffic state prediction method of the present invention, two machine learning models, a travel prediction model and a state prediction model, such as a convolutional neural network model, are used for automatic learning and prediction. Among them, the travel prediction model can predict the current driving route of each vehicle, and the state prediction model can predict the vehicle distribution and current traffic capacity of each road and intersection, and predict the future congestion condition of each road. Specifically, it can accurately predict the distribution of all vehicles within a predicted time period, accurately predict the vehicle queues on all roads and intersections within a predicted time period, and accurately predict whether a specific road or intersection will be congested within a predicted time period. The predicted congestion times and locations are then released to users in advance, prompting them to choose less congested routes, thereby optimizing user travel routes and reducing congestion.
如圖2所示,所述步驟S100中,收集每個車輛的狀態資料時,收集每個車輛的即時行駛資料,包括如下步驟: As shown in Figure 2, in step S100, when collecting the status data of each vehicle, the real-time driving data of each vehicle is collected, including the following steps:
S110:在一個預測時間週期的第一個預測時間點,收集車輛在當前預測時間點的位置、速度和導航資訊。此處收集位置、速度和導航資訊可以是通過與車輛的中控系統通信來獲取。 S110: At the first prediction time point of a prediction time cycle, collect the vehicle's position, speed, and navigation information at the current prediction time point. The position, speed, and navigation information collected here can be obtained through communication with the vehicle's central control system.
S120:判斷車輛是否設定有導航路線。如果是,則S130:將設定的導航路線設為所述當前行駛路線。否則,S140:判斷車輛是否有與當前預測時間點的位置相匹配的歷史路線。如果車輛有歷史路線,則S150:根據車輛的歷史路線資料查詢對應於當前預測時間點的位置的歷史路線,作為當前行駛路線。如果車輛沒有歷史路線,則S160:根據車輛當前位置確定車輛當前所處道路區域,保存為當前行駛路線。 S120: Determine whether the vehicle has a navigation route set. If so, S130: Set the set navigation route as the current driving route. Otherwise, S140: Determine whether the vehicle has a historical route that matches the vehicle's position at the current predicted time. If the vehicle has a historical route, S150: Query the vehicle's historical route data for the historical route corresponding to the vehicle's position at the current predicted time and use it as the current driving route. If the vehicle does not have a historical route, S160: Determine the vehicle's current road area based on the vehicle's current position and save it as the current driving route.
S170:從第二個預測時間點起,獲取車輛在當前預測時間點的位置。S180:根據車輛在當前預測時間點的位置是否與所述當前行駛路線相 匹配來判斷是否需要修正所述當前行駛路線。如果需要修正,則S190:根據車輛在當前預測時間點的位置查詢對應於當前預測時間點的位置的歷史路線,作為修正後的當前行駛路線。如果不須修正,則S190’:採用前一預測時間點確定的行駛路線作為當前行駛路線。 S170: From the second predicted time point onward, the vehicle's position at the current predicted time point is obtained. S180: Based on whether the vehicle's position at the current predicted time point matches the current driving route, a determination is made as to whether the current driving route needs to be revised. If revision is required, S190: Based on the vehicle's position at the current predicted time point, a historical route corresponding to the current predicted time point is retrieved and used as the revised current driving route. If revision is not required, S190': the route determined at the previous predicted time point is adopted as the current driving route.
因此,該實施例中,在確定車輛的當前行駛路線時,優先根據使用者設定的導航路線設定當前行駛路線,在用戶沒有設定導航路線時,則根據車輛的歷史路線去匹配車輛的當前位置,如果能夠匹配到,則將匹配的歷史路線作為當前行駛路線,如果匹配不到,則將車輛當前所處的道路區域保存為當前行駛路線,並且後續的預測時間點中,根據車輛的即時位置來不斷修正車輛的當前行駛路線,以保證車輛的當前行駛路線與實際行駛路線一致。 Therefore, in this embodiment, when determining the vehicle's current driving route, the current route is prioritized based on the user-set navigation route. If the user has not set a navigation route, the vehicle's historical routes are used to match the vehicle's current location. If a match is found, the matching historical route is used as the current driving route. If a match is not found, the road area currently located by the vehicle is saved as the current driving route. At subsequent prediction time points, the vehicle's current driving route is continuously adjusted based on the vehicle's real-time location to ensure that the vehicle's current driving route is consistent with the actual driving route.
在該實施例中,在一個預測時間週期中,在第一個預測時間點,所述車輛的狀態資料和每個道路區域的狀態資料都是即時收集的即時資料。除第一個預測時間點外,在後續的預測時間點,所述車輛的狀態資料和每個道路區域的狀態資料根據前一預測時間點得到的預測交通狀態資料更新。因此,不僅出行預測模型的輸出資料可以輸入並作用於狀態預測模型,狀態預測模型在每個預測時間點的輸出資料也可以反過來作用於出行預測模型中,使得出行預測模型和狀態預測模型形成一個回饋閉環,預測更加準確。 In this embodiment, in a prediction time period, at the first prediction time point, the status data of the vehicle and the status data of each road area are real-time data collected in real time. Except for the first prediction time point, at subsequent prediction time points, the status data of the vehicle and the status data of each road area are updated based on the predicted traffic status data obtained at the previous prediction time point. Therefore, not only the output data of the travel prediction model can be input and applied to the state prediction model, but the output data of the state prediction model at each prediction time point can also be used in the travel prediction model, making the travel prediction model and the state prediction model form a feedback closed loop, making the prediction more accurate.
在該實施例中,所述步驟S100中,收集每個車輛的狀態資料,包括如下步驟: In this embodiment, step S100 collects status data for each vehicle, including the following steps:
收集當前在道路中行駛的每個車輛的狀態資料。獲取未出行車輛的歷史行駛資料,根據所述車輛的歷史行駛資料預測車輛的出行時間。此處根據所述車輛的歷史行駛資料預測車輛的出行時間可以是採用上述的出行預測模型實現的出行規律預測,獲取到未出行車輛的預測出行路線、預測出 行時間、預測出行速度等,或者可以採用另一個單獨的出行時間預測模型,來預測車輛的出行時間。 Collect status data for each vehicle currently traveling on the road. Obtain historical driving data for vehicles that have not yet traveled, and predict the vehicle's travel time based on this historical driving data. Predicting the vehicle's travel time based on this historical driving data can be achieved by using the aforementioned travel prediction model to implement travel pattern prediction, obtaining the predicted travel route, predicted travel time, predicted travel speed, etc. for the vehicles that have not yet traveled. Alternatively, a separate travel time prediction model can be used to predict the vehicle's travel time.
如果根據所述未出行車輛的歷史行駛資料預測車輛在當前預測時間週期會將出發,則根據所述未出行車輛的預測出行時間和歷史行駛資料確定所述未出行車輛的狀態資料。 If the vehicle is predicted to depart within the current forecast time period based on the historical driving data of the vehicle that has not yet traveled, the status data of the vehicle that has not yet traveled is determined based on the predicted travel time and the historical driving data of the vehicle that has not yet traveled.
因此,該實施例中,在預測道路交通狀態時,不僅考慮了當前道路中行駛的每個車輛,還考慮了目前沒有出行但是根據其歷史行駛資料,預測其會在當前的預測時間週期內出行的車輛,將這些車輛也加入到模擬計算中,可以更全面準確地預測當前預測時間週期內道路的壅塞情況。 Therefore, in this embodiment, when predicting road traffic conditions, not only is every vehicle currently traveling on the road considered, but also vehicles that are not currently traveling but are predicted to travel within the current forecast period based on their historical driving data. Including these vehicles in the simulation calculations allows for a more comprehensive and accurate prediction of road congestion within the current forecast period.
在該實施例中,所述預測交通狀態資料包括下一預測時間點內每個道路區域分佈的車輛資訊、通行時間和預測車速。在通過狀態預測模型獲取預測交通狀態資料時,可以採用如下任一種實現方式:(1)構建和訓練所述狀態預測模型時,將所述狀態預測模型的輸出設定為包括每個道路區域分佈的車輛資訊、通行時間和預測車速,直接從狀態預測模型的輸出資料中可以得到所述預測交通狀態資料,在判斷一個道路區域是否發生壅塞時,當一個道路區域的通行時間超過預設通行時間閾值和/或預測車速小於預設通行速度閾值時,認為該道路區域符合嚴重壅塞條件;(2)所述狀態預測模型的輸出為每個道路區域分佈的車輛資訊,根據每個道路區域分佈的車輛資訊來判斷每個道路區域是否發生壅塞,預測車速分為在道路區域發生壅塞和未發生壅塞時兩種情況,在道路區域未發生壅塞時,預測車速為車輛正常車速,在道路區域發生壅塞時,則可以根據壅塞的程度來獲得對應的預測車速,根據每個道路區域分佈的車輛資訊以及紅綠燈狀態計算每個道路區域的排隊時間和通過時間。 In this embodiment, the predicted traffic state data includes the vehicle information, travel time and predicted speed distributed in each road area at the next predicted time point. When obtaining the predicted traffic state data through the state prediction model, any of the following implementation methods can be adopted: (1) When constructing and training the state prediction model, the output of the state prediction model is set to include the vehicle information, travel time and predicted speed distributed in each road area. The predicted traffic state data can be obtained directly from the output data of the state prediction model. When judging whether a road area is congested, when the travel time of a road area exceeds the preset travel time threshold and/or the predicted speed is less than the preset travel speed threshold, the road area is considered to meet the congestion criteria. Severe congestion conditions; (2) The output of the state prediction model is the vehicle information distributed in each road area. Based on the vehicle information distributed in each road area, it is judged whether each road area is congested. The predicted vehicle speed is divided into two situations: when the road area is congested and when it is not congested. When the road area is not congested, the predicted vehicle speed is the normal vehicle speed. When the road area is congested, the corresponding predicted vehicle speed can be obtained according to the degree of congestion. The queuing time and passing time of each road area are calculated based on the vehicle information distributed in each road area and the traffic light status.
在該實施例中,通過對每個道路的道路交通狀態進行準確預 測,還可以更好地引導用戶的出行路線規劃。如圖3所示,在該實施例中,所述道路交通狀態預測方法還包括如下步驟: In this embodiment, by accurately predicting the traffic conditions of each road, users can be better guided in route planning. As shown in Figure 3, in this embodiment, the road traffic condition prediction method further includes the following steps:
S510:接收到用戶的路線規劃請求。例如在車輛啟動時,用戶通過車輛的中控平臺向雲端伺服器發送路線規劃請求,路線規劃請求中有起始點、終止點、車輛當前位置和車輛正常車速。 S510: Receive a route planning request from the user. For example, when the vehicle is started, the user sends a route planning request to the cloud server via the vehicle's central control platform. The route planning request includes the starting point, end point, current vehicle location, and normal vehicle speed.
S520:獲取用戶綁定車輛的可選行駛路線。此處可選行駛路線可以包括用戶設定的導航路線,還可以包括根據起始點和終止點確定的可選路線,還可以包括用戶的歷史路線等。 S520: Obtain the optional driving routes for the vehicle bound by the user. The optional driving routes may include navigation routes set by the user, optional routes determined based on the starting and ending points, and the user's historical routes.
S530:根據所述可選行駛路線的道路區域的預測交通狀態資料,確定每個所述可選行駛路線的壅塞狀態。確定壅塞狀態後,可以將每條可選行駛路線的壅塞狀態發送給使用者,例如,預計路線1的路口11在30分鐘後會塞車10分鐘,路線2在未來30分鐘內全線暢通,由用戶自己選擇採用哪個合適的行駛路線,或者也可以自動決策選擇推薦行駛路線提供給用戶,即還包括如下步驟: S530: Determine the congestion status of each optional driving route based on the predicted traffic status data for the road area of the optional driving routes. After determining the congestion status, the congestion status of each optional driving route can be sent to the user. For example, it is predicted that intersection 11 of Route 1 will be congested for 10 minutes in 30 minutes, while Route 2 will be completely unblocked within the next 30 minutes. The user can then choose the appropriate driving route. Alternatively, a recommended driving route can be automatically selected and provided to the user. This process further includes the following steps:
S540:判斷是否所有可選行駛路線均符合嚴重壅塞條件。如果否,則S550:根據每個所述可選行駛路線的壅塞狀態確定推薦行駛路線,並推送至用戶。如果是,則S560:根據使用者綁定車輛的當前位置推薦預設距離範圍內的停車地點,並根據停車地點與使用者綁定車輛的當前位置規劃停車路線,並將所述停車路線發送至用戶。此處停車地點例如可以是周圍合適的停車場或者商場、餐廳等休閒中心,通過停車路線的引導建議用戶離開壅塞線路,從而避開壅塞時間。 S540: Determine whether all available driving routes meet the severe congestion condition. If not, S550: Determine a recommended driving route based on the congestion status of each available driving route and send it to the user. If so, S560: Recommend parking locations within a preset distance based on the current location of the user's tied vehicle. A parking route is planned based on the parking locations and the current location of the user's tied vehicle, and sent to the user. These parking locations can be, for example, nearby suitable parking lots or leisure centers such as shopping malls and restaurants. The parking route guidance advises the user to avoid congested routes, thereby avoiding congestion.
S570:持續監測原可選行駛路線的壅塞狀態。 S570: Continuously monitor the congestion status of the original optional driving route.
S580:如果存在不再符合嚴重壅塞條件的可選行駛路線,則推送該可選行駛路線至用戶。在用戶選擇了一個具體的行駛路線並行使過程 中,也可以持續監測在當前行駛路線中的壅塞狀態,並在出現嚴重壅塞時及時向使用者發送預警資訊,並且可以在當前行駛路線出現嚴重壅塞時,推薦其他未發生嚴重壅塞的可選行駛路線給用戶,引導用戶選擇更合適、更快捷的路線。 S580: If an alternative route no longer meets the severe congestion criteria exists, the alternative route is pushed to the user. After the user selects a specific route and begins driving, the system can continuously monitor the congestion status of the current route and promptly send warnings to the user when severe congestion occurs. Furthermore, if the current route becomes severely congested, the system can recommend alternative routes that are not severely congested, guiding the user to choose a more suitable and faster route.
如圖4所示,本發明實施例還提供一種道路交通狀態預測系統,用於實現所述的道路交通狀態預測方法,所述系統包括: As shown in FIG4 , an embodiment of the present invention further provides a road traffic status prediction system for implementing the road traffic status prediction method. The system includes:
資料收集模組M100,用於在每個預測時間點,收集每個車輛的狀態資料和每個道路區域的狀態資料。道路判斷模組M200,用於根據所述每個車輛的狀態資料確定每個車輛當前所處道路區域。出行預測模組M300,用於將所述每個車輛的狀態資料和當前所處道路區域的狀態資料輸入出行預測模型,取得所述出行預測模型預測得到的每個車輛的預測出行資料。狀態預測模組M400,用於將所述每個道路區域的狀態資料、所述每個車輛的狀態資料和預測出行資料輸入狀態預測模型,獲取所述狀態預測模型輸出的下一預測時間點的每個道路區域的預測交通狀態資料。 The data collection module M100 is used to collect the status data of each vehicle and the status data of each road area at each predicted time point. The road judgment module M200 is used to determine the road area where each vehicle is currently located based on the status data of each vehicle. The travel prediction module M300 is used to input the status data of each vehicle and the status data of the road area in which it is currently located into the travel prediction model, and obtain the predicted travel data of each vehicle predicted by the travel prediction model. The state prediction module M400 is used to input the status data of each road area, the status data of each vehicle and the predicted travel data into the state prediction model, and obtain the predicted traffic state data of each road area at the next predicted time point output by the state prediction model.
本發明的道路交通狀態預測系統中,每個模組的功能可以採用如上所述的道路交通狀態預測方法的具體實施方式來實現,此處不予贅述。 In the road traffic status prediction system of the present invention, the functions of each module can be implemented using the specific implementation of the road traffic status prediction method described above, which will not be detailed here.
本發明的道路交通狀態預測系統中,首先通過資料收集模組M100收集用於預測的相關資料,通過道路判斷模組M200確定每個車輛的當前所處道路區域,通過出行預測模組M300基於車輛的狀態資料和車輛對應道路區域的狀態資料來預測車輛的預測出行資料,並通過狀態預測模組M400來根據道路區域的狀態資料、車輛的狀態資料以及通過出行預測模組M300獲得的預測出行資料來預測每個道路區域的交通狀態,實現更加準確地預測未來一段時間內的道路交通狀態。該道路交通狀態預測系統可以部署於雲端伺服器中,可以與車輛的中控系統、道路一側的路側單元、智慧紅綠燈等進行通信, 並通過該道路交通狀態預測方法預測到道路交通狀態後,及時向車輛使用者或其他設備發送壅塞預警資訊,方便使用者更合理選擇出行路線,也有利於減少道路壅塞現象。 In the road traffic state prediction system of the present invention, the data collection module M100 first collects relevant data for prediction, the road judgment module M200 determines the current road area of each vehicle, and the travel prediction module M300 predicts the vehicle's predicted travel data based on the vehicle's state data and the state data of the vehicle's corresponding road area. The state prediction module M400 predicts the traffic state of each road area based on the road area state data, the vehicle's state data, and the predicted travel data obtained by the travel prediction module M300, thereby achieving a more accurate prediction of the road traffic state in the future period of time. This road traffic status prediction system can be deployed on a cloud server and communicate with the vehicle's central control system, roadside units, smart traffic lights, and other systems. After predicting traffic conditions using this road traffic status prediction method, it promptly sends congestion warning information to vehicle users or other devices, enabling users to choose more appropriate routes and reducing traffic congestion.
本發明實施例還提供一種道路交通狀態預測設備,包括處理器。記憶體,其中存儲有所述處理器的可執行指令。其中,所述處理器配置為經由執行所述可執行指令來執行所述的道路交通狀態預測方法的步驟。 An embodiment of the present invention also provides a road traffic status prediction device, comprising a processor and a memory storing executable instructions for the processor. The processor is configured to execute the steps of the road traffic status prediction method by executing the executable instructions.
如圖5所示,電子設備600以通用計算設備的形式表現。電子設備600的元件可以包括但不限於:至少一個處理單元610、至少一個儲存單元620、連接不同系統元件(包括儲存單元620和處理單元610)的匯流排630、顯示單元640等。 As shown in Figure 5, electronic device 600 is implemented as a general-purpose computing device. Components of electronic device 600 may include, but are not limited to, at least one processing unit 610, at least one storage unit 620, a bus 630 connecting various system components (including storage unit 620 and processing unit 610), and a display unit 640.
其中,所述儲存單元存儲有程式碼,所述程式碼可以被所述處理單元610執行,使得所述處理單元610執行本說明書上述道路交通狀態預測方法部分中描述的根據本發明各種示例性實施方式的步驟。例如,所述處理單元610可以執行如圖1中所示的步驟。 The storage unit stores program code that can be executed by the processing unit 610, causing the processing unit 610 to perform the steps of the various exemplary embodiments of the present invention described in the road traffic state prediction method section above. For example, the processing unit 610 may perform the steps shown in Figure 1.
所述儲存單元620可以包括揮發性記憶體形式的可讀媒體,例如隨機存取記憶體(RAM)6201和/或快取記憶體6202,還可以進一步包括唯讀記憶體(ROM)6203。 The storage unit 620 may include a readable medium in the form of a volatile memory, such as a random access memory (RAM) 6201 and/or a cache memory 6202, and may further include a read-only memory (ROM) 6203.
所述儲存單元620還可以包括具有一組(至少一個)程式模組6205的程式/實用工具6204,這樣的程式模組6205包括但不限於:作業系統、一個或者多個應用程式、其它程式模組以及程式資料,這些示例中的每一個或某種組合中可能包括網路環境的實現。 The storage unit 620 may also include a program/utility 6204 having a set (at least one) of program modules 6205. Such program modules 6205 include, but are not limited to, an operating system, one or more applications, other program modules, and program data. Each or some combination of these examples may include an implementation of a network environment.
匯流排630可以為表示幾類匯流排結構中的一種或多種,包括儲存單元匯流排或者儲存單元控制器、週邊匯流排、圖形加速埠、處理單元或者使用多種匯流排結構中的任意匯流排結構的局域匯流排。 Bus 630 can represent one or more of several types of bus structures, including a storage unit bus or storage unit controller, a peripheral bus, a graphics accelerator port, a processing unit, or a local bus using any of a variety of bus structures.
電子設備600也可以與一個或多個外部設備700(例如鍵盤、指向設備、藍牙設備等)通信,還可與一個或者多個使得使用者能與該電子設備600交互的設備通信,和/或與使得該電子設備600能與一個或多個其它計算設備進行通信的任何設備(例如路由器、數據機等等)通信。這種通信可以通過輸入/輸出(I/O)界面650進行。並且,電子設備600還可以通過網路介面卡660與一個或者多個網路(例如區域網(LAN),廣域網路(WAN)和/或公共網路,例如網際網路)通信。網路介面卡660可以通過匯流排630與電子設備600的其它模組通信。應當明白,儘管圖中未示出,可以結合電子設備600使用其它硬體和/或軟體模組,包括但不限於:微代碼、裝置驅動程式、冗餘處理單元、外部磁片驅動陣列、RAID系統、磁帶驅動器以及資料備份存儲系統等。 The electronic device 600 can also communicate with one or more external devices 700 (e.g., a keyboard, a pointing device, a Bluetooth device, etc.), one or more devices that enable a user to interact with the electronic device 600, and/or any device that enables the electronic device 600 to communicate with one or more other computing devices (e.g., a router, a modem, etc.). Such communication can be performed through an input/output (I/O) interface 650. Furthermore, the electronic device 600 can communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) via a network interface card 660. The network interface card 660 can communicate with other modules of the electronic device 600 via a bus 630. It should be understood that, although not shown, other hardware and/or software modules may be used in conjunction with electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
所述道路交通狀態預測設備中,所述記憶體中的程式被處理器執行時實現所述的道路交通狀態預測方法的步驟,因此,所述設備也可以獲得上述道路交通狀態預測方法的技術效果。 In the road traffic status prediction device, the program in the memory, when executed by the processor, implements the steps of the road traffic status prediction method. Therefore, the device can also achieve the technical effects of the above-mentioned road traffic status prediction method.
以上內容是結合具體的優選實施方式對本發明所作的進一步詳細說明,不能認定本發明的具體實施只局限於這些說明。對於本發明所屬技術領域的普通技術人員來說,在不脫離本發明構思的前提下,還可以做出若干簡單推演或替換,都應當視為屬於本發明的保護範圍。 The above content is a further detailed description of the present invention in conjunction with specific preferred embodiments. It should not be assumed that the specific implementation of the present invention is limited to this description. A person skilled in the art of the present invention may make simple deductions or substitutions without departing from the concept of the present invention, and these should be considered to fall within the scope of protection of the present invention.
S100、S200、S300、S400:步驟 S100, S200, S300, S400: Steps
Claims (9)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2023116593468 | 2023-12-05 | ||
| CN202311659346.8A CN117523846A (en) | 2023-12-05 | 2023-12-05 | Road traffic status prediction methods, systems, equipment and storage media |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW202524436A TW202524436A (en) | 2025-06-16 |
| TWI893616B true TWI893616B (en) | 2025-08-11 |
Family
ID=89747728
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW113101782A TWI893616B (en) | 2023-12-05 | 2024-01-17 | Road traffic condition prediction method, system, device, and storage medium |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN117523846A (en) |
| TW (1) | TWI893616B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118230554B (en) * | 2024-05-23 | 2024-08-27 | 无锡学院 | Vehicle-mounted real-time road information acquisition system based on Internet of things and edge calculation |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TW201926278A (en) * | 2017-12-08 | 2019-07-01 | 中華電信股份有限公司 | System and method for traffic travel time prediction |
| US20190378404A1 (en) * | 2015-10-27 | 2019-12-12 | Hyundai Motor Company | Traffic prediction system, vehicle-mounted display apparatus, vehicle, and traffic prediction method |
| US20220113154A1 (en) * | 2018-06-21 | 2022-04-14 | Visa International Service Association | System, Method, and Computer Program Product for Machine-Learning-Based Traffic Prediction |
| CN116431923A (en) * | 2023-04-24 | 2023-07-14 | 浪潮智慧科技有限公司 | Traffic travel prediction method, equipment and medium for urban road |
| CN117133122A (en) * | 2023-08-25 | 2023-11-28 | 智慧互通科技股份有限公司 | Traffic situation awareness prediction method and system based on multi-modal traffic large model |
-
2023
- 2023-12-05 CN CN202311659346.8A patent/CN117523846A/en active Pending
-
2024
- 2024-01-17 TW TW113101782A patent/TWI893616B/en active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20190378404A1 (en) * | 2015-10-27 | 2019-12-12 | Hyundai Motor Company | Traffic prediction system, vehicle-mounted display apparatus, vehicle, and traffic prediction method |
| TW201926278A (en) * | 2017-12-08 | 2019-07-01 | 中華電信股份有限公司 | System and method for traffic travel time prediction |
| US20220113154A1 (en) * | 2018-06-21 | 2022-04-14 | Visa International Service Association | System, Method, and Computer Program Product for Machine-Learning-Based Traffic Prediction |
| CN116431923A (en) * | 2023-04-24 | 2023-07-14 | 浪潮智慧科技有限公司 | Traffic travel prediction method, equipment and medium for urban road |
| CN117133122A (en) * | 2023-08-25 | 2023-11-28 | 智慧互通科技股份有限公司 | Traffic situation awareness prediction method and system based on multi-modal traffic large model |
Also Published As
| Publication number | Publication date |
|---|---|
| TW202524436A (en) | 2025-06-16 |
| CN117523846A (en) | 2024-02-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10970788B2 (en) | Controlling autonomous vehicles to optimize traffic characteristics | |
| US10692371B1 (en) | Systems and methods for changing autonomous vehicle operations based on user profiles | |
| US10431095B2 (en) | Formulating lane level routing plans | |
| CN110065495B (en) | Speed behavior planning for a vehicle | |
| CN104648284B (en) | Autonomous vehicle mode | |
| US20190346275A1 (en) | Vehicle route guidance | |
| US11175153B2 (en) | Pedestrian and vehicle route optimization | |
| US9239995B2 (en) | System and method for generating vehicle drive cycle profiles | |
| US20210191394A1 (en) | Systems and methods for presenting curated autonomy-system information of a vehicle | |
| CN105074793A (en) | Lane-level vehicle navigation for vehicle routing and traffic management | |
| US20140277971A1 (en) | In-truck fuel economy estimator | |
| CN112767683B (en) | Path induction method based on feedback mechanism | |
| WO2021258847A1 (en) | Driving decision-making method, device, and chip | |
| CN117351734A (en) | Intelligent regulation and control method and system for vehicle delay | |
| CN119007485B (en) | A vehicle dispatching system and method for urban management | |
| TWI893616B (en) | Road traffic condition prediction method, system, device, and storage medium | |
| Chen et al. | Research on anticipatory route guidance | |
| Fu et al. | Incremental path planning: Reservation system in V2X environment | |
| Laharotte et al. | Traffic-sensitive speed advisory system based on Lagrangian traffic indicators | |
| CN117636650A (en) | Intersection comprehensive saturation analysis method, system and storage medium | |
| CN118015836A (en) | A highway lane-level guidance strategy optimization method, device and medium | |
| CN116110246A (en) | Navigation method and device based on vehicle-mounted display | |
| CN120356336B (en) | Traffic diversion control method, system and equipment in road construction area | |
| CN118097998B (en) | Road state prompting method, system, storage medium and electronic equipment | |
| RU2814789C1 (en) | Method and system for automated route construction based on vehicle control telematic scoring |