Reversible lane setting method and system based on road tide phenomenon degree

By quantifying the degree of tidal phenomena and scientifically setting tidal lanes, the problem of inability to reasonably set tidal lanes in the existing technology has been solved, and road resource utilization efficiency and traffic mitigation effect have been improved.

CN119992857APending Publication Date: 2025-05-13ZHEJIANG SUPCON INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510097425.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-22
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

The existing technology cannot scientifically quantify the degree of tidal phenomena, resulting in unreasonable tidal lanes setting, unable to effectively alleviate traffic congestion, and waste of manpower and material resources.

Method used

By establishing a flow database, calculating the relative flow difference and tidal degree per unit time of road sections, quantifying the degree of tidal phenomena using formulas, and scientifically determining whether tidal lanes need to be set.

Benefits of technology

It provides scientific basis, reasonably set up tidal lanes, improve road resource utilization efficiency, and alleviate traffic congestion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119992857A_ABST
    Figure CN119992857A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of intelligent traffic, in particular to a reversible lane setting method and system based on the degree of a road tide phenomenon, and the method comprises the steps: obtaining the flow data of a target road section in each unit time within a first preset time period according to a road section id inputted by a user and a flow database; according to the flow data of the target road section in each unit time in the first preset time period, obtaining a relative flow difference of the target road section in each unit time in the first preset time period; obtaining the tide degree of the target road section according to the relative flow difference of each unit time in the first preset time period of the target road section; according to the tide degree and the tide degree threshold value of the target road section, whether the tide lane needs to be arranged on the road section is judged. The system has the beneficial effects that a scientific basis is provided for the arrangement of the reversible lane, so that the arrangement of the reversible lane is more reasonable, the utilization efficiency of road resources is further improved, and the traffic jam is relieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent transportation technology, and in particular to a method and system for setting a tidal lane based on the degree of road tidal phenomena. Background Art

[0002] With the continuous advancement of urbanization and the rapid increase in urban population density and car ownership, urban traffic problems are becoming increasingly serious, seriously affecting the efficient operation of cities and the work and life of residents.

[0003] Due to the daily habits of urban residents, in modern urban traffic management, the vehicle flow during peak hours in the morning and evening shows an obvious tidal phenomenon, that is, the vehicle flow in the direction of entering the city and leaving the city varies significantly at different times. This phenomenon leads to an unbalanced utilization rate of conventional lanes, which in turn aggravates traffic congestion. At present, many cities have adopted the method of tidal lanes to dynamically adjust the lane direction to improve the utilization efficiency of road resources.

[0004] However, the existing technology generally only sets tidal lanes based on traffic congestion conditions in the morning and evening, lacks a method that can accurately quantify the extent of tidal phenomena, and it is difficult to scientifically guide the setting of tidal lanes. Summary of the invention

[0005] 1. Technical issues to be resolved

[0006] In view of the above-mentioned shortcomings and deficiencies of the prior art, the present invention provides a method and system for setting up tidal lanes based on the degree of road tidal phenomena, which solves the technical problem in the prior art that the degree of tidal phenomena cannot be scientifically quantified, resulting in the inability to reasonably set up tidal lanes, and thus unable to alleviate traffic congestion, causing waste of manpower and material resources.

[0007] (II) Technical solution

[0008] In order to achieve the above object, the main technical solutions adopted by the present invention include:

[0009] In a first aspect, an embodiment of the present invention provides a method for setting a tidal lane based on the degree of road tidal phenomena, comprising:

[0010] S11, according to the section ID of the target section input by the user and the preset traffic database, obtaining the forward traffic and reverse traffic of the target section per unit time in the first preset time period;

[0011] The traffic database includes the road section IDs of all road sections in the city, and the forward flow and reverse flow of each road section per unit time in a second preset period; the second preset period is greater than the first preset period;

[0012] S12, obtaining a relative flow difference per unit time of the target road section within the first preset time period according to the forward flow and reverse flow per unit time of the target road section within the first preset time period;

[0013] S13, obtaining the tidal degree of the target road section according to the relative flow difference per unit time of the target road section within the first preset time period;

[0014] S14, judging whether a tidal lane needs to be set up on the target road section according to the tidal degree of the target road section and a preset tidal degree threshold;

[0015] When the tidal degree of the target road section is greater than the tidal degree threshold, it is determined that a tidal lane needs to be set up in the target road section.

[0016] Optionally, the S12 includes:

[0017] According to the forward flow and reverse flow of the target section per unit time in the first preset time period, and the preset formula 1, the relative flow difference of each time period of the target section is obtained; the formula 1 is:

[0018]

[0019] Among them, GAP is the relative flow difference of the target section at any unit time in the first preset time period, x is the forward flow of the target section at the unit time, and y is the reverse flow of the section where the target entrance is located at the unit time.

[0020] Optionally, the S13 includes:

[0021] According to the relative flow difference of the target section per unit time in the first preset period and the preset formula 2, the tidal degree of the target section is obtained; the formula 2 is:

[0022] tidalDegree=∑|GAP|-|∑GAP|;

[0023] tidalDegree is the tidal degree of the target section, and GAP is the relative flow difference of the target section at any unit time within the first preset time period.

[0024] Optionally, the S13 includes:

[0025] S13-1, according to the preset first flow threshold and second flow threshold, respectively mark the forward flow and reverse flow of the target section per unit time in the first preset time period, and obtain the marking result of the forward flow and reverse flow of the target section per unit time in the first preset time period;

[0026] When the forward flow rate per unit time is greater than the first flow threshold, the forward flow rate per unit time is marked as peak flow; when the forward flow rate per unit time is less than the second flow threshold, the forward flow rate per unit time is marked as flat-peak flow;

[0027] When the reverse flow rate per unit time is greater than the first flow threshold, the reverse flow rate per unit time is marked as peak flow; when the reverse flow rate per unit time is less than the second flow threshold, the reverse flow rate per unit time is marked as flat-peak flow;

[0028] The first flow threshold is greater than the second flow threshold;

[0029] S13-2, judging whether a first preset condition is met according to the forward flow and reverse flow of the target section per unit time in the first preset period, and the marking result of the forward flow and reverse flow of the target section per unit time in the first preset period;

[0030] If it is not satisfied, the tidal degree of the target section is obtained according to the relative flow difference of the target section per unit time in the first preset period and the preset formula 2; the formula 2 is:

[0031] tidalDegree=∑|GAP|-|∑GAP|;

[0032] tidalDegree is the tidal degree of the target section, GAP is the relative flow difference of the target section at any unit time in the first preset time period;

[0033] When the condition is satisfied, the tidal degree of the target section is obtained according to the relative flow difference of the target section per unit time in the first preset period and the preset formula 3; the formula 3 is:

[0034] tidalDegree=2∑|GAP|-|∑GAP|;

[0035] The first preset condition is: when the forward flow rate of the target section at any unit time within the first preset time period is greater than the reverse flow rate of the unit time, the difference between the average of all peak flows and the average of average peak flows in the forward flow rate of the target section at all unit times within the first preset time period is greater than a preset third flow threshold; or, when the reverse flow rate of the target section at any unit time within the first preset time period is greater than the forward flow rate of the unit time, the difference between the average of all peak flows and the average of average peak flows in the reverse flow rate of the target section at all unit times within the first preset time period is greater than a preset third flow threshold.

[0036] Optionally, the S13 includes:

[0037] S13-3, based on all relative flow rate differences in the first preset time period of the target road section and the unit time corresponding to each relative flow rate difference, a corresponding relationship diagram between the relative flow rate difference in the first preset time period of the target road section and the unit time is drawn, with time as the X-axis and the relative flow rate difference as the Y-axis; the X-axis in the corresponding relationship diagram is located at a position where the relative flow rate difference is 0;

[0038] S13-4, according to the corresponding relationship diagram, taking the sum of the areas of the graphs formed by the parts of the corresponding relationship diagram where the relative flow differences are greater than 0 and the X-axis as the first tidal parameter, and taking the sum of the areas of the graphs formed by the parts of the corresponding relationship diagram where the relative flow differences are less than 0 and the X-axis as the second tidal parameter;

[0039] S13-5, according to the first tidal parameter and the second tidal parameter, and the preset formula 4, the tidal degree of the target section is obtained; the formula 4 is:

[0040] tidalDegree=GN+GP-|GP-GN|;

[0041] tidalDegree is the tidal degree of the target section, GP is the first tidal degree parameter, and GN is the second tidal degree parameter.

[0042] Optionally, the S13 includes:

[0043] S13-6, according to the relative flow difference corresponding to each unit time in the first preset time period of the target road section, obtain a first interval in which all relative flow differences corresponding to two or more consecutive unit times based on the time sequence in the first preset time period are positive, and a second interval in which all relative flow differences corresponding to two or more consecutive unit times based on the time sequence are negative;

[0044] S13-7, according to each first interval, obtain the sum of the relative flow rate differences corresponding to all unit times in each first interval; according to each second interval, obtain the sum of the relative flow rate differences corresponding to all unit times in each second interval;

[0045] S13-8, according to the sum of the relative flow differences corresponding to each first interval and the sum of the relative flow differences corresponding to each second interval, the sum of the relative flow differences corresponding to the first interval with the largest sum of the relative flow differences among all the first intervals is taken as the first tidal parameter, and the sum of the relative flow differences corresponding to the second interval with the smallest sum of the relative flow differences among all the second intervals is taken as the second tidal parameter;

[0046] S13-9, according to the first tidal parameter and the second tidal parameter, and the preset formula 4, the tidal degree of the target section is obtained; the formula 4 is:

[0047] tidalDegree=GN+GP-|GP-GN|;

[0048] tidalDegree is the tidal degree of the target section, GP is the first tidal degree parameter, and GN is the second tidal degree parameter.

[0049] Optionally, the method further comprises:

[0050] S15. When it is determined that a tidal lane needs to be set up in the target section, the flow direction plan for the tidal lane of the target section per unit time in the first preset time period is obtained based on the corresponding relationship diagram between the relative flow difference and the unit time in the first preset time period of the target section.

[0051] Optionally, before S11, the step further includes:

[0052] S0, establishing a traffic database according to the collected road section IDs corresponding to all road sections in the city, and the forward flow and reverse flow of each road section per unit time in the second preset time period;

[0053] During this period, when any piece of pre-stored data is received, the data type and data format of the received pre-stored data are detected;

[0054] According to the data type and data format of the pre-stored data, obtaining the memory space size required for the pre-stored data;

[0055] Obtain the first memory space to be applied for according to the required memory space size;

[0056] According to a preset granularity, the first memory space is split from large to small granularity by a preset buddy algorithm to generate at least one space block with different granularity;

[0057] After arranging the space blocks from large to small, determining in turn whether all the space blocks match the first granularity of the physical memory page pre-divided by the buddy algorithm;

[0058] When a match is found, data mapping is performed and saved through the divided space blocks;

[0059] The first granularity is a preset granularity.

[0060] Optionally, the S0 further includes:

[0061] When there is no match, a physical memory page of the first granularity size is applied for, and based on a preset buddy algorithm, the applied physical memory page of the first granularity size is divided according to the granularity corresponding to the space block, and the data is mapped and saved.

[0062] In a second aspect, an embodiment of the present invention provides a tidal lane setting system based on the degree of road tidal phenomenon, comprising a memory, a processor and a computer program stored on the memory, wherein the processor executes the computer program to implement the above-mentioned tidal lane setting method based on the degree of road tidal phenomenon.

[0063] (III) Beneficial effects

[0064] The beneficial effect of the present invention is that a tidal lane setting method based on the degree of road tidal phenomenon of the present invention provides a scientific basis for the setting of tidal lanes by quantifying the degree of tidal phenomenon, compared with the prior art, so that the setting of tidal lanes is more reasonable, further improving the utilization efficiency of road resources and alleviating traffic congestion. BRIEF DESCRIPTION OF THE DRAWINGS

[0065] Figure 1 A flow chart of a method for setting a tidal lane based on the degree of road tidal phenomena according to an embodiment of the present invention;

[0066] Figure 2 This is an example diagram of a flow distribution diagram according to an embodiment of the present invention;

[0067] Figure 3 This is an example diagram of a corresponding relationship diagram of an embodiment of the present invention. DETAILED DESCRIPTION

[0068] In order to better explain the present invention and facilitate understanding, the present invention is described in detail below through specific implementation modes in conjunction with the accompanying drawings.

[0069] A tidal lane setting method based on the degree of road tidal phenomenon proposed in an embodiment of the present invention provides a scientific basis for setting tidal lanes by quantifying the degree of tidal phenomenon, thereby making the setting of tidal lanes more reasonable, further improving the utilization efficiency of road resources, and alleviating traffic congestion.

[0070] In order to better understand the above technical solution, exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to enable a clearer and more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.

[0071] Example 1

[0072] The embodiment of the present invention provides a method for setting a tidal lane based on the degree of road tidal phenomenon, such as Figure 1 As shown, including:

[0073] S11, according to the section ID of the target section input by the user and the preset traffic database, obtaining the forward traffic and reverse traffic of the target section per unit time in the first preset time period;

[0074] The traffic database includes the section IDs of all road sections in the city, and the forward flow and reverse flow of each section per unit time within a second preset time period; the second preset time period is greater than the first preset time period.

[0075] A road section is a road connecting two intersections. When establishing a traffic database for a city, each road section in the city will be given a designated road section ID, which is used to index the traffic data required for the road section in the traffic database. The traffic data includes forward traffic and reverse traffic. For example, if any road section includes a first entrance and a second entrance, if you want to determine whether a tidal lane is set for the road section, the forward traffic and reverse traffic are the outgoing traffic of the first entrance and the second entrance, respectively.

[0076] S12. Obtain a relative flow difference per unit time of the target road section within the first preset time period according to the forward flow and reverse flow per unit time of the target road section within the first preset time period.

[0077] Specifically include:

[0078] According to the forward flow and reverse flow of the target section per unit time in the first preset time period, and the preset formula 1, the relative flow difference of each time period of the target section is obtained; the formula 1 is:

[0079]

[0080] Among them, GAP is the relative flow difference of the target section at any unit time in the first preset time period, x is the forward flow of the target section at the unit time, and y is the reverse flow of the section where the target entrance is located at the unit time.

[0081] GAP is used to represent the flow difference between forward flow and reverse flow per unit time on a road section. However, unlike directly calculating the flow difference (i.e., xy), this embodiment uses GAP to better reflect the flow difference between forward flow and reverse flow while taking forward flow and reverse flow into consideration.

[0082] S13, according to the relative flow difference per unit time of the target section within the first preset time period, obtain the tidal degree of the target section. Specifically including:

[0083] S13-1, according to the preset first flow threshold and second flow threshold, respectively mark the forward flow and reverse flow of the target section per unit time in the first preset time period, and obtain the marking result of the forward flow and reverse flow of the target section per unit time in the first preset time period;

[0084] When the forward flow rate per unit time is greater than the first flow threshold, the forward flow rate per unit time is marked as peak flow; when the forward flow rate per unit time is less than the second flow threshold, the forward flow rate per unit time is marked as flat-peak flow;

[0085] When the reverse flow rate per unit time is greater than the first flow threshold, the reverse flow rate per unit time is marked as peak flow; when the reverse flow rate per unit time is less than the second flow threshold, the reverse flow rate per unit time is marked as flat-peak flow;

[0086] The first flow threshold is greater than the second flow threshold;

[0087] S13-2, judging whether a first preset condition is met according to the forward flow and reverse flow of the target section per unit time in the first preset period, and the marking result of the forward flow and reverse flow of the target section per unit time in the first preset period;

[0088] If it is not satisfied, the tidal degree of the target section is obtained according to the relative flow difference of the target section per unit time in the first preset period and the preset formula 2; the formula 2 is:

[0089] tidalDegree=∑|GAP|-|∑GAP|;

[0090] tidalDegree is the tidal degree of the target section, GAP is the relative flow difference of the target section at any unit time in the first preset time period;

[0091] When the condition is satisfied, the tidal degree of the target section is obtained according to the relative flow difference of the target section per unit time in the first preset period and the preset formula 3; the formula 3 is:

[0092] tidalDegree=2∑|GAP|-|∑GAP|;

[0093] The first preset condition is: when the forward flow rate of the target section at any unit time within the first preset time period is greater than the reverse flow rate of the unit time, the difference between the average of all peak flows and the average of average peak flows in the forward flow rate of the target section at all unit times within the first preset time period is greater than a preset third flow threshold; or, when the reverse flow rate of the target section at any unit time within the first preset time period is greater than the forward flow rate of the unit time, the difference between the average of all peak flows and the average of average peak flows in the reverse flow rate of the target section at all unit times within the first preset time period is greater than a preset third flow threshold.

[0094] In actual situations, there are some road sections where the flow in one direction (i.e. forward flow or reverse flow) is always greater than that in the other direction, but the direction with larger flow has larger flow during peak hours and smaller flow during off-peak hours. In this case, tidal lanes can also help improve road conditions. Therefore, two methods of obtaining tidal degrees are set to comprehensively consider the actual situation and provide a more scientific basis for the setting of tidal lanes.

[0095] Furthermore, the tidal degree can be obtained by drawing a corresponding relationship diagram, including:

[0096] S13-3, based on all relative flow rate differences in the first preset time period of the target road section and the unit time corresponding to each relative flow rate difference, a corresponding relationship diagram between the relative flow rate difference in the first preset time period of the target road section and the unit time is drawn, with time as the X-axis and the relative flow rate difference as the Y-axis; the X-axis in the corresponding relationship diagram is located at a position where the relative flow rate difference is 0;

[0097] S13-4, according to the corresponding relationship diagram, taking the sum of the areas of the graphs formed by the parts of the corresponding relationship diagram where the relative flow differences are greater than 0 and the X-axis as the first tidal parameter, and taking the sum of the areas of the graphs formed by the parts of the corresponding relationship diagram where the relative flow differences are less than 0 and the X-axis as the second tidal parameter;

[0098] S13-5, according to the first tidal parameter and the second tidal parameter, and the preset formula 4, the tidal degree of the target section is obtained; the formula 4 is:

[0099] tidalDegree=GN+GP-|GP-GN|;

[0100] tidalDegree is the tidal degree of the target section, GP is the first tidal degree parameter, and GN is the second tidal degree parameter.

[0101] Furthermore, considering that the GAP value fluctuates during the off-peak period, and in fact, once the setting of the tidal lane changes direction, it is necessary to maintain the state for a long time. Therefore, in practical applications, the values ​​of the first tidal parameter and the second tidal parameter should be continuous in time. Therefore, S13 includes:

[0102] According to the relative flow difference corresponding to each unit time in the first preset time period of the target road section, a first interval in which all relative flow differences corresponding to two or more consecutive unit times based on the time sequence in the first preset time period are positive values, and a second interval in which all relative flow differences corresponding to two or more consecutive unit times based on the time sequence are negative values ​​are obtained;

[0103] According to each first interval, the sum of the relative flow rate differences corresponding to all unit times in each first interval is obtained; according to each second interval, the sum of the relative flow rate differences corresponding to all unit times in each second interval is obtained;

[0104] According to the sum of the relative flow differences corresponding to each first interval and the sum of the relative flow differences corresponding to each second interval, the sum of the relative flow differences corresponding to the first interval with the largest sum of the relative flow differences among all the first intervals is taken as the first tidal parameter, and the sum of the relative flow differences corresponding to the second interval with the smallest sum of the relative flow differences among all the second intervals is taken as the second tidal parameter;

[0105] According to the first tidal parameter and the second tidal parameter, and a preset formula 4, the tidal degree of the target section is obtained; the formula 4 is:

[0106] tidalDegree=GN+GP-|GP-GN|;

[0107] tidalDegree is the tidal degree of the target section, GP is the first tidal degree parameter, and GN is the second tidal degree parameter.

[0108] S15. When it is determined that a tidal lane needs to be set up in the target section, the flow direction plan for the tidal lane of the target section per unit time in the first preset time period is obtained based on the corresponding relationship diagram between the relative flow difference and the unit time in the first preset time period of the target section.

[0109] In actual applications, the amount of data stored in the traffic database is very large. Therefore, in order to reduce memory consumption, the data can be saved by virtual mapping, that is, by using the partner algorithm multiple times, the data to be saved is divided into granularities and saved to save memory space. That is:

[0110] Before S11, it also included:

[0111] S0, establishing a traffic database according to the collected road section IDs corresponding to all road sections in the city, and the forward flow and reverse flow of each road section per unit time in the second preset time period;

[0112] During this period, when any piece of pre-stored data is received, the data type and data format of the received pre-stored data are detected;

[0113] According to the data type and data format of the pre-stored data, obtaining the memory space size required for the pre-stored data;

[0114] Obtain the first memory space to be applied for according to the required memory space size;

[0115] According to a preset granularity, the first memory space is split from large to small granularity by a preset buddy algorithm to generate at least one space block with different granularity;

[0116] After arranging the space blocks from large to small, determining in turn whether all the space blocks match the first granularity of the physical memory page pre-divided by the buddy algorithm;

[0117] When a match is found, data mapping is performed and saved through the divided space blocks;

[0118] The first granularity is a preset granularity;

[0119] When there is no match, a physical memory page of the first granularity size is applied for, and based on a preset buddy algorithm, the applied physical memory page of the first granularity size is divided according to the granularity corresponding to the space block, and the data is mapped and saved.

[0120] The present embodiment proposes a method for setting up tidal lanes based on the degree of road tidal phenomena. By analyzing the traffic flow data at different times and directions of the road section, it can accurately quantify the degree of tidal phenomena and provide a scientific basis for the setting of tidal lanes. In addition, the present embodiment also takes into account various situations in actual applications, thereby improving practicality and accuracy.

[0121] Example 2

[0122] This embodiment proposes a method for setting tidal lanes based on the degree of road tidal phenomena, which obtains the degree of tidal phenomena on the target road section by analyzing the traffic flow data at different times and directions, thereby providing decision-making and support for the setting of tidal lanes. The method includes:

[0123] Pre-establish traffic database and neighbor relationship table;

[0124] Input any entrance ID and signal ID of the target road section, and get the entrance ID and signal ID of another entrance of the road section according to the adjacent relationship table. The signal ID is used to locate the intersection where the entrance is located in the flow data table, and the entrance ID is used to locate the designated entrance of the intersection where the signal is located in the flow data table.

[0125] The neighbor relationship table includes all the entrances in the city, the corresponding entrance ID of each entrance, the intersection where each entrance is located, the signal ID corresponding to each entrance, and the road section formed by any entrance and its corresponding entrance.

[0126] The traffic data includes the forward and reverse traffic of all road sections in the city at any unit time.

[0127] Take the forward flow rate of the target section at any unit time as x, and the reverse flow rate as y, and calculate the GAP of the section at that unit time, where

[0128] Repeat the above process to obtain the GAP corresponding to all unit times in the first preset time period;

[0129] The tidal degree corresponding to the road section is obtained according to the GAP corresponding to all unit times in the first preset time period, and whether a tidal lane needs to be set is determined based on a preset tidal degree threshold.

[0130] Based on the forward flow and reverse flow of the road section per unit time in the first preset period, and the GAP corresponding to each unit time, a flow distribution map corresponding to the road section in the first preset period is drawn to assist in determining whether a tidal lane needs to be set up. An example of a flow distribution map is shown in FIG. Figure 2 As shown, it is a schematic diagram of GAP changing with flow difference and total flow.

[0131] Furthermore, GAP is used to represent the flow difference between the forward flow and the reverse flow of the target section. However, unlike the direct difference processing of the forward flow and the reverse flow, the GAP of this embodiment takes into account the situation when the forward flow and the reverse flow are equal. At this time, the greater the sum of the forward flow and the reverse flow, the greater the GAP; and when the forward flow and the reverse flow of the section are equal, the flow direction with a larger flow is more suitable for a tidal lane.

[0132] In this embodiment, the tidal degree indicates the degree of tidal phenomenon in the road section. If there is a tidal phenomenon, there will be intervals with opposite positive and negative values ​​in the morning peak and the evening peak. That is, a corresponding relationship diagram of the road section in the first preset period can be drawn through the GAP of each unit time in the first preset period. An example of the corresponding relationship diagram is as follows: Figure 3 shown.

[0133] The larger the area of ​​the positive value and the area of ​​the negative value in the corresponding relationship diagram can be offset, the greater the degree of the tidal phenomenon, that is, the more suitable it is to set up a tidal lane. Therefore, the area of ​​the offset part is taken as tidalDegree. Let the area of ​​the part where GAP is greater than 0 in the corresponding relationship diagram be GP, and the area of ​​the part where GAP is less than 0 be GN, then,

[0134] GN+GP=∑|GAP|;

[0135] |GP-GN|=|∑GAP|;

[0136] Therefore, tidalDegree=2*min(GP,GN)=GN+GP-|GP-GN|

[0137] =∑|GAP|-|∑GAP|.

[0138] Although the calculation of GAP achieves a larger total flow when the flow difference is the same, the slope is larger when the difference is close to 0, which causes the GAP to fluctuate more when the flow difference is smaller. According to the design idea, there is no need to use tidal lanes when the flow difference is small, so the slope should be as small as possible.

[0139] This embodiment uses the offset of positive and negative values ​​as the tidal degree, but in actual situations, there are some sections where the flow in one direction is always greater than that in the other direction, but the direction with larger flow has larger flow during peak hours and smaller flow during off-peak hours. In this case, tidal lanes can also improve road conditions, so the method for obtaining tidal degrees can be changed to:

[0140] tidalDegree=2∑|GAP|-|∑GAP|.

[0141] In addition, GAP fluctuates during off-peak periods, and in fact, once the tidal lane changes direction, it needs to maintain the state for a long time. Therefore, in practical applications, the values ​​of GP and GN should be continuous in time. The fluctuation of GAP in a short period of time should not be taken into account in the tidal degree, so only the maximum interval of continuous positive values ​​is taken as GP, and the minimum interval of continuous negative values ​​is taken as GN, that is:

[0142] According to the relative flow rate difference corresponding to each unit time in the first preset time period of the target road section, a first interval in which all relative flow rate differences corresponding to two or more consecutive unit times based on the time sequence in the first preset time period are positive, and a second interval in which all relative flow rate differences corresponding to two or more consecutive unit times based on the time sequence are negative; according to each first interval, the sum of the relative flow rate differences corresponding to all unit times in each first interval is obtained; according to each second interval, the sum of the relative flow rate differences corresponding to all unit times in each second interval is obtained; according to the sum of the relative flow rate differences corresponding to each first interval and the sum of the relative flow rate differences corresponding to each second interval, the sum of the relative flow rate differences corresponding to the first interval with the largest sum of relative flow rate differences among all the first intervals is taken as GP, and the sum of the relative flow rate differences corresponding to the second interval with the smallest sum of relative flow rate differences among all the second intervals is taken as GN.

[0143] Furthermore, this embodiment is based on the premise that the number of lanes on both sides is equal. When the number of lanes in the two directions is different, the direct subtraction of the traffic flow can also reflect the tidal phenomenon of the road section, but it may not be consistent with the actual congestion caused by the traffic flow. And the calculated tidal degree cannot provide an accurate standard for determining whether a tidal lane can be set. Therefore, the forward flow and reverse flow can be divided by the number of lanes in this direction for subsequent calculations. And this can reflect the optimization effect of the tidal lane.

[0144] After setting up the tidal lanes, the number of lanes in Liangxiang is different in different unit times. The traffic volume divided by the different number of lanes can be used to obtain the tidal degree after setting up the tidal lanes. Comparing it with the tidal degree before setting up the tidal lanes can yield the optimization effect of setting up the tidal lanes.

[0145] When it is determined that a tidal lane needs to be set up on a target road section, the flow direction plan of the tidal lane on the road section in each unit time can be obtained through the corresponding relationship diagram.

[0146] This embodiment provides a tidal lane setting method based on the degree of road tidal phenomenon. By analyzing the traffic flow data at different times and directions of the road section, it can accurately quantify the degree of tidal phenomenon and provide a scientific basis for the setting of tidal lanes. In addition, this embodiment also takes into account various situations in actual applications, thereby improving practicality and accuracy.

[0147] Example 3

[0148] This embodiment provides a tidal lane setting system based on the degree of road tidal phenomenon, including a memory, a processor and a computer program stored in the memory, and the processor executes the computer program to implement the tidal lane setting method based on the degree of road tidal phenomenon described in Example 1 or Example 2.

[0149] In the description of the present invention, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0150] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium; it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0151] In the present invention, unless otherwise clearly specified and limited, when a first feature is “on” or “below” a second feature, it may be that the first and second features are in direct contact, or that the first and second features are in indirect contact through an intermediate medium. Moreover, when a first feature is “above”, “above” or “above” a second feature, it may be that the first feature is directly above or obliquely above the second feature, or it may simply mean that the first feature is higher in level than the second feature. When a first feature is “below”, “below” or “below” a second feature, it may be that the first feature is directly below or obliquely below the second feature, or it may simply mean that the first feature is lower in level than the second feature.

[0152] In the description of this specification, the description of the terms "one embodiment", "some embodiments", "embodiment", "example", "specific example" or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.

[0153] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may alter, modify, replace and modify the above embodiments within the scope of the present invention.

Claims

1. A method for setting tidal lanes based on the degree of road tidal phenomena, characterized in that: include: S11, according to the section ID of the target section input by the user and the preset traffic database, obtaining the forward traffic and reverse traffic of the target section per unit time in the first preset time period; The traffic database includes the road section IDs of all road sections in the city, and the forward traffic and reverse traffic per unit time of each road section within a second preset time period; The second preset period is greater than the first preset period; S12, obtaining a relative flow difference per unit time of the target road section within the first preset time period according to the forward flow and reverse flow per unit time of the target road section within the first preset time period; S13, obtaining the tidal degree of the target road section according to the relative flow difference per unit time of the target road section within the first preset time period; S14, judging whether a tidal lane needs to be set up on the target road section according to the tidal degree of the target road section and a preset tidal degree threshold; When the tidal degree of the target road section is greater than the tidal degree threshold, it is determined that a tidal lane needs to be set up in the target road section.

2. The method for setting tidal lanes based on the degree of road tidal phenomena according to claim 1, characterized in that: The S12 includes: According to the forward flow and reverse flow of the target section per unit time in the first preset time period, and the preset formula 1, the relative flow difference of each time period of the target section is obtained; the formula 1 is: Among them, GAP is the relative flow difference of the target section at any unit time in the first preset time period, x is the forward flow of the target section at the unit time, and y is the reverse flow of the section where the target entrance is located at the unit time.

3. The method for setting tidal lanes based on the degree of road tidal phenomena according to claim 2, characterized in that: The S13 includes: According to the relative flow difference of the target section per unit time in the first preset period and the preset formula 2, the tidal degree of the target section is obtained; the formula 2 is: tidalDegree=∑|GAP|-|∑GAP|; tidalDegree is the tidal degree of the target section, and GAP is the relative flow difference of the target section at any unit time within the first preset time period.

4. The method for setting tidal lanes based on the degree of road tidal phenomena according to claim 2, characterized in that: The S13 includes: S13-1, according to the preset first flow threshold and second flow threshold, respectively mark the forward flow and reverse flow of the target section per unit time in the first preset time period, and obtain the marking result of the forward flow and reverse flow of the target section per unit time in the first preset time period; When the forward flow rate per unit time is greater than the first flow threshold, the forward flow rate per unit time is marked as peak flow; when the forward flow rate per unit time is less than the second flow threshold, the forward flow rate per unit time is marked as flat-peak flow; When the reverse flow rate per unit time is greater than the first flow threshold, the reverse flow rate per unit time is marked as peak flow; when the reverse flow rate per unit time is less than the second flow threshold, the reverse flow rate per unit time is marked as flat-peak flow; The first flow threshold is greater than the second flow threshold; S13-2, judging whether a first preset condition is met according to the forward flow and reverse flow of the target section per unit time in the first preset period, and the marking result of the forward flow and reverse flow of the target section per unit time in the first preset period; If it is not satisfied, the tidal degree of the target section is obtained according to the relative flow difference of the target section per unit time in the first preset period and the preset formula 2; the formula 2 is: tidalDegree=∑|GAP|-|∑GAP|; tidalDegree is the tidal degree of the target section, GAP is the relative flow difference of the target section at any unit time in the first preset time period; When the condition is satisfied, the tidal degree of the target section is obtained according to the relative flow difference of the target section per unit time in the first preset period and the preset formula 3; the formula 3 is: tidalDegree=2∑|GAP|-|∑GAP|; The first preset condition is: when the forward flow rate of the target section at any unit time within the first preset time period is greater than the reverse flow rate of the unit time, the difference between the average of all peak flows and the average of average peak flows in the forward flow rate of the target section at all unit times within the first preset time period is greater than a preset third flow threshold; or, when the reverse flow rate of the target section at any unit time within the first preset time period is greater than the forward flow rate of the unit time, the difference between the average of all peak flows and the average of average peak flows in the reverse flow rate of the target section at all unit times within the first preset time period is greater than a preset third flow threshold.

5. The method for setting tidal lanes based on the degree of road tidal phenomena according to claim 1, characterized in that: The S13 includes: S13-3, based on all relative flow rate differences in the first preset time period of the target road section and the unit time corresponding to each relative flow rate difference, a corresponding relationship diagram between the relative flow rate difference in the first preset time period of the target road section and the unit time is drawn, with time as the X-axis and the relative flow rate difference as the Y-axis; the X-axis in the corresponding relationship diagram is located at a position where the relative flow rate difference is 0; S13-4, according to the corresponding relationship diagram, taking the sum of the areas of the graphs formed by the parts of the corresponding relationship diagram where the relative flow differences are greater than 0 and the X-axis as the first tidal parameter, and taking the sum of the areas of the graphs formed by the parts of the corresponding relationship diagram where the relative flow differences are less than 0 and the X-axis as the second tidal parameter; S13-5. Obtain the tidal degree of the target road section according to the first tidal degree parameter and the second tidal degree parameter and a preset formula 4; the formula 4 is: tidalDegree=GN+GP-|GP-GN|; tidalDegree is the tidal degree of the target section, GP is the first tidal degree parameter, and GN is the second tidal degree parameter.

6. The method for setting tidal lanes based on the degree of road tidal phenomena according to claim 1, characterized in that: The S13 includes: S13-6, according to the relative flow difference corresponding to each unit time in the first preset time period of the target road section, obtain a first interval in which all relative flow differences corresponding to two or more consecutive unit times based on the time sequence in the first preset time period are positive, and a second interval in which all relative flow differences corresponding to two or more consecutive unit times based on the time sequence are negative; S13-7, according to each first interval, obtain the sum of the relative flow rate differences corresponding to all unit times in each first interval; according to each second interval, obtain the sum of the relative flow rate differences corresponding to all unit times in each second interval; S13-8, according to the sum of the relative flow differences corresponding to each first interval and the sum of the relative flow differences corresponding to each second interval, the sum of the relative flow differences corresponding to the first interval with the largest sum of the relative flow differences among all the first intervals is taken as the first tidal parameter, and the sum of the relative flow differences corresponding to the second interval with the smallest sum of the relative flow differences among all the second intervals is taken as the second tidal parameter; S13-9, according to the first tidal parameter and the second tidal parameter, and a preset formula 4, obtain the tidal degree of the target section; the formula 4 is: tidalDegree=GN+GP-|GP-GN|; tidalDegree is the tidal degree of the target section, GP is the first tidal degree parameter, and GN is the second tidal degree parameter.

7. The method for setting tidal lanes based on the degree of road tidal phenomena according to claim 5, characterized in that: The method further comprises: S15. When it is determined that a tidal lane needs to be set up in the target section, the flow direction plan for the tidal lane of the target section per unit time in the first preset time period is obtained based on the corresponding relationship diagram between the relative flow difference and the unit time in the first preset time period of the target section.

8. The method for setting tidal lanes based on the degree of road tidal phenomena according to claim 1, characterized in that: The S11 and before also include: S0, establishing a traffic database according to the collected road section IDs corresponding to all road sections in the city, and the forward flow and reverse flow of each road section per unit time in the second preset time period; During this period, when any piece of pre-stored data is received, the data type and data format of the received pre-stored data are detected; According to the data type and data format of the pre-stored data, obtaining the memory space size required for the pre-stored data; Obtain the first memory space to be applied for according to the required memory space size; According to a preset granularity, the first memory space is split from large to small granularity by a preset buddy algorithm to generate at least one space block with different granularity; After arranging the space blocks from large to small, determining in turn whether all the space blocks match the first granularity of the physical memory page pre-divided by the buddy algorithm; When a match is found, data mapping is performed and saved through the divided space blocks; The first granularity is a preset granularity.

9. The method for setting tidal lanes based on the degree of road tidal phenomena according to claim 8, characterized in that: The S0 further includes: When there is no match, a physical memory page of the first granularity size is applied for, and based on a preset buddy algorithm, the applied physical memory page of the first granularity size is divided according to the granularity corresponding to the space block, and the data is mapped and saved.

10. A tidal lane setting system based on the degree of road tidal phenomenon, comprising a memory, a processor and a computer program stored in the memory, characterized in that: The processor executes the computer program to implement the tidal lane setting method based on the degree of road tidal phenomenon as described in any one of claims 1 to 9.