Traffic congestion control method, system, electronic device and storage medium
Through image acquisition equipment, monitoring traffic road congestion and dynamically adjusting the green light duration of traffic lights, the problem that existing traffic light control methods cannot be intelligently regulated and achieve more efficient traffic evacuation.
Patent Information
- Application Number
- CN202411457155.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-18
- Publication Date
- 2025-03-11
- Estimated Expiration
- 2044-10-18
AI Technical Summary
The existing traffic light control methods cannot be intelligently regulated based on real-time road conditions, which makes it difficult to effectively solve the traffic congestion problem.
The image acquisition equipment monitors the congestion status of traffic roads in real time, checks the state of traffic congestion in the last time, and dynamically adjusts the length of the green light of the traffic light based on the traffic flow data and the number of signal lights.
It has realized intelligent regulation of traffic lights, reduced traffic congestion, no human intervention is required, and improved traffic evacuation efficiency.
Smart Images

Figure CN119169840B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of traffic control technology, and in particular to a traffic congestion control method, system, electronic device and storage medium. Background Art
[0002] The current traffic light control method mainly adopts preset program control (for example, fixed traffic light duration), which cannot control the change of traffic lights in real time according to road conditions, and cannot achieve intelligent control. It is often the case that one driving direction is severely congested, while other driving directions have fewer vehicles. Although the traffic lights can be controlled by human intervention of traffic police, due to the large number of urban intersections and large manpower investment, the problem of traffic congestion cannot be completely solved.
[0003] Therefore, how to realize intelligent control of traffic lights and improve traffic congestion is an urgent problem that needs to be solved. Summary of the invention
[0004] The present application provides a traffic congestion control method, system, electronic device and storage medium for realizing intelligent control of traffic lights and improving traffic congestion.
[0005] In a first aspect, a traffic congestion control method is provided, the method comprising:
[0006] When receiving a traffic congestion event reported by the image acquisition device, querying the last traffic congestion state of the traffic road according to the time period to which the traffic congestion event belongs;
[0007] When the last traffic congestion state is traffic congestion, if it is determined that the green light duration of the traffic light on the traffic road is less than or equal to the preset duration, and the number of adjustments and controls of the traffic light is less than or equal to the preset number of times, then the green light extension duration of the traffic light is determined, and the green light duration of the traffic light is adjusted according to the green light extension duration.
[0008] In some embodiments, when receiving a traffic congestion event reported by an image acquisition device on a traffic road, before querying the last traffic congestion state of the traffic road according to the time period to which the traffic congestion event belongs, the method further includes:
[0009] The traffic flow data of the traffic road is obtained from the image acquisition device according to the set time period every day, and a data relationship library of the traffic light is established; wherein the data relationship library includes the corresponding relationship between the traffic flow data of the traffic road, the traffic congestion status, and the green light duration of the traffic light in each time period.
[0010] In some embodiments, after establishing the data relationship library of the traffic light, the method further includes:
[0011] According to the set interval days, multiple candidate vehicle flow data of each day are screened out from the data relationship database to form a candidate vehicle flow data set; wherein the multiple candidate vehicle flow data meet the vehicle flow data ranking range requirements of the day, and the multiple candidate vehicle flow data are greater than the vehicle flow threshold of the respective time period;
[0012] Counting a first total number of candidate vehicle flow data in the same time period in the candidate vehicle flow data set within the interval number of days, and a second total number of traffic congestion in the same time period within the interval number of days;
[0013] If the first total number of times is greater than the first number threshold, and the second total number of times is greater than the second number threshold, then the green light duration of the same time period within the interval number of days is obtained to form a signal light duration sequence set; wherein the signal light duration sequence set includes green light duration sequences of N time periods, where N is an integer greater than 0;
[0014] According to the green light duration sequences of the N time periods, the green light durations of the traffic lights in the N time periods are updated.
[0015] In some embodiments, updating the green light durations of the traffic lights in the N time periods according to the green light duration sequences of the N time periods includes:
[0016] Calculate a first standard deviation of a first green light duration sequence in a first time period; wherein the first time period is any time period among the N time periods:
[0017] If the first standard deviation is less than the standard deviation threshold, the first green light duration average value of the first green light duration sequence is calculated, and the green light duration of the first time period is updated to the first green light duration average value.
[0018] In some embodiments, the method further comprises:
[0019] If the first standard deviation is greater than or equal to the standard deviation threshold, counting the number of green light durations in the first green light duration sequence;
[0020] Determine whether the number of green light durations is greater than a green light duration threshold;
[0021] If yes, then delete the maximum green light duration and the minimum green light duration in the first green light duration sequence to obtain a second green light duration sequence for the first time period, and update the green light duration of the traffic light in the first time period according to the second green light duration sequence;
[0022] If not, delete any green light duration in the first green light duration sequence to form multiple third green light duration sequences, calculate the second standard deviation of each of the multiple third green light duration sequences, and update the green light duration of the traffic light in the first time period according to the third green light duration sequence corresponding to the smallest second standard deviation among the second standard deviations.
[0023] In some embodiments, after adjusting the green light duration of the traffic light according to the green light extension duration, the method further includes:
[0024] If the traffic road is a two-way traffic road, adjusting the red light duration of the opposite traffic light of the traffic light according to the green light extension duration; or
[0025] If the traffic road is a cross-shaped traffic road or a tic-tac-toe-shaped traffic road, the green light duration of the opposite traffic light is adjusted according to the green light extension duration, and the red light duration of the adjacent traffic light of the traffic light is adjusted.
[0026] In some embodiments, the method further comprises:
[0027] If it is determined that the green light duration of the traffic light is greater than the preset duration, and the number of adjustments and controls of the traffic light is greater than the preset number, the intersection shape of the traffic road is determined based on the intersection information of the traffic road, and a traffic diversion strategy that meets the intersection shape is selected from a traffic diversion strategy library, and the traffic diversion strategy is sent to the target object that governs the traffic road and / or displayed on a traffic guidance screen device associated with the traffic road.
[0028] In a second aspect, a traffic congestion system is provided, comprising:
[0029] Real-time control module, image acquisition equipment, traffic lights;
[0030] The real-time control module is used to query the last traffic congestion state of the traffic road according to the time period to which the traffic congestion event belongs when receiving a traffic congestion event reported by the image acquisition device;
[0031] When the last traffic congestion state is traffic congestion, if it is determined that the green light duration of the traffic light on the traffic road is less than or equal to the preset duration, and the number of adjustments and controls of the traffic light is less than or equal to the preset number of times, then the green light extension duration of the traffic light is determined, and the green light duration of the traffic light is adjusted according to the green light extension duration.
[0032] According to a third aspect, an electronic device is provided, including:
[0033] A memory for storing a computer program; a processor for implementing any one of the method steps in the first aspect when executing the computer program stored in the memory.
[0034] According to a fourth aspect, a computer-readable storage medium is provided, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the method steps described in any one of the first aspects are implemented.
[0035] In an embodiment of the present application, when a traffic congestion event is reported by an image acquisition device on a traffic road, the last traffic congestion status of the traffic road is queried according to the time period to which the traffic event belongs. When the last traffic congestion status is traffic congestion, if it is determined that the default green light duration of the traffic light is less than or equal to the preset duration, and the number of adjustments and controls of the traffic light is less than or equal to the preset number, then the green light extension duration of the traffic light is determined. The green light extension duration can be used to intelligently adjust the default green light duration of the traffic light, thereby solving the problem of traffic congestion without the need for human intervention, thereby improving the efficiency of traffic congestion evacuation and improving the phenomenon of traffic congestion.
[0036] For each aspect from the second to the fourth aspect and the technical effects that may be achieved by each aspect, please refer to the above description of the technical effects that can be achieved by the first aspect or various possible schemes in the first aspect, and no further details will be given here. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 A traffic congestion control system provided by an embodiment of the present application is exemplarily shown;
[0038] Figure 2 An exemplary diagram of equipment relationship binding for a traffic road provided in an embodiment of the present application is shown;
[0039] Figure 3 A schematic diagram of a flow chart of another method for alleviating traffic congestion provided in an embodiment of the present application is exemplified;
[0040] Figure 4 A flow chart of a traffic congestion control method provided by an embodiment of the present application is exemplarily shown;
[0041] Figure 5 A flowchart for updating the duration of a traffic light provided by an embodiment of the present application is exemplarily shown;
[0042] Figure 6 A flow chart of a complete traffic control method provided by an embodiment of the present application is exemplarily shown;
[0043] Figure 7A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is exemplarily shown. DETAILED DESCRIPTION
[0044] In order to make the purpose, technical scheme and advantages of the present application clearer, the technical scheme in the embodiment of the present application will be clearly and completely described below in conjunction with the drawings in the embodiment of the present application. Obviously, the described embodiment is only a part of the embodiment of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application. In the absence of conflict, the embodiments in the present application and the features in the embodiments can be arbitrarily combined with each other. In addition, although the logical order is shown in the flow chart, in some cases, the steps shown or described can be performed in an order different from that here.
[0045] The terms "first" and "second" in the specification and claims of the present application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the term "comprising" and any of their variations are intended to cover non-exclusive protection. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or devices. "Multiple" in the present application can mean at least two, for example, two, three or more, and the embodiments of the present application are not limited.
[0046] The following is a description of exemplary embodiments of the present application in conjunction with the accompanying drawings, including various details of the embodiments of the present application to facilitate understanding, which should be considered as merely exemplary. Therefore, those of ordinary skill in the art should recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope of the present application. Similarly, for the sake of clarity and conciseness, the description of well-known functions and structures is omitted in the following description. It should be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned, which should be considered as exemplary, and their purpose is only to illustrate the feasibility of the implementation of the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.
[0047] The current traffic congestion control scheme mainly relies on real-time data to control the fixed duration of traffic lights, resulting in no compensation mechanism in some abnormal scenarios (for example, foggy weather, damaged ramp cameras, etc.), and the inability to intelligently control the duration of traffic lights. In addition, the control method is single, and when the traffic road conditions are more complicated (for example, long roads are congested with vehicles, there are traffic accidents, etc.), it is impossible to notify the transportation department and complete the traffic diversion in time.
[0048] In view of this, the embodiments of the present application provide a traffic congestion control method, system, electronic device and storage medium, which are used to judge the congestion situation through image acquisition equipment and intelligently control the signal light duration of traffic lights to improve traffic congestion; further, the time period is divided to collect vehicle flow data in different time periods, and based on this, the signal light duration of traffic lights in different time periods is flexibly set for different time periods, so as to provide a compensation mechanism for abnormal scenarios such as abnormal weather, damage to monitoring equipment, peak travel, etc.; in addition, it can also be linked with the traffic command center platform to mobilize traffic commanders in real time to conduct on-site guidance according to the severity of congestion, fill the gap that cannot be guided when manpower is scarce, and by establishing a guidance plan strategy library, make up for the problem of poor guidance effect caused by insufficient experience of traffic commanders.
[0049] Figure 1 The following is an exemplary diagram of a traffic congestion control system provided by an embodiment of the present application. Figure 1 As shown, the system may include a platform end 100, a field end 101, and a mobile end 102; wherein the platform end 100 may include a calibration module 100a, a traffic diversion strategy library 100b, a historical control module 100c, a real-time control module 100d, and a linkage module 100e; the field end 101 may include an image acquisition device 101a, a traffic signal light 101b, and a traffic guidance screen device 101c. It should be noted that the number of image acquisition devices, traffic signal lights, and traffic guidance screen devices may be greater. Figure 1 Each is described with only one device.
[0050] The calibration module 100a in the platform 100 can be used to establish a binding relationship between the image acquisition device 101a, the traffic light 101b, the traffic guidance screen device 101c, and the traffic road. Figure 2 As shown, a schematic diagram of equipment relationship binding of a traffic road provided by an embodiment of the present application is exemplarily shown. Figure 2 In the example, different types of traffic roads (such as Figure 2The one-way traffic road 1, the cross-shaped one-way traffic road 2, the cross-shaped two-way traffic road 3, and the T-shaped traffic road 4) in the device relationship binding table are established respectively; wherein, the device relationship binding table may include the correspondence between the image acquisition device information (for example, the device name and device model of the image acquisition device) and the traffic road name, the correspondence between the traffic signal light equipment information (for example, the device name and device model of the traffic signal light) and the traffic road type, the correspondence between the traffic guidance screen equipment information (for example, the device name and device model of the traffic guidance screen equipment) and the image acquisition device orientation information, etc., and the device relationship binding tables of different types of traffic roads are established in turn, so as to provide a basis for the linkage control of the signal light duration for all traffic lights associated with the subsequent traffic roads.
[0051] It should be noted that the above Figure 2 This is just an example. A corresponding device relationship binding table can be established for any type of traffic road in an actual scenario, and the embodiments of the present application are not limited thereto.
[0052] The traffic diversion strategy library 100b in the platform end 100 can be used to provide traffic diversion strategies for different intersection forms. For example, when the real-time control module 100d determines that traffic diversion is needed for a traffic road, first, the calibration module 100a on the platform end can provide the intersection information of the traffic road (for example, the traffic road type and traffic road name in the device relationship binding table), and then all image acquisition devices bound to the traffic road can provide the traffic congestion conditions of their corresponding monitoring areas; secondly, the real-time control module 100d can determine the intersection form of the traffic road based on the traffic road type and the monitored traffic congestion conditions, and transmit it to the linkage module 100e; the linkage module 100e can filter out the traffic diversion strategy that meets the intersection form from the traffic diversion strategy library 100b, and send the traffic diversion strategy to the relevant traffic guidance screen device 101c and the mobile terminal 102, so as to assist the traffic commander in the subsequent diversion work.
[0053] The historical control module 100c in the platform end 100 can be used to collect data such as traffic flow data, traffic congestion status, signal light duration of the traffic light 101b (for example, green light duration, red light duration, etc.) on the traffic road in real time every day, and form a data relationship library based on the collected data; then, based on the data relationship library, the signal light duration (for example, green light duration) of the traffic light 101b corresponding to different time periods is calculated, and sent to the traffic light 101b as the default duration of the traffic light 101b, so as to improve the rationality of the signal light duration of the traffic light 101b.
[0054] The real-time control module 100d in the platform end 100 can be used to first determine whether there is a traffic congestion event on the traffic road through the image acquisition device 101a before the traffic light 101b switches the signal light (for example, the first 5 seconds); if not, it indicates that the traffic on the traffic road is smooth and normal signal light switching can be performed; if so, the traffic congestion times sent in this time period can be recorded, and the relevant data of this time period can be subsequently passed to the historical control module 100c for subsequent use by the historical control module 100c.
[0055] Subsequently, it can be checked whether there was traffic congestion in the last time period. If so, the real-time control module 100d will extend the signal light duration of the traffic light 101b based on the current signal light duration of the traffic light 101b, and will extend the signal light duration of other traffic lights associated with the traffic road accordingly. If not, the number of consecutive adjustments of the traffic lights in the time period can be reset to zero.
[0056] Furthermore, when it is determined that the current traffic congestion cannot be solved by adjusting the duration of the traffic lights, the linkage module 100e can be used to link the surrounding traffic instructors, police personnel, on-duty personnel, traffic guidance screen equipment 101c, etc. to conduct human intervention and guidance. Figure 3 As shown, a schematic diagram of another method for alleviating traffic congestion provided in an embodiment of the present application is exemplarily shown. The process includes the following steps:
[0057] 301: The real-time control module sends a traffic diversion request to the linkage module.
[0058] The traffic diversion request may carry information such as the traffic road name, traffic road type, and congestion pattern of the traffic road.
[0059] 302: After receiving the traffic diversion request, the linkage module sends a command request to the mobile terminal for requesting police personnel to conduct traffic diversion command.
[0060] 303: The linkage module waits for the mobile terminal to respond to the command request according to the set response time. If yes, it proceeds to 304; if no, it proceeds to 306.
[0061] In this step, the mobile terminal can be Figure 1 The mobile terminal 102 is shown.
[0062] 304: The linkage module sends the traffic diversion strategy that matches the intersection shape of the traffic road to the mobile terminal.
[0063] The traffic diversion strategy is selected from the traffic diversion strategy library (such as Figure 1 The traffic diversion strategy library 100b) shown is matched.
[0064] 305: When the mobile terminal receives the traffic diversion strategy, the police personnel conduct corresponding traffic diversion based on the traffic diversion strategy, and after completing the traffic diversion task, report the traffic diversion result to the linkage module.
[0065] 306: The linkage module notifies the surrounding on-duty personnel to conduct on-site traffic control.
[0066] In some embodiments, the on-duty personnel in the surrounding area are notified to conduct on-site traffic directing by displaying the corresponding traffic diversion strategy on the traffic guidance screen device associated with the traffic road to guide the on-duty personnel to conduct traffic diversion. The on-duty personnel can also be guided by voice on traffic diversion through image acquisition equipment, and traffic videos captured by image acquisition equipment can be viewed to observe the diversion status in real time.
[0067] Through the traffic diversion function of the above-mentioned linkage module, when traffic congestion cannot be resolved by adjusting traffic lights, combined with traffic diversion strategies, the surrounding police officers can be assisted in on-site command to make up for the problem of low traffic diversion efficiency due to insufficient police diversion experience; further, when there are insufficient police officers in the surrounding area, the on-duty personnel of the command center can intervene and conduct remote voice / video diversion through on-site image acquisition equipment or traffic guidance screen equipment.
[0068] The mobile terminal 102 includes but is not limited to: mobile phones, tablet computers, laptops, PDAs, mobile Internet devices (MID), wearable devices, wireless terminal devices in smart cities, etc., and can be configured with APPs or applets related to traffic congestion control.
[0069] To further illustrate the technical solution provided by the embodiment of the present application, this is described in detail below in conjunction with the accompanying drawings and specific implementation methods. Although the embodiment of the present application provides the method operation steps as shown in the following embodiments or drawings, more or fewer operation steps may be included in the method based on routine or no creative labor. In the steps where there is no necessary causal relationship logically, the execution order of these steps is not limited to the execution order provided by the embodiment of the present application. The method may be executed or executed in parallel in the actual processing process or when the device is executed in accordance with the method sequence shown in the embodiment or drawings.
[0070] Figure 4 A flow chart of a traffic congestion control method provided by an embodiment of the present application is exemplarily shown. The flow chart may include a traffic congestion control system (such as Figure 1 The traffic congestion control system shown in Figure 1 is implemented. Figure 4 As shown, the process includes the following steps:
[0071] 401: When receiving a report from an image acquisition device that a traffic congestion event exists on a traffic road, query the last traffic congestion state of the traffic road according to the time period to which the traffic congestion event belongs.
[0072] In this step, the image acquisition device can be Figure 1 The image acquisition device 101a shown in the figure may be a checkpoint device, a camera, etc. deployed on a traffic road.
[0073] In this step, the specific steps may be: a real-time control module (such as Figure 1 The real-time control module 100d shown in the figure monitors the traffic lights in real time (such as Figure 1 The traffic light 101b shown in the figure counts down the switching of the signal light. When the signal light has a few seconds left (for example, 6 seconds left for the green light) to switch, the image acquisition device (such as Figure 1 The image acquisition device 101a shown sends a traffic congestion detection instruction, the image acquisition device performs traffic congestion detection on the traffic road, and reports the traffic congestion detection result to the real-time control module; when there is no traffic congestion event on the traffic road reported by the image acquisition device, the traffic light can perform normal signal light switching; when there is a traffic congestion event on the traffic road reported by the image acquisition device, the last traffic congestion status of the traffic road can be queried based on the time period to which the traffic congestion event belongs, so as to facilitate the subsequent accurate assessment of the degree of traffic congestion; further, the number of traffic congestion times in the current time period can be counted to provide a basis for whether to modify the traffic light duration of the time period in the subsequent period.
[0074] In some embodiments, before executing 401, the following steps may be performed: Figure 1 The historical control module 100c shown is divided into time periods every day (for example, every 0.5 hour as a dimension, or 1 hour as a dimension), collects the traffic flow data collected by the image acquisition device in each time period, and establishes a data relationship library of traffic lights; wherein, the data relationship library includes the correspondence between the traffic flow data of the traffic roads in each time period, the traffic congestion status, and the green light duration of the traffic lights, so as to set reasonable traffic light durations for different time periods of the traffic lights based on this in the future, so as to make up for the defect that the real-time data collection is hindered in abnormal scenes such as foggy weather, resulting in inaccurate traffic light control.
[0075] like Figure 5 As shown, a flowchart for updating the duration of a traffic light provided in an embodiment of the present application is exemplified.
[0076] 501: According to the set interval days, multiple candidate vehicle flow data of each day are screened out from the data relationship database to form a candidate vehicle flow data set.
[0077] In this step, multiple candidate traffic flow data meet the traffic flow data ranking range requirements of the day (for example, the daily traffic flow data ranks in the top 10, or the top 5, top 7, etc.), and multiple candidate traffic flow data are greater than the traffic flow threshold of their respective time periods.
[0078] In other embodiments, if the number of traffic flow data on that day is less than the traffic flow data ranking range requirement, it may be left blank.
[0079] In some embodiments, the traffic flow threshold of a certain time period can be the average value of the sum of all traffic flow data corresponding to the time period within the interval days (for example, 7 days, or 10 days, etc.) as the traffic flow threshold of the time period, so as to determine the congestion level of the time period. In other embodiments, when the traffic flow data collected in the time period does not meet the interval days requirement, it can be calculated according to the actual traffic flow data. For example, if there are only 3 days of traffic flow data in the time period within the interval days, the average value of the 3 days of traffic flow data is calculated and used as the traffic flow threshold of the time period.
[0080] 502: Counting a first total number of candidate vehicle flow data in the same time period in the candidate vehicle flow data set within the interval days, and a second total number of traffic congestion in the same time period within the interval days.
[0081] 503: If the first total number of times is greater than the first number threshold, and the second total number of times is greater than the second number threshold, then the green light duration in the same time period within the interval days is obtained to form a signal light duration sequence set.
[0082] The signal light duration sequence set includes green light duration sequences of N (N is an integer greater than 0) time periods.
[0083] For example, statistics are made according to the interval days (taking 7 days as an example) to see whether the first total number of occurrences of the candidate traffic flow data in the same time period (for example, 9 o'clock to 10 o'clock) in the candidate traffic flow data set within the 7 days is greater than the first number threshold (for example, 4), and whether the second total number of traffic jams from 9 o'clock to 10 o'clock within the 7 days is greater than the second number threshold (for example, 2). If so, the green light duration from 9 o'clock to 10 o'clock within the interval days is obtained to form a green light duration sequence from 9 o'clock to 10 o'clock. Similarly, other time periods are also screened in the above manner, thereby performing a secondary screening on the candidate traffic flow data set to construct a signal light duration sequence set for time periods that meet the conditions.
[0084] 504: According to the green light duration sequences of the N time periods, update the green light durations of the traffic light in the N time periods.
[0085] In some embodiments, updating the green light duration of the traffic light in each of the N time periods may include the following embodiments:
[0086] Embodiment 1, calculate the first standard deviation of the first green light duration sequence of the first time period; wherein the first time period is any time period among N time periods; if the first standard deviation is less than the standard deviation threshold (for example, less than 10), it indicates that the data discreteness is low, that is, the congestion level in the corresponding time period is relatively balanced, and the first green light duration average value of the first green light duration sequence can be calculated, and the green light duration of the first time period is updated to the first green light duration average value.
[0087] Embodiment 2, if the first standard deviation is greater than or equal to the standard deviation threshold, count the number of green light durations in the first green light duration sequence; determine whether the number of green light durations is greater than the green light duration number threshold (for example, greater than 5); if so, delete the maximum green light duration and the minimum green light duration in the first green light duration sequence to obtain a second green light duration sequence for the first time period, and update the green light duration of the traffic light in the first time period according to the second green light duration sequence; if not, delete any green light duration in the first green light duration sequence to form multiple third green light duration sequences, calculate the second standard deviation of each of the multiple third green light duration sequences, and update the green light duration of the traffic light in the first time period according to the third green light duration sequence corresponding to the minimum second standard deviation among the second standard deviations.
[0088] Furthermore, updating the default green light duration of the traffic light in the first time period according to the second green light duration sequence can be: recalculating the standard deviation of the second green light duration sequence, and determining whether the standard deviation is less than the standard deviation threshold; if so, calculating the average value of the second green light duration sequence and using it as the green light duration in the first time period; if not, repeating the actions of the above-mentioned embodiment 2.
[0089] Further, updating the green light duration of the traffic light in the first time period according to the third green light duration sequence corresponding to the smallest second standard deviation among the second standard deviations can be: calculating the average value of the third green light duration sequence and using the average value as the green light duration of the first time period.
[0090] In some embodiments, when the above-calculated average value is updated to the traffic light, it can be based on Figure 1 The device relationship binding table established by the calibration module 100a shown in the figure is updated, specifically: for a one-way traffic road (such as Figure 2For the one-way traffic road 1 shown in the figure, the history control module only updates the green light duration of the currently detected traffic light in the first time period to the average value calculated above; for the two-way traffic road, after updating the green light duration of the traffic light in the first time period to the average value calculated above, the green light duration of the opposite traffic light in the first time period is also updated to the average value calculated above; for the cross-shaped traffic road or the tic-tac-toe-shaped traffic road, the green light duration of the traffic light in the first time period and the green light duration of the opposite traffic light in the first time period are updated to the average value calculated above, and the red light duration of the adjacent traffic light in the first time period is also updated to the average value calculated above.
[0091] Through the above method, daily traffic flow data is collected according to time periods, and a corresponding data relationship database is established. Based on the data relationship database, when certain conditions are met, the green light duration in different time periods is reasonably adjusted to make up for the defect of inaccurate traffic light control caused by the difficulty in real-time data collection in abnormal scenarios such as foggy weather.
[0092] 402: When the last traffic congestion state is traffic congestion, if it is determined that the green light duration of the traffic light on the traffic road is less than or equal to the preset duration, and the number of adjustments and controls of the traffic light is less than or equal to the preset number, then determine the green light extension duration of the traffic light, and adjust the green light duration of the traffic light according to the green light extension duration.
[0093] In this step, the preset duration can be reasonably set according to the actual scenario, for example, set to 120s, 90s, and the preset number of times can also be reasonably set according to the actual scenario, for example, set to 4 times, 5 times, etc.
[0094] In some embodiments, the green light extension time length may be a set green light extension time length (eg, setting the green light default time length to be extended by 5 seconds).
[0095] In some embodiments, the specific green light extension time can be estimated based on the current traffic flow data; or a reasonable green light extension time can be set based on the intersection information of the current traffic road (for example, the traffic road type); or a corresponding green light extension time can be comprehensively estimated based on the current traffic flow data, intersection information and other factors to improve the accuracy of the green light extension time.
[0096] In other embodiments, while adjusting the green light duration of a traffic light, the number of adjustments during the time period may also be counted for subsequent use.
[0097] In other embodiments, after the green light duration of a traffic light is adjusted according to the green light extension duration, the signal light durations of other traffic lights associated with the traffic road can also be synchronously updated. Specifically, if the traffic road is a two-way traffic road, the red light duration of the opposite traffic light of the traffic light is adjusted according to the green light extension duration; if the traffic road is a cross-shaped traffic road or a tic-tac-toe traffic road, the green light duration of the opposite traffic light is adjusted according to the green light extension duration, and the red light duration of the adjacent traffic lights of the traffic light is adjusted.
[0098] For example, assuming that the current default green light duration is 60 seconds, and the determined green light extension duration is 5 seconds, at this time, after the green light duration of the traffic light in the current time period is adjusted to 65 seconds, the 65 seconds is used as the calibration value, and the signal light duration of the remaining traffic lights on the traffic road is synchronously updated according to the device binding relationship table established by the calibration module 100a in the previous text. The specific operations are as follows: for one-way traffic roads, the signal light duration of the remaining traffic lights is not adjusted; for two-way traffic roads, the red light duration of the opposite traffic lights in the current time period is adjusted to 65 seconds; for cross-shaped or tic-tac-toe-shaped traffic roads, the green light duration of the opposite traffic lights in the current time period is adjusted to 65 seconds, and the red light duration of the adjacent traffic lights of the traffic light in the current time period is adjusted to 65 seconds.
[0099] Through the above method, traffic congestion caused by traffic lights can be alleviated by dynamically adjusting the signal duration of traffic lights without human intervention, thereby improving the efficiency of traffic congestion evacuation.
[0100] In some embodiments, if it is determined that the green light duration of a traffic light is greater than a preset duration, and the number of times the traffic light is adjusted is greater than a preset number, the intersection shape of the traffic road is determined based on the intersection information of the traffic road, and a traffic diversion strategy that meets the intersection shape is selected from the traffic diversion strategy library, and the traffic diversion strategy is sent to the target object that governs the traffic road and / or the traffic diversion strategy is displayed on a traffic guidance screen device associated with the traffic road.
[0101] For example, the real-time control module determines the intersection shape of the traffic road based on the intersection information of the traffic road, and can transmit the intersection shape to the linkage module (such as Figure 1 The linkage module 100e shown in the figure) is used as the linkage module. At this time, the linkage module can select the traffic diversion strategy that meets the shape of the intersection from the traffic diversion strategy library; then, the traffic diversion strategy is sent to the target object (for example, the surrounding police officers) in charge of the traffic road to assist the surrounding police officers in conducting on-site command, to make up for the problem of low traffic diversion efficiency caused by insufficient traffic diversion experience of the police, or to the traffic guidance screen equipment associated with the traffic road (such as Figure 1The traffic guidance screen device 101c) shown displays the traffic diversion strategy to guide the on-duty personnel to perform traffic diversion.
[0102] It should be noted that traffic diversion by police personnel or traffic guidance screen equipment can be referred to in the previous article. Figure 3 The relevant description will not be repeated here.
[0103] In the application embodiment, when a traffic congestion event is reported by an image acquisition device on a traffic road, the last traffic congestion status of the traffic road is queried according to the time period to which the traffic event belongs. When the last traffic congestion status is traffic congestion, if it is determined that the default green light duration of the traffic light is less than or equal to the preset duration, and the number of adjustments and controls of the traffic light is less than or equal to the preset number, then the green light extension duration of the traffic light is determined. The green light extension duration can be used to intelligently adjust the default green light duration of the traffic light, thereby solving the problem of traffic congestion without the need for human intervention, thereby improving the efficiency of traffic congestion evacuation and improving the phenomenon of traffic congestion.
[0104] Based on the above Figure 4 The method shown, Figure 6 The flowchart of a complete traffic control method provided by the embodiment of the present application is exemplarily shown. Figure 6 As shown, the process includes the following steps:
[0105] 601: A few seconds before the traffic light switches to red, a traffic congestion detection request is sent to an image acquisition device.
[0106] 602: After receiving the congestion detection request, the image acquisition device performs congestion detection on the traffic road and reports the detection result to the real-time control module.
[0107] 603: When the reported detection result is that a traffic congestion event occurs on a traffic road, query the last traffic congestion status of the traffic road according to the time period to which the traffic congestion event belongs.
[0108] 604: Determine whether the last traffic congestion state is traffic congestion. If so, proceed to 605. If not, clear the number of continuous control times.
[0109] 605: Determine whether the green light duration of the traffic light on the traffic road is less than or equal to the preset duration, and whether the number of times the traffic light is adjusted is less than or equal to the preset number. If so, proceed to 606. If not, the linkage module performs traffic congestion relief.
[0110] In this step, the specific process of the linkage module to relieve traffic congestion can be referred to Figure 3 The relevant description will not be repeated here.
[0111] 606: Determine the green light extension time of the traffic light, and adjust the green light time of the traffic light according to the green light extension time.
[0112] In this step, the green light duration of the traffic signal is adjusted. For the specific operation process, please refer to Figure 4 The 402 related description is not repeated here.
[0113] Based on the same technical concept, an electronic device is also provided in an embodiment of the present application, and the electronic device can realize the functions of the aforementioned traffic congestion control system.
[0114] Figure 7 The structural diagram of the electronic device provided in the embodiment of the present application is exemplified.
[0115] At least one processor 701, and a memory 702 connected to the at least one processor 701. The specific connection medium between the processor 701 and the memory 702 is not limited in the embodiment of the present application. Figure 7 In the example, the processor 701 and the memory 702 are connected via a bus 700. Figure 7 The connections between other components are shown in bold lines, and are not intended to be limiting. The bus 700 can be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, Figure 7 Only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. Alternatively, the processor 701 can also be called a controller, and there is no limitation on the name.
[0116] In the embodiment of the present application, the memory 702 stores instructions that can be executed by at least one processor 701. The at least one processor 701 can execute a traffic congestion control method discussed above by executing the instructions stored in the memory 702. The processor 701 can implement Figure 1 The functions of each module in the system are shown.
[0117] Among them, the processor 701 is the control center of the device, and can use various interfaces and lines to connect the various parts of the entire control device. By running or executing instructions stored in the memory 702 and calling the data stored in the memory 702, the various functions of the system and processing data, the system can be monitored as a whole.
[0118] In the embodiment of the present application, the processor 701 may include one or more processing units, and the processor 701 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 701. In some embodiments, the processor 701 and the memory 702 may be implemented on the same chip, and in some embodiments, they may also be implemented separately on separate chips.
[0119] The processor 701 may be a general-purpose processor, such as a central processing unit (CPU), a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of a traffic congestion control method disclosed in the embodiments of the present application may be directly embodied as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.
[0120] The memory 702 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules. The memory 702 may include at least one type of storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory, a random access memory (Random Access Memory, RAM), a static random access memory (Static Random Access Memory, SRAM), a programmable read-only memory (Programmable Read Only Memory, PROM), a read-only memory (Read Only Memory, ROM), an electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), a magnetic memory, a disk, an optical disk, etc. The memory 702 is any other medium that can be used to carry or store a desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory 702 in the embodiment of the present application can also be a circuit or any other device that can realize a storage function, for storing program instructions and / or data.
[0121] By programming the processor 701, the code corresponding to the traffic congestion control method described in the above embodiment can be fixed into the chip, so that the chip can execute the code when running. Figure 4The embodiment shown is a traffic congestion control method. How to design and program the processor 701 is a technology well known to those skilled in the art and will not be described in detail here.
[0122] It should be noted here that the above-mentioned electronic device provided in the embodiment of the present application can implement all the method steps implemented in the above-mentioned method embodiment, and can achieve the same technical effect. The parts and beneficial effects of this embodiment that are the same as the method embodiment will not be described in detail here.
[0123] Based on the same technical concept, the embodiment of the present application provides a computer storage medium, which includes: computer program code, when the computer program code is executed on a computer, the computer executes any of the traffic congestion control methods discussed above. Since the principle of solving the problem by the above computer storage medium is similar to that of a traffic congestion control method, the implementation of the above computer storage medium can refer to the implementation of the method, and the repeated parts will not be repeated.
[0124] In a specific implementation process, computer storage media may include: Universal Serial Bus Flash Drive (USB), mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, and other storage media that can store program codes.
[0125] Based on the same technical concept, the embodiment of the present application also provides a computer program product, which includes: computer program code, when the computer program code is run on a computer, the computer executes any one of the traffic congestion control methods discussed above. Since the principle of solving the problem by the above computer program product is similar to that of a traffic congestion control method, the implementation of the above computer program product can refer to the implementation of the method, and the repeated parts will not be repeated.
[0126] The computer program product can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0127] The method in the present application can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instruction is loaded and executed on a computer, the process or function described in the present application is executed in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user device, a core network device, an OAM or other programmable device.
[0128] The computer program or instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer program or instructions may be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired or wireless means. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium may be a magnetic medium, such as a floppy disk, a hard disk, or a magnetic tape; it may also be an optical medium, such as a digital video disk; it may also be a semiconductor medium, such as a solid-state drive. The computer-readable storage medium may be a volatile or non-volatile storage medium, or may include both volatile and non-volatile types of storage media.
[0129] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program codes.
[0130] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that has the functions specified in one or more boxes.
[0131] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0132] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0133] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A traffic congestion control method, characterized in that: The method comprises: When receiving a traffic congestion event reported by the image acquisition device, querying the last traffic congestion state of the traffic road according to the time period to which the traffic congestion event belongs; When the last traffic congestion state is traffic congestion, if it is determined that the green light duration of the traffic light of the traffic road is less than or equal to the preset duration, and the number of adjustments and controls of the traffic light is less than or equal to the preset number, then determining the green light extension duration of the traffic light, and adjusting the green light duration of the traffic light according to the green light extension duration; Wherein, when receiving a traffic congestion event reported by the image acquisition device, before querying the last traffic congestion state of the traffic road according to the time period to which the traffic congestion event belongs, the method further includes: According to a set time period every day, the traffic flow data of the traffic road is obtained from the image acquisition device, and a data relationship library of the traffic light is established; wherein the data relationship library includes the corresponding relationship between the traffic flow data of the traffic road, the traffic congestion status, and the green light duration of the traffic light in each time period; according to a set interval number of days, a plurality of candidate traffic flow data of each day is screened out from the data relationship library to form a candidate traffic flow data set; wherein the plurality of candidate traffic flow data meets the traffic flow data ranking range requirement of the day, and the plurality of candidate traffic flow data is greater than the traffic flow threshold value of each time period; in the interval number of days, the plurality of candidate traffic flow data meets the traffic flow data ranking range requirement of the day, and the plurality of candidate traffic flow data meets ... data ranking range requirement of the day, and the plurality of candidate traffic flow data meets the traffic flow threshold value of each time period; in the interval number of days, the plurality of candidate The first total number of candidate vehicle flow data in the same time period in the candidate vehicle flow data set is counted within the number of days, and the second total number of traffic congestion in the same time period within the interval number of days is counted; if the first total number is greater than the first number threshold, and the second total number is greater than the second number threshold, then the green light duration of the same time period within the interval number of days is obtained to form a signal light duration sequence set; wherein the signal light duration sequence set includes respective green light duration sequences of N time periods, and N is an integer greater than 0; according to the respective green light duration sequences of the N time periods, the respective green light durations of the traffic lights in the N time periods are updated.
2. The method according to claim 1, characterized in that The updating of the green light durations of the traffic lights in the N time periods according to the green light duration sequences of the N time periods comprises: Calculate a first standard deviation of a first green light duration sequence in a first time period; wherein the first time period is any time period among the N time periods: If the first standard deviation is less than the standard deviation threshold, the first green light duration average value of the first green light duration sequence is calculated, and the green light duration of the first time period is updated to the first green light duration average value.
3. The method according to claim 2, characterized in that The method further comprises: If the first standard deviation is greater than or equal to the standard deviation threshold, counting the number of green light durations in the first green light duration sequence; Determine whether the number of green light durations is greater than a green light duration threshold; If yes, then delete the maximum green light duration and the minimum green light duration in the first green light duration sequence to obtain a second green light duration sequence for the first time period, and update the green light duration of the traffic light in the first time period according to the second green light duration sequence; If not, delete any green light duration in the first green light duration sequence to form multiple third green light duration sequences, calculate the second standard deviation of each of the multiple third green light duration sequences, and update the green light duration of the traffic light in the first time period according to the third green light duration sequence corresponding to the smallest second standard deviation among the second standard deviations.
4. The method according to claim 1, characterized in that After adjusting the green light duration of the traffic light according to the green light extension duration, the method further includes: If the traffic road is a two-way traffic road, adjusting the red light duration of the opposite traffic light of the traffic light according to the green light extension duration; or If the traffic road is a cross-shaped traffic road or a tic-tac-toe-shaped traffic road, the green light duration of the opposite traffic light is adjusted according to the green light extension duration, and the red light duration of the adjacent traffic light of the traffic light is adjusted.
5. The method according to claim 1, characterized in that The method further comprises: If it is determined that the green light duration of the traffic light is greater than the preset duration, and the number of adjustments and controls of the traffic light is greater than the preset number, the intersection shape of the traffic road is determined based on the intersection information of the traffic road, and a traffic diversion strategy that meets the intersection shape is selected from a traffic diversion strategy library, and the traffic diversion strategy is sent to the target object that governs the traffic road and / or displayed on a traffic guidance screen device associated with the traffic road.
6. A traffic congestion control system, characterized in that: include: Real-time control module, image acquisition equipment, traffic lights, historical control module; The historical control module is used to obtain the traffic flow data of the traffic road from the image acquisition device according to the set time period every day, and establish the data relationship library of the traffic light; wherein the data relationship library includes the corresponding relationship between the traffic flow data of the traffic road, the traffic congestion status, and the green light duration of the traffic light in each time period; according to the set interval days, multiple candidate traffic flow data of each day are screened out from the data relationship library to form a candidate traffic flow data set; wherein the multiple candidate traffic flow data meet the traffic flow data ranking range requirements of the day, and the multiple candidate traffic flow data are greater than the traffic flow threshold of the time period to which they belong; Counting the first total number of candidate vehicle flow data in the same time period in the candidate vehicle flow data set within the interval days, and the second total number of traffic congestion in the same time period within the interval days; if the first total number is greater than the first number threshold, and the second total number is greater than the second number threshold, obtaining the green light duration of the same time period within the interval days to form a signal light duration sequence set; wherein the signal light duration sequence set includes respective green light duration sequences of N time periods, where N is an integer greater than 0; updating the respective green light durations of the traffic lights in the N time periods according to the respective green light duration sequences of the N time periods; The real-time control module is used to query the last traffic congestion status of the traffic road according to the time period to which the traffic congestion event belongs when receiving a traffic congestion event reported by the image acquisition device; when the last traffic congestion status is traffic congestion, if it is determined that the green light duration of the traffic light on the traffic road is less than or equal to the preset duration, and the number of adjustments and controls of the traffic light is less than or equal to the preset number, then determine the green light extension duration of the traffic light, and adjust the green light duration of the traffic light according to the green light extension duration.
7. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor, configured to implement the method according to any one of claims 1 to 5 when executing a computer program stored in the memory.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Traffic signal control method and device, electronic equipment and storage medium
CN114724390A