Tunnel vehicle flow control method, device and equipment and storage medium

By assessing and decomposing the importance of vehicle data, optimizing parameters using the random forest variable importance scoring method, VMD method, and whale optimization algorithm, and combining it with a bidirectional GRU neural network for traffic flow prediction, the problem of lag in tunnel traffic flow control was solved, and efficient and timely tunnel traffic management was achieved.

CN117523832BActive Publication Date: 2026-11-24HEBEI UNIV OF TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311425690.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-30
Publication Date
2026-11-24
Estimated Expiration
2043-10-30

AI Technical Summary

Technical Problem

Existing technologies for controlling tunnel traffic flow exhibit significant lag, making it difficult to achieve efficient and timely traffic management, which leads to traffic congestion and issues related to safety and energy consumption.

Method used

By assessing and decomposing the importance of vehicle data, optimizing parameters using the random forest variable importance scoring method, VMD method, and whale optimization algorithm, and combining it with a bidirectional GRU neural network for traffic flow prediction, a tunnel model is established for dynamic control.

Benefits of technology

It improved the accuracy and efficiency of traffic flow forecasting, enabling efficient and timely tunnel road traffic management and reducing traffic congestion and energy consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117523832B_ABST
    Figure CN117523832B_ABST
Patent Text Reader

Abstract

This application relates to the field of intelligent traffic management technology, and provides a method, device, equipment, and storage medium for tunnel traffic flow control. The method includes: acquiring vehicle data and tunnel data; wherein the vehicle data includes multiple different types of data; evaluating the importance of all data types in the vehicle data to obtain target types; decomposing the target type data to obtain multiple target data; making predictions based on the multiple target data to obtain predicted traffic flow values; and obtaining a tunnel traffic flow control scheme based on the predicted traffic flow values ​​and tunnel data. This application enables efficient and timely management of tunnel road traffic.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of intelligent traffic management technology, and in particular relates to methods, devices, equipment and storage media for tunnel traffic flow control. Background Technology

[0002] Currently, with the acceleration of urbanization, more and more people are flocking to cities, leading to problems such as high urban population density and high energy consumption. As part of urban infrastructure, tunnels become bottlenecks for traffic congestion during peak periods of pedestrian and vehicular traffic, while also posing safety and energy consumption issues.

[0003] Current technologies rely on manual intervention in tunnel traffic lights or speed limits to control traffic flow and avoid congestion. However, this method is highly reactive, often only being adjusted after congestion occurs, which is not conducive to achieving optimal management of tunnel traffic. Summary of the Invention

[0004] This application provides a method, apparatus, equipment, and storage medium for controlling tunnel traffic flow, so as to achieve efficient and timely management of tunnel road traffic.

[0005] This application is achieved through the following technical solution:

[0006] In a first aspect, embodiments of this application provide a tunnel traffic flow control method, including:

[0007] Acquire vehicle data and tunnel data; vehicle data includes various different types of data.

[0008] The importance of each data type in the vehicle data is assessed to determine the target type;

[0009] The target type of data is decomposed to obtain multiple target data;

[0010] Traffic flow prediction is obtained by making predictions based on multiple target data.

[0011] Based on traffic flow forecasts and tunnel data, a tunnel traffic flow control scheme is derived.

[0012] In conjunction with the first aspect, in some possible implementation methods, the importance of all data types in the vehicle data is evaluated separately to obtain the target type, including:

[0013] The importance of all data types in the vehicle data is assessed using the random forest variable importance scoring method, resulting in an importance score for each type. The types are then sorted in descending order of importance score, yielding a ranking result. The top one or more types in the ranking result are selected as the target type.

[0014] In conjunction with the first aspect, some possible implementations involve decomposing the target data type into multiple target data sets, including:

[0015] The VMD method is used to adaptively decompose the data in the target type to obtain IMF components of various orders. Each IMF component of an order is then used as the target data.

[0016] In conjunction with the first aspect, some possible implementations involve adaptively decomposing the data in the target type based on the VMD method to obtain IMF components of various orders, including:

[0017] Based on the Whale Optimization Algorithm (WOA), the parameters of the VMD method are optimized with the goal of minimizing the fitness function, yielding the optimal parameter combination. The fitness function is the average envelope spectral entropy. This optimal parameter combination is then used as the parameter combination for the VMD method to adaptively decompose the data in the target type, obtaining the IMF components of each order.

[0018] In conjunction with the first aspect, some possible implementation methods involve predicting traffic flow based on multiple target data points to obtain predicted traffic volume values, including:

[0019] For any given target data, input it into a bidirectional GRU neural network to obtain a prediction result for that target data. Calculate the sum of the prediction results for multiple target data sets to obtain the traffic flow prediction value.

[0020] In conjunction with the first aspect, among some possible implementation methods, based on traffic flow forecasts and tunnel data, tunnel traffic flow control schemes are derived, including:

[0021] Based on tunnel data, a tunnel model is established. This model represents the location and number of traffic lights within the tunnel, as well as the tunnel speed limit. If the predicted traffic flow is not less than a preset threshold, the maximum tunnel speed limit is reduced based on the tunnel model, the duration of red lights is increased, the duration of green lights is decreased, or inactive traffic lights are activated. If the predicted traffic flow is less than the preset threshold, the maximum tunnel speed limit is increased based on the tunnel model, the duration of green lights is increased, the duration of red lights is decreased, or active traffic lights are deactivated.

[0022] In conjunction with the first aspect, some possible implementations include evaluating the importance of all data types in the vehicle data before determining the target type, and further include:

[0023] The vehicle data is cleaned of duplicate data, missing data is filled in, and data is normalized to obtain the target vehicle data.

[0024] The importance of each data type in the vehicle data is assessed to determine the target type, including:

[0025] The importance of each data type in the target vehicle data is evaluated to obtain the target type.

[0026] Secondly, embodiments of this application provide a tunnel traffic flow control device, comprising:

[0027] The data acquisition module is used to acquire vehicle data and tunnel data; among which, vehicle data includes various types of data.

[0028] The importance assessment module is used to assess the importance of all data types in the vehicle data to obtain the target type.

[0029] The data decomposition module is used to decompose data of the target type to obtain multiple target data.

[0030] The prediction module is used to make predictions based on multiple target data to obtain traffic flow prediction values.

[0031] The results output module is used to obtain a tunnel traffic flow control scheme based on the predicted traffic flow and tunnel data.

[0032] Thirdly, embodiments of this application provide a terminal device, including: a processor and a memory, the memory being used to store a computer program, wherein the processor executes the computer program to implement the tunnel traffic flow control method as described in any of the first aspects.

[0033] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the tunnel traffic flow control method as described in any of the first aspects.

[0034] It is understood that the beneficial effects of the second to fourth aspects mentioned above can be found in the relevant descriptions in the first aspect mentioned above, and will not be repeated here.

[0035] The beneficial effects of the embodiments in this application compared with the prior art are:

[0036] This application assesses the importance of the acquired vehicle data types to determine target types, thereby eliminating useless data from a large amount of data and selecting relatively important data, improving efficiency. Then, the data within the target types is decomposed to obtain multiple target data sets, and predictions are made based on these target data sets to obtain traffic flow forecasts. Decomposing the data yields a large amount of decomposed data, transforming non-stationary and nonlinear data into relatively stationary data, facilitating more accurate traffic flow forecasts. Finally, based on these accurate traffic flow forecasts, efficient and timely tunnel road traffic management is achieved.

[0037] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this specification. Attached Figure Description

[0038] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0039] Figure 1 This is a schematic flowchart of a tunnel traffic flow control method provided in an embodiment of this application;

[0040] Figure 2 This is a structural diagram of a bidirectional GRU neural network provided in an embodiment of this application;

[0041] Figure 3 This is a predicted tunnel traffic flow map provided in one embodiment of this application;

[0042] Figure 4 This is a schematic diagram of the structure of a tunnel traffic flow control device provided in one embodiment of this application;

[0043] Figure 5 This is a schematic diagram of the structure of a terminal device provided in an embodiment of this application. Detailed Implementation

[0044] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.

[0045] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.

[0046] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0047] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if detected [the described condition or event]" may be interpreted, depending on the context, as meaning "once determined," "in response to determination," "once detected [the described condition or event]," or "in response to detection [the described condition or event]."

[0048] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0049] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.

[0050] This application provides a tunnel traffic flow control method. By assessing the importance of vehicle data types and decomposing the vehicle data, traffic flow prediction values ​​can be obtained more efficiently and accurately. Then, based on the accurate traffic flow prediction values, the goal of efficient and timely tunnel road traffic management can be achieved.

[0051] Figure 1 This is a schematic flowchart of a tunnel traffic flow control method according to an embodiment of this application, with reference to... Figure 1 The detailed description of the traffic flow control method for this tunnel is as follows:

[0052] Step 101: Obtain vehicle data and tunnel data; vehicle data includes various types of data.

[0053] Specifically, a large number of devices and sensors are installed in the tunnel, such as high-definition video surveillance, vehicle detectors, light sensors, temperature sensors, and humidity sensors, which can reliably obtain various information inside the tunnel and realize real-time monitoring and data collection.

[0054] Step 102: Evaluate the importance of all data types in the vehicle data to obtain the target type.

[0055] For example, step 102 may include: evaluating the importance of all data types in the vehicle data using a random forest variable importance scoring method to obtain an importance score for each type; sorting the types according to their importance scores from largest to smallest to obtain a ranking result; and selecting the top one or more types in the ranking result as the target type.

[0056] Specifically, in the random forest variable importance scoring method, GI stands for Gini index, and the features are assumed to be X1, X2, X3, ..., X... J There is one decision tree with C categories. We need to calculate feature X. J Gini Index Score That is, the average change in node splitting impurity of the Jth feature across all decision trees in the RF.

[0057] The formula for calculating the Gini index of the i-th tree node q is:

[0058]

[0059] Where C represents the number of categories. This represents the proportion of category c in the i-th tree node q.

[0060] The change in the Gini exponent before and after node q is _____.

[0061]

[0062] in, and This represents the Gini index of the two new nodes after the branch.

[0063] Assume feature X J If the nodes appearing in decision tree i are set Q, then X J The importance of the i-th tree is

[0064]

[0065] Assuming there are I trees in total in RF, then

[0066]

[0067] Finally, the importance scores are normalized to obtain the feature importance assessment results.

[0068]

[0069] Specifically, the random forest variable importance scoring method can be used to remove redundant data, thereby avoiding data redundancy caused by excessive input volume, and selecting the few data types that have the greatest impact on the prediction results, thus improving the efficiency of subsequent traffic flow prediction.

[0070] For example, before step 103, the process may include: performing deduplication cleaning, missing data completion, and data normalization on the vehicle data to obtain the target vehicle data.

[0071] Furthermore, step 103 may also include: assessing the importance of all data types in the target vehicle data to obtain the target type.

[0072] Specifically, performing deduplication, missing data completion, and data normalization on vehicle data can eliminate erroneous data in the original data, complete missing data, unify the data format, and ultimately make the traffic flow data predicted using this data more accurate.

[0073] Specifically, linear interpolation can be used to process missing data. Linear interpolation uses the average of the last available data point and the first available data point in the dataset to interpolate missing values.

[0074] Specifically, the max-min normalization method can be used to normalize the data, mapping it to the [0-1] interval. The formula for this method is:

[0075]

[0076] Where, x new Let x represent the data after normalization, and x represent the data before normalization. min x represents the minimum value of data in the data type that has undergone normalization. max This represents the maximum value of the data in the data type that has undergone normalization.

[0077] Step 103: Decompose the target type of data to obtain multiple target data.

[0078] For example, step 103 may include: adaptively decomposing the data in the target type based on the VMD method to obtain IMF components of each order. Each IMF component of each order is then used as the target data.

[0079] Specifically, the VMD method uses Wiener filtering to initialize the relevant parameters, obtaining the estimated center angular frequency ω. k Then, alternating multiplication is used to update each mode function and its center frequency, and each mode is demodulated to the relevant frequency band to minimize the total estimated bandwidth. The formula is as follows:

[0080]

[0081] In the formula {u k}={u1,u2,…,u k} and {ω k}={ω1,ω2,…,ω k Let} be the components and center frequency of k obtained from the intrinsic mode function (IMF) decomposition, respectively. The equation is derived using the Lagrange operator λ(t) and a quadratic penalty factor as follows:

[0082]

[0083] Finding the optimal solution with constrained variables, u k and ω k The updated formula is as follows:

[0084]

[0085]

[0086] The steps of the VMD method are as follows:

[0087] a) Initialization and n.

[0088] b) Update u according to formulas (1) and (2). k and ω k .

[0089] c) According to Update λ.

[0090] d) Set the judgment precision e > 0; if the judgment condition is not met... Then return to step b), and stop iterating if the judgment condition is met.

[0091] Specifically, the data in the target type is decomposed into multiple components. This decomposes the complex, non-stationary, and nonlinear data, avoiding the randomness of subsequent prediction results. It provides more data for subsequent predictions while obtaining relatively stable data, thereby making the prediction results more accurate.

[0092] For example, adaptively decomposing data of a target type using the VMD method to obtain IMF components of various orders can include: optimizing the parameters of the VMD method based on the Whale Optimization Algorithm (WOA) with the goal of minimizing the fitness function to obtain the optimal parameter combination. Here, the fitness function is the average envelope spectral entropy. The optimal parameter combination is then used as the parameter combination for the VMD method to adaptively decompose the data of the target type to obtain IMF components of various orders.

[0093] Specifically, in the Whale Optimization Algorithm (WOA), the core is to simulate the hunting behavior of humpback whales. A spiral pattern is used for local search, and a random learning strategy is used for global search. The specific steps are as follows:

[0094] 1) Encirclement and capture of prey

[0095] Humpback whales can pinpoint locations and surround prey. In this algorithm, the position of the single whale closest to the target is set as the optimal position. Once the optimal position is determined, other whales will approach that position. The formula for surrounding prey is:

[0096] W(t+1)=W * (t)-AD

[0097] D = |CW * (t)-W(t)|

[0098] In the formula, t represents the current iteration, and W * (t) represents the current optimal position vector. Furthermore, the coefficients A and C can be calculated using the following formula:

[0099] A = 2a × r1 - a

[0100] C = 2r²

[0101]

[0102] Here, r1 and r2 represent random numbers between 0 and 1. a is a quantity that varies linearly within the range of 0 to 2, and T... max This indicates the maximum number of iterations.

[0103] 2) Search behavior

[0104] Humpback whales follow a spiral path to their prey. The mathematical model simulating humpback whale hunting behavior is as follows:

[0105] W(t+1)=W* (t)+D p e bl cos(2πl)

[0106] In this formula, D p =|W * (t)-W(t)| represents the distance from the prey to the humpback whale, b is a constant parameter controlling the shape of the spiral, and l is a random number in the range [-1,1].

[0107] Furthermore, as humpback whales circle their prey, the encirclement gradually shrinks. To simulate this behavior, assuming humpback whales choose a contracting envelope and spiral model, and have a 50% probability of updating their positions, the following mathematical model was developed:

[0108]

[0109] Where p is a random number in the range [0,1].

[0110] 3) Searching for prey

[0111] Humpback whales swim randomly based on their relative positions when searching for prey, which can be represented by the following mathematical model:

[0112] D = |CW rand (t)-W(t)|

[0113] W(t+1)=W rand (t)-AD

[0114] In the formula, W rand This represents a randomly selected whale location. When |A| > 1, the whale is forced to move away from its prey, and a randomly generated W is used. rand To find more suitable prey.

[0115] Specifically, the Whale Optimization Algorithm (WOA) can quickly obtain the optimal VMD parameters. Compared to the step-by-step calculation and parameter iteration in the VMD method, this saves computation time and improves the computational efficiency of this scheme. It can efficiently obtain the predicted traffic flow value.

[0116] Step 104: Make predictions based on multiple target data to obtain traffic flow prediction values.

[0117] For example, step 104 may include: for any target data, inputting the target data into a bidirectional GRU neural network to obtain a prediction result for the target data; calculating the sum of the prediction results corresponding to multiple target data as the traffic flow prediction value.

[0118] Specifically, such as Figure 2As shown, the bidirectional GRU neural network consists of two GRUs: one is a forward GRU model that accepts forward input; the other is a backward GRU model that learns backward input. At any given time, the states of the two GRUs jointly determine the output of the bidirectional GRU. The hidden layer state value of the bidirectional GRU at time t is obtained through the forward hidden layer state. and reverse hidden layer state Weighted summation yields:

[0119]

[0120]

[0121]

[0122] In neural network models, a large amount of input parameters can lead to parameter overload. Attention mechanisms, however, can effectively identify the most important information within a complex array of parameters, while decreasing attention to less important information. They can even effectively filter out useless information, improving efficiency while maintaining accuracy. Therefore, the bidirectional GRU neural network in this scheme can also incorporate an attention mechanism, primarily applied to the hidden state matrix X within a recurrent neural network framework. i ={X1,X2,X3,…,X N During the generation process of}, the following expression is calculated:

[0123]

[0124]

[0125] Among them, X i is the hidden state information at time i, and att(X,q) is the attention weight.

[0126] Specifically, applying a bidirectional GRU neural network to predict traffic flow can yield more accurate prediction results. In addition, by incorporating an attention mechanism, it can find the most important information in complex data, improving work efficiency while ensuring accuracy.

[0127] Step 105: Based on the predicted traffic flow and tunnel data, obtain the tunnel traffic flow control scheme.

[0128] For example, step 105 may include: establishing a tunnel model based on tunnel data; wherein the tunnel model represents the location, number, and speed limit of traffic lights in the tunnel. If the predicted traffic flow is not less than a preset threshold, the maximum speed limit of the tunnel is reduced based on the tunnel model, the duration of red lights is increased, the duration of green lights is decreased, or inactive traffic lights are turned on. If the predicted traffic flow is less than the preset threshold, the maximum speed limit of the tunnel is increased based on the tunnel model, the duration of green lights is increased, the duration of red lights is decreased, or active traffic lights are turned off.

[0129] Specifically, such as Figure 3 As shown, the predicted traffic flow data varies greatly at different times. Therefore, it is necessary to automatically control the established tunnel model to achieve dynamic balance of tunnel traffic flow, realize efficient and timely management of tunnel road traffic, and achieve optimal traffic effect.

[0130] The aforementioned tunnel traffic flow control method assesses the importance of the acquired vehicle data types to determine target types. This process eliminates useless data from a large volume of data, allowing for the selection of relatively important data and improving efficiency. The data within each target type is then decomposed into multiple target data sets. Based on these target data sets, traffic flow predictions are obtained. The decomposition of the data yields a large amount of decomposed data, transforming non-stationary and nonlinear data into relatively stationary data, facilitating more accurate traffic flow predictions. Finally, based on these accurate traffic flow predictions, the method achieves efficient and timely tunnel road traffic management.

[0131] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0132] Corresponding to the tunnel traffic flow control method described in the above embodiments, Figure 4 A structural block diagram of the tunnel traffic flow control device provided in the embodiments of this application is shown. For ease of explanation, only the parts related to the embodiments of this application are shown.

[0133] See Figure 4 The tunnel traffic flow control device in this application embodiment may include:

[0134] The data acquisition module 201 is used to acquire vehicle data and tunnel data; among which, vehicle data includes various types of data.

[0135] Importance assessment module 202 is used to assess the importance of all data types in the vehicle data to obtain the target type.

[0136] The data decomposition module 203 is used to decompose data of the target type to obtain multiple target data.

[0137] The prediction module 204 is used to make predictions based on multiple target data to obtain traffic flow prediction values.

[0138] The result output module 205 is used to obtain a tunnel traffic flow control scheme based on the predicted traffic flow and tunnel data.

[0139] For example, the importance assessment module 202 may include:

[0140] The scoring unit is used to evaluate the importance of all data types in the vehicle data using the random forest variable importance scoring method, and obtain the importance score of each type.

[0141] The sorting unit is used to sort the categories in descending order of importance score, thus obtaining the sorting result.

[0142] Determine the target type unit, which is used to take the first one or more types in the sorting results as the target type.

[0143] For example, the data decomposition module 203 can be specifically used to: adaptively decompose the data in the target type based on the VMD method to obtain IMF components of each order. Each IMF component of each order is then used as the target data.

[0144] For example, the data decomposition module 203 may include:

[0145] The optimization unit is used to optimize the parameters of the VMD method based on the Whale Optimization Algorithm (WOA), with the objective function of minimizing the fitness function, to obtain the optimal parameter combination. The fitness function is the average envelope spectral entropy.

[0146] The decomposition unit is used to adaptively decompose the data in the target type by taking the optimal parameter combination as the parameter combination of the VMD method, and obtaining IMF components of each order.

[0147] For example, prediction module 204 may include:

[0148] The prediction unit is used to input any target data into a bidirectional GRU neural network and obtain the prediction result for that target data.

[0149] The summation unit is used to calculate the sum of the prediction results corresponding to multiple target data, which is used as the traffic flow prediction value.

[0150] For example, the result output module 205 may include:

[0151] The modeling unit is used to build a tunnel model based on tunnel data; the tunnel model represents the location, number, and speed limit of traffic lights in the tunnel.

[0152] The control unit is used to reduce the maximum speed limit in the tunnel, increase the duration of red lights, decrease the duration of green lights, or turn on inactive traffic lights if the predicted traffic flow is not less than a preset threshold, based on the tunnel model. If the predicted traffic flow is less than the preset threshold, the unit will increase the maximum speed limit in the tunnel, increase the duration of green lights, decrease the duration of red lights, or turn off active traffic lights, based on the tunnel model.

[0153] For example, the tunnel traffic flow control device may further include:

[0154] The data cleaning module is used to perform duplicate data cleaning, missing data completion, and data normalization on vehicle data to obtain the target vehicle data.

[0155] Furthermore, the importance assessment module 202 can also be used for:

[0156] The importance of each data type in the target vehicle data is evaluated to obtain the target type.

[0157] It should be noted that the information interaction and execution process between the above-mentioned devices / units are based on the same concept as the method embodiments of this application. For details on their specific functions and technical effects, please refer to the method embodiments section, and they will not be repeated here.

[0158] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0159] This application also provides a terminal device, see [link to relevant documentation] Figure 5The terminal device 300 may include at least one processor 310 and a memory 320. The memory 320 is used to store a computer program 321. The processor 310 is used to call and run the computer program 321 stored in the memory 320 to implement the steps in any of the above method embodiments, for example... Figure 1 Steps 101 to 105 in the illustrated embodiment. Alternatively, when the processor 310 executes the computer program, it implements the functions of each module / unit in the above-described device embodiments, for example... Figure 4 The functions of each module are shown.

[0160] For example, computer program 321 may be divided into one or more modules / units, one or more of which are stored in memory 320 and executed by processor 310 to complete this application. The one or more modules / units may be a series of computer program segments capable of performing specific functions, which describe the execution process of the computer program in terminal device 300.

[0161] Those skilled in the art will understand that Figure 5 This is merely an example of a terminal device and does not constitute a limitation on the terminal device. It may include more or fewer components than shown, or combine certain components, or different components, such as input / output devices, network access devices, buses, etc.

[0162] The processor 310 can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor.

[0163] The memory 320 can be an internal storage unit of the terminal device or an external storage device, such as a plug-in hard drive, a smart media card (SMC), a secure digital card (SD), or a flash card. The memory 320 is used to store the computer program and other programs and data required by the terminal device. The memory 320 can also be used to temporarily store data that has been output or will be output.

[0164] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.

[0165] The tunnel traffic flow control method provided in this application embodiment can be applied to terminal devices such as computers, wearable devices, vehicle-mounted devices, tablet computers, laptops, and netbooks. This application embodiment does not impose any restrictions on the specific type of terminal device.

[0166] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps in the various embodiments of the tunnel traffic flow control method described above.

[0167] This application provides a computer program product that, when run on a mobile terminal, enables the mobile terminal to implement the steps described in the various embodiments of the tunnel traffic flow control method.

[0168] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of this application can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include at least: any entity or device capable of carrying the computer program code to a photographing device / terminal device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium. Examples include USB flash drives, portable hard drives, magnetic disks, or optical disks.

[0169] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0170] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0171] In the embodiments provided in this application, it should be understood that the disclosed apparatus / network devices and methods can be implemented in other ways. For example, the apparatus / network device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0172] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0173] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.

Claims

1. A method for controlling traffic flow in a tunnel, characterized in that, include: Acquire vehicle data and tunnel data; wherein the vehicle data includes various different types of data; The importance of all data types in the vehicle data is evaluated using the random forest variable importance scoring method, and importance scores for each type are obtained. The categories are sorted in descending order of importance score to obtain the sorting results; Use the first one or more types in the sorting results as the target type; Based on the Whale Optimization Algorithm (WOA), the parameters of the VMD method are optimized with the minimum fitness function as the objective function to obtain the optimal parameter combination; wherein, the fitness function is the average envelope spectrum entropy. The optimal parameter combination is used as the parameter combination for the VMD method to adaptively decompose the data in the target type to obtain IMF components of each order. Each IMF component is used as the target data; For any target data, the target data is input into a bidirectional GRU neural network to obtain the prediction result of the target data; The sum of the prediction results corresponding to the multiple target data is calculated as the traffic flow prediction value; Based on the predicted traffic flow and the tunnel data, a tunnel traffic flow control scheme is obtained.

2. The tunnel traffic flow control method as described in claim 1, characterized in that, The process of obtaining a tunnel traffic flow control scheme based on the predicted traffic flow and the tunnel data includes: Based on the tunnel data, a tunnel model is established; wherein, the tunnel model represents the location, number, and speed limit of traffic lights in the tunnel; If the predicted traffic flow is not less than a preset threshold, the maximum speed limit of the tunnel is reduced based on the tunnel model, the duration of the red light in the traffic lights is increased, the duration of the green light in the traffic lights is reduced, or the non-working traffic lights are turned on. If the predicted traffic flow is less than the preset threshold, the maximum speed limit of the tunnel is increased based on the tunnel model, the duration of the green light in the traffic lights is increased, the duration of the red light in the traffic lights is decreased, or the traffic lights that are currently in operation are turned off.

3. The tunnel traffic flow control method as described in claim 1, characterized in that, Before performing importance assessments on all data types in the vehicle data to obtain the target type, the process also includes: The vehicle data is cleaned of duplicate data, missing data is filled in, and data is normalized to obtain the target vehicle data; The importance of each data type in the vehicle data is evaluated to obtain the target type, including: The importance of each data type in the target vehicle data is evaluated to obtain the target type.

4. A tunnel traffic flow control device, characterized in that, include: The data acquisition module is used to acquire vehicle data and tunnel data; wherein the vehicle data includes various types of data. The importance assessment module is used to assess the importance of all data types in the vehicle data using the random forest variable importance scoring method, and obtain an importance score for each type; sort the types according to the importance scores of each type in descending order, and obtain a ranking result; and select the first one or more types in the ranking result as the target type. The data decomposition module is used to optimize the parameters of the VMD method based on the Whale Optimization Algorithm (WOA) with the minimum fitness function as the objective function, to obtain the optimal parameter combination; wherein, the fitness function is the average envelope spectrum entropy; the optimal parameter combination is used as the parameter combination of the VMD method to adaptively decompose the data in the target type to obtain IMF components of each order; and each IMF component of each order is used as the target data. The prediction module is used to input any target data into a bidirectional GRU neural network to obtain a prediction result for the target data; and to calculate the sum of the prediction results corresponding to multiple target data as the traffic flow prediction value. The result output module is used to obtain a tunnel traffic flow control scheme based on the predicted traffic flow value and the tunnel data.

5. A terminal device, comprising: A processor and a memory, wherein the memory stores a computer program executable on the processor, characterized in that the processor, when executing the computer program, implements the tunnel traffic flow control method as described in any one of claims 1 to 3.

6. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the tunnel traffic flow control method as described in any one of claims 1 to 3.

Citation Information

Patent Citations

  • Urban expressway traffic flow short-term prediction method, computer and storage medium

    CN114241779A

  • Method and device for calculating safe vehicle speed at tunnel exit

    CN115063986A