Traffic jam early warning method, device, equipment, medium and program product
By constructing a traffic flow algorithm model based on bayonet data and road condition data, and using the traffic flow theoretical model to obtain the standard value of congestion indicators, the problems of poor traffic congestion prediction in the existing technology are solved, and efficient and accurate Traffic congestion warning.
Patent Information
- Application Number
- CN202411171361.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-23
- Publication Date
- 2024-11-08
AI Technical Summary
The existing traffic congestion prediction methods mainly rely on machine learning, the feature variable recognition and model training are complex, and the neural network is poor interpretability, resulting in the inability to guarantee the accuracy of congestion prediction.
By constructing a traffic flow algorithm model based on bayonet data and road condition data, using traffic flow theoretical models such as Green Shields model, the standard values of congestion indicators are obtained, traffic information comparison and analysis are carried out, and early warning information is generated to achieve efficient congested road sections Identification and early warning.
No large number of historical data samples are required to train, which improves the accuracy and interpretability of congestion prediction, and can conform to the public's cognitive interpretation of pre-congestion speed and traffic changes, achieving efficient identification and early warning.
Smart Images

Figure CN118918710A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent transportation technology, and in particular to a traffic congestion warning method, device, equipment, medium and program product. Background Art
[0002] With the continuous advancement of urbanization, the urban population and the number of motor vehicles have increased rapidly, and traffic congestion has become increasingly serious. Traffic congestion not only leads to reduced traffic efficiency and increased travel time, but also brings about a series of problems such as energy waste, environmental pollution and traffic accidents. How to effectively alleviate traffic congestion has become an important issue that needs to be solved in the construction of smart transportation.
[0003] Among the related technologies, the more commonly used congestion prediction method mainly adopts the method of machine learning, which extracts characteristic variables related to traffic operation and obtains the corresponding neural network model through training with a large amount of historical data. On the one hand, it is difficult to identify and obtain characteristic variables, and model training requires a large amount of historical data and training time, which makes the model training process complicated. On the other hand, the interpretability of the neural network is poor, which leads to the fact that the accuracy of congestion prediction is usually not guaranteed. Summary of the invention
[0004] The present application provides a traffic congestion warning method, device, equipment, medium and program product to solve at least one of the above technical problems.
[0005] According to a first aspect of the present application, a traffic congestion warning method is provided, comprising:
[0006] Obtaining a standard value of at least one congestion index determined according to a preset traffic flow algorithm model; wherein the congestion index is used to indicate the degree of traffic congestion on a road section, and the traffic flow algorithm model is constructed based on checkpoint data and road condition data;
[0007] According to the congestion index, the current value of each congestion index in the current traffic information of the road section is compared and analyzed with the corresponding index standard value to generate early warning information indicating traffic congestion.
[0008] In one embodiment, the congestion index includes at least one of the following: flow rate, speed, road condition, speed slope and flow rate slope; the method further includes:
[0009] Determine the traffic flow data, average vehicle speed data and road condition operation data within a historical unit time based on the historical checkpoint data and historical road condition data within a preset time period;
[0010] According to the flow data and the average vehicle speed data in the unit time, construct the traffic flow algorithm model for determining any one of the flow, speed, speed slope and flow index; and according to the road condition operation data, determine the operation status level for describing the degree of smoothness;
[0011] The step of obtaining a standard value of at least one congestion indicator determined according to a preset traffic flow algorithm model includes:
[0012] Obtain the index standard value of any one of the indicators including flow, speed, speed slope and flow slope determined according to the preset traffic flow algorithm model, and the index standard value of the road condition indicator determined according to the operating condition level.
[0013] In one embodiment, the traffic flow algorithm model for determining any one of the flow rate, speed, speed slope and flow rate index is constructed based on the flow data and the average vehicle speed data within the unit time, including:
[0014] Constructing an initial traffic flow algorithm model, wherein the initial algorithm model includes a Greenshields model;
[0015] The average vehicle speed data within the unit time is used as the horizontal axis data, and the flow data within the unit time is used as the vertical axis data, and the curve constant term in the Greenshields model is determined by fitting to obtain the traffic flow algorithm model.
[0016] In one embodiment, the method further comprises:
[0017] According to a preset time window, the historical checkpoint data and the historical road condition data are subjected to sliding window processing to obtain the historical checkpoint data and the historical road condition data after sliding window processing;
[0018] The method of determining the flow data, average vehicle speed data and road condition data within a historical unit time according to the historical checkpoint data and historical road condition data within a preset time period includes:
[0019] Based on the historical checkpoint data and historical road condition data after sliding window processing, the flow data, average vehicle speed data and road condition operation data within the historical unit time are determined.
[0020] In one embodiment, the index standard value of the congestion index includes at least one of the following: the index standard value of the speed index includes a speed critical value for indicating a minimum speed value and a speed warning value for indicating a maximum speed value, the index standard value of the flow index includes a flow warning value for indicating a minimum flow, the index standard value of the road condition index includes a level warning value for indicating that the road condition enters a congested state, the index standard value of the speed slope index includes a first slope warning value for indicating that the speed slope is negative, and the index standard value of the flow slope index includes a second slope warning value for indicating that the flow slope is positive.
[0021] In one implementation, the comparing and analyzing the current value of each congestion indicator in the current traffic information with the corresponding standard value of the indicator includes at least one of the following:
[0022] If the current speed value of the speed index of the current traffic information reaches the speed critical value and is less than the speed warning value, it is determined that the current traffic information does not reach the index standard value of the speed index;
[0023] If the current traffic information about the current traffic flow index reaches the traffic flow warning value, determining that the current traffic information does not reach the index standard value of the traffic flow index;
[0024] If the current traffic information about the current road condition index reaches the level warning value, then determining that the current traffic information does not reach the index standard value of the road condition index;
[0025] If the current speed slope of the speed slope index of the current traffic information reaches the first slope warning threshold, determining that the current traffic information does not reach the index standard value of the speed slope index;
[0026] If the current traffic slope of the current traffic information with respect to the traffic slope index reaches the second slope warning threshold, it is determined that the current traffic information does not reach the index standard value of the traffic slope index.
[0027] In one embodiment, the current traffic information includes traffic information between time lapse moments shifted forward by a first preset time interval from the current moment;
[0028] The generating of warning information for indicating traffic congestion comprises:
[0029] If the current value of each congestion indicator does not reach the corresponding indicator standard value, and does not reach the corresponding indicator standard value for a preset number of times within a second preset time interval, a warning message indicating traffic congestion is generated, wherein the second preset time interval is smaller than the first preset time interval.
[0030] In one embodiment, the method further comprises:
[0031] The warning information is sent to the vehicle whose road section ahead is the road section, and / or the traffic management platform, so that the vehicle and / or the traffic management platform executes relevant traffic decisions according to the warning information.
[0032] In a second aspect, the present application also provides a traffic congestion warning device, comprising:
[0033] An indicator acquisition module, which is configured to acquire an indicator standard value of at least one congestion indicator determined according to a preset traffic flow algorithm model; wherein the congestion indicator is used to indicate the degree of traffic congestion on a road section, and the traffic flow algorithm model is constructed based on checkpoint data and road condition data;
[0034] The warning generation module is configured to compare and analyze the current values of each congestion indicator in the current traffic information of the road section with the corresponding standard values of the indicator according to the congestion indicator, and generate warning information indicating traffic congestion.
[0035] In one embodiment, the congestion index includes at least one of the following: flow rate, speed, road condition, speed slope and flow rate slope; the device further includes:
[0036] The data acquisition module determines the flow data, average vehicle speed data and road condition operation data within a historical unit time according to the historical checkpoint data and historical road condition data within a preset time period;
[0037] A model building module, configured to build the traffic flow algorithm model for determining any one of the flow rate, speed, speed slope and flow rate index according to the flow data and the average vehicle speed data within the unit time; and determine the operation status level for describing the degree of smoothness according to the road condition operation data;
[0038] The indicator acquisition module is specifically configured to obtain the indicator standard value of any one of the indicators including flow, speed, speed slope and flow slope determined according to the preset traffic flow algorithm model, and the indicator standard value of the road condition indicator determined according to the operating condition level.
[0039] In one embodiment, the model building module includes:
[0040] An initial model building unit, configured to build an initial traffic flow algorithm model, wherein the initial algorithm model includes a Greenshields model;
[0041] A fitting determination unit is configured to use the average vehicle speed data within the unit time as the horizontal axis data and the flow data within the unit time as the vertical axis data, and to fit and determine the curve constant term in the Greenshields model to obtain the traffic flow algorithm model.
[0042] In one embodiment, the device further comprises:
[0043] A sliding window processing module, which is configured to perform sliding window processing on the historical checkpoint data and the historical road condition data according to a preset time window to obtain the historical checkpoint data and the historical road condition data after the sliding window processing;
[0044] The data acquisition module is specifically configured to determine the flow data, average vehicle speed data and road condition operation data within a historical unit time based on the historical checkpoint data and historical road condition data after sliding window processing.
[0045] In one embodiment, the index standard value of the congestion index includes at least one of the following: the index standard value of the speed index includes a speed critical value for indicating a minimum speed value and a speed warning value for indicating a maximum speed value, the index standard value of the flow index includes a flow warning value for indicating a minimum flow, the index standard value of the road condition index includes a level warning value for indicating that the road condition enters a congested state, the index standard value of the speed slope index includes a first slope warning value for indicating that the speed slope is negative, and the index standard value of the flow slope index includes a second slope warning value for indicating that the flow slope is positive.
[0046] In one embodiment, the warning generation module includes at least one of the following analysis units:
[0047] A first analysis unit is configured to determine that the current traffic information does not reach the index standard value of the speed index when the current speed value of the speed index of the current traffic information reaches the speed critical value and is less than the speed warning value;
[0048] A second analysis unit is configured to determine that the current traffic information does not reach the index standard value of the flow index when the current flow of the flow index of the current traffic information reaches the flow warning value;
[0049] A third analysis unit is configured to determine that the current traffic information does not reach the index standard value of the road condition index when the current road condition level of the current traffic information with respect to the road condition index reaches the level warning value;
[0050] a fourth analysis unit configured to determine that the current traffic information does not reach an index standard value of the speed slope index when the current speed slope of the current traffic information with respect to the speed slope index reaches the first slope warning threshold;
[0051] The fifth analysis unit is configured to determine that the current traffic information does not reach the indicator standard value of the flow slope indicator when the current flow slope of the current traffic information with respect to the flow slope indicator reaches the second slope warning threshold.
[0052] In one embodiment, the current traffic information includes traffic information between time lapse moments that are a first preset time interval forward from the current moment; the warning generation module includes:
[0053] An information generation unit is configured to generate warning information indicating traffic congestion when the current value of each congestion indicator does not reach the corresponding indicator standard value and does not reach the corresponding indicator standard value for a preset number of times within a second preset time interval, wherein the second preset time interval is smaller than the first preset time interval.
[0054] In one embodiment, the device further comprises:
[0055] A sending module is configured to send the warning information to a vehicle whose road section ahead is the road section, and / or a traffic management platform, so that the vehicle and / or the traffic management platform executes relevant traffic decisions according to the warning information.
[0056] In a third aspect, the present application also provides an electronic device, comprising: a memory and a processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory, so that the electronic device executes the traffic congestion warning method provided in any one of the first aspects above.
[0057] In a fourth aspect, the present application further provides a computer-readable storage medium storage, wherein the computer-readable storage medium stores computer execution instructions, and when the computer execution instructions are executed by a processor, they are used to implement a traffic congestion warning device method as provided in any one of the first aspects above.
[0058] In a fifth aspect, the present application also provides a computer program product including a computer program, which, when executed by a processor, implements the traffic congestion warning method provided in any one of the first aspects above.
[0059] The traffic congestion warning method, device, equipment, medium and program product provided by this application replace the related technology to extract features and build a neural network model through a large amount of historical traffic data, and use the trained neural network model to predict congestion of real-time traffic flow data. Starting from the traffic flow theory, this application uses the traffic flow algorithm model constructed by the checkpoint data and road condition data, and compares and analyzes the road section traffic by obtaining the standard value of the index of the road section congestion pre-determined by the model. It does not require a large number of data samples for training, and can achieve efficient identification and warning of congested road sections. In addition, the algorithm based on the traffic flow theory is more interpretable, which can conform to the public's cognition to explain the changing law of speed and flow (or other indicators) before congestion, and the congestion warning is realized through this law, and the accuracy is also higher. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0061] Figure 1 A possible scenario diagram provided for an embodiment of the present application;
[0062] Figure 2 A flow chart of a traffic congestion warning method provided in an embodiment of the present application;
[0063] Figure 3 One of the flow charts of another traffic congestion warning method provided in an embodiment of the present application;
[0064] Figure 4 This is one of the schematic diagrams of the traffic flow algorithm model in the embodiment of the present application;
[0065] Figure 5 This is the second schematic diagram of the traffic flow algorithm model in the embodiment of the present application;
[0066] Figure 6 This is a schematic diagram of the warning area in the embodiment of the present application;
[0067] Figure 7 A second flow chart of another traffic congestion warning method provided in an embodiment of the present application;
[0068] Figure 8 for Figure 7 Schematic diagram of the traffic flow algorithm model in the example;
[0069] Fig. 9 for Figure 7 Schematic diagram of the warning points in the example;
[0070] Fig.10 for Figure 7Analysis chart of traffic flow and speed changes before and after congestion in the example;
[0071] Fig.11 A flow chart of another traffic congestion warning method provided in an embodiment of the present application;
[0072] Fig.12 A schematic diagram of the structure of a traffic congestion warning device provided in an embodiment of the present application;
[0073] Fig.13 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0074] Fig.14 It is a block diagram of a terminal device provided by an exemplary embodiment of the present application.
[0075] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0076] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0077] The embodiments of the present application are explained below in conjunction with application scenarios. The traffic congestion warning method provided in the embodiments of the present application can be applied to the application scenarios of intelligent driving. More specifically, it can be applied to the application scenarios of autonomous driving based on vehicle cloud computing. By way of example, the execution subject of the method provided in the embodiments of the present application may be a server. More specifically, it may be a server of a navigation map service provider (e.g., a high-precision map server, hereinafter referred to as the server). The server is introduced below as the execution subject of the method provided in the embodiments of the present application.
[0078] Figure 1 A schematic diagram of a traffic congestion warning method provided in an embodiment of the present application is shown in FIG. Figure 1As shown, the server 110 is electrically connected to the road traffic facilities 120 (such as cameras, radars, geomagnetic sensors, bayonet devices, etc.), and the server 110 uses the real-time traffic data collected by the traffic facilities 120, such as the traffic flow, vehicle speed, road operation status (which can be determined by the delay time ratio) of the road section, and the standard value of the index of at least one congestion index determined by the preset traffic flow algorithm model, to compare and analyze the current value of each congestion index in the current traffic data (such as the current vehicle speed value) with the corresponding standard value of the index (such as the predetermined maximum vehicle speed) to determine whether congestion will occur and generate road congestion warning information. Optionally, the server 110 is also electrically connected to the vehicle 130, and transmits the road congestion warning information to the navigation software in the smart car 130 whose road section ahead is the road section, such as a high-precision map APP. Optionally, the server 110 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, and cloud computing.
[0079] In the related technology, when conducting traffic congestion warning analysis, the main method used is machine learning. By extracting characteristic variables related to traffic operation and obtaining the corresponding neural network model through training with a large amount of historical data, the neural network model is used to perform real-time analysis on traffic sections to determine whether traffic congestion occurs. On the one hand, it is difficult to identify and obtain characteristic variables, and model training requires a large amount of historical data and training time, which makes the model training process complicated. On the other hand, the interpretability of neural networks is poor, which leads to the fact that the accuracy of congestion prediction is usually not guaranteed.
[0080] In view of this, the embodiment of the present application provides a traffic congestion warning method, which obtains the index standard value of at least one congestion index determined according to a preset traffic flow algorithm model, and the congestion index is used to indicate the degree of traffic congestion on the road section. The traffic flow algorithm model is constructed based on the checkpoint data and the road condition data, and the current value of each congestion index in the current traffic information of the road section is compared and analyzed with the corresponding index standard value according to the congestion index, so as to generate warning information indicating traffic congestion. In this process, instead of the related technology of extracting features and constructing a neural network model through a large amount of historical traffic data, and using the trained neural network model to predict congestion for real-time traffic flow data, this embodiment starts from the traffic flow theory, uses the traffic flow algorithm model constructed by the checkpoint data and the road condition data, and compares and analyzes the road section traffic by obtaining the index standard value of the road section congestion predetermined by the model, without the need for a large number of data samples for training, and can achieve efficient identification and warning of congested sections. Moreover, the algorithm based on traffic flow theory is more interpretable and can explain the changing patterns of speed and flow (or other indicators) before congestion in accordance with the public's cognition. Congestion warning can be achieved through this pattern with higher accuracy.
[0081] The following is a detailed description of the technical solution of the present application and how the technical solution of the present application solves the above technical problems in conjunction with the accompanying drawings and specific embodiments. It should be noted that these specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.
[0082] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0083] Please refer to Figure 2 , Figure 2 A flow chart of a traffic congestion warning method provided in an embodiment of the present application, the execution subject may be the server 110, and the method includes step S201 and step S202.
[0084] Step S201, obtaining a standard value of at least one congestion index determined according to a preset traffic flow algorithm model, wherein the congestion index is used to indicate the degree of traffic congestion on a road section, and the traffic flow algorithm model is constructed based on checkpoint data and road condition data.
[0085] In this embodiment, the preset traffic flow algorithm model can adopt the GreenShields model (GS). The GreenShields model is a theoretical model of traffic flow, which can be used to describe the relationship between vehicle speed and vehicle density in traffic flow. It is a linear speed-density relationship model. This model shows that as the vehicle density on the road increases, the spacing between vehicles decreases, and the traffic flow speed will decrease monotonically with the increase of vehicle density. When the vehicle density reaches the blocking density, the traffic flow speed drops to zero, and the road is in a completely blocked state. This embodiment uses the GreenShields model as a basis. By determining the congestion index and its corresponding index standard value, the traffic flow can be efficiently early-warned and analyzed according to the corresponding congestion index and index standard value when predicting the actual traffic flow. It should be noted that in addition to the GreenShields model, other traffic flow algorithm models can also be used, such as the flow-speed-density relationship model (Fundamental Diagram Mod) and other models.
[0086] In this embodiment, the traffic flow algorithm model can be constructed using historical checkpoint data and road condition data. By bringing these data into the existing formula, the constants of the model can be determined without using a large amount of historical data and performing feature extraction training as in training a machine learning model. Among them, the traffic flow algorithm model can be constructed on the server side, or it can be constructed in other devices or servers. This embodiment does not specifically limit the construction subject of the traffic flow algorithm model, and the server obtains the index standard value of at least one congestion index determined according to the preset traffic flow algorithm model, which can be obtained from the local storage space of the server or from an external electronic device or server. In other words, the server can store the congestion index and its index standard value determined by the traffic flow algorithm model in the local storage space. In real-time traffic flow, the server can directly use the congestion index and index standard value to implement early warning analysis of the current traffic flow.
[0087] Optionally, the congestion index may include any one of the following indicators or any combination of indicators: flow, speed, road condition, speed slope and flow slope. Among them, the road condition mainly includes 4 states, namely 1: smooth, 2: slow, 3: congested, 4: severe congestion, speed slope is the change of speed over time, when the slope is less than 0, it means that the average vehicle speed is decreasing, flow slope is the change of flow over time, when the slope is greater than 0, it means that the traffic is increasing. In some examples, in addition to the above indicators, other indicators may also be included, such as lane occupancy (the proportion of time occupied by vehicles in a lane, usually expressed as a percentage) and the like.
[0088] In this embodiment, the road section includes a road section, and the following embodiments are described using the road section as an example.
[0089] Step S202: According to the congestion index, the current value of each congestion index in the current traffic information of the road section is compared and analyzed with the corresponding standard value of the index to generate warning information indicating traffic congestion.
[0090] Taking the multiple indicators in the above examples as an example, accordingly, the indicator standard value of each congestion indicator may include at least one of the following: the indicator standard value of the speed indicator includes a speed critical value for indicating a minimum speed value and a speed warning value for indicating a maximum speed value, the indicator standard value of the flow indicator includes a flow warning value for indicating a minimum flow, the indicator standard value of the road condition indicator includes a level warning value for indicating that the road condition enters a congested state, the indicator standard value of the speed slope indicator includes a first slope warning value for indicating that the speed slope is negative, and the indicator standard value of the flow slope indicator includes a second slope warning value for indicating that the flow slope is positive. In some examples, those skilled in the art may also design corresponding indicator standard values according to different indicators, which will not be described one by one here.
[0091] In this embodiment, considering that the historical maximum flow rate of each section in the urban road network has a strong association with traffic congestion, taking the Greenshields model in traffic flow theory as an example, as the traffic density increases, the speed decreases, and the flow rate gradually increases. When the optimal density is reached, the flow rate reaches the optimal flow rate. Subsequently, the increase in density is accompanied by a simultaneous decrease in speed and flow rate, and the road immediately enters a congested state. Therefore, the warning point for large-volume traffic congestion should be before the traffic flow of the section reaches the optimal efficiency. Based on the checkpoint and road condition data, this embodiment uses the Greenshields model to fit the changing relationship between the road section flow rate and speed. By setting the flow rate and speed warning thresholds, monitoring the flow rate increase trend and speed reduction trend, and combining the road condition data to issue a warning for the impending congestion.
[0092] Among them, the speed warning threshold (i.e., the standard value of the speed index) includes the speed critical value and the speed warning value. The speed critical value means that when the traffic flow in the road section reaches this speed, the traffic flow will reach the optimal efficiency, that is, the speed warning value and then (the speed will drop and) will enter congestion. The speed warning interval (i.e., considering the speed critical value and the speed warning value at the same time) can effectively improve the accuracy of traffic congestion analysis.
[0093] Next, the above step S202 of comparing and analyzing the current values of each congestion index in the current traffic information with the corresponding index standard values is further introduced. This step may include the following examples:
[0094] Example 1: If the current speed value of the speed index of the current traffic information reaches the speed critical value and is less than the speed warning value, it is determined that the current traffic information does not reach the index standard value of the speed index.
[0095] Example 2: If the current traffic flow of the traffic index in the current traffic information reaches the traffic warning value, it is determined that the current traffic information does not reach the index standard value of the traffic index.
[0096] Example three: if the current traffic information about the current road condition level of the road condition index reaches the level warning value, it is determined that the current traffic information does not reach the index standard value of the road condition index.
[0097] Example 4: If the current speed slope of the speed slope index of the current traffic information reaches the first slope warning threshold, it is determined that the current traffic information does not reach the index standard value of the speed slope index.
[0098] Example 5: If the current traffic slope of the traffic slope index of the current traffic information reaches the second slope warning threshold, it is determined that the current traffic information does not reach the index standard value of the traffic slope index.
[0099] It should be noted that those skilled in the art can select one or more of the above-mentioned comparison and analysis methods to analyze the current traffic flow in combination with practical applications. For example, in one implementation, by combining the above-mentioned examples 1 to 5 to jointly analyze the congestion status of the current traffic information, specifically, when the various indicators of examples 1 to 5 do not reach the corresponding indicator standard values, it can be determined that the current moment is a high-flow warning moment, and it is considered that a congestion state is about to enter. For example, assuming that the speed indicator does not reach the corresponding indicator standard value, such as being greater than or equal to the speed critical value, or less than the speed warning value, but other indicators, such as the flow indicator, are less than the flow warning value, indicating that the traffic in the current section has not yet entered a congested state, then the section can continue to be observed, and the indicator analysis can be performed in the next time period or time. This can improve the accuracy of the warning, thereby reducing unnecessary congestion warnings.
[0100] Instead of extracting features and building a neural network model through a large amount of historical traffic data in related technologies, and using the trained neural network model to predict congestion for real-time traffic flow data, this embodiment starts from traffic flow theory, uses a traffic flow algorithm model constructed from checkpoint data and road condition data, and compares and analyzes road section traffic by obtaining the standard value of the index of congestion of the road section predetermined by the model. It does not require a large amount of data samples for training and can achieve efficient identification and early warning of congested sections.
[0101] Figure 3This is a flow chart of another traffic congestion warning method provided by an embodiment of the present application. Based on the above embodiment, this embodiment constructs a model on the server side and determines the corresponding road condition index in combination with the operating status to improve the accuracy of the index and further improve the accuracy of congestion prediction. Figure 3 As shown, in addition to the above steps S201 and S202, the method provided in this embodiment may also include the following steps S301-S303, and step S201 is further divided into step S2011.
[0102] Step S301: Determine the flow data, average vehicle speed data and road condition data within a historical unit time according to the historical checkpoint data and historical road condition data within a preset time period.
[0103] In this embodiment, the historical checkpoint data and historical road condition data can be the data of the road section, that is, the data of the road section. The checkpoint equipment of the road section is used to count the historical vehicle passing data (for example, data within the past 30 days) to obtain the flow data (traffic volume Q) within a unit time, and the time granularity can be 15 minutes; and the historical road condition data corresponding to the road section (such as historical road condition data on the Internet) can be used to obtain the average vehicle speed V and road condition operation data within a unit time, and the time granularity can be 15 minutes. It can be understood that the road condition operation data can include delay time ratio data (Delay Time Ratio, DTP), which can be calculated based on the actual travel time t of the traffic flow on the road section. i (the time required for a vehicle to travel from its starting point to its destination under current traffic conditions, including all delays) and the free flow time t f (That is, the time required for a vehicle to travel from the starting point to the end point without traffic obstacles such as congestion or traffic lights).
[0104] Optionally, in order to effectively improve the accuracy of the data, this embodiment smoothes the data by means of a sliding window. Specifically, the method provided by this embodiment may also include the following steps:
[0105] According to a preset time window, sliding window processing is performed on the historical checkpoint data and the historical road condition data to obtain the historical checkpoint data and the historical road condition data after sliding window processing.
[0106] As mentioned above, the average vehicle speed and road condition data within a unit time are obtained with a time granularity of 15 minutes, and the time granularity is the time window. Those skilled in the art can adaptively adjust the time window in combination with actual applications, and this embodiment does not specifically limit this.
[0107] The above step S301 determines the flow data, average vehicle speed data and road condition operation data within the historical unit time based on the historical checkpoint data and historical road condition data within the preset time period, specifically: determines the flow data, average vehicle speed data and road condition operation data within the historical unit time based on the historical checkpoint data and historical road condition data after sliding window processing.
[0108] Through the sliding window processing method, the sliding window processing makes the data analysis more continuous and detailed by moving the window on the time series. Compared with the fixed window, the sliding window processing can capture the changes and trends on a smaller time scale, thereby improving the resolution and details of the data. In addition, the short-term fluctuations in the data are smoothed by methods such as moving average, thereby reducing the impact of noise on the analysis results, which helps to improve the accuracy and stability of the model fitting and make the relationship between traffic flow and vehicle speed more reliable.
[0109] Step S302: construct the traffic flow algorithm model for determining any one of the flow rate, speed, speed slope and flow rate index according to the flow data and the average vehicle speed data within the unit time.
[0110] In one example, the Greenshields model can be used for model construction, which is more interpretable and the model construction process is efficient. Next, the traffic flow algorithm model for determining any one of the flow, speed, speed slope and flow index according to the flow data and the average vehicle speed data in the unit time is further introduced:
[0111] Constructing an initial traffic flow algorithm model, wherein the initial algorithm model includes a Greenshields model;
[0112] The average vehicle speed data within the unit time is used as the horizontal axis data, and the flow data within the unit time is used as the vertical axis data, and the curve constant term in the Greenshields model is determined by fitting to obtain the traffic flow algorithm model.
[0113] Specifically, based on the Green-Shields (GS) model, the (initial model) formula is as follows:
[0114]
[0115] In the formula, Q is the flow rate, K is j and v f are curve constants respectively, and V is the (average) vehicle speed.
[0116] The average vehicle speed data and flow data per unit time are used as data sources, with speed as the horizontal axis and flow as the vertical axis, the curve constant term K corresponding to the road section flow and vehicle speed can be fitted. j and vf , the fitting curve is a parabola with an opening downward, such as Figure 4 and Figure 5 As shown, Figure 4 Including Figures (a), (b) and (c), which respectively illustrate the density-velocity, flow-velocity, and density-flow diagrams. Figure 5 The speed-flow diagram shows that the vertex of the parabola is the optimal traffic efficiency point of the section, the corresponding flow rate is the maximum traffic flow rate, and the corresponding flow velocity is the optimal flow velocity (critical speed, which is the speed critical value mentioned above).
[0117] In other examples, a simpler traffic flow algorithm model can be used as the initial model for model construction based on traffic flow theory. For example, the relationship between flow Q, density K and speed V can be expressed as: Q = K / V, where flow Q is the number of vehicles passing a certain point per unit time, density K is the number of vehicles per unit distance, and speed V is the average speed of the vehicle. Using historical checkpoint data and road condition data, a simple traffic flow algorithm model can be constructed in this way, which can be used to calculate flow, speed, speed slope and flow index in real time or batch. For example, given the flow data and average vehicle speed data per unit time, the speed slope, flow index, etc. can be calculated using the above formula.
[0118] Through the above method, the changing patterns of road section flow and speed before and after congestion can be explored as the basis for congestion analysis and prediction, which can effectively improve the efficiency of congestion prediction.
[0119] Step S303: Determine an operation status level for describing the degree of smoothness according to the road operation data.
[0120] In this embodiment, the road condition operation data includes the delay time ratio. According to the classification of road operation conditions in the national standard "GB / T33171-2016 Urban Traffic Operation Status Evaluation Specification", the alarm point is usually set before smooth and slightly congested, that is, in a basically smooth state. The operation status level can be determined in combination with the DTP calculation method. The DTP calculation method is as follows:
[0121]
[0122] Where DTP represents the delay time ratio, t i is the actual travel time of the traffic flow on the road section, t f The free flow time of the road section. When the actual travel time of the road section is less than the free flow travel time, DTP can be set to 0.
[0123] Table 1 below is an example of traffic operation status classification:
[0124] Table 1
[0125]
[0126] Step S2011, obtaining the index standard value of any one of the indicators including flow, speed, speed slope and flow slope determined according to the preset traffic flow algorithm model, and the index standard value of the road condition index determined according to the operating condition level.
[0127] In one example, the preset traffic flow algorithm model can also be combined with the above-mentioned operating status level to determine the corresponding index standard value. Multiply the numerator and denominator in formula (2) by We can get formula (3)
[0128]
[0129] Where: v i is the actual travel speed of the traffic flow on the road section, v f is the free flow speed of the road section; l is the length of the road section. Therefore, the speed range of basic unimpeded flow is The range of warning speed is Substituting the warning speed into equation (1), we get the warning flow rate Since the actual traffic flow may exceed the fitted maximum traffic flow value, the warning flow value range is Warning areas such as Figure 6 As shown in the figure, a represents the warning area.
[0130] According to the Greenshields model in traffic flow theory, before a large traffic jam occurs, as the traffic density increases, the speed decreases and the flow rate gradually increases. Therefore, when the speed and flow meet the warning conditions, for example, within 20 minutes (which can be measured or adjusted through a large amount of historical data), the speed slope is less than 0 and the slope of the flow change is greater than 0.
[0131] Taking into account that there are certain errors in the fitting function method, there may be certain deviations between the fitted free flow speed and the true value. Therefore, the operating status can be set as: the road condition is not smooth, and there are 4 road conditions, namely 1: smooth, 2: slow, 3: congested, and 4: severe congestion. The classification method and standard are consistent with the national standard "GB / T 33171-2016 Urban Traffic Operation Status Evaluation Specification", and congestion combines the slight congestion and moderate congestion states in the national standard.
[0132] It should be noted that for different types of indicators, a normalized form can be used to facilitate analysis and processing.
[0133] Furthermore, in this embodiment, the current traffic information includes traffic information between the time lapse moments that are shifted forward by a first preset time interval from the current moment; the above step S203 generates warning information indicating traffic congestion, including:
[0134] If the current value of each congestion indicator does not reach the corresponding indicator standard value, and does not reach the corresponding indicator standard value for a preset number of times within a second preset time interval, a warning message indicating traffic congestion is generated, wherein the second preset time interval is smaller than the first preset time interval.
[0135] Considering the randomness of traffic flow changes, a heavy traffic congestion warning is issued when at least two congestion warnings are met within 30 minutes (the first preset time interval, which can be adaptively adjusted by those skilled in the art in combination with actual applications). Examples of judgment conditions for heavy traffic congestion warnings are as follows:
[0136] (1) Warning speed:
[0137] (2) Warning traffic:
[0138] (3) 20 minutes before the warning (the second preset time interval, which can be adaptively adjusted by technicians in this field in combination with actual applications), speed slope < 0, flow slope > 0
[0139] (4) The road condition is not smooth;
[0140] When the above four conditions are met, the current time is determined to be a high-flow warning time. If two congestion warnings are met within 30 minutes, a high-flow traffic congestion warning is issued. j 、v f It has been determined in the modeling stage. It can be seen that through this method, early warning can be achieved within 30 minutes before congestion occurs.
[0141] To facilitate understanding of the embodiments of the present application, an exemplary embodiment is described below. Figure 7 As shown, the following process is included:
[0142] (1) Fitting the maximum traffic flow model of the road section
[0143] ① Obtain historical checkpoint data and road condition data
[0144] ② Data preprocessing: Traffic data and checkpoint data are processed in a sliding window manner (window size 15 minutes, step length 1 minute) to calculate the 15-minute traffic volume, average speed, and road conditions.
[0145] ③ Fitting function curve: According to the Greenshields model, with speed as the horizontal axis and flow as the vertical axis, the corresponding speed-flow relationship is fitted, and its function expression is as follows:
[0146]
[0147] Among them, the fitted curve (i.e. the constructed model) is as follows Figure 8 shown.
[0148] (2) Calculation of warning interval
[0149] The function expression is obtained according to the fitting results as shown in formula (4), where v f The value is 56, K j The value is 193 (rounded for ease of calculation), which is substituted into the warning speed range and warning flow range The results are as follows: Warning speed: [28,39); Warning flow: (2274, +∞). The warning points are as follows Fig. 9 shown.
[0150] The following is a further analysis of the large-volume traffic congestion warning example. Fig.10 The following table shows the changes in traffic flow and speed before and after the morning peak traffic warning on a certain day of a certain month. The following table 2 shows the changes in the speed, traffic flow, road conditions, and the slope of speed and traffic flow of the road section before the warning. The traffic warning conditions were met at 7:22, but the warning trigger conditions of at least two warnings in 30 minutes were not met, so no warning was issued at 7:22; the first warning was issued at 7:24, and a total of 7 warnings were issued before 7:36. At 7:36, the road condition of the road section became congested. (Corresponding to the judgment condition example of the above-mentioned large-volume traffic congestion warning, when it is judged that the congestion moment will occur twice, a warning information is generated and issued)
[0151] Table 2:
[0152]
[0153]
[0154] In summary, the technical solution provided by the embodiment of the present application has the following beneficial effects compared to the real-time prediction of the neural network model: 1) The algorithm is highly interpretable. Through the method of traffic flow theory, it can explore the changing laws of road section flow and speed, which can be consistent with the public's cognition to explain the changing laws of speed and flow before congestion, and use this law to achieve congestion warning. 2) The algorithm requires less data: only historical checkpoint data and road condition data are required to realize the early warning of congestion caused by large traffic on the road section. 3) The algorithm has high accuracy: According to the statistics of the algorithm test results, the accuracy rate is above 80%. 4) There is no need to use the model for real-time identification. It is only necessary to use historical data to build the indicators and corresponding indicator values determined by the model to analyze and predict the current traffic flow. It is more efficient and requires less computing power.
[0155] Fig.11 A flow chart of another traffic congestion warning method provided in an embodiment of the present application. Based on the above embodiment, after generating the warning information, this embodiment helps users avoid congested sections by publishing the warning information to vehicles or traffic management platforms, while effectively preventing the spread of the congestion range. Specifically, in addition to the above steps S201-S203, the method provided in this embodiment may also include step S111.
[0156] Step S111, sending the warning information to the vehicle whose road section ahead is the road section, and / or the traffic management platform, so that the vehicle and / or the traffic management platform execute relevant traffic decisions according to the warning information.
[0157] Exemplarily, the server can send the generated warning information to the vehicle on the road ahead or the traffic management platform through a wireless communication network (such as 4G / 5G, V2X communication, etc.). After the vehicle on the road ahead receives the warning information, the vehicle information system will parse and process the information. According to the warning information, the driver or automatic driving system of the vehicle can execute relevant traffic decisions, such as slowing down, changing lanes or choosing an alternative route to ensure driving safety and smooth traffic. On the other hand, after the traffic management platform receives the warning information, the system will analyze the information and may take a series of management measures. For example, adjust the time of traffic lights, issue traffic announcements, or guide vehicles to detour to optimize traffic flow, reduce congestion and improve road safety.
[0158] As a further example, when the server sends the warning information to the high-precision map APP, it can prompt on the APP by triggering an information pop-up window or voice prompt, so that the driving user can find and deal with it in time.
[0159] The above technical solution can help users avoid congested sections of road and effectively prevent the spread of congestion, thus bringing a better experience to users.
[0160] Fig.12 is a schematic diagram of the structure of a traffic congestion warning device provided in an embodiment of the present application, such as Fig.12 As shown, the device 200 includes an indicator acquisition module 121 and an early warning generation module 122, wherein:
[0161] An indicator acquisition module 121, which is configured to acquire an indicator standard value of at least one congestion indicator determined according to a preset traffic flow algorithm model; wherein the congestion indicator is used to indicate the degree of traffic congestion of a road section, and the traffic flow algorithm model is constructed based on checkpoint data and road condition data;
[0162] The warning generation module 122 is configured to compare and analyze the current values of each congestion indicator in the current traffic information of the road section with the corresponding standard values of the indicator according to the congestion indicator, and generate warning information for indicating traffic congestion.
[0163] In one embodiment, the congestion index includes at least one of the following: flow rate, speed, road condition, speed slope and flow rate slope; the device further includes:
[0164] The data acquisition module determines the flow data, average vehicle speed data and road condition operation data within a historical unit time according to the historical checkpoint data and historical road condition data within a preset time period;
[0165] A model building module, configured to build the traffic flow algorithm model for determining any one of the flow rate, speed, speed slope and flow rate index according to the flow data and the average vehicle speed data within the unit time; and determine the operation status level for describing the degree of smoothness according to the road condition operation data;
[0166] The indicator acquisition module 121 is specifically configured to obtain the indicator standard value of any one of the indicators including flow, speed, speed slope and flow slope determined according to the preset traffic flow algorithm model, and the indicator standard value of the road condition indicator determined according to the operating condition level.
[0167] In one embodiment, the model building module includes:
[0168] An initial model building unit, configured to build an initial traffic flow algorithm model, wherein the initial algorithm model includes a Greenshields model;
[0169] A fitting determination unit is configured to use the average vehicle speed data within the unit time as the horizontal axis data and the flow data within the unit time as the vertical axis data, and to fit and determine the curve constant term in the Greenshields model to obtain the traffic flow algorithm model.
[0170] In one embodiment, the device further comprises:
[0171] A sliding window processing module, which is configured to perform sliding window processing on the historical checkpoint data and the historical road condition data according to a preset time window to obtain the historical checkpoint data and the historical road condition data after the sliding window processing;
[0172] The data acquisition module is specifically configured to determine the flow data, average vehicle speed data and road condition operation data within a historical unit time based on the historical checkpoint data and historical road condition data after sliding window processing.
[0173] In one embodiment, the index standard value of the congestion index includes at least one of the following: the index standard value of the speed index includes a speed critical value for indicating a minimum speed value and a speed warning value for indicating a maximum speed value, the index standard value of the flow index includes a flow warning value for indicating a minimum flow, the index standard value of the road condition index includes a level warning value for indicating that the road condition enters a congested state, the index standard value of the speed slope index includes a first slope warning value for indicating that the speed slope is negative, and the index standard value of the flow slope index includes a second slope warning value for indicating that the flow slope is positive.
[0174] In one implementation, the warning generation module 122 includes at least one of the following analysis units:
[0176] A first analysis unit is configured to determine that the current traffic information does not reach the index standard value of the speed index when the current speed value of the speed index of the current traffic information reaches the speed critical value and is less than the speed warning value;
[0177] A second analysis unit is configured to determine that the current traffic information does not reach the index standard value of the flow index when the current flow of the flow index of the current traffic information reaches the flow warning value;
[0178] A third analysis unit is configured to determine that the current traffic information does not reach the index standard value of the road condition index when the current road condition level of the current traffic information with respect to the road condition index reaches the level warning value;
[0179] a fourth analysis unit configured to determine that the current traffic information does not reach an index standard value of the speed slope index when the current speed slope of the current traffic information with respect to the speed slope index reaches the first slope warning threshold;
[0180] The fifth analysis unit is configured to determine that the current traffic information does not reach the indicator standard value of the flow slope indicator when the current flow slope of the current traffic information with respect to the flow slope indicator reaches the second slope warning threshold.
[0181] In one embodiment, the current traffic information includes traffic information between the time intervals shifted from the current time to the first preset time interval; the warning generation module 122 includes:
[0182] An information generation unit is configured to generate warning information indicating traffic congestion when the current value of each congestion indicator does not reach the corresponding indicator standard value and does not reach the corresponding indicator standard value for a preset number of times within a second preset time interval, wherein the second preset time interval is smaller than the first preset time interval.
[0183] In one embodiment, the device further comprises:
[0184] A sending module is configured to send the warning information to a vehicle whose road section ahead is the road section, and / or a traffic management platform, so that the vehicle and / or the traffic management platform executes relevant traffic decisions according to the warning information.
[0185] The relevant instructions can be understood by referring to the relevant descriptions and effects corresponding to the steps in the method embodiments of the present application, and no further elaboration is made here.
[0186] The present application also provides an electronic device, such as Fig.13 As shown, it includes: a processor 131, and a memory 132 which is communicatively connected to the processor 131;
[0187] The memory 132 stores computer-executable instructions;
[0188] The processor 131 executes the computer-executable instructions stored in the memory 132 to implement the traffic congestion warning device method, wherein the memory 132 and the processor 131 are connected via a bus 133 .
[0189] The relevant instructions can be understood by referring to the relevant descriptions and effects corresponding to the steps in the method embodiments of the present application, and no further elaboration is made here.
[0190] The embodiment of the present application also provides a computer-readable storage medium storage, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the traffic congestion warning device method provided in the above method embodiment.
[0191] Among them, the computer-readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
[0192] The relevant instructions can be understood by referring to the relevant descriptions and effects corresponding to the steps in the method embodiments of the present application, and no further elaboration is made here.
[0193] The embodiment of the present application also provides a computer program product including a computer program, which, when executed by a processor, implements the traffic congestion warning method provided in the above method embodiment.
[0194] The embodiment of the present application also provides a chip, including a memory and a processor, wherein the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory to execute the traffic congestion warning method.
[0195] The relevant instructions can be understood by referring to the relevant descriptions and effects corresponding to the steps in the method embodiments of the present application, and no further elaboration is made here.
[0196] Fig.14 It is a block diagram of a terminal device shown in an exemplary embodiment of the present application. The terminal device 800 can be a mobile phone, a computer, a digital broadcast terminal, a message transceiver device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0197] The terminal device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .
[0198] The processing component 802 generally controls the overall operation of the terminal device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
[0199] The memory 804 is configured to store various types of data to support operations on the terminal device 800. Examples of such data include instructions for any application or method operating on the terminal device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0200] The power supply component 806 provides power to various components of the terminal device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the terminal device 800.
[0201] The multimedia component 808 includes a screen that provides an output interface between the terminal device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the terminal device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0202] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the terminal device 800 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.
[0203] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.
[0204] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the terminal device 800. For example, the sensor assembly 814 can detect the open / closed state of the terminal device 800, the relative positioning of the components, such as the display and keypad of the terminal device 800, and the sensor assembly 814 can also detect the position change of the terminal device 800 or a component of the terminal device 800, the presence or absence of contact between the user and the terminal device 800, the orientation or acceleration / deceleration of the terminal device 800, and the temperature change of the terminal device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0205] The communication component 816 is configured to facilitate wired or wireless communication between the terminal device 800 and other devices. The terminal device 800 can access a wireless network based on a communication standard, such as WiFi, 3G, 4G, 5G or other standard communication networks, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0206] In an exemplary embodiment, the terminal device 800 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to execute the method provided in any of the above-mentioned method embodiments of the present application.
[0207] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by a processor 820 of a terminal device 800 to complete the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0208] An embodiment of the present application also provides a non-temporary computer-readable storage medium. When the instructions in the storage medium are executed by the processor of the terminal device, the terminal device 800 can execute the method provided by any one of the above-mentioned method embodiments of the present application.
[0209] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
[0210] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the application disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.
[0211] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A traffic congestion warning method, characterized in that: include: Obtaining a standard value of at least one congestion index determined according to a preset traffic flow algorithm model; wherein the congestion index is used to indicate the degree of traffic congestion on a road section, and the traffic flow algorithm model is constructed based on checkpoint data and road condition data; According to the congestion index, the current value of each congestion index in the current traffic information of the road section is compared and analyzed with the corresponding index standard value to generate early warning information indicating traffic congestion.
2. The method according to claim 1, characterized in that The congestion index includes at least one of the following: flow rate, speed, road condition, speed slope and flow rate slope; the method further includes: Determine the traffic flow data, average vehicle speed data and road condition operation data within a historical unit time based on the historical checkpoint data and historical road condition data within a preset time period; According to the flow data and the average vehicle speed data in the unit time, construct the traffic flow algorithm model for determining any one of the flow, speed, speed slope and flow index, and according to the road condition operation data, determine the operation status level for describing the degree of smoothness; The step of obtaining a standard value of at least one congestion indicator determined according to a preset traffic flow algorithm model includes: Obtain the index standard value of any one of the indicators including flow, speed, speed slope and flow slope determined according to the preset traffic flow algorithm model, and the index standard value of the road condition indicator determined according to the operating condition level.
3. The method according to claim 2, characterized in that The constructing of the traffic flow algorithm model for determining any one of the flow rate, speed, speed slope and flow rate index according to the flow data and the average vehicle speed data within the unit time comprises: Constructing an initial traffic flow algorithm model, wherein the initial algorithm model includes a Greenshields model; The average vehicle speed data within the unit time is used as the horizontal axis data, and the flow data within the unit time is used as the vertical axis data, and the curve constant term in the Greenshields model is determined by fitting to obtain the traffic flow algorithm model.
4. The method according to claim 2 or 3, characterized in that: Also includes: According to a preset time window, the historical checkpoint data and the historical road condition data are subjected to sliding window processing to obtain the historical checkpoint data and the historical road condition data after sliding window processing; The method of determining the flow data, average vehicle speed data and road condition data within a historical unit time according to the historical checkpoint data and historical road condition data within a preset time period includes: Based on the historical checkpoint data and historical road condition data after sliding window processing, the flow data, average vehicle speed data and road condition operation data within the historical unit time are determined.
5. The method according to any one of claims 1 to 4, characterized in that: The index standard value of the congestion index includes at least one of the following: the index standard value of the speed index includes a speed critical value for indicating a minimum speed value and a speed warning value for indicating a maximum speed value, the index standard value of the flow index includes a flow warning value for indicating a minimum flow, the index standard value of the road condition index includes a level warning value for indicating that the road condition enters a congested state, the index standard value of the speed slope index includes a first slope warning value for indicating that the speed slope is negative, and the index standard value of the flow slope index includes a second slope warning value for indicating that the flow slope is positive.
6. The method according to claim 5, characterized in that The comparing and analyzing the current value of each congestion indicator in the current traffic information with the corresponding standard value of the indicator includes at least one of the following: If the current speed value of the speed index of the current traffic information reaches the speed critical value and is less than the speed warning value, it is determined that the current traffic information does not reach the index standard value of the speed index; If the current traffic information about the current traffic flow index reaches the traffic flow warning value, determining that the current traffic information does not reach the index standard value of the traffic flow index; If the current traffic information about the current road condition index reaches the level warning value, then determining that the current traffic information does not reach the index standard value of the road condition index; If the current speed slope of the speed slope index of the current traffic information reaches the first slope warning threshold, determining that the current traffic information does not reach the index standard value of the speed slope index; If the current traffic slope of the current traffic information with respect to the traffic slope index reaches the second slope warning threshold, it is determined that the current traffic information does not reach the index standard value of the traffic slope index.
7. The method according to any one of claims 1 to 4, characterized in that: The current traffic information includes traffic information between time lapse moments that are a first preset time interval forward from the current moment; The generating of warning information for indicating traffic congestion comprises: If the current value of each congestion indicator does not reach the corresponding indicator standard value, and does not reach the corresponding indicator standard value for a preset number of times within a second preset time interval, a warning message indicating traffic congestion is generated, wherein the second preset time interval is smaller than the first preset time interval.
8. The method according to any one of claims 1 to 4, characterized in that: Also includes: The warning information is sent to the vehicle whose road section ahead is the road section, and / or the traffic management platform, so that the vehicle and / or the traffic management platform executes relevant traffic decisions according to the warning information.
9. A traffic congestion warning device, characterized in that: include: An indicator acquisition module, which is configured to acquire an indicator standard value of at least one congestion indicator determined according to a preset traffic flow algorithm model; wherein the congestion indicator is used to indicate the degree of traffic congestion on a road section, and the traffic flow algorithm model is constructed based on checkpoint data and road condition data; The warning generation module is configured to compare and analyze the current values of each congestion indicator in the current traffic information of the road section with the corresponding standard values of the indicator according to the congestion indicator, and generate warning information indicating traffic congestion.
10. An electronic device / computer-readable storage medium / computer program product, characterized in that: The electronic device comprises: a memory and a processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory, so that the electronic device executes the traffic congestion warning method according to any one of claims 1 to 8; and / or The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the traffic congestion warning device method according to any one of claims 1 to 8; and / or The computer program product comprises a computer program, which, when executed by a processor, implements the traffic congestion warning method according to any one of claims 1 to 8.
Citation Information
Cited By
Intelligent logistics-oriented path planning method and system
CN119600835A
High-speed traffic flow detection method and system based on deep learning
CN119672964A
