Method, device and electronic device for determining variable lanes
By analyzing historical traffic flow data, determining the target lane and adjusting the number and orientation of variable lanes, the problem of insufficient basis for determining variable lanes in the prior art is solved, and the reliability and fluency of road traffic is improved.
Patent Information
- Application Number
- CN202110954765.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-19
- Publication Date
- 2025-05-02
- Estimated Expiration
- 2041-08-19
AI Technical Summary
In the prior art, there are fewer basis for designing the determination scheme of variable lanes, resulting in poor reliability.
By obtaining traffic flow data over the historical time length, the lane with a larger average flow value is determined as the target lane, and the number and orientation of variable lanes are gradually adjusted according to the flow difference.
The scientificity and reliability of the number of variable lanes are improved, and the direction of variable lanes is adjusted by real-time traffic flow, effectively alleviating road congestion.
Smart Images

Figure CN115880889B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of intelligent transportation technology, and specifically relates to a method, device and electronic equipment for determining a variable lane. Background Art
[0002] As the number of cars increases, road congestion occurs more frequently. Currently, variable lanes are usually set up to reduce the probability of road congestion.
[0003] On a road with at least three lanes in one direction and at least two directional lanes, the balance of traffic flow between lanes with different directions on the road is obtained by analyzing the road flow in the historical time period. In the case where the probability of road congestion is high due to the imbalance of traffic flow between lanes with different directions, one or more lanes will be set as variable lanes, and the direction of the variable lane will be adjusted according to the real-time traffic flow.
[0004] At present, when variable lanes need to be set, the number of variable lanes is usually determined directly based on experience. Therefore, there is a problem that the design basis of the variable lane determination scheme is small in current technology, resulting in poor reliability. Summary of the invention
[0005] The purpose of the present invention is to provide a method, device and electronic device for determining a variable lane, which can solve the problem that the variable lane determination scheme in the related art has less design basis and leads to poor reliability.
[0006] In order to solve the above-mentioned technical problems, the present invention is achieved as follows:
[0007] In a first aspect, the present invention provides a method for determining a variable lane, comprising:
[0008] Acquire first traffic flow information of a first guide lane within a first time length, and acquire second traffic flow information of a second guide lane within the first time length; wherein the number of at least one of the first guide lane and the second guide lane is greater than 1;
[0009] Based on the first traffic flow information and the second traffic flow information, determining one of the first guide lane and the second guide lane with a larger average flow value as a first target lane, and determining the other as a second target lane; wherein the number of the second target lanes is M;
[0010] When M>1, the number of the second target lanes is gradually reduced until the absolute value of the difference between the average flow value of the second target lane and the average flow value of the first target lane is less than a preset value, and the number of the second target lanes is determined to be Y, where 1≤Y<M;
[0011] N lanes in the second target lane that are close to the first target lane are determined as variable lanes, where N=MY.
[0012] Optionally, after the step of determining, based on the first traffic flow information and the second traffic flow information, one of the first guide lane and the second guide lane having a larger average flow value as a first target lane and determining the other as a second target lane, the method further includes:
[0013] Determining whether the first target lane satisfies a first preset condition, wherein satisfying the first preset condition indicates that a ratio of a time length of the first target lane being in a congested state to the first time length is greater than a first threshold;
[0014] Determine whether the first target lane and the second target lane meet a second preset condition; wherein, meeting the second preset condition means that the ratio of the length of time to relieve congestion by setting the variable lane to the length of time in the congested state is greater than a second threshold; when the first target lane and the second target lane meet the second preset condition, execute the step of reducing the number of the second target lanes one by one when M>1 until the absolute value of the difference between the average flow value of the second guide lane and the average flow value of the first guide lane is less than a preset value, and determine that the number of the second target lanes is Y step.
[0015] Optionally, the step of determining whether the first target lane satisfies a first preset condition specifically includes:
[0016] Divide the first time length into multiple second time lengths;
[0017] Acquire first sub-traffic flow information of the first target lane within each of the second time lengths;
[0018] Determine the number of the second time lengths corresponding to the first sub-traffic flow information that meets a third preset condition as a first target number; wherein meeting the third preset condition indicates that the first target lane is in a congested state;
[0019] Determining a congestion state proportion based on a first ratio of the first target number to the total number of the second time lengths;
[0020] When the congestion state proportion is greater than a third threshold, it is determined that the first target lane meets the first preset condition.
[0021] Optionally, the step of determining whether the first target lane and the second target lane satisfy a second preset condition specifically includes:
[0022] Obtaining a first sub-average value and a second sub-average value, wherein the first sub-average value is a ratio of the first sub-traffic flow to the number of the first target lanes, and the second sub-average value is a ratio of the second sub-traffic flow of the second target lane in each of the second time lengths to the number of the second target lanes;
[0023] determining a second ratio based on a ratio between the first sub-average value and the second sub-average value within a target second time length, wherein the target second time length is each second time length within the first time length;
[0024] determining the number of the second ratios that are greater than a fourth threshold as a second target number;
[0025] Determine a dredgeable ratio, wherein the dredgeable ratio is a third ratio of the second target number to the first target number;
[0026] When the unclogable ratio is greater than a fourth threshold, it is determined that the first target lane and the second target lane satisfy the second preset condition.
[0027] Optionally, after the step of determining N lanes in the second target lane close to the first target lane as variable lanes, the method further includes:
[0028] Obtaining a first queue length of the first guide lane and a second queue length of the second guide lane within a third time length;
[0029] The guidance of the variable lane is switched based on the first queue length and the second queue length.
[0030] Optionally, the switching of the guidance of the variable lane based on the first queue length and the second queue length includes:
[0031] Determining whether the values of the first queue length and the second queue length within the third time length meet a fourth preset condition, wherein satisfying the fourth preset condition indicates that the guidance of the variable lane needs to be switched;
[0032] When the fourth preset condition is met, the number of the variable lanes to be switched is determined to be X, where 0≤X≤Y;
[0033] Switch the guidance of the X variable lanes.
[0034] Optionally, when the fourth preset condition is met, after determining that the number of the variable lanes to be switched is X, the method further includes:
[0035] Acquire third traffic flow information of the first guide lane within a fourth time length, and acquire fourth traffic flow information of the second guide lane within the fourth time length;
[0036] Based on the third traffic flow information and the fourth traffic flow information, predicting traffic flow prediction information;
[0037] Inputting the traffic flow prediction information and the state of the variable lanes before switching the guidance of the X variable lanes into a traffic simulation system to obtain a first simulation result;
[0038] Inputting the traffic flow prediction information and the state of the variable lane after switching the guidance of the X variable lanes into the traffic simulation system to obtain a second simulation result;
[0039] When the value of the target queue length corresponding to the first simulation result is greater than the value of the target queue length corresponding to the second simulation result, a guidance step of switching the X variable lanes is performed, and the target queue length includes at least one of the first queue length and the second queue length.
[0040] In a second aspect, an embodiment of the present invention further provides a device for determining a variable lane, comprising:
[0041] A first acquisition module is used to acquire first traffic flow information of a first guide lane within a first time length, and to acquire second traffic flow information of a second guide lane within the first time length; wherein the number of at least one of the first guide lane and the second guide lane is greater than 1;
[0042] A first determination module is used to determine, based on the first traffic flow information and the second traffic flow information, one of the first guide lane and the second guide lane with a larger average flow value as a first target lane, and determine the other as a second target lane; wherein the number of the second target lanes is M;
[0043] A second determination module is used to reduce the number of the second target lanes one by one when M>1 until the absolute value of the difference between the average flow value of the second target lane and the average flow value of the first target lane is less than a preset value, and then determine that the number of the second target lanes is Y, where 1≤Y<M;
[0044] The third determination module is used to determine N lanes in the second target lane that are close to the first target lane as variable lanes, where N=MY.
[0045] Optionally, the variable lane determining device further includes:
[0046] A first judgment module, used to judge whether the first target lane satisfies a first preset condition, wherein satisfying the first preset condition indicates that a ratio of a time length of the first target lane being in a congested state to the first time length is greater than a first threshold;
[0047] The second judgment module is used to judge whether the first target lane and the second target lane meet the second preset condition; wherein, meeting the second preset condition means that the ratio of the length of time to relieve congestion by setting the variable lane to the length of time in the congested state is greater than a second threshold; when the first target lane and the second target lane meet the second preset condition, the step of reducing the number of the second target lanes one by one when M>1 is executed until the absolute value of the difference between the average flow value of the second guide lane and the average flow value of the first guide lane is less than a preset value, and the step of determining the number of the second target lanes to be Y is performed.
[0048] Optionally, the variable lane determining device further includes:
[0049] A second acquisition module is used to acquire a first queue length of the first guide lane and a second queue length of the second guide lane within a third time length;
[0050] A switching module is used to switch the guidance of the variable lane based on the first queue length and the second queue length.
[0051] Optionally, the switching module includes:
[0052] a judgment unit, configured to judge whether the values of the first queue length and the second queue length within the third time length satisfy a fourth preset condition, wherein satisfying the fourth preset condition indicates that the guidance of the variable lane needs to be switched;
[0053] A determining unit, configured to determine that the number of the variable lanes to be switched is X when the fourth preset condition is met, wherein 0≤X≤Y;
[0054] A switching unit is used to switch the guidance of the X variable lanes.
[0055] Optionally, the switching module further includes:
[0056] An acquisition unit, used to acquire third traffic flow information of the first guide lane within a fourth time length, and to acquire fourth traffic flow information of the second guide lane within the fourth time length;
[0057] A prediction unit, configured to predict traffic flow prediction information based on the third traffic flow information and the fourth traffic flow information;
[0058] A first input unit, used for inputting the traffic flow prediction information and the state of the variable lanes before switching the guidance of the X variable lanes into a traffic simulation system to obtain a first simulation result;
[0059] A second input unit is used to input the traffic flow prediction information and the state of the variable lane after switching the guidance of the X variable lanes into the traffic simulation system to obtain a second simulation result;
[0060] an execution unit, configured to execute a guidance step of switching the X variable lanes when a value of a target queue length corresponding to the first simulation result is greater than a value of the target queue length corresponding to the second simulation result, the target queue length including at least one of the first queue length and the second queue length.
[0061] In a third aspect, the present invention further provides an electronic device comprising a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.
[0062] In a fourth aspect, the present invention further provides a computer-readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0063] The variable lane determination method provided in this embodiment, when determining the number of variable lanes to be set, first obtains traffic data within a period of historical time to determine the operation of the road, and provides a design theoretical basis for setting the number of variable lanes. Then, based on the historical traffic data information, it is determined how the number of lanes with different directions affects the traffic situation, so as to determine the optimal number of variable lanes, thereby improving the scientific nature of setting the number of variable lanes. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] Figure 1 is a flow chart of a method for determining a variable lane provided by the present invention;
[0065] Figure 2 It is a structural schematic diagram of a variable lane determination device provided by the present invention;
[0066] Figure 3 It is a structural diagram of an electronic device provided by the present invention. DETAILED DESCRIPTION
[0067] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0068] The terms "first", "second", etc. in the specification and claims of the present invention are used to distinguish similar objects, rather than to describe a specific order or precedence. It should be understood that the terms used in this way can be interchangeable where appropriate, so that the embodiments of the present invention can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of the same type, and the number of objects is not limited. For example, the first object can be one or more.
[0069] See also Figure 1 , an embodiment of the present invention provides a method for determining a variable lane, comprising:
[0070] Step 101, obtaining first traffic flow information of a first guide lane within a first time length, and obtaining second traffic flow information of a second guide lane within the first time length; wherein the number of at least one of the first guide lane and the second guide lane is greater than 1;
[0071] In specific implementation, the variable lane determination method provided by the present method is applied to a road including at least three one-way lanes, and at the same time, the three one-way lanes include at least two lanes with different orientations. Usually, lanes are marked with lane guide lines, and lanes with different orientations allow vehicles to travel in different directions. Common guide lanes include straight lanes, left turn lanes, right turn lanes, and U-turn lanes.
[0072] It should be understood that the first traffic flow information of the first guide lane within the first time length and the second traffic flow information of the second guide lane within the first time length are usually historical data information. Among them, the traffic flow can be understood as the number of participants who actually participate in the traffic through a certain location or a certain section on the road within a unit time. In this embodiment, the first traffic flow information refers to the number of participants who actually participate in the traffic on the first guide lane within the first time length. When the number of the first guide lanes is multiple, the first traffic flow information is the total traffic flow of the multiple first guide lanes. Similarly, the second traffic flow information refers to the number of participants who actually participate in the traffic on the second guide lane within the first time length. When the number of the second guide lanes is multiple, the second traffic flow information is the total traffic flow of the multiple second guide lanes.
[0073] In specific implementation, the specific sources of the first traffic flow information and the second traffic flow information are not limited here. In some embodiments, the data source may be information such as flow and speed of roadside sensor equipment. In other embodiments, the data source may also be information such as the location and speed of the vehicle terminal; in this embodiment, the data needs to be processed to extract the speed information of the vehicle on the target road through the location information.
[0074] Step 102: Based on the first traffic flow information and the second traffic flow information, determine the first guide lane and the second guide lane with a larger average flow value as a first target lane, and determine the other as a second target lane; wherein the number of the second target lanes is M;
[0075] It should be understood that the first traffic flow information includes a first traffic flow value corresponding to the first guide lane, and the average flow value of the first guide lane refers to the ratio of the traffic flow value of the first guide lane to the number of the first guide lanes. The second traffic flow information includes a second traffic flow value corresponding to the second guide lane, and the average flow value of the second guide lane refers to the ratio of the traffic flow value of the second guide lane to the number of the second guide lanes.
[0076] The one with a larger average flow value between the first guide lane and the second guide lane can be considered as the more congested one of the two guide lanes. Therefore, the one with a larger average flow value between the first guide lane and the second guide lane is determined as the first target lane, and the one with a smaller average flow value between the first guide lane and the second guide lane is determined as the second target lane.
[0077] Step 103, when M>1, reduce the number of the second target lanes one by one until the absolute value of the difference between the average flow value of the second target lane and the average flow value of the first target lane is less than a preset value, and determine the number of the second target lanes to be Y, where 1≤Y<M;
[0078] It should be understood that the specific size of the preset value is not limited here, and the size of the preset value is used to indicate the closeness of the average flow value between the first target lane and the second target lane. In specific implementation, the size of the preset value can be adjusted according to actual needs. Usually, the preset value is set to a smaller value.
[0079] In the case of M=1, the number of the second target lane is 1. If the second target lane is set as the variable lane, it will affect the driving of the originally guided vehicle. Therefore, in order to ensure the normal passage of the originally guided vehicle in the second target lane, in the case of M=1, it can be considered that the second target lane has no lane that can be set as the variable lane.
[0080] In the case of M>1, the number of the second target lanes is reduced one by one, and the average flow value of the second target lane is recalculated at this number. The average flow value of the second target lane at this time is the traffic flow value of the second target lane divided by the number of the second target lanes after reduction. In the case where the absolute value of the difference between the recalculated average flow value of the second target lane and the average flow value of the first target lane is less than a preset value, it can be considered that when the second target lanes are reduced to this number, the normal driving of the original guided vehicle can be guaranteed, so the number of the second target lanes in this case is determined to be Y.
[0081] Step 104: determine N lanes in the second target lane that are close to the first target lane as variable lanes, where N=MY.
[0082] It should be understood that, in a specific implementation, the first target lane and the second target lane are usually arranged adjacent to each other. In order to avoid confusion in the driving direction of vehicles caused by the intersection of lanes with different orientations, when determining the variable lane, the lane close to the first target lane in the second target lane is preferentially determined as the variable lane. Setting N second target lanes as the variable lanes can ensure the normal driving of the original guided vehicle of the second target lane and alleviate the congestion of the first target lane.
[0083] The variable lane determination method provided in this embodiment, when determining the number of variable lanes to be set, first obtains traffic data within a period of historical time to determine the operation of the road, and provides a design theoretical basis for setting the number of variable lanes. Then, based on the historical traffic data information, it is determined how the number of lanes with different directions affects the traffic situation, so as to determine the optimal number of variable lanes, thereby improving the scientific nature of the setting of the number of variable lanes.
[0084] Optionally, after step 102, the method further includes:
[0085] Determining whether the first target lane satisfies a first preset condition, wherein satisfying the first preset condition indicates that a ratio of a time length of the first target lane being in a congested state to the first time length is greater than a first threshold;
[0086] After step 102, it is necessary to determine whether the ratio of the length of time that the first target lane is in a congested state to the first time length is greater than a first threshold value to determine whether the congestion of the first target lane occurs frequently. The size of the first threshold value is not limited here. When the first target lane does not meet the first preset condition, it can be considered that the first target lane is in a congested state for a short time or the congestion of the first target lane is an occasional situation, so there is no need to set a variable lane.
[0087] Determine whether the first target lane and the second target lane satisfy a second preset condition; wherein satisfying the second preset condition means that the ratio of the length of time to relieve congestion by setting the variable lane to the length of time in the congested state is greater than a second threshold; if the first target lane and the second target lane satisfy the second preset condition, execute step 103.
[0088] When the first target lane and the second target lane do not satisfy the second preset condition, it can be considered that the second target lane does not have the margin for setting the variable lane or setting the variable lane cannot alleviate the congestion of the first target lane for most of the time. In this case, it is considered that there is no need to set the variable lane.
[0089] In the method provided in this embodiment, after executing step 102, it is also necessary to determine whether the first target lane meets the first preset condition and whether the first target lane and the second target lane meet the second preset condition. In this method, a scheme is adopted to determine whether variable lane setting is required by extracting the road's heavy traffic volume and traffic imbalance information based on historical road traffic volume. Only when the first target lane is frequently blocked and the traffic pressure of the first target lane can be better alleviated by setting a variable channel, a variable lane is set. Through the above settings, the basis and efficiency of setting variable lanes are improved.
[0090] Optionally, the step of determining whether the first target lane satisfies a first preset condition specifically includes:
[0091] Divide the first time length into multiple second time lengths;
[0092] The size of the second time length is not limited here, and the second time length can be considered as the minimum time unit of statistics. In some embodiments, the second time length is 1 hour. In some embodiments, the first time length can also be divided into multiple uneven second time lengths.
[0093] Acquire first sub-traffic flow information of the first target lane within each of the second time lengths;
[0094] The first sub-traffic flow information of the first target lane in each second time length is obtained respectively, wherein the first sub-traffic flow information includes the first sub-traffic flow value in each second time length.
[0095] Determine the number of the second time lengths corresponding to the first sub-traffic flow information that meets a third preset condition as a first target number; wherein meeting the third preset condition indicates that the first target lane is in a congested state;
[0096] It should be understood that, when the first sub-traffic flow information satisfies the third preset condition, it is considered that the first target lane is in a congested state within the second time length corresponding to the first sub-traffic flow information. When the first sub-traffic flow information does not satisfy the third preset condition, it is considered that the first target lane is not in a congested state within the second time length corresponding to the first sub-traffic flow information. The third preset condition can be set according to time requirements.
[0097] In some embodiments, the first sub-traffic flow information includes the first sub-traffic flow value and the average travel speed within each of the second time lengths; the third preset condition is that the first sub-traffic flow value is greater than the flow threshold and / or the average travel speed is less than the speed threshold. The average travel speed refers to the length of the lane divided by the average travel time of all vehicles passing through the road section, including the parking delay time of all vehicles. When the first sub-traffic flow information meets the third preset condition, it can be considered that the traffic flow value of the first target lane is large and / or the vehicles in the first target lane are traveling slowly within the corresponding second time length, and then the first target lane is considered to be in a congested state within the second time length.
[0098] It is determined in turn whether each of the first sub-traffic flow information satisfies the third preset condition, and the number of the first sub-traffic flow information satisfying the third preset condition is recorded, and the number is determined as the first target number.
[0099] Determining a congestion state proportion based on a first ratio of the first target number to the total number of the second time lengths;
[0100] A first ratio of the first target number to the total of the second time lengths is calculated, and the ratio is determined as the congestion state proportion. The congestion state proportion may represent a ratio of the length of time that the first target lane is in a congested state to the first time length.
[0101] When the congestion state proportion is greater than a third threshold, it is determined that the first target lane meets the first preset condition.
[0102] It should be understood that the value of the third threshold value can be adjusted according to actual needs. For example, in one embodiment, the third threshold value is 0.2. In a specific implementation, the value of the third threshold value can be adjusted according to whether the selected first time length is daytime or nighttime. When the congestion state is greater than the third threshold value, it is considered that the first target lane is in a congested state for a longer time, and at this time, it is considered that the first target lane meets the first preset condition. When the first target lane does not meet the first preset condition, it can be considered that the first target lane is in a congested state for a shorter time, and at this time, it is considered that the first target lane does not meet the first preset condition.
[0103] In this embodiment, by respectively counting the traffic flow information of the first target lane in the minimum time unit, it is determined whether the first target lane is in a congested state in each minimum time unit, and then the time the first target lane is in the congested state is determined. Through the method provided by this embodiment, it is possible to determine whether a variable lane needs to be set according to the proportion of congestion state, thereby improving the basis and scientificity of the setting of the variable lane.
[0104] Optionally, the step of determining whether the first target lane and the second target lane satisfy a second preset condition specifically includes:
[0105] Obtaining a first sub-average value and a second sub-average value, wherein the first sub-average value is a ratio of the first sub-traffic flow to the number of the first target lanes, and the second sub-average value is a ratio of the second sub-traffic flow of the second target lane in each of the second time lengths to the number of the second target lanes;
[0106] The second sub-traffic flow information of the second target lane in each second time length is obtained respectively, wherein the second sub-traffic flow information includes the second sub-traffic flow value in each second time length.
[0107] The first sub-average value is a ratio of the first sub-traffic flow to the number of the first target lanes. The second sub-average value is a ratio of the second sub-traffic flow to the number of the second target lanes.
[0108] determining a second ratio based on a ratio between the first sub-average value and the second sub-average value within a target second time length, wherein the target second time length is each second time length within the first time length;
[0109] The ratio between the first sub-average value and the second sub-average value within each second time length is determined as a corresponding second ratio. The second ratio is used to display the relative traffic flow between the first target lane and the second target lane.
[0110] determining the number of the second ratios that are greater than a fourth threshold as a second target number;
[0111] It should be understood that, when the second ratio is greater than the fourth threshold, it can be considered that the second target lane has enough margin to set the variable lane. When the second ratio is less than or equal to the fourth threshold, it is considered that the second target lane does not have enough margin to set the variable lane.
[0112] The fourth threshold value can be set according to actual needs. In some embodiments, the fourth threshold value is 1.2. When the second ratio is greater than 1.2, it is considered that the variable lane can be set at this time, and the traffic condition of the first target lane can be improved by setting the variable lane. When the second ratio is less than or equal to 1.2, it is considered that the variable lane cannot be set at this time.
[0113] It is determined in turn whether each of the second ratios is greater than the fourth threshold, and the number of the second ratios greater than the fourth threshold is recorded, and the number is determined as the first target number.
[0114] Determine a dredgeable ratio, wherein the dredgeable ratio is a third ratio of the second target number to the first target number;
[0115] The third ratio of the second target number to the first target number is calculated, and the third ratio is determined as the unblockable ratio. The unblockable ratio is used to indicate the ratio between the length of time that the traffic condition of the first target lane can be improved by setting the variable lane and the length of time that the first target lane is in a congested state.
[0116] When the unclogable ratio is greater than a fourth threshold, it is determined that the first target lane and the second target lane satisfy the second preset condition.
[0117] In the case where the unblockable ratio is greater than the fourth threshold, it can be considered that the ratio between the length of time for improving the traffic condition of the first target lane by setting the variable lane and the length of time the first target lane is in a congested state is large, and therefore the variable lane can be set. In the case where the unblockable ratio is less than or equal to the fourth threshold, it can be considered that the ratio between the length of time for improving the traffic condition of the first target lane by setting the variable lane and the length of time the first target lane is in a congested state is small, and setting the variable lane is not very meaningful, and therefore there is no need to set the variable lane. Among them, the value of the fourth threshold can be set according to actual needs. In some embodiments, the fourth threshold is 0.75.
[0118] In this embodiment, the ratio of the average traffic flow between the first target lane and the second target lane is used to determine whether the second target lane has a margin for setting a variable lane. At the same time, the ratio between the time when the variable lane can be set and the length of time the first target lane is in a congested state is used to determine the effect of setting a variable lane on alleviating the congestion of the first target lane. The method provided in this embodiment determines whether a variable lane needs to be set according to the imbalance of traffic flow between different guides, thereby improving the basis and scientificity of setting the variable lane.
[0119] Optionally, after step 104, the method further includes:
[0120] Obtaining a first queue length of the first guide lane and a second queue length of the second guide lane within a third time length;
[0121] It should be understood that the first queue length of the first guide lane and the second queue length of the second guide lane within the third time length are data acquired in real time.
[0122] The guidance of the variable lane is switched based on the first queue length and the second queue length.
[0123] The congestion status of the first guide lane is determined by the first queue length, and the congestion status of the second guide lane is determined by the second queue length. The queue length is the distance from the stop line of the signalized intersection to the end of the upstream queued vehicle, expressed as the number of queued vehicles. Even if the vehicle previously stopped at the front of the queue starts to move, it should be counted in the queue length.
[0124] Optionally, the switching of the guidance of the variable lane based on the first queue length and the second queue length includes:
[0125] Determining whether the values of the first queue length and the second queue length within the third time length meet a fourth preset condition, wherein satisfying the fourth preset condition indicates that the guidance of the variable lane needs to be switched;
[0126] When the fourth preset condition is met, the number of the variable lanes to be switched is determined to be X, where 0≤X≤Y;
[0127] Switch the guidance of the X variable lanes.
[0128] It should be understood that the fourth preset condition is used to determine whether the guidance of the variable lane needs to be switched. The fourth preset condition includes:
[0129] In the first case, the maximum value of the first queue length is greater than the fifth threshold, the ratio of the average value of the first queue length to the maximum value of the first queue length is greater than the sixth threshold; and the ratio of the average value of the second queue length to the maximum value of the second queue length is less than the sixth threshold.
[0130] In the second case, the maximum value of the second queue length is greater than the fifth threshold, the ratio of the average value of the second queue length to the maximum value of the second queue length is greater than the sixth threshold; and the ratio of the average value of the first queue length to the maximum value of the first queue length is less than the sixth threshold.
[0131] In the third case, the maximum value of the first queue length is greater than the fifth threshold, and the ratio of the average value of the first queue length to the maximum value of the first queue length is greater than the sixth threshold; and the maximum value of the second queue length is greater than the fifth threshold, and the ratio of the average value of the second queue length to the maximum value of the second queue length is greater than the sixth threshold; and the average value of the first queue length and the average value of the second queue length are outside the preset range.
[0132] It should be understood that the maximum value of the first queue length is the maximum value of the queue lengths of the first guide lanes; the maximum value of the second queue length is the maximum value of the queue lengths of the second guide lanes. The average value of the first queue length is the ratio of the maximum value of the first queue length to the number of the first guide lanes. The average value of the second queue length is the ratio of the maximum value of the second queue length to the number of the second guide lanes.
[0133] The value of the fifth threshold is not limited here. In some embodiments, the fifth threshold is 2.5 times the length of the queue that can pass through the intersection where the lane is located in a green light cycle. The value of the sixth threshold is not limited here. In some embodiments, the sixth threshold is 0.5. The value of the preset range is not limited here. In some embodiments, the preset range is 0.8 to 1.2.
[0134] Specifically, when the maximum value of the first queue length is greater than the fifth threshold, the average value of the first queue length is calculated and it is determined whether the ratio of the average value of the first queue length to the maximum value of the first queue length is greater than the sixth threshold. When the ratio of the average value of the first queue length to the maximum value of the first queue length is greater than the sixth threshold, it can be considered that multiple lanes of the first guide lane are in a congested state, and the guidance of the variable lane needs to be adjusted at this time. When the maximum value of the first queue length is less than or equal to the fifth threshold, it can be considered that the first guide lane is not in a congested state at this time, and the guidance of the variable lane does not need to be adjusted at this time. When the maximum value of the first queue length is greater than the fifth threshold but the ratio of the average value of the first queue length to the maximum value of the first queue length is less than or equal to the sixth threshold, it can be considered that at least one of the first guide lanes is not in a congested state at this time, and the guidance of the variable lane does not need to be adjusted at this time. When the maximum value of the first queue length is less than or equal to the fifth threshold or the maximum value of the first queue length is greater than the fifth threshold but the ratio of the average value of the first queue length to the maximum value of the first queue length is less than or equal to the sixth threshold, shortening the third time length can be considered. For example, in one embodiment, the third time length is shortened by two thirds.
[0135] In the case where the maximum value of the second queue length is greater than the fifth threshold, the average value of the second queue length is calculated and it is determined whether the ratio of the average value of the second queue length to the maximum value of the second queue length is greater than the sixth threshold. When the ratio of the average value of the second queue length to the maximum value of the second queue length is greater than the sixth threshold, it can be considered that the second guide lane is in a congested state, and the guidance of the variable lane needs to be adjusted at this time. When the maximum value of the second queue length is less than or equal to the fifth threshold, it can be considered that the second guide lane is not in a congested state at this time, and the guidance of the variable lane does not need to be adjusted at this time. When the maximum value of the second queue length is greater than the fifth threshold but the ratio of the average value of the second queue length to the maximum value of the second queue length is less than or equal to the sixth threshold, it can be considered that at least one of the second guide lanes is not in a congested state at this time, and the guidance of the variable lane does not need to be adjusted at this time. When the maximum value of the second queue length is less than or equal to the fifth threshold or the maximum value of the second queue length is greater than the fifth threshold but the ratio of the average value of the second queue length to the maximum value of the second queue length is less than or equal to the sixth threshold, shortening the third time length can be considered. For example, in one embodiment, the third time length is shortened by two thirds.
[0136] When the maximum value of the first queue length is greater than the fifth threshold, and the ratio of the average value of the first queue length to the maximum value of the first queue length is greater than the sixth threshold, and the maximum value of the second queue length is greater than the fifth threshold, and the ratio of the average value of the second queue length to the maximum value of the second queue length is greater than the sixth threshold, it can be considered that both the first guide lane and the second guide lane are in a congested state. At this time, the ratio of the average value of the first queue length to the average value of the second queue length is calculated. When the ratio of the average value of the first queue length to the average value of the second queue length is less than the preset range, it is considered that the congestion of the second guide lane is more serious than that of the first guide lane, and it can be considered to switch the variable lane with the first guide to the second guide. When the ratio of the average value of the first queue length to the average value of the second queue length is greater than the preset range, it is considered that the congestion of the first guide lane is more serious than that of the second guide lane, and it can be considered to switch the variable lane with the second guide to the first guide. When the ratio of the average value of the first queue length to the average value of the second queue length is within the preset range, it is considered that the queue lengths on the first guide lane and the second guide lane are relatively balanced, and there is no need to adjust the variable lane.
[0137] In case the variable lane needs to be adjusted, the direction of the variable lane is determined based on the first queue length and the second queue length.
[0138] A specific embodiment will be taken as an example for description. For the convenience of description, the fifth threshold is denoted as C thl , the sixth threshold is recorded as C th2 , the average value of the first queue length is recorded as C sver , the maximum value of the first queue length is recorded as C smax , the average value of the second queue length is recorded as C lver , the maximum value of the second queue length is recorded as C lmax .
[0139] In the first case, the first queue length and the second queue length satisfy:
[0140]
[0141] In this case, it can be considered that the first guide lane is in a congested state, and the second guide lane is not in a congested state. At this time, if there is a variable lane with a second guide, it can be considered to adjust at least part of the variable lane with the second guide to the first guide. Otherwise, it is considered that there is no adjustment space for the variable lane, and the third time length is extended. For example, in one embodiment, the third time length is extended by half.
[0142] In the second case, the first queue length and the second queue length satisfy:
[0143]
[0144] In this case, it can be considered that the second guide lane is in a congested state, and the first guide lane is not in a congested state. At this time, if there is a variable lane with a first guide, it can be considered to adjust at least part of the variable lane with the first guide to the second guide. Otherwise, it is considered that there is no adjustment space for the variable lane, and the third time length is extended. For example, in one embodiment, the third time length is extended by half.
[0145] In the third case, the first queue length and the second queue length satisfy:
[0146]
[0147] In this case, it can be considered that the first guide lane is in a congested state, and the second guide lane is also in a congested state. At this time, the ratio of the average values of the queue lengths between different guide lanes can be calculated, that is, Clver / C sver In the first case, C lver / C sver <0.8, the congestion state of the first guide lane is more serious. At this time, if there is a variable lane with the second guide, it can be considered to adjust at least part of the variable lane with the second guide to the first guide. Otherwise, it is considered that there is no adjustment space for the variable lane, and the third time length is extended. For example, in one embodiment, the third time length is extended by half. In the second case, C lver / C sver >1.25, the congestion state of the second guide lane is more serious. At this time, if there is a variable lane with the first guide, it can be considered to adjust at least part of the variable lane with the first guide to the second guide. Otherwise, it is considered that there is no adjustment space for the variable lane, and the third time length is extended. For example, in one embodiment, the third time length is extended by half. In the third case, 0.8 <C lver / C sver <1.25, at this time, it can be considered that the congestion state of the first guide lane is similar to the congestion state of the second guide lane, the queue lengths between different guides are relatively balanced, and there is no need to adjust the guide of the variable lane.
[0148] In the method provided in this embodiment, the congestion situation of the first guide lane and the second guide lane is judged by the queue length, and the average value and the maximum value of the queue length of each guide lane are considered at the same time. The congestion situation of the actual queue distribution of the guide is judged by the ratio of the average value and the maximum value, thereby improving the accuracy of the judgment.
[0149] In the case where the guidance of the variable lane needs to be adjusted, if there are multiple variable lanes that can be switched, the average ratio of the queue lengths between different guidances, that is, C lver / C sve The number of the variable lanes for which guidance needs to be adjusted is determined.
[0150] For example, in some embodiments, the total number of variable lanes is recorded as variable_nums, and the number of variable lanes guided as target guidance is recorded as cur_num, wherein the target guidance is the guidance that the variable lane should be after adjustment. Therefore, the number K of variable lanes that need to be switched can be calculated by the following formula:
[0151]
[0152] In the method provided in this embodiment, a reasonable variable lane guidance configuration is calculated according to the imbalance degree of average queue lengths of different guide lanes, and abnormal situations of congestion in individual lanes caused by traffic accidents etc. are eliminated by using multi-faceted statistical information based on queue lengths. The traffic imbalance degree of each guide is quantitatively analyzed to obtain a guidance switching strategy for the variable lane, thereby improving the scientific nature of the guidance switching scheme for the variable lane.
[0153] Optionally, when the fourth preset condition is met, after determining that the number of the variable lanes to be switched is X, the method further includes:
[0154] Acquire third traffic flow information of the first guide lane within a fourth time length, and acquire fourth traffic flow information of the second guide lane within the fourth time length;
[0155] Based on the third traffic flow information and the fourth traffic flow information, predicting traffic flow prediction information;
[0156] Inputting the traffic flow prediction information and the state of the variable lanes before switching the guidance of the X variable lanes into a traffic simulation system to obtain a first simulation result;
[0157] Inputting the traffic flow prediction information and the state of the variable lane after switching the guidance of the X variable lanes into the traffic simulation system to obtain a second simulation result;
[0158] When the value of the target queue length corresponding to the first simulation result is greater than the value of the target queue length corresponding to the second simulation result, a guidance step of switching the X variable lanes is performed, and the target queue length includes at least one of the first queue length and the second queue length.
[0159] Furthermore, in one embodiment, when the difference between the target queue length corresponding to the first simulation result and the target queue length corresponding to the second simulation result gradually increases, a guidance step of switching the X variable lanes is performed, and the target queue length includes at least one of the first queue length and the second queue length.
[0160] It should be understood that the specific value of the fourth time length is not limited here. Generally, the fourth time length is a shorter time length. The third traffic flow information and the fourth traffic flow information within the fourth time length are usually data obtained in real time.
[0161] It should be understood that the traffic flow prediction information obtained by predicting based on the third traffic flow information and the fourth traffic flow information refers to pre-training a traffic flow prediction model using the first traffic flow information and the second traffic flow information obtained in step 101. The third traffic flow information and the fourth traffic flow information obtained in real time are input into the traffic flow prediction model to obtain traffic flow prediction information of the corresponding lanes within a period of time in the future, that is, the first traffic flow prediction information of the first guide lane within a period of time in the future and the second traffic flow prediction information of the second guide lane within a period of time in the future.
[0162] Specifically, the traffic flow prediction information and the states of the variable lanes before switching the guides of the X variable lanes are input into the traffic simulation system to obtain a first simulation result. A coordinate system with time as the horizontal axis and queue length as the vertical axis is used to obtain a first average queue length change curve corresponding to the first guide lane, a second average queue length change curve corresponding to the second guide lane, and a third average queue length change curve corresponding to each lane according to the first simulation result.
[0163] The traffic flow prediction information and the state of the variable lane after switching the guide of the X variable lanes are input into the traffic simulation system to obtain a second simulation result. A coordinate system with time as the horizontal axis and queue length as the vertical axis is used to obtain a fourth average queue length change curve corresponding to the first guide lane, a fifth average queue length change curve corresponding to the second guide lane, and a sixth average queue length change curve corresponding to each lane according to the second simulation result.
[0164] At each time point on the horizontal axis, the first difference between the first average queue length change curve and the fourth average queue length change curve is calculated, and the second difference between the second average queue length change curve and the fifth average queue length change curve is calculated; and the third difference between the third average queue length change curve and the sixth average queue length change curve corresponding to each lane is calculated.
[0165] When the first differences are all greater than zero, it is considered that the value of the target queue length corresponding to the first simulation result is greater than the value of the target queue length corresponding to the second simulation result, and a guidance step of switching the X variable lanes is executed.
[0166] When the second differences are all greater than zero, it is considered that the value of the target queue length corresponding to the first simulation result is greater than the value of the target queue length corresponding to the second simulation result, and the guidance step of switching the X variable lanes is executed.
[0167] When the third differences are all greater than zero, it is considered that the value of the target queue length corresponding to the first simulation result is greater than the value of the target queue length corresponding to the second simulation result, and a guidance step of switching the X variable lanes is executed.
[0168] After determining the adjustment strategy of the variable lane, the traffic simulation system can be used to simulate the case of switching the guidance of the variable lane and the case of not switching the guidance of the variable lane. Draw the average queue length change curve of each guide lane and the average queue length change curve of all lanes in a coordinate system with time as the horizontal axis and queue length as the vertical axis. Draw a straight line parallel to the time axis with the current maximum average queue length. If the curves in the case of switching the guidance of the variable lane and the case of not switching the guidance of the variable lane are obviously bifurcated and all the curves in the case of switching the guidance of the variable lane have a trend of gradually decreasing, it is considered that switching the guidance of the variable lane is better than not switching the guidance of the variable lane. Otherwise, it is considered that switching the guidance of the variable lane is not meaningful and there is no need to switch, that is, the guidance of the variable lane is not adjusted. In some embodiments, the traffic simulation system can be vissim.
[0169] It should be understood that the method for switching the guidance of the variable lane is not specifically limited here. For example, in some embodiments, the guidance of the X variable lanes is switched by switching the state of the traffic light. Furthermore, after determining to adopt the adjustment strategy of the variable lane, before changing the guidance setting of the variable lane, the preset time required to clear the currently guided queued vehicles is determined according to the queue length of the current variable lane and the intersection signal configuration cycle. At present, it is necessary to prompt that the guidance of the variable lane is about to be changed; after the preset time, the guidance of the variable lane is changed.
[0170] In this embodiment, the traffic simulation system is used to simulate the case of switching the guidance of the variable lane and the case of not switching the guidance of the variable lane, which further improves the scientific nature of the switching operation of the variable lane. At the same time, the queue length is used as an evaluation index in the simulation, which is the same as the judgment index of the judgment step, and the difference in effect before and after the strategy is adopted can be observed more intuitively. At the same time, the method of drawing curves can screen out the interference of abnormal fluctuations that may occur during the driver's adaptation period after the switch, thereby improving the accuracy of the simulation results.
[0171] like Figure 2 As shown, the embodiment of the present invention provides another variable lane determination device 200, including:
[0172] A first acquisition module 201 is used to acquire first traffic flow information of a first guide lane within a first time length, and to acquire second traffic flow information of a second guide lane within the first time length; wherein the number of at least one of the first guide lane and the second guide lane is greater than 1;
[0173] A first determination module 202 is used to determine, based on the first traffic flow information and the second traffic flow information, one of the first guide lane and the second guide lane with a larger average flow value as a first target lane, and determine the other as a second target lane; wherein the number of the second target lanes is M;
[0174] A second determination module 203 is used to reduce the number of the second target lanes one by one when M>1 until the absolute value of the difference between the average flow value of the second target lane and the average flow value of the first target lane is less than a preset value, and then determine that the number of the second target lanes is Y, where 1≤Y<M;
[0175] The third determining module 204 is configured to determine N lanes in the second target lane that are close to the first target lane as variable lanes, where N=MY.
[0176] Optionally, the variable lane determining device 200 further includes:
[0177] A first judgment module, used to judge whether the first target lane satisfies a first preset condition, wherein satisfying the first preset condition indicates that a ratio of a time length of the first target lane being in a congested state to the first time length is greater than a first threshold;
[0178] The second judgment module is used to judge whether the first target lane and the second target lane meet the second preset condition; wherein, meeting the second preset condition means that the ratio of the length of time to relieve congestion by setting the variable lane to the length of time in the congested state is greater than a second threshold; when the first target lane and the second target lane meet the second preset condition, the step of reducing the number of the second target lanes one by one when M>1 is executed until the absolute value of the difference between the average flow value of the second guide lane and the average flow value of the first guide lane is less than a preset value, and the step of determining the number of the second target lanes to be Y is performed.
[0179] Optionally, the variable lane determining device 200 further includes:
[0180] A second acquisition module is used to acquire a first queue length of the first guide lane and a second queue length of the second guide lane within a third time length;
[0181] A switching module is used to switch the guidance of the variable lane based on the first queue length and the second queue length. The variable lane determination device 200 provided in the embodiment of the present invention can achieve Figure 1 The various processes implemented by the method embodiment shown can achieve the same beneficial effects, and will not be described again here to avoid repetition.
[0182] Optionally, the switching module includes:
[0183] a judgment unit, configured to judge whether a value of at least one of the first queue length and the second queue length within the third time length satisfies a fourth preset condition, wherein satisfying the fourth preset condition indicates that the guidance of the variable lane needs to be switched;
[0184] A determining unit, configured to determine that the number of the variable lanes to be switched is X when the fourth preset condition is met, wherein 0≤X≤Y;
[0185] A switching unit is used to switch the guidance of the X variable lanes.
[0186] Optionally, the switching module further includes:
[0187] An acquisition unit, used to acquire third traffic flow information of the first guide lane within a fourth time length, and to acquire fourth traffic flow information of the second guide lane within the fourth time length;
[0188] A prediction unit, configured to predict traffic flow prediction information based on the third traffic flow information and the fourth traffic flow information;
[0189] A first input unit, used for inputting the traffic flow prediction information and the state of the variable lanes before switching the guidance of the X variable lanes into a traffic simulation system to obtain a first simulation result;
[0190] A second input unit is used to input the traffic flow prediction information and the state of the variable lane after switching the guidance of the X variable lanes into the traffic simulation system to obtain a second simulation result;
[0191] an execution unit, configured to execute a guidance step of switching the X variable lanes when a value of a target queue length corresponding to the first simulation result is greater than a value of the target queue length corresponding to the second simulation result, the target queue length including at least one of the first queue length and the second queue length.
[0192] Optional, such as Figure 3As shown, the embodiment of the present invention further provides an electronic device 300, including a processor 301, a memory 302, a program or instruction stored in the memory 302 and executable on the processor 301, and the program or instruction is executed by the processor 301 to implement the following Figure 1 The various processes of the method embodiment shown can achieve the same technical effect, and will not be described again here to avoid repetition.
[0193] It should be noted that the electronic devices in the embodiments of the present invention include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0194] The embodiment of the present invention further provides a computer-readable storage medium, wherein a program or instruction is stored on the computer-readable storage medium, and when the program or instruction is executed by a processor, the following is implemented: Figure 1 The various processes of the method embodiment shown can achieve the same technical effect, and will not be described again here to avoid repetition.
[0195] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0196] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the method and device in the embodiment of the present invention is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0197] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0198] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.
Claims
1. A method for determining a variable lane, characterized in that: include: Acquire first traffic flow information of a first guide lane within a first time length, and acquire second traffic flow information of a second guide lane within the first time length; wherein the number of at least one of the first guide lane and the second guide lane is greater than 1; Based on the first traffic flow information and the second traffic flow information, determining one of the first guide lane and the second guide lane with a larger average flow value as a first target lane, and determining the other as a second target lane; wherein the number of the second target lanes is M; When M>1, the number of the second target lanes is gradually reduced until the absolute value of the difference between the average flow value of the second target lane and the average flow value of the first target lane is less than a preset value, and the number of the second target lanes is determined to be Y, where 1≤Y<M; Determine N lanes in the second target lane that are close to the first target lane as variable lanes, where N=MY; After the step of determining N lanes in the second target lane close to the first target lane as variable lanes, the method further includes: Obtaining a first queue length of the first guide lane and a second queue length of the second guide lane within a third time length; Switching the guidance of the variable lane based on the first queue length and the second queue length; In the case where the guidance of the variable lane needs to be switched, the first formula is used to determine the number of the variable lanes whose guidance needs to be switched, and the first formula is: Wherein, K is the number of the variable lanes that need to be switched, C sver is the average length of the first queue, C lver is the average value of the second queue length, variable_nums is the total number of the variable lanes, cur_num is the number of the variable lanes whose guidance is target-guided, and the target-guided is the guidance after the variable lane is switched.
2. The method according to claim 1, characterized in that After the step of determining, based on the first traffic flow information and the second traffic flow information, the one with the larger average flow value of the first guide lane and the second guide lane as the first target lane, and determining the other as the second target lane, the method further includes: Determining whether the first target lane satisfies a first preset condition, wherein satisfying the first preset condition indicates that a ratio of a time length of the first target lane being in a congested state to the first time length is greater than a first threshold; Determine whether the first target lane and the second target lane meet a second preset condition; wherein, meeting the second preset condition means that the ratio of the length of time to relieve congestion by setting the variable lane to the length of time in the congested state is greater than a second threshold; when the first target lane and the second target lane meet the second preset condition, execute the step of reducing the number of the second target lanes one by one when M>1 until the absolute value of the difference between the average flow value of the second guide lane and the average flow value of the first guide lane is less than a preset value, and determine that the number of the second target lanes is Y step.
3. The method according to claim 2, characterized in that The step of determining whether the first target lane satisfies a first preset condition specifically includes: Divide the first time length into multiple second time lengths; Acquire first sub-traffic flow information of the first target lane within each of the second time lengths; Determine the number of the second time lengths corresponding to the first sub-traffic flow information that meets a third preset condition as a first target number; wherein meeting the third preset condition indicates that the first target lane is in a congested state; Determining a congestion state proportion based on a first ratio of the first target number to the total number of the second time lengths; When the congestion state proportion is greater than a third threshold, it is determined that the first target lane meets the first preset condition.
4. The method according to claim 3, characterized in that The step of determining whether the first target lane and the second target lane meet a second preset condition specifically includes: Obtaining a first sub-average value and a second sub-average value, wherein the first sub-average value is a ratio of the first sub-traffic flow to the number of the first target lanes, and the second sub-average value is a ratio of the second sub-traffic flow of the second target lane in each of the second time lengths to the number of the second target lanes; determining a second ratio based on a ratio between the first sub-average value and the second sub-average value within a target second time length, wherein the target second time length is each second time length within the first time length; determining the number of the second ratios that are greater than a fourth threshold as a second target number; Determine a dredgeable ratio, wherein the dredgeable ratio is a third ratio of the second target number to the first target number; When the unclogable ratio is greater than a fourth threshold, it is determined that the first target lane and the second target lane satisfy the second preset condition.
5. The method according to claim 1, characterized in that: The switching of the guidance of the variable lane based on the first queue length and the second queue length comprises: Determining whether the values of the first queue length and the second queue length within the third time length meet a fourth preset condition, wherein satisfying the fourth preset condition indicates that the guidance of the variable lane needs to be switched; When the fourth preset condition is met, the number of the variable lanes to be switched is determined to be X, where 0≤X≤Y; Switch the guidance of the X variable lanes.
6. The method according to claim 5, characterized in that In the case where the fourth preset condition is met, after determining that the number of the variable lanes to be switched is X, the method further includes: Acquire third traffic flow information of the first guide lane within a fourth time length, and acquire fourth traffic flow information of the second guide lane within the fourth time length; Based on the third traffic flow information and the fourth traffic flow information, predicting traffic flow prediction information; Inputting the traffic flow prediction information and the state of the variable lanes before switching the guidance of the X variable lanes into a traffic simulation system to obtain a first simulation result; Inputting the traffic flow prediction information and the state of the variable lane after switching the guidance of the X variable lanes into the traffic simulation system to obtain a second simulation result; When the value of the target queue length corresponding to the first simulation result is greater than the value of the target queue length corresponding to the second simulation result, a guidance step of switching the X variable lanes is performed, and the target queue length includes at least one of the first queue length and the second queue length.
7. A device for determining a variable lane, characterized in that: include: A first acquisition module is used to acquire first traffic flow information of a first guide lane within a first time length, and to acquire second traffic flow information of a second guide lane within the first time length; wherein the number of at least one of the first guide lane and the second guide lane is greater than 1; A first determination module is used to determine, based on the first traffic flow information and the second traffic flow information, one of the first guide lane and the second guide lane with a larger average flow value as a first target lane, and determine the other as a second target lane; wherein the number of the second target lanes is M; A second determination module is used to reduce the number of the second target lanes one by one when M>1 until the absolute value of the difference between the average flow value of the second target lane and the average flow value of the first target lane is less than a preset value, and then determine that the number of the second target lanes is Y, where 1≤Y<M; A third determination module is used to determine N lanes in the second target lane that are close to the first target lane as variable lanes, where N=MY; The variable lane determination device further includes: A second acquisition module is used to acquire a first queue length of the first guide lane and a second queue length of the second guide lane within a third time length; A switching module, configured to switch the guidance of the variable lane based on the first queue length and the second queue length; In the case where the guidance of the variable lane needs to be switched, the first formula is used to determine the number of the variable lanes whose guidance needs to be switched, and the first formula is: Wherein, K is the number of the variable lanes that need to be switched, C sver is the average length of the first queue, C lver is the average value of the second queue length, variable_nums is the total number of the variable lanes, cur_num is the number of the variable lanes whose guidance is target-guided, and the target-guided is the guidance after the variable lane is switched.
8. The device for determining a variable lane according to claim 7, characterized in that: The variable lane determination device further includes: A first judgment module, used to judge whether the first target lane satisfies a first preset condition, wherein satisfying the first preset condition indicates that a ratio of a time length of the first target lane being in a congested state to the first time length is greater than a first threshold; The second judgment module is used to judge whether the first target lane and the second target lane meet the second preset condition; wherein, meeting the second preset condition means that the ratio of the length of time to relieve congestion by setting the variable lane to the length of time in the congested state is greater than a second threshold; when the first target lane and the second target lane meet the second preset condition, the step of reducing the number of the second target lanes one by one when M>1 is executed until the absolute value of the difference between the average flow value of the second guide lane and the average flow value of the first guide lane is less than a preset value, and the step of determining the number of the second target lanes to be Y is performed.
9. The variable lane determination device according to claim 7, characterized in that: The switching module comprises: a judgment unit, configured to judge whether the values of the first queue length and the second queue length within the third time length satisfy a fourth preset condition, wherein satisfying the fourth preset condition indicates that the guidance of the variable lane needs to be switched; A determining unit, configured to determine that the number of the variable lanes to be switched is X when the fourth preset condition is met, wherein 0≤X≤Y; A switching unit is used to switch the guidance of the X variable lanes.
10. The variable lane determination device according to claim 9, characterized in that: The switching module also includes: An acquisition unit, used to acquire third traffic flow information of the first guide lane within a fourth time length, and to acquire fourth traffic flow information of the second guide lane within the fourth time length; A prediction unit, configured to predict traffic flow prediction information based on the third traffic flow information and the fourth traffic flow information; A first input unit, used for inputting the traffic flow prediction information and the state of the variable lanes before switching the guidance of the X variable lanes into a traffic simulation system to obtain a first simulation result; A second input unit is used to input the traffic flow prediction information and the state of the variable lane after switching the guidance of the X variable lanes into the traffic simulation system to obtain a second simulation result; an execution unit, configured to execute a guidance step of switching the X variable lanes when a value of a target queue length corresponding to the first simulation result is greater than a value of the target queue length corresponding to the second simulation result, the target queue length including at least one of the first queue length and the second queue length.
11. An electronic device, characterized in that: The method comprises a processor, a memory and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps in the method for determining a variable lane as described in any one of claims 1 to 6.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps in the variable lane determination method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Real-time variable lane control method and control system
CN109448371A
Real-time variable lane dynamic allocation method in intelligent vehicle-road cooperative environment
CN111932909A