Mountain city traffic method and system, program product and storage medium
By intelligently selecting semi-inductive or full-inductive control modes, dynamically adjusting the signal light time according to the level and traffic flow characteristics of each entrance road at the intersection, solving the shortcomings of fixed timing solutions in mountain urban traffic signal control, and improving the flexibility of signal control and road resource utilization efficiency.
Patent Information
- Application Number
- CN202411885436.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-20
- Publication Date
- 2025-03-28
AI Technical Summary
In mountain urban traffic signal control, fixed time distribution plans are difficult to adapt to changes in traffic flow, resulting in waste of road resources and low utilization efficiency.
By obtaining the level parameters and traffic flow of each entrance road at the intersection, the semi-induced or full-induced control mode is intelligently selected. In semi-induction mode, the geomagnetic detector monitors traffic in real time, the main road dynamically extends the green light time according to the vehicle signal, and the branch road only obtains the minimum release time when there is a vehicle; in full-induction mode, all imported roads dynamically adjust the green light time according to the actual traffic situation.
It improves the flexibility of signal control and road resource utilization efficiency, and avoids the problem that fixed time arrangements are difficult to adapt to changes in traffic flow.
Smart Images

Figure CN119723910A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent transportation technology, and in particular to a mountain city transportation method, system, program product and storage medium. Background Art
[0002] With the acceleration of urbanization, the problem of traffic congestion in mountainous cities has become increasingly prominent. In mountainous cities, due to the terrain restrictions, the road network presents the characteristics of narrow sections, steep slopes, and sharp turns. Urban roads often run along the mountain, forming a hierarchical tree-like road network structure.
[0003] At present, the traffic signal control in mountainous cities mainly adopts a fixed timing scheme. This scheme divides a day into several periods such as morning peak, flat peak and evening peak by manually collecting traffic flow data in each period, and pre-sets a fixed signal cycle, phase difference and green signal ratio for each period. Traffic management personnel regularly conduct traffic flow surveys at each intersection and adjust the timing scheme in a timely manner according to the survey results.
[0004] However, since the traffic flow at each intersection in mountainous cities is greatly affected by factors such as weather and holidays, the pre-set fixed timing plan is difficult to meet traffic demand. In actual operation, it is often the case that a large number of vehicles are waiting to pass after the green light time of some lanes has ended, while no vehicles pass during the green light time of other lanes, resulting in a waste of road resources. Therefore, the flexibility of signal control in related technologies is poor, resulting in low efficiency in road resource utilization. Summary of the invention
[0005] The present application provides a mountain city traffic method, system, program product and storage medium for improving the flexibility of signal control and the efficiency of road resource utilization.
[0006] In a first aspect, the present application provides a mountain city transportation method, comprising: Obtain the grade parameters and traffic flow of each entrance road at the intersection; When there is a difference in the level of the main road and the branch road at each entrance of the intersection, or the traffic flow ratio between any two entrance roads is greater than the preset traffic volume change threshold, the semi-sensing control mode is selected; When the grade parameters of the entrances of the intersection are the same and the traffic flow ratio between the entrances is less than or equal to the preset traffic volume change threshold, the full sensing control mode is selected; When the semi-sensing control mode is selected, data is obtained from a geomagnetic detector arranged on a part of the inlet track; If the geomagnetic detector is set on the main road, the control signal light will default to the minimum green light time, and the green light time will be increased progressively according to the vehicle signal detected by the geomagnetic detector until there is no vehicle signal or the maximum green light time is increased; If the geomagnetic detector is installed on the branch road, the minimum green light time is given according to the vehicle signal detected by the geomagnetic detector. When there is no vehicle on the branch road, the green light is controlled to be allocated to the main road. When the full sensing control mode is selected, the control signal light runs at the minimum green light time by default; within the sensing time window before the end of the minimum green light time, if a vehicle signal is received from the geomagnetic detector, the green light time will be increased progressively by the preset unit extension time; when no vehicle signal is received or the green light time reaches the maximum green light time, the green light will end.
[0007] By adopting the above technical solutions, the semi-sensing or full-sensing control mode can be intelligently selected according to the level and traffic flow characteristics of each entrance road at the intersection. In the semi-sensing mode, the geomagnetic detector monitors the traffic flow in real time. The main road can dynamically extend the green light time according to the vehicle signal, and the branch road only obtains the minimum release time when there is a car; in the full-sensing mode, all entrance roads can dynamically adjust the green light time according to the actual traffic flow. This adaptive control method based on real-time traffic conditions avoids the problem that fixed timing schemes are difficult to adapt to changes in traffic flow, and improves the flexibility of signal control and the efficiency of road resource utilization.
[0008] In combination with some embodiments of the first aspect, in some embodiments, before the step of progressively increasing the green light time according to the vehicle signal detected by the geomagnetic detector and / or the step of progressively increasing the green light time by extending the time by a preset unit, the method further includes: Determining whether a pedestrian sensing control signal is received; If no pedestrian sensing control signal is received, the step of progressively increasing the green light time according to the vehicle signal detected by the geomagnetic detector and the step of progressively increasing the green light time by extending the time in preset units are executed; If a pedestrian sensing control signal is received, it is determined whether the corresponding red light time after the green light time is increased is greater than the shortest green light time of the pedestrian sensing phase; If it is greater than the shortest green light time of the pedestrian sensing phase, the step of progressively increasing the green light time according to the vehicle signal detected by the geomagnetic detector and the step of progressively increasing the green light time by extending the time in a preset unit are executed; If it is less than or equal to the shortest green light time of the pedestrian sensing phase, the green light ends.
[0009] By adopting the above technical solution, a pedestrian sensing control judgment mechanism is added on the basis of vehicle sensing control. The system first determines whether there is a pedestrian request signal. If so, it further evaluates whether increasing the green light time for vehicles will affect the shortest pedestrian passage demand. This multi-level judgment mechanism ensures that while meeting the passage needs of motor vehicles, the basic rights of pedestrians crossing the street can also be protected, achieving a dynamic balance between the passage needs of motor vehicles and pedestrians, and improving the comprehensiveness of traffic signal control.
[0010] In combination with some embodiments of the first aspect, in some embodiments, the step of controlling the signal light to operate at the minimum green light time by default and progressively increasing the green light time according to the vehicle signal detected by the geomagnetic detector until there is no vehicle signal or the green light time is increased to the maximum green light time specifically includes: Control the traffic light to enter the main road green light state; Determine whether the main road has reached the minimum green light time; If the minimum green light time is not reached, the main road will continue to maintain the green light status; If the minimum green light time is reached, the geomagnetic detector is used to determine whether there is a vehicle signal on the main road; If no vehicle signal is detected, the signal light is switched to the green light of the branch road; After the branch road turns green, return to the step of controlling the signal light to enter the main road green light state; If a vehicle signal is detected, it is determined whether the maximum green light time has been reached; If the maximum green light time has not been reached, return to the step of controlling the signal light to enter the main road green light state; If the maximum green light time is reached, return to the step of switching the signal light to the branch road green light.
[0011] By adopting the above technical solution, the main road green light control adopts a multiple judgment and loop control mechanism. The system first ensures the minimum green light time to maintain basic traffic order, and then dynamically adjusts according to the traffic conditions fed back by the geomagnetic detector. When the minimum green light time is reached and there are no cars, it switches to the branch road green light in time to avoid empty traffic; when there is continuous traffic, it maintains traffic within the maximum green light time range, which not only ensures traffic efficiency, but also prevents excessive occupation of signal resources in a single direction.
[0012] In combination with some embodiments of the first aspect, in some embodiments, the step of giving a release time of a minimum green light time according to a vehicle signal detected by a geomagnetic detector, and controlling the green light to be allocated to a main road when there is no vehicle on a branch road specifically includes: Control the traffic light to enter the main road green light state; Determine whether there is a vehicle signal on the branch road through a geomagnetic detector; If no vehicle signal is detected, return to the step of controlling the signal light to enter the main road green light state; If a vehicle signal is detected, the signal light is switched to the green light state of the branch road; After entering the green light state of the branch road, the geomagnetic detector is used to determine whether there is a vehicle signal on the branch road; If no vehicle signal is detected, return to the step of controlling the signal light to enter the main road green light state; If a vehicle signal is detected, it is determined whether the branch road has reached the minimum green light time; If the minimum green light time is reached, return to the step of controlling the traffic light to enter the main road green light state; If the minimum green light time is not reached, the branch road will continue to remain in green light status.
[0013] By adopting the above technical solution, the green light control of the branch road adopts a demand-responsive control strategy. The geomagnetic detector continuously monitors the status of vehicles on the branch road, and triggers the green light switch only when a vehicle is detected, and the green light time is accurately controlled within the minimum range that meets the traffic demand. This precise control method based on actual needs not only ensures the basic traffic rights and interests of vehicles on the branch road, but also maximizes the traffic efficiency of the main road and realizes the reasonable allocation of road rights resources.
[0014] In combination with some embodiments of the first aspect, in some embodiments, the control signal light is operated at a default minimum green light time; within the sensing time window before the end of the minimum green light time, if a vehicle signal is received from the geomagnetic detector, the green light time is progressively increased according to a preset unit extension time; when no vehicle signal is received or the green light time reaches the maximum green light time, the step of ending the green light specifically includes: Control the traffic light to enter the main road green light state; Use the geomagnetic detector to determine whether there is a vehicle signal on the main road; If a vehicle signal is detected on the main road, it is determined whether the main road has reached the maximum green light time; If the main road reaches the maximum green light time, the step of controlling the signal light to enter the green light state of the branch road is jumped; If the main road has not reached the maximum green light time, jump to the step of controlling the signal light to enter the main road green light state; If no vehicle signal is detected on the main road, the geomagnetic detector is used to determine whether there is a vehicle signal on the branch road; If the branch detects a vehicle signal, the step of controlling the signal light to enter the branch green light state is jumped; If no vehicle signal is detected on the branch road, it is determined whether the main road has reached the minimum green light time; If the main road reaches the minimum green light time, the step of controlling the signal light to enter the green light state of the branch road is jumped; If the main road does not reach the minimum green light time, jump to the step of controlling the signal light to enter the main road green light state; Control the signal light to enter the branch green light state; Determine whether there is a vehicle signal on the branch road through a geomagnetic detector; If the branch detects a vehicle signal, it is determined whether the branch has reached the maximum green light time; If the branch road reaches the maximum green light time, the control signal light is jumped to the step of entering the main road green light state; If the branch has not reached the maximum green light time, jump to the step of controlling the signal light to enter the branch green light state; If no vehicle signal is detected on the branch road, the geomagnetic detector is used to determine whether there is a vehicle signal on the main road; If a vehicle signal is detected on the main road, the step of controlling the signal light to enter the main road green light state is jumped; If no vehicle signal is detected on the main road, it is determined whether the branch road has reached the minimum green light time; If the branch road reaches the minimum green light time, the control signal light will jump to the step of entering the main road green light state; If the branch does not reach the minimum green light time, the step of controlling the signal light to enter the branch green light state is jumped.
[0015] By adopting the above technical solutions, a complete two-way adaptive control mechanism is implemented in the full-sensing control mode. The system monitors the traffic flow on the main and branch roads in real time through the geomagnetic detector, and dynamically determines the timing of signal switching based on the minimum green light time, maximum green light time and current traffic status. It can achieve accurate matching of signal timing with actual traffic needs, improving the traffic efficiency and service level of the intersection.
[0016] In conjunction with some embodiments of the first aspect, in some embodiments, the method further includes: Conduct illegal parking inspections on motor vehicles within the illegal parking inspection area; After detecting an illegally parked vehicle, extracting the location information of the illegally parked vehicle; Use the positioning information to control the ball camera to track and zoom in on the illegally parked vehicle until the license plate of the illegally parked vehicle is identified; Determine whether temporary parking is allowed in the illegal parking detection area; If temporary parking is not allowed in the illegal parking detection area, a violation record will be generated, which includes: a composite image and a video recording of the illegal parking process, where the composite image includes two panoramic feature images and a license plate close-up image, and the composite image is superimposed with the traffic violation date, time, location, direction, image evidence device number and anti-counterfeiting information; If temporary parking is allowed in the illegal parking detection area, the coordinates of the illegally parked vehicle are set as the verification preset position; After a preset time interval, the ball camera is controlled to return to the preset position for verification and perform secondary license plate recognition; If the license plate number identified for the second time is the same as the license plate number identified for the first time, a violation record will be generated; If the license plate number recognized for the second time is different from the license plate number recognized for the first time, the illegally parked vehicle will be abandoned.
[0017] By adopting the above technical solutions, a complete chain of illegal parking monitoring records has been established. The system first intelligently identifies and locates illegal parking behaviors, and then uses a ball camera to accurately track and recognize license plates. Differentiated processing strategies are adopted for different types of illegal parking areas, and the accuracy of law enforcement is improved through a secondary verification mechanism. The final violation record contains multi-angle image evidence and detailed information, which not only improves the automation level of illegal parking supervision, but also ensures the integrity and reliability of law enforcement evidence.
[0018] In conjunction with some embodiments of the first aspect, in some embodiments, the method further includes: When the horn of a motor vehicle is detected, the vehicle making the horn sound is tracked, located and identified; Capture the vehicle and automatically recognize the license plate; Calculate the sound distribution in the monitored road area and generate a sound distribution map using colors to represent the relative sound size; Overlay the sound distribution map with the high-definition picture to form a sound cloud map; Overlay the sound cloud image onto the video and play it continuously to generate a sound video; Save the sound video of the preset duration before and after the whistle; Generate a violation record, which includes: image evidence, audio evidence and video evidence.
[0019] By adopting the above technical solutions, a combined audio and video evidence collection system for illegal honking has been established. The system immediately starts the tracking and identification mechanism after detecting the honking sound, and intuitively presents the illegal facts through innovative means such as sound distribution maps and sound cloud maps. Not only does it achieve accurate positioning and attribution of honking behavior, but it also forms a complete chain of evidence through the combination of image, audio, and video evidence, providing reliable technical support for urban noise pollution control.
[0020] In a second aspect, the present application provides a mountain city transportation system, which includes: one or more processors and a memory; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code includes computer instructions, and the one or more processors call the computer instructions to enable the mountain city transportation system to execute the method described in the first aspect and any possible implementation method of the first aspect.
[0021] In a third aspect, the present application provides a computer program product comprising instructions, which, when executed on a mountain urban transportation system, enables the mountain urban transportation system to execute the method described in the first aspect and any possible implementation of the first aspect.
[0022] In a fourth aspect, the present application provides a computer-readable storage medium comprising instructions, which, when executed on a mountain urban transportation system, enables the mountain urban transportation system to execute the method described in the first aspect and any possible implementation of the first aspect.
[0023] One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages: 1. According to the grade and traffic flow characteristics of each entrance road at the intersection, intelligently select the semi-sensing or full-sensing control mode. In the semi-sensing mode, the geomagnetic detector monitors the traffic flow in real time. The main road can dynamically extend the green light time according to the vehicle signal, and the branch road only obtains the minimum release time when there is a car; in the full-sensing mode, all entrance roads can dynamically adjust the green light time according to the actual traffic flow. This adaptive control method based on real-time traffic conditions avoids the problem that fixed timing schemes are difficult to adapt to changes in traffic flow, and improves the flexibility of signal control and the efficiency of road resource utilization.
[0024] 2. A pedestrian sensing control judgment mechanism has been added on the basis of vehicle sensing control. The system first determines whether there is a pedestrian request signal. If so, it further evaluates whether increasing the green light time for vehicles will affect the shortest pedestrian travel demand. This multi-level judgment mechanism ensures that while meeting the traffic needs of motor vehicles, the basic rights of pedestrians crossing the street can also be protected, achieving a dynamic balance between the traffic needs of motor vehicles and pedestrians, and improving the comprehensiveness of traffic signal control. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 It is a flow chart of the mountain city transportation method in the embodiment of the present application; Figure 2 is a schematic diagram of a scene of a geomagnetic detector in an embodiment of the present application; Figure 3 This is a specific flow chart of step S105 in the embodiment of the present application; Figure 4 This is a schematic diagram of a scenario in which the green light time is increased in an embodiment of the present application; Figure 5 This is a specific flow chart of step S106 in the embodiment of the present application; Figure 6 This is a specific flow chart of step S107 in the embodiment of the present application; Figure 7 is another flow chart of the mountain city transportation method in the embodiment of the present application; Figure 8 is another flow chart of the mountain city transportation method in the embodiment of the present application; Fig. 9It is a schematic diagram of an exemplary hardware structure of a mountain city transportation system in an embodiment of the present application. DETAILED DESCRIPTION
[0026] The terms used in the following embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to be used as limitations to the present application. As used in the specification and appended claims of the present application, the singular expressions "one", "a kind of", "said", "above", "the" and "this" are intended to also include plural expressions, unless there is a clear indication to the contrary in the context. It should also be understood that the term "and / or" used in the present application refers to and includes any or all possible combinations of one or more listed items.
[0027] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.
[0028] See also Figure 1 , Figure 1 It is a flow chart of the mountain city transportation method in the embodiment of the present application; S101, obtaining the grade parameters and traffic flow of each entrance road of the intersection; Among them, the intersection refers to the area where two or more roads intersect; the entrance road refers to the lane leading to the intersection; the grade parameter is used to indicate the importance and functional positioning of the road, including main roads and branch roads; traffic flow refers to the number of vehicles passing through a certain section per unit time.
[0029] Before controlling the signal at the intersection, it is necessary to first obtain basic data as a control basis. In some embodiments, the grade parameters of each entrance road can be obtained through a pre-established road grade database, and the traffic volume of each entrance road can be counted in real time using equipment such as geomagnetic detectors and video detectors. These data will serve as an important basis for the subsequent selection of control modes.
[0030] S102: When there is a difference in level between the main road and the branch road at each entrance road of the intersection, or the traffic flow ratio between any two entrance roads is greater than a preset traffic volume change threshold, select the semi-sensing control mode; Among them, the main road refers to the road with higher grade and heavier traffic volume; the branch road refers to the road with lower grade and lighter traffic volume; the preset traffic volume change threshold represents the standard value for judging the degree of difference in traffic flow; the semi-sensing control mode refers to the operating mode of performing sensing control on only part of the entrance road.
[0031] When there is a clear difference between the main and secondary roads at the intersection, a differentiated control strategy needs to be adopted. In some embodiments, the system will determine whether there is a grade difference between the entrance roads, or calculate the traffic flow ratio between any two entrance roads and compare it with a preset threshold (such as 3:1). When there is a grade difference or the flow ratio exceeds the threshold, the semi-sensing control mode is selected to ensure that the main road has priority while taking into account the traffic needs of the branch road.
[0032] S103, when the level parameters of the entrance roads of the intersection are the same and the traffic flow ratio between the entrance roads is less than or equal to the preset traffic volume change threshold, select the full sensing control mode; The same grade parameter indicates that the road grades of all entrance roads are consistent; the full induction control mode refers to the operation mode in which induction control is adopted for all entrance roads.
[0033] When the entrances at an intersection are of equal status, a more equitable control strategy should be adopted. In some embodiments, the system first confirms whether the level parameters of the entrances are the same, and then calculates the traffic flow ratio between the entrances. When the level parameters are the same and the flow ratio does not exceed the preset threshold, it indicates that the entrances have similar service requirements. At this time, the full sensing control mode is selected to achieve more flexible and fair signal control.
[0034] S104, when the semi-sensing control mode is selected, obtaining data from a geomagnetic detector disposed on a portion of the inlet track; See also Figure 2 , Figure 2 is a schematic diagram of a scene of a geomagnetic detector in an embodiment of the present application; A geomagnetic detector refers to an inductive device buried under the road surface to detect the passage of vehicles; some imported road indicators only selectively set lanes with detectors in semi-sensing control mode.
[0035] After determining to adopt the semi-sensing control mode, the system needs to obtain real-time traffic data. In some embodiments, the geomagnetic detector is usually installed at a certain distance (such as 30 meters) in front of the stop line to detect the arrival and departure information of vehicles. The system receives and processes this data in real time to provide a basis for subsequent signal timing. The geomagnetic detector can be installed on the main road or branch road according to actual needs.
[0036] S105, if the geomagnetic detector is set on the main road, the control signal light is operated at the minimum green light time by default, and the green light time is progressively increased according to the vehicle signal detected by the geomagnetic detector until there is no vehicle signal or the maximum green light time is increased; Among them, the minimum green light time refers to the shortest green light time required to ensure basic traffic order; the vehicle signal refers to the vehicle passing information detected by the geomagnetic detector; the progressive increase means gradually extending according to the preset time unit; the maximum green light time refers to the longest green light time allowed.
[0037] When the geomagnetic detector is installed on the main road, the right of way on the main road needs to be guaranteed. In some embodiments, the main road signal light first guarantees the minimum green light time (such as 15 seconds). During this period, if a vehicle is detected passing, the green light is extended by a preset unit time (such as 3 seconds) each time. The system will continue to monitor the vehicle signal until no vehicle is detected or the maximum green light time (such as 90 seconds) is reached, and the main road green light ends.
[0038] See also Figure 4 , Figure 4 This is a schematic diagram of a scenario in which the green light time is increased in an embodiment of the present application; Figure 4 The upper area in the figure is the traffic light timing comparison when no vehicle is sensed (the left side is the green light and the right side is the red light); The lower area is a comparison of the traffic light times when the vehicle is sensed (the left side is the green light, the right side is the red light); See also Figure 3 , Figure 3 This is a specific flow chart of step S105 in the embodiment of the present application; In some embodiments, step S105 specifically includes: S1051, control the traffic light to enter the main road green light state; When the system enters the main road priority control mode, it needs to first ensure the right of way for vehicles on the main road. In some embodiments, the system will switch the traffic light to the green light state in the direction of the main road according to a predetermined phase sequence. This process includes the control of the interval between the yellow light and the full red light to ensure a safe phase transition. After the switch is completed, the vehicles on the main road obtain the right of way.
[0039] S1052, determining whether the main road reaches the minimum green light time; During the operation of the main road green light, the minimum passing time needs to be guaranteed. In some embodiments, the system will start a timer to record the main road green light operation time, and compare it with the preset minimum green light time (such as 15 seconds) in real time to ensure that the basic passing needs are met. The setting of this minimum green light time usually takes into account the vehicle start time and the shortest time required to pass the intersection.
[0040] S1053: If the minimum green light time is not reached, the main road continues to be in green light state; When the green light time of the main road has not reached the minimum requirement, it is necessary to ensure the complete minimum green light time. In some embodiments, if the system determines that the current running time is less than the minimum green light time, the main road green light state will continue to be maintained, even if a vehicle is detected waiting on the branch road. Such a control strategy can avoid too frequent phase switching and ensure the stability of traffic order.
[0041] S1054, if the minimum green light time is reached, determine whether there is a vehicle signal on the main road through a geomagnetic detector; When the minimum green light time is completed, the system needs to decide whether to extend the green light time based on actual traffic demand. In some embodiments, the system reads the data of the geomagnetic detector installed on the main road in real time. The detection range usually covers the area 20-30 meters before the stop line to determine whether there is a vehicle passing or about to reach the intersection.
[0042] S1055: If no vehicle signal is detected, switch the signal light to a green light for the branch road; When there is no vehicle demand on the main road, the right of way should be released to the branch road vehicles in a timely manner. In some embodiments, if the geomagnetic detector does not detect a vehicle signal within a preset detection time window (such as 2 seconds), the system will start the phase conversion procedure. This process includes the end of the green light on the main road, the display of the yellow light (usually 3-5 seconds), the full red interval (usually 2 seconds), and finally switching to the green light state of the branch road.
[0043] S1056, after the branch road turns green, return to the step of controlling the signal light to turn into the main road green light state; After completing a complete signal timing cycle, the next round of control needs to be restarted. In some embodiments, when the green light time of the branch road ends (it may be the minimum green light time or the maximum green light time, or there is no car on the branch road), the system will re-execute the main road green light control process, including phase switching and time counting operations, forming a cyclic control process.
[0044] S1057: If a vehicle signal is detected, determine whether the maximum green light time has been reached; When it is detected that there is still a demand for vehicles to pass on the main road, it is necessary to determine whether the green light time can be further extended. In some embodiments, the system will compare the current accumulated green light operation time with the preset maximum green light time (such as 90 seconds) to prevent a single direction from occupying the right of way for too long and affecting the normal passage of other directions.
[0045] S1058: If the maximum green light time has not been reached, return to the step of controlling the traffic light to enter the main road green light state; When there is still a demand for traffic on the main road and the time limit has not been exceeded, the main road traffic should continue to be served. In some embodiments, if the system determines that the current green light time has not reached the maximum value, the main road green light control process will continue to be executed, and the green light time will be extended in a progressive manner by unit time (such as 3 seconds) to continuously respond to the traffic demand on the main road.
[0046] S1059: If the maximum green light time is reached, return to the step of switching the traffic light to the branch green light.
[0047] When the main road green light reaches the time limit, the main road phase needs to be forced to end. In some embodiments, even if there are still vehicles passing through the main road, the system will switch to the branch road green light to ensure fairness and efficiency at the intersection. The switching process includes the full yellow light and full red interval time to ensure safe and orderly phase transition.
[0048] It can be seen that the main road green light control adopts a multiple judgment and loop control mechanism. The system first ensures the minimum green light time to maintain basic traffic order, and then dynamically adjusts according to the traffic conditions fed back by the geomagnetic detector. When the minimum green light time is reached and there are no cars, it switches to the branch road green light in time to avoid empty traffic; when there is continuous traffic, it maintains traffic within the maximum green light time range, which not only ensures traffic efficiency, but also prevents excessive occupation of signal resources in a single direction.
[0049] S106, if the geomagnetic detector is set on the branch road, a minimum green light release time is given according to the vehicle signal detected by the geomagnetic detector, and when there is no vehicle on the branch road, the green light is controlled to be allocated to the main road; When the geomagnetic detector is installed on the branch road, a demand-responsive control strategy is adopted. In some embodiments, the system monitors the arrival of vehicles on the branch road in real time, and gives a release time of the minimum green light time (such as 10 seconds) when a vehicle is detected. Once all vehicles on the branch road have passed, the green light will be immediately allocated to the main road even if the minimum green light time has not been reached, so as to improve the traffic efficiency of the main road.
[0050] See also Figure 5 , Figure 5 This is a specific flow chart of step S106 in the embodiment of the present application; In some embodiments, step S106 specifically includes: S1061, control the traffic light to enter the main road green light state; In the semi-sensing control mode, the main road needs to obtain the right of way first as the priority service object. In some embodiments, after the system is started, the traffic light is first switched to the green light state of the main road. This process includes a reasonable yellow light warning time (usually 3-5 seconds) and a full red safety interval time (usually 2 seconds) to ensure safe and smooth conversion of traffic flow.
[0051] S1062, determining whether there is a vehicle signal on the branch road by using a geomagnetic detector; During the green light operation of the main road, it is necessary to continuously monitor the arrival of vehicles on the branch road. In some embodiments, the system collects data in real time through a geomagnetic detector installed on the branch road. The detector is usually arranged 20-30 meters before the stop line, which can accurately capture the arrival information of waiting vehicles.
[0052] S1063: If no vehicle signal is detected, return to the step of controlling the traffic light to enter the main road green light state; When there is no traffic demand on the branch road, the right of way of the main road should continue to be guaranteed. In some embodiments, if the geomagnetic detector does not detect a vehicle signal for multiple consecutive sampling periods (such as within 1 second), the system will maintain the green light state of the main road and continue to implement the control strategy of the main road priority to ensure the continuity and stability of the main road traffic flow.
[0053] S1064, if a vehicle signal is detected, switch the signal light to the branch road green light state; When the system detects that there is a need for passage on the branch road, it needs to respond in a timely manner. In some embodiments, once the detector confirms that a vehicle has arrived on the branch road, the system will start the phase switching procedure, including the end of the green light on the main road, the display of a yellow light and a full red interval for a specified period of time, and then switch to the green light state of the branch road, so that vehicles on the branch road can get a chance to pass.
[0054] S1065, after entering the green light state of the branch road, determining whether there is a vehicle signal on the branch road through a geomagnetic detector; After the branch road obtains the right of way, its use needs to be monitored in real time. In some embodiments, the system continuously reads the data of the geomagnetic detector to determine whether there are still vehicles that need to pass through the branch road. The detection range includes the area near the stop line, which can accurately reflect the real-time traffic demand status of the branch road.
[0055] S1066: If no vehicle signal is detected, return to the step of controlling the traffic light to enter the main road green light state; When there is no vehicle demand on the branch road, the right of way should be released in time. In some embodiments, if the detector continues to detect no vehicle signal within a preset observation time window (such as 2 seconds), the system will immediately start the process of switching to the main road, even if the green light on the branch road has not reached the minimum green light time, in order to improve the traffic efficiency of the main road.
[0056] S1067, if a vehicle signal is detected, determine whether the branch road reaches the minimum green light time; When there is still vehicle demand on the branch road, it is necessary to evaluate whether the basic travel time requirements are met. In some embodiments, the system compares the actual operating time of the branch road green light with the preset minimum green light time (such as 10 seconds) to ensure that vehicles on the branch road can pass through the intersection safely and orderly.
[0057] S1068: If the minimum green light time is reached, return to the step of controlling the traffic light to enter the main road green light state; When the branch road has enough time to pass, the phase needs to be changed in time. In some embodiments, even if there is still vehicle demand on the branch road, once the running time reaches the minimum green light time, the system will start the procedure of switching to the main road to ensure that the main road can be restored to traffic in time and maintain the control strategy of main road priority.
[0058] S1069: If the minimum green light time is not reached, the branch road continues to maintain the green light state.
[0059] When the green light time of the branch road has not yet met the minimum requirement, it is necessary to ensure the full service time. In some embodiments, if the system determines that the current operating time is less than the minimum green light time, the green light state of the branch road will continue to be maintained, even if there may be a queue on the main road, to ensure that vehicles on the branch road can safely pass through the intersection and avoid reduced traffic efficiency caused by too frequent phase switching.
[0060] It can be seen that the green light control of the branch road adopts a demand-responsive control strategy. The geomagnetic detector continuously monitors the status of vehicles on the branch road, and triggers the green light switch only when a vehicle is detected, and the green light time is accurately controlled within the minimum range that meets the traffic demand. This precise control method based on actual needs not only ensures the basic traffic rights and interests of vehicles on the branch road, but also maximizes the traffic efficiency of the main road and realizes the reasonable allocation of road rights resources.
[0061] It should be noted that the above embodiments S1061 to S1069 are for ordinary intersections, but for some special intersections, such as some special units, departments, etc., another embodiment needs to be adopted. When the system is initialized, the nature of the current intersection needs to be determined first. In some embodiments, the system identifies the type of intersection through preset configuration parameters and divides it into two types: ordinary intersections (such as general urban road intersections) and special intersections (special department entrances and exits).
[0062] If it is determined to be a normal intersection, the main road priority control strategy of steps S1061 to S1069 is executed; If it is determined to be a special intersection, the following special intersection control strategy will be implemented: Z1061, control the signal light to enter the branch green light state; In the semi-sensing control mode of special places, the branch road needs to maintain the right of way as the priority service object. After the system is started, the signal light is first switched to the branch road green light state. This process includes a reasonable yellow light warning time (usually 3-5 seconds) and a full red safety interval time (usually 2 seconds) to ensure that special vehicles can pass at any time.
[0063] Z1062, determine whether there is a vehicle signal on the branch road through a geomagnetic detector; During the green light operation of the branch road, the vehicle situation on the branch road is continuously monitored. The system collects data in real time through the geomagnetic detectors installed on the branch road. The detectors are usually arranged 20-30 meters before the stop line, which can accurately capture the traffic needs of special vehicles.
[0064] Z1063, if a vehicle signal is detected, the branch road is kept in green light state; Once a vehicle signal is detected on the branch road, the system should immediately ensure its right of way. If the geomagnetic detector detects a vehicle signal, the system will continue to maintain the green light state of the branch road to ensure that special vehicles have priority.
[0065] Z1064, if no vehicle signal is detected, switch the signal light to the main road green light state; Only when it is confirmed that there is no need to pass the branch road, the system will switch to the main road green light. The system will start the phase switching procedure, including the end of the branch road green light, the display of the specified length of yellow light and the full red interval, and then switch to the main road green light state.
[0066] Z1065. After entering the green light state of the main road, the geomagnetic detector continuously monitors the vehicle signal of the branch road; during the green light of the main road, the system needs to focus on monitoring the arrival of vehicles on the branch road. The system continuously reads the data of the geomagnetic detector of the branch road, and once the vehicle signal of the branch road is detected, it is immediately ready to switch the phase.
[0067] Z1066: If a vehicle signal is detected on the branch road, the signal light will be switched to the green light state immediately; once a vehicle signal appears on the branch road, an immediate response is required. The system will immediately start the process of switching to the branch road without waiting for the minimum green light time of the main road, giving priority to ensuring the passage of vehicles on the branch road.
[0068] Z1067: If there is no branch road vehicle signal, determine whether the main road has reached the maximum green light time; when there is no branch road demand, vehicles on the main road can pass, but their maximum green light time needs to be controlled. The system compares the actual operation time of the main road green light with the preset maximum green light time.
[0069] Z1068. If the maximum green light time is reached, return to the step of controlling the signal light to enter the branch green light state; Even if the traffic demand on the main road is large, once the maximum green light time is reached, it must be switched back to the green light state of the branch road in order to respond in time to special vehicles that may appear.
[0070] Z1069: If the maximum green light time has not been reached and there is no vehicle signal on the branch road, the main road will continue to maintain the green light status.
[0071] The main road green light state will be maintained only when the main road green light has not reached the maximum time and it is confirmed that there is no branch road demand. Once a branch road vehicle signal appears, the main road green light will be immediately interrupted and switched to the branch road green light.
[0072] S107. When the full sensing control mode is selected, the control signal light runs at the default minimum green light time; within the sensing time window before the end of the minimum green light time, if a vehicle signal is received from the geomagnetic detector, the green light time is increased progressively by a preset unit extension time; when no vehicle signal is received or the green light time reaches the maximum green light time, the green light ends.
[0073] The sensing time window refers to the specific time period during which the system detects vehicle signals; the unit extension time refers to the fixed length of time for each extension.
[0074] In the full sensing control mode, all entrance lanes adopt the same control strategy. In some embodiments, the traffic lights in each direction first run the minimum green light time (e.g., 15 seconds). Within a period of time (e.g., 3 seconds) before the minimum green light time is about to end, the system detects whether there is a vehicle arriving. If a vehicle arrives, the green light time is extended by a preset time unit (e.g., 2 seconds). This process will continue until the current phase ends when no vehicle is detected or the maximum green light time (e.g., 60 seconds) is reached.
[0075] It can be seen that according to the level and traffic flow characteristics of each entrance road at the intersection, the semi-sensing or full-sensing control mode is intelligently selected. In the semi-sensing mode, the geomagnetic detector monitors the traffic flow in real time. The main road can dynamically extend the green light time according to the vehicle signal, and the branch road only obtains the minimum release time when there is a car; in the full-sensing mode, all entrance roads can dynamically adjust the green light time according to the actual traffic flow. This adaptive control method based on real-time traffic conditions avoids the problem that fixed timing schemes are difficult to adapt to changes in traffic flow, and improves the flexibility of signal control and the efficiency of road resource utilization.
[0076] See also Figure 6 , Figure 6 This is a specific flow chart of step S107 in the embodiment of the present application; In some embodiments, step S107 specifically includes: S1071, control the traffic light to enter the main road green light state; In the full-sensing control mode, the main road, as an important traffic flow, needs to have priority in obtaining the right of way. In some embodiments, the system first switches the traffic light to the main road green light state, which includes the necessary yellow light warning time (usually 3-5 seconds) and full red safety interval time (usually 2 seconds) to ensure the safety and smoothness of the phase switching.
[0077] S1072, determining whether there is a vehicle signal on the main road through a geomagnetic detector; When the main road obtains the right of way at the green light, its use needs to be monitored. In some embodiments, the system continuously collects data through a geomagnetic detector installed on the main road. The detector is usually arranged 20-30 meters before the stop line, which can accurately capture the information of passing vehicles. The system samples and analyzes the detection data at a higher frequency (such as every 0.1 second) to grasp the traffic status of the main road in real time.
[0078] S1073: If a vehicle signal is detected on the main road, determine whether the main road has reached the maximum green light time; When there are vehicles passing through the main road continuously, the green light time needs to be controlled not to exceed the upper limit. In some embodiments, when the system confirms that there are vehicles passing through the main road, it will compare the actual operation time of the green light on the main road with the preset maximum green light time (usually 60-120 seconds) to avoid a single direction occupying the right of way for too long and affecting the normal passage of other directions.
[0079] S1074, if the main road reaches the maximum green light time, jump to the step of controlling the signal light to enter the branch road green light state; When the green light operation time of the main road reaches the upper limit, the phase needs to be switched forcibly. In some embodiments, even if there are still vehicles passing through the main road, once the operation time reaches the maximum green light time, the system will unconditionally start the procedure of switching to the branch road, including displaying yellow light warning and full red interval, and then switching to the green light state of the branch road, ensuring that all directions of the intersection can get reasonable passing opportunities.
[0080] S1075, if the main road has not reached the maximum green light time, jump to the step of controlling the signal light to enter the main road green light state; When the green light time of the main road has not reached the upper limit and there is still a need for passage, the right of passage should continue to be guaranteed. In some embodiments, if the system confirms that the green light operation time of the main road has not reached the maximum limit (such as less than 90 seconds) and detects continuous traffic flow, the green light state of the main road will be maintained, and the main road vehicles will continue to be provided with passage services to improve the traffic efficiency of the main road.
[0081] S1076, if no vehicle signal is detected on the main road, determine whether there is a vehicle signal on the branch road through a geomagnetic detector; When there are no vehicles on the main road, the system needs to promptly evaluate the traffic demand of the branch road. In some embodiments, if the main road detector does not detect a vehicle signal for multiple consecutive sampling periods (such as within 1 second), the system will immediately switch to monitoring the vehicle situation on the branch road and collect data through the geomagnetic detector set on the branch road to achieve a dynamic response to the overall traffic demand of the intersection.
[0082] S1077, if the branch detects a vehicle signal, jump to the step of controlling the signal light to enter the branch green light state; When the main road is idle and the branch road has a demand for passage, the right of way needs to be allocated in a timely manner. In some embodiments, once the system confirms that the branch road detector senses a vehicle signal, it will immediately start the phase switching procedure, including the main road showing a yellow light (usually 3-5 seconds), a full red interval (usually 2 seconds), and then switching to the branch road green light state, thereby improving the overall utilization efficiency of the intersection.
[0083] S1078. If no vehicle signal is detected on the branch road, determine whether the main road reaches the minimum green light time; When there is no vehicle demand in both directions, the basic phase time requirement needs to be considered. In some embodiments, if neither the main road nor the branch road detectors sense a vehicle, the system will check whether the actual operation time of the main road green light reaches a preset minimum value (usually 10-15 seconds), which is usually determined based on factors such as road width and intersection geometry.
[0084] S1079, if the main road reaches the minimum green light time, jump to the step of controlling the signal light to enter the green light state of the branch road; When the main road completes the minimum service time and there is no vehicle demand, the phase can be switched. In some embodiments, if it is confirmed that the green light time of the main road has reached the minimum requirement (such as 15 seconds), even if there are no vehicles waiting on the branch road, the system will start the phase switching program to maintain the dynamic balance of intersection signal timing and avoid excessive occupation of the right of way in a single direction.
[0085] S10710, if the main road has not reached the minimum green light time, jump to the step of controlling the signal light to enter the main road green light state; When the main road has not completed the minimum service time, it is necessary to ensure the basic travel time. In some embodiments, if the main road green light operation time has not reached the minimum requirement (such as less than 10 seconds), even if there are no vehicles passing, the system will continue to maintain the main road green light state until the minimum time requirement is met to ensure the stability and predictability of traffic signal control.
[0086] S10711, control the signal light to enter the branch green light state; S10712, judging whether there is a vehicle signal on the branch road by using a geomagnetic detector; S10713. If the branch detects a vehicle signal, determine whether the branch has reached the maximum green light time; S10714, if the branch road reaches the maximum green light time, jump to the step of controlling the signal light to enter the main road green light state; S10715, if the branch has not reached the maximum green light time, jump to the step of controlling the signal light to enter the branch green light state; S10716. If no vehicle signal is detected on the branch road, determine whether there is a vehicle signal on the main road through a geomagnetic detector; S10717, if a vehicle signal is detected on the main road, jump to the step of controlling the signal light to enter the main road green light state; S10718. If no vehicle signal is detected on the main road, determine whether the branch road reaches the minimum green light time; S10719, if the branch road reaches the minimum green light time, jump to the step of controlling the signal light to enter the main road green light state; S10720: If the branch has not reached the minimum green light time, jump to the step of controlling the traffic light to enter the branch green light state.
[0087] It should be noted that the principles of steps S10711 to S10720 are similar to those of steps S1071 to S10710, and will not be repeated here.
[0088] It can be seen that a complete two-way adaptive control mechanism is implemented in the full-sensing control mode. The system monitors the traffic flow on the main and branch roads in real time through the geomagnetic detector, and dynamically determines the timing of signal switching based on the minimum green light time, maximum green light time and current traffic status. It can achieve accurate matching of signal timing with actual traffic needs, improving the traffic efficiency and service level of the intersection.
[0089] It should be noted that this embodiment includes multiple steps of extending or increasing the green light time of motor vehicles (such as step S105 and step S107), but in actual application, this timing strategy may affect the pedestrian's passing experience. Since the pedestrian's passing speed is much lower than that of motor vehicles, too short a passing time forces pedestrians to speed up and pass in a hurry, which is particularly disadvantageous to special groups such as the elderly, children, and the disabled.
[0090] Therefore, before step S105 and / or step S107, the following steps are also included: S201, determining whether a pedestrian sensing control signal is received; Among them, the pedestrian sensing control signal refers to a request signal triggered by the sensor detecting the presence of a pedestrian at a specified location.
[0091] During the traffic signal timing process, it is first necessary to confirm whether there is a pedestrian crossing demand. In some embodiments, the system monitors the triggering status of the sensor in real time. This pedestrian sensing mechanism allows the system to understand the pedestrian's passage demand in a timely manner, so as to make corresponding signal timing adjustments.
[0092] S202, if no pedestrian sensing control signal is received, then executing the step of progressively increasing the green light time according to the vehicle signal detected by the geomagnetic detector and / or the step of progressively increasing the green light time by extending the time in a preset unit; When there is no pedestrian crossing demand, the system prioritizes the efficiency of motor vehicle traffic. In some embodiments, if the system does not receive a pedestrian sensing signal, it will continue to implement a dynamic green light time adjustment strategy based on traffic characteristics. The green light time can be gradually increased based on vehicle information fed back by the geomagnetic detector or according to a preset time unit (such as 5 seconds), but will not exceed the maximum green light time limit.
[0093] S203, if a pedestrian sensing control signal is received, determining whether the corresponding red light time after the green light time is increased is greater than the shortest green light time of the pedestrian sensing phase; When a pedestrian crossing request is received, the impact of the signal timing on pedestrian traffic needs to be evaluated. In some embodiments, the system calculates whether the waiting time in the corresponding red light direction (i.e., the direction in which the pedestrian is waiting to cross the street) exceeds the preset minimum pedestrian passage time (usually determined by the road width, such as 20-30 seconds) after the current phase is extended.
[0094] S204, if it is greater than the shortest green light time of the pedestrian sensing phase, executing the step of progressively increasing the green light time according to the vehicle signal detected by the geomagnetic detector and\or the step of progressively increasing the green light time by extending the time in a preset unit; When the system determines that it will not affect the basic traffic needs of pedestrians, it can continue to optimize the traffic of motor vehicles. In some embodiments, if the calculation results show that even if the current green light is extended, the corresponding red light time is still greater than the shortest time required for pedestrians to pass, the system will continue to implement the optimization strategy for vehicle traffic, which can be a dynamic extension based on vehicle detection or a progressive extension of fixed time units.
[0095] S205: If it is less than or equal to the shortest green light time of the pedestrian sensing phase, end the green light.
[0096] When further extending the green light may affect pedestrian safety, the current phase needs to be ended in time. In some embodiments, if the system calculates that further extending the current green light will cause pedestrians to wait for less than the minimum requirement, the phase end procedure will be immediately initiated, including displaying a yellow light and a full red interval, and then switching to the next phase to ensure that pedestrians can get enough time to pass.
[0097] It can be seen that a pedestrian sensing control judgment mechanism has been added on the basis of vehicle sensing control. The system first determines whether there is a pedestrian request signal. If so, it further evaluates whether increasing the green light time for vehicles will affect the shortest pedestrian travel demand. This multi-level judgment mechanism ensures that while meeting the traffic needs of motor vehicles, the basic rights of pedestrians crossing the street can also be protected, achieving a dynamic balance between the traffic needs of motor vehicles and pedestrians, and improving the comprehensiveness of traffic signal control.
[0098] See also Figure 7 , Figure 7is another flow chart of the mountain city transportation method in the embodiment of the present application; In some embodiments, after step S107, the method further includes: S301, performing illegal parking detection on motor vehicles in the illegal parking detection area; Among them, illegal parking detection area refers to a specific road section or area that has been designated to monitor illegal parking; motor vehicles refer to all types of power-driven vehicles; illegal parking detection refers to the process of automatically determining whether a vehicle violates parking regulations.
[0099] In some embodiments, the system uses video surveillance equipment deployed on the road section to collect and analyze real-time images of pre-defined illegal parking detection areas. The monitoring equipment uses relevant computer vision algorithms to continuously detect and analyze the behavior of motor vehicles appearing in the picture to determine whether the vehicle is parked and whether the parking time exceeds a preset threshold (usually 3-5 minutes).
[0100] S302: After detecting an illegally parked vehicle, extracting the location information of the illegally parked vehicle; Among them, illegally parked vehicles refer to motor vehicles that are determined by the system to be illegally parked; positioning information refers to the spatial position data of the vehicle in the monitoring screen, including coordinates, orientation, etc.; extraction refers to the process of obtaining specific information from image data.
[0101] When the system confirms that illegal parking has occurred, the vehicle location information needs to be accurately recorded to support subsequent processing. In some embodiments, once the system determines that a vehicle has been illegally parked for longer than a threshold, the location information extraction program is immediately started. The program calculates and records the vehicle's pixel coordinates in the image, the vehicle's orientation angle, the area it occupies, and other spatial information. This information will be used for subsequent precise positioning and tracking of the gimbal camera for evidence collection.
[0102] S303, using the positioning information to control the ball camera to track and zoom in on the illegally parked vehicle until the license plate of the illegally parked vehicle is identified; Among them, the ball camera refers to a surveillance camera with a pan-tilt rotation function.
[0103] In some embodiments, the system automatically controls the dome camera to perform pan / tilt rotation and zoom operations based on the aforementioned extracted positioning information. The dome camera first performs a large-scale positioning, confirms the position of the target vehicle, and then gradually adjusts the focus to zoom in until a clear close-up image of the license plate is obtained. The system uses optical character recognition (OCR) technology to process the image in real time until the complete license plate number is successfully recognized.
[0104] S304, determining whether temporary parking is allowed in the illegal parking detection area; Among them, the illegal parking detection area refers to a specific place where illegal parking monitoring is carried out.
[0105] Different areas have different management requirements for temporary parking. In some embodiments, the system will query the pre-set regional attribute database to confirm the specific management regulations of the current illegal parking location. The database records the parking management level of each monitored area, the time period for temporary parking, the maximum parking time limit and other information. The system determines whether the area allows vehicles to park temporarily based on this information.
[0106] S305. If temporary parking is not allowed in the illegal parking detection area, a violation record is generated, which includes: a composite image and a video recording of the illegal parking process, wherein the composite image includes two panoramic feature images and a license plate close-up image, and the composite image is superimposed with the traffic violation date, time, location, direction, image evidence collection device number and anti-counterfeiting information; Among them, violation records refer to electronic evidence files of illegal parking; composite images refer to combined images containing multiple images; panoramic feature images refer to the overall image reflecting the illegal parking environment; license plate close-up images refer to close-up images that clearly record license plate numbers; traffic violation information refers to the temporal and spatial elements of illegal behavior; anti-counterfeiting information refers to coded data that ensures the authenticity of evidence.
[0107] When a violation in an absolutely prohibited parking zone is confirmed, a complete law enforcement evidence package needs to be generated. In some embodiments, the system will automatically generate a standard format violation record file, which includes the following elements: two panoramic views of the scene taken from different angles to show the illegal parking environment and the overall condition of the vehicle; a clear close-up of the license plate to accurately identify the vehicle information; continuous video recording of the illegal parking process to record the complete illegal process. All images will automatically superimpose basic information such as the date, time, location, vehicle direction, and law enforcement equipment number of the violation, and will be embedded with a dedicated image anti-counterfeiting watermark to ensure the legal validity of the evidence.
[0108] S306: If temporary parking is allowed in the illegal parking detection area, the position coordinates of the illegally parked vehicle are set as a verification preset position; The verification preset position refers to the camera parameter setting used for subsequent review.
[0109] Continuous observation is required in areas where temporary parking is allowed. In some embodiments, the system will record the detailed location information of the current illegally parked vehicle, including horizontal and vertical coordinate values, body orientation angle and other parameters, as a specific preset position of the ball camera. These parameter settings will be used for subsequent secondary inspections to ensure that the same vehicle can be accurately relocated.
[0110] S307, after a preset time interval, control the ball camera to return to the preset position for verification to perform secondary license plate recognition; The preset time interval refers to the waiting time between two tests.
[0111] In some embodiments, the system waits for a predetermined time after first detecting a vehicle, and then automatically controls the dome camera to turn to a previously saved preset position, uses the same parameter settings as the initial detection, and performs image acquisition and license plate recognition at that position again to determine whether the vehicle is still there.
[0112] S308. If the license plate number recognized for the second time is the same as the license plate number recognized for the first time, a violation record is generated.
[0113] When the same vehicle is confirmed to have parked overtime, the violation needs to be recorded. In some embodiments, if the system determines that the license plate numbers obtained by the two recognitions are exactly the same, indicating that the vehicle has exceeded the permitted temporary parking time limit, a violation record will be automatically generated in a standard format, including pictures and video evidence of the entire process.
[0114] S309: If the license plate number recognized for the second time is different from the license plate number recognized for the first time, the illegally parked vehicle is abandoned.
[0115] In some embodiments, if the system finds that the license plate numbers identified twice are inconsistent, it means that the original vehicle may have left and the current location is occupied by other vehicles. At this time, the illegal parking processing process will be terminated and the relevant temporary data will be deleted to avoid erroneous law enforcement records.
[0116] It can be seen that a complete chain of illegal parking monitoring records has been established. The system first intelligently identifies and locates illegal parking behaviors, and then uses a ball camera to accurately track and recognize license plates. Differentiated processing strategies are adopted for different types of illegal parking areas, and the accuracy of law enforcement is improved through a secondary verification mechanism. The final violation record contains multi-angle image evidence and detailed information, which not only improves the automation level of illegal parking supervision, but also ensures the integrity and reliability of law enforcement evidence.
[0117] See also Figure 8 , Figure 8 is another flow chart of the mountain city transportation method in the embodiment of the present application; In some embodiments, after step S107, the method further includes: S401, when a motor vehicle horn sound is detected, tracking, locating and identifying the vehicle that honked the horn sound; Among them, the horn sound refers to the sound signal emitted by the horn of a motor vehicle, and tracking, positioning and identification refers to the process of determining and locking the vehicle that is the source of the sound.
[0118] In some embodiments, the system monitors traffic noise in real time through an array of acoustic sensors deployed on the road. When a sound wave signal that meets the characteristics of a whistle is detected, the system immediately starts the sound source localization algorithm and calculates the spatial position of the sound source through the time difference and intensity difference of the sound waves of multiple sensors. At the same time, the system calls the video surveillance equipment to match the sound source position with the vehicle target in the picture to determine the specific vehicle that blew the whistle.
[0119] S402, capturing the vehicle and automatically recognizing the license plate; After the illegal vehicle is identified, it is necessary to collect evidence information in a timely manner. In some embodiments, the system will control the high-definition camera to capture the target vehicle from multiple angles, usually including pictures of the front and side of the vehicle. At the same time, the optical character recognition (OCR) engine is started to extract and recognize the license plate area in the vehicle picture to obtain complete license plate number information.
[0120] S403, calculating the sound size distribution in the monitored road area, and using colors to represent the relative size of the sound to generate a sound distribution map; Among them, sound volume distribution represents the spatial distribution of sound pressure levels at different locations; color representation refers to the method of using different colors to identify sound intensity.
[0121] In order to intuitively display the noise pollution situation, it is necessary to visualize the acoustic data. In some embodiments, the system calculates the sound pressure level distribution of the entire monitoring area through an interpolation algorithm based on the data collected by multiple acoustic sensors. Usually, a heat map is used, with red representing areas with higher sound pressure levels, blue representing areas with lower sound pressure levels, and yellow and green representing transition areas, forming an intuitive sound distribution map.
[0122] S404, superimposing the sound distribution map and the high-definition image to form a sound cloud map; Among them, the sound cloud map refers to the combined image of sound distribution and real scene superposition; the high-definition picture refers to the clear real-scene image of the monitored area; superposition refers to the process of synthesizing multiple layers of image information; formation refers to the process of generating the final image.
[0123] In some embodiments, the system uses the calculated sound distribution heat map as a semi-transparent layer and overlays it with the high-definition road condition picture collected at the same time. By adjusting the transparency and color scheme, it ensures that both the vehicle and road conditions can be clearly displayed, and the noise distribution can be intuitively displayed, ultimately forming a sound cloud map that integrates sound and image information.
[0124] S405, superimposing the sound cloud image on the video and playing it continuously to generate a sound video; Among them, video refers to a continuous sequence of dynamic images; continuous playback refers to the process of displaying images in chronological order; audio and video refers to video files containing sound information.
[0125] In order to record the complete violation process, it is necessary to generate video evidence containing acoustic information. In some embodiments, the system superimposes each frame of the sound cloud map onto the video screen in the order of the frame rate of the original video. At the same time, the clarity of the picture and the dynamic effect of the sound cloud map are maintained, and the temporal and spatial changes of the noise during the whistle process are intuitively displayed.
[0126] S406, saving the sound video of the preset duration before and after the whistle; Among them, before and after the whistle means the time period centered on the moment of the whistle; the preset duration refers to the length of the video that needs to be saved.
[0127] In order to fully record the causes and consequences of illegal honking, it is necessary to save context information for a certain period of time. In some embodiments, the system uses a circular cache mechanism to automatically save a video clip containing the sound 30 seconds before and 30 seconds after the honking moment when a honking event is detected. This video fully records the vehicle's driving status, the surrounding traffic environment, and the noise change process, providing sufficient basis for the characterization of illegal behavior.
[0128] S407. Generate a violation record, which includes: image evidence, audio evidence, and video evidence.
[0129] Among them, violation records refer to electronic evidence files of illegal honking; image evidence refers to photos taken of vehicles; audio evidence refers to honking sound records; video evidence refers to dynamic images containing sound cloud maps; and generation refers to the process of creating a complete evidence package.
[0130] A complete law enforcement record requires multiple forms of evidence support. In some embodiments, the system automatically organizes and generates a standard format of violation record files, including the following elements: multi-angle vehicle snapshots and license plate close-up images; audio files of the original horn sound, including sound pressure level data; video files with superimposed sound cloud maps, showing the complete violation process. All evidence materials will automatically add basic information such as timestamps, equipment numbers, geographic locations, and anti-counterfeiting marks to ensure the integrity and legal validity of the evidence.
[0131] It can be seen that a combined audio and video evidence collection system for illegal honking has been established. The system immediately starts the tracking and identification mechanism after detecting the honking sound, and intuitively presents the illegal facts through innovative means such as sound distribution maps and sound cloud maps. Not only does it achieve accurate positioning and attribution of honking behavior, but it also forms a complete chain of evidence through the combination of image, audio, and video evidence, providing reliable technical support for urban noise pollution control.
[0132] The following introduces an exemplary mountain city transportation system 900 provided in an embodiment of the present application. Fig. 9 It is a schematic diagram of an exemplary hardware structure of a mountain city transportation system 900 provided in an embodiment of the present application.
[0133] In some embodiments, the mountain city transportation system 900 is a computer device or the mountain city transportation system 900 includes a computer device. The computer device includes a processor, a memory and a network interface connected by a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data. The network interface of the computer device is used to communicate with other external terminals or servers through a network connection. In some embodiments, the network interface can be a wired network interface, and in some embodiments, the network interface can also be a wireless network interface. When the computer program is executed by the processor, the method in the embodiment of the present application is implemented.
[0134] Those skilled in the art will understand that Fig. 9 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0135] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
[0136] As used in the above embodiments, the term "when..." may be interpreted to mean "if..." or "after..." or "in response to determining..." or "in response to detecting...", depending on the context. Similarly, the phrases "upon determining..." or "if (the stated condition or event) is detected" may be interpreted to mean "if determining..." or "in response to determining..." or "upon detecting (the stated condition or event)" or "in response to detecting (the stated condition or event)", depending on the context.
[0137] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using 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 instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer 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 instructions may be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk), etc.
[0138] Those skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. When the programs are executed, they can include the processes of the above-mentioned method embodiments. The aforementioned storage media include: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.
Claims
1. A mountain city transportation method, characterized in that: include: Obtain the grade parameters and traffic flow of each entrance road at the intersection; When there is a difference in level between the main road and the branch road at each entrance road of the intersection, or the traffic flow ratio between any two entrance roads is greater than a preset traffic volume change threshold, the semi-sensing control mode is selected; When the level parameters of the entrance roads of the intersection are the same and the traffic flow ratio between the entrance roads is less than or equal to the preset traffic volume change threshold, the full sensing control mode is selected; When the semi-sensing control mode is selected, data is obtained from a geomagnetic detector disposed on a portion of the inlet track; If the geomagnetic detector is set on the main road, the control signal light is operated at the minimum green light time by default, and the green light time is progressively increased according to the vehicle signal detected by the geomagnetic detector until there is no vehicle signal or the green light time is increased to the maximum green light time; If the geomagnetic detector is set on the branch road, a release time of the minimum green light time is given according to the vehicle signal detected by the geomagnetic detector, and when there is no vehicle on the branch road, the green light is controlled to be allocated to the main road; When the full sensing control mode is selected, the signal light is controlled to run at the default minimum green light time; within the sensing time window before the end of the minimum green light time, if a vehicle signal is received from the geomagnetic detector, the green light time is progressively increased by a preset unit extension time; when the vehicle signal is not received or the green light time reaches the maximum green light time, the green light ends.
2. The method according to claim 1, characterized in that Before the step of progressively increasing the green light time according to the vehicle signal detected by the geomagnetic detector and / or the step of progressively increasing the green light time according to a preset unit extension time, the method further includes: Determining whether a pedestrian sensing control signal is received; If the pedestrian sensing control signal is not received, the step of progressively increasing the green light time according to the vehicle signal detected by the geomagnetic detector and / or the step of progressively increasing the green light time according to a preset unit extension time are executed; If the pedestrian sensing control signal is received, determining whether the corresponding red light time after the green light time is increased is greater than the shortest green light time of the pedestrian sensing phase; If it is greater than the shortest green light time of the pedestrian sensing phase, the step of progressively increasing the green light time according to the vehicle signal detected by the geomagnetic detector and / or the step of progressively increasing the green light time according to the preset unit extension time are executed; If it is less than or equal to the shortest green light time of the pedestrian sensing phase, the green light is ended.
3. The method according to claim 1, characterized in that The step of controlling the signal light to operate at the minimum green light time by default and increasing the green light time progressively according to the vehicle signal detected by the geomagnetic detector until there is no vehicle signal or the green light time is increased to the maximum green light time specifically includes: Control the signal light to enter the main road green light state; Determining whether the main road reaches the minimum green light time; If the minimum green light time is not reached, the main road continues to maintain the green light state; If the minimum green light time is reached, determining whether there is a vehicle signal on the main road by using the geomagnetic detector; If the vehicle signal is not detected, switching the signal light to a branch road green light; After the branch road green light ends, return to the step of controlling the signal light to enter the main road green light state; If the vehicle signal is detected, determining whether the maximum green light time is reached; If the maximum green light time has not been reached, return to the step of controlling the signal light to enter the main road green light state; If the maximum green light time is reached, the process returns to the step of switching the signal light to a branch road green light.
4. The method according to claim 1, characterized in that: The step of giving a release time of the minimum green light time according to the vehicle signal detected by the geomagnetic detector, and controlling the green light to be allocated to the main road when there is no vehicle on the branch road specifically includes: Control the signal light to enter the main road green light state; Determining whether there is a vehicle signal on the branch road by using the geomagnetic detector; If the vehicle signal is not detected, returning to the step of controlling the signal light to enter the main road green light state; If the vehicle signal is detected, the signal light is switched to a branch road green light state; After entering the green light state of the branch road, judging whether there is a vehicle signal on the branch road by the geomagnetic detector; If the vehicle signal is not detected, returning to the step of controlling the signal light to enter the main road green light state; If the vehicle signal is detected, determining whether the branch road reaches the minimum green light time; If the minimum green light time is reached, returning to the step of controlling the signal light to enter the main road green light state; If the minimum green light time is not reached, the branch road continues to maintain the green light state.
5. The method according to claim 1, characterized in that The control of the signal light is to operate at a default minimum green light time; within the sensing time window before the end of the minimum green light time, if a vehicle signal is received from the geomagnetic detector, the green light time is progressively increased according to a preset unit extension time; When the vehicle signal is not received or the green light time reaches the maximum green light time, the step of ending the green light specifically includes: Control the signal light to enter the main road green light state; Determining whether there is a vehicle signal on the main road by using the geomagnetic detector; If the vehicle signal is detected on the main road, determining whether the main road reaches the maximum green light time; If the main road reaches the maximum green light time, jump to the step of controlling the signal light to enter the branch road green light state; If the main road has not reached the maximum green light time, skipping the step of controlling the signal light to enter the main road green light state; If the vehicle signal is not detected on the main road, determining whether there is a vehicle signal on the branch road by using the geomagnetic detector; If the branch detects the vehicle signal, the step of controlling the signal light to enter the branch green light state is skipped; If the branch road does not detect the vehicle signal, determining whether the main road reaches the minimum green light time; If the main road reaches the minimum green light time, jump to the step of controlling the signal light to enter the branch road green light state; If the main road has not reached the minimum green light time, skipping the step of controlling the signal light to enter the main road green light state; Controlling the signal light to enter a branch green light state; Determining whether there is a vehicle signal on the branch road by using the geomagnetic detector; If the branch detects the vehicle signal, determining whether the branch reaches the maximum green light time; If the branch road reaches the maximum green light time, jump to the step of controlling the signal light to enter the main road green light state; If the branch has not reached the maximum green light time, skipping the step of controlling the signal light to enter the branch green light state; If the branch road does not detect the vehicle signal, determining whether the main road has a vehicle signal by using the geomagnetic detector; If the vehicle signal is detected on the main road, the step of controlling the signal light to enter the main road green light state is skipped; If the vehicle signal is not detected on the main road, determining whether the branch road reaches the minimum green light time; If the branch road reaches the minimum green light time, jump to the step of controlling the signal light to enter the main road green light state; If the branch does not reach the minimum green light time, the step of controlling the signal light to enter the branch green light state is skipped.
6. The method according to claim 1, characterized in that The method further comprises: Conduct illegal parking inspections on motor vehicles within the illegal parking inspection area; After detecting an illegally parked vehicle, extracting the location information of the illegally parked vehicle; The positioning information is used to control the ball camera to track and magnify the illegally parked vehicle until the license plate of the illegally parked vehicle is identified; Determining whether temporary parking is allowed in the illegal parking detection area; If temporary parking is not allowed in the illegal parking detection area, a violation record is generated, which includes: a composite image and a video recording of the illegal parking process, wherein the composite image includes two panoramic feature images and a license plate close-up image, and the composite image is superimposed with the traffic violation date, time, location, direction, image evidence collection device number and anti-counterfeiting information; If temporary parking is allowed in the illegal parking detection area, the position coordinates of the illegally parked vehicle are set as the verification preset position; After a preset time interval, the ball camera is controlled to return to the verification preset position for secondary license plate recognition; If the license plate number identified for the second time is the same as the license plate number identified for the first time, a violation record will be generated; If the license plate number identified for the second time is different from the license plate number identified for the first time, the illegally parked vehicle is abandoned.
7. The method according to claim 1, characterized in that The method further comprises: When the horn of a motor vehicle is detected, the vehicle making the horn sound is tracked, located and identified; Taking a photo of the vehicle and automatically recognizing the license plate; Calculate the sound distribution in the monitored road area and generate a sound distribution map using colors to represent the relative sound size; Superimposing the sound distribution map and the high-definition picture to form a sound cloud map; Overlaying the sound cloud image onto the video and playing it continuously to generate a sound video; Save the sound video of the preset duration before and after the whistle; Generate a violation record, which includes: image evidence, audio evidence and video evidence.
8. A mountain city transportation system, characterized in that: The mountain city transportation system includes: one or more processors and a memory; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code includes computer instructions, and the one or more processors call the computer instructions to enable the mountain city transportation system to execute the method described in any one of claims 1-7.
9. A computer program product comprising instructions, characterized in that When the computer program product runs on a mountain city transportation system, the mountain city transportation system is enabled to execute the method according to any one of claims 1 to 7.
10. A computer-readable storage medium comprising instructions, characterized in that: When the instruction is executed on a mountain city transportation system, the mountain city transportation system is caused to execute the method according to any one of claims 1-7.