A traffic event identification method and system based on a view large model
By integrating existing video surveillance resources and utilizing large-scale view models for multi-scenario traffic event recognition, the problems of single recognition and high-cost transformation of traditional monitoring systems have been solved. This has enabled accurate recognition and intelligent early warning of traffic events across the entire region, improving the perception capabilities and equipment utilization rate of smart transportation.
Patent Information
- Application Number
- CN202611363599.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-04
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2046-09-04
AI Technical Summary
Traditional road traffic monitoring systems suffer from problems such as limited event identification, low equipment utilization, high upgrade costs, slow deployment, and poor scenario adaptability, making it difficult to meet the needs of modern intelligent transportation for comprehensive perception.
By integrating existing video surveillance resources and utilizing large-scale view models for multi-scenario traffic event recognition, combined with multi-level image target detection, semantic matching and discrimination, and noise reduction and filtering algorithms, accurate identification and intelligent early warning of traffic events across the entire domain can be achieved without the need for additional hardware equipment.
It has achieved accurate identification and intelligent early warning of road traffic incidents across the entire region, improved the level of intelligent management and control of road traffic conditions, reduced hardware procurement and construction and renovation costs, shortened the deployment cycle, and improved identification accuracy and stability.
Smart Images

Figure CN122867084B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of intelligent transportation technology, and in particular to a traffic event recognition method and system based on a large view model. Background Technology
[0002] With the continuous improvement of road networks and the significant increase in the volume of motor vehicles and non-motor vehicles, problems such as sudden abnormal events, abnormal road conditions, and abnormal traffic order occur frequently, which can easily lead to road congestion, traffic accidents, and road safety hazards. This places higher demands on the real-time perception and rapid response capabilities of intelligent transportation. Traditional road traffic monitoring systems have obvious technical shortcomings and are unable to meet the needs of modern intelligent transportation for comprehensive perception: First, traditional monitoring equipment only supports the identification of single and limited traffic anomalies, and cannot cover multi-dimensional traffic events such as congestion, accidents, abnormal weather, facility failures, illegal entry, and road debris; Second, many existing old-fashioned electronic police, road monitoring, security monitoring, and checkpoint equipment have limited functions, only possessing basic video acquisition and image transmission capabilities, lacking intelligent analysis, event perception, and proactive early warning capabilities, resulting in low utilization of equipment intelligence; Third, the transformation of traditional intelligent transportation systems requires large-scale hardware replacement and long-term construction and debugging, resulting in long deployment cycles and high financial costs.
[0003] Given the technical problems of existing technologies, such as limited event recognition, low equipment utilization, high transformation costs, slow deployment, and poor scenario adaptability, there is an urgent need to develop a low-cost, fast-deployment, comprehensive, and high-precision traffic event recognition method and system based on a large view model, so as to achieve proactive perception and intelligent early warning of road traffic events across the entire region. Summary of the Invention
[0004] The purpose of this invention is to overcome the technical problems of existing technologies, such as limited categories of road traffic incident perception, insufficient recognition accuracy, low equipment utilization, high deployment costs, and insufficient full-domain coverage. It provides a traffic incident recognition method and system based on a large view model, which relies on existing video surveillance resources and combines the powerful scene semantic understanding and multi-target recognition capabilities of the large view model to achieve accurate recognition and full-domain perception of typical traffic incidents, thereby improving the level of intelligent and precise control of road traffic conditions.
[0005] To achieve the above objectives, this application adopts the following technical solution:
[0006] Firstly, this application provides a traffic event recognition method based on a large view model, including: Step S10: Connect to existing front-end video surveillance resources at intersections, road sections, highways, national and provincial roads and rural roads without adding new hardware equipment, and complete the adaptation, connection and network debugging of existing surveillance equipment. Step S20: Based on the information of the existing monitoring equipment that has been connected, collect traffic video image data of the entire area in real time through various front-end monitoring equipment, and collect them to form the original visual dataset of the road. Step S30: Based on the original road visual dataset formed by aggregation, the algorithm of the large view model for multi-scene traffic events is called to perform dynamic semantic analysis, target detection and scene determination on real-time video images, accurately identify traffic events, and output preliminary event data. Step S40: Based on the initial judgment event data output, the recognition results output by the large view model are verified a second time, cleaned and classified for archiving through big data analysis, filtering out invalid interference data, misidentified data and duplicate data, and confirming valid traffic event information. Step S50: Based on the confirmed valid traffic incident information, generate early warning information for the confirmed traffic incidents and push it to the traffic management platform and control terminal in real time.
[0007] Furthermore, step S10 includes the following detailed steps: Step S11: Connect to at least one of the following front-end video surveillance resources: road surveillance camera, checkpoint camera, illegal parking capture camera, and under-bridge space monitoring equipment; Step S12: Through the built-in multi-protocol adaptation engine, adaptively identify and convert at least one of ONVIF, GB / T 28181, RTSP and private SDK video transmission protocols to uniformly convert the video streams of heterogeneous monitoring devices into standard format video data streams. Step S13: Perform network debugging and real-time status monitoring on each connected video source, including video signal connectivity monitoring, image quality monitoring, and time synchronization status monitoring.
[0008] Furthermore, step S20 includes the following detailed steps: Step S21: Real-time video stream data is retrieved from each existing monitoring device via RTSP protocol or GB / T 28181 protocol, and three types of raw data are collected in a unified manner: road video stream, static capture frames, and spatiotemporal information of the location. Step S22: Synchronously bind the device number, road segment, shooting angle, and acquisition time parameters to the three types of raw data, and collect them to form a raw visual dataset of the road. Step S23: Decode the retrieved original road video stream into a continuous sequence of image frames, extract key image frames according to a preset sampling frequency, and perform image preprocessing, including noise reduction, contrast enhancement, and brightness correction. Step S24: Scale all key image frames to the input size required by the large-scale view model of the multi-scenario traffic event, and label each key image frame with a precise timestamp and corresponding device location information.
[0009] Furthermore, in step S30, based on the aggregated original visual dataset of roads, a three-level automated data preprocessing is performed: The first level of environmental interference data removal: batch filtering out invalid frames generated by sudden changes in light and shadow, lens obstruction, equipment shaking, and black screen disconnection; the second level of redundant data deduplication: removing repeated captures and repeated identification of the same source image at the same location and time; the third level of image standardization processing: unifying image resolution, frame rate, and color gamut parameters, correcting image distortion from tilted viewpoints, and outputting a standardized and compliant image dataset. The standardized compliant image dataset is input into a large-scale view model specifically for multi-scenario traffic events. This model is custom-developed based on the visual Transformer architecture and incorporates scene adaptive adaptation algorithms, multi-level image target detection and encoding algorithms, traffic event semantic matching and discrimination algorithms, noise reduction and filtering algorithms, and model adaptive iteration algorithms. It is used to decompose image target features, scene features, and behavioral features from the standardized compliant image dataset, quantify and label traffic event-specific feature vectors, simultaneously determine the location and impact range of the event, and output preliminary event data with feature labels.
[0010] Furthermore, step S40 includes the following detailed steps: Step S41: Based on the preliminary judgment event data with feature labels, compare it with the historical event database at the same location to verify the logical rationality of the event occurrence. Combine the auxiliary data of traffic flow, vehicle speed and equipment condition of the linked road section to cross-identify the model's misjudgment and occasional interference identification results, and remove invalid judgment data. Step S42: Based on the valid preliminary judgment data remaining after removing invalid judgment data, retrieve the vehicle GPS trajectory data, traffic flow speed data, occupancy data and historical event database of the target road segment during the time of the incident for the explicit traffic incident and cross-compare them to verify whether the recognition results output by the model conform to the traffic state change law of the physical world. Step S43: Based on the potential traffic risk patterns in the preliminary event data, continuously track the real-time physical traffic parameter change trend of the target road segment within a preset future time window. If the parameter evolution trend is consistent with the evolution path corresponding to the potential traffic risk pattern, the prediction is confirmed to be accurate. If the parameter evolution trend returns to the normal range, it is determined to be a false alarm and the warning is automatically turned off. Step S44: Standardize the format of the event data that passed the verification in steps S41 to S43, remove duplicate data records, and classify and archive them according to event type, occurrence time, occurrence location and severity, retaining valid structured traffic event data.
[0011] Furthermore, step S50 includes the following detailed steps: Step S51: Encapsulate the valid traffic incident structured data with event capture evidence, spatiotemporal coordinates, event type, and handling suggestion information to generate a complete event data package; Step S52: Based on the event type, severity, and scope of impact, the confirmed traffic incidents are classified into four warning levels: Level I emergencies correspond to major traffic accidents or incidents involving casualties, and are addressed through a combination of push notifications via telephone, SMS, APP, and large-screen pop-ups, with timely responses. Level II serious incidents correspond to general traffic accidents or congestion, and are addressed through SMS and APP notifications, requiring a response within 5 minutes. Level III general incidents correspond to illegally parked vehicles, pedestrians trespassing, or road construction obstructing traffic, and are addressed through APP notifications and system recording, requiring a response within 15 minutes. Level IV alert incidents correspond to abnormal traffic flow, foggy weather, or road hazards, and are handled through system recording and periodic summaries. Step S53: Automatically push the warning information to managers and control terminals at different levels according to the warning level, and send it in parallel through at least one of the following channels: SMS gateway, instant messaging tools, dedicated APP push, Web system pop-up and electronic display screen linkage; Step S54: Confirm delivery and read confirmation for each alert push notification. If the notification is not confirmed within the specified time, the push notification method will be automatically upgraded. Step S55: The archived valid traffic incident data is synchronized to the background sample database. At the same time, the model misjudgment and occasional interference identification results identified through secondary verification are fed back to the model training pool as negative samples to iteratively optimize the model judgment threshold. Step S56: After the incident is handled, the personnel involved will report the handling results through the system, forming a complete closed loop from incident identification, data verification, early warning push to rapid handling.
[0012] Furthermore, the large-scale model of traffic event-specific views for multiple scenarios adopts a three-level sampling and hierarchical recognition strategy: The first level performs low-frequency screening with a sampling interval of 5 to 10 seconds, judging whether there are signs of abnormal traffic conditions in the video image data collected in step S20, and marking the target time period where the abnormality exists; the second level performs fine detection based on the target time period marked by the first level with a sampling interval of 1 to 2 seconds, identifying specific event types and determining the key moment when the event has occurred or is about to occur; the third level performs confirmation detection based on the video segment where the key moment determined by the second level is located with a sampling interval of 0.2 to 0.5 seconds, and outputs accurate recognition results; The large-scale model with a dedicated view for multiple traffic events is also used to identify traffic accident precursor patterns. These precursor patterns include at least one of the following: a combination of vehicle deceleration and lane change trajectories; a combination of pedestrians entering the lane and vehicles not decelerating; a combination of multiple vehicles changing lanes simultaneously with excessively close distances; and a non-motorized vehicle entering the motor vehicle lane in the wrong direction and being in a blind spot. After identifying the precursor pattern, the system outputs a situational awareness result that includes the event type, spatiotemporal location, and the probability of an accident occurring in the next 5 to 30 seconds, enabling early prediction of abnormal traffic events.
[0013] Secondly, this application also provides a traffic event recognition system based on a large view model, including: Resource integration module: Used to integrate existing front-end video surveillance resources at intersections, road sections, highways, national and provincial roads and rural roads, without adding new hardware equipment, and to complete the adaptation, integration and network debugging of existing monitoring equipment; Video acquisition module: Based on the information from existing monitoring equipment that has been integrated, it is used to collect real-time traffic video image data across the entire area through various front-end monitoring devices and aggregate it into a raw visual dataset of roads; Intelligent recognition module: Based on the original road visual dataset formed by aggregation, it calls the dedicated view large model algorithm for multi-scene traffic events to perform dynamic semantic analysis, target detection and scene determination on real-time video images, accurately identify traffic events, and output preliminary event data; Data verification module: Based on the initial judgment event data output, it performs secondary verification, data cleaning and classification archiving on the recognition results output by the large view model through big data analysis, filters invalid interference data, misidentified data and duplicate data, and confirms valid traffic event information; Early warning push module: Based on confirmed valid traffic incident information, it generates early warning information for various confirmed traffic incidents and pushes it to the traffic management platform and control terminal in real time.
[0014] This application discloses the following technical effects: This application provides a traffic event recognition method and system based on a large-scale view model. It incorporates a specialized multi-scenario traffic event large-scale view model algorithm. Through the collaborative processing of five algorithms—scene adaptive adaptation, multi-level image object detection and encoding, traffic event semantic matching and discrimination, noise reduction and filtering, and model adaptive iteration—it can accurately identify multiple types of core traffic events, covering all dimensions of scenarios including road traffic, facility status, weather and road conditions, safety risks, and abnormal traffic order. Through multi-view perspective deviation correction and complex environment adaptive adaptation, it supports stable recognition in complex environments across multiple perspectives and all time periods. The types of events recognized and the effective recognition rate far exceed those of traditional monitoring equipment, significantly improving perception accuracy and stability.
[0015] This invention eliminates the need to replace existing monitoring equipment, fully utilizing various existing video resources. It expands the intelligent capabilities of traditional non-intelligent monitoring equipment through pure software, revitalizing idle existing equipment resources and significantly reducing hardware procurement and construction costs for smart transportation upgrades. Furthermore, this invention requires no groundbreaking or lengthy debugging and modification, supporting same-day deployment, same-day debugging, and same-day effectiveness, shortening the implementation cycle of intelligent road traffic sensing systems and enabling rapid, comprehensive intelligent monitoring and control.
[0016] This invention utilizes a dual-engine collaborative mechanism of large-scale visual model recognition and multi-dimensional big data verification to effectively filter out false alarms and ensure the authenticity and reliability of early warning information. Combined with a four-level differentiated and graded early warning push strategy, it enables event information to accurately reach the control terminals of management personnel at the corresponding levels, and is equipped with delivery confirmation and reading confirmation tracking mechanisms to form a complete control closed loop, thereby improving the efficiency of road traffic safety control. Attached Figure Description
[0017] Figure 1 This is a flowchart illustrating a traffic event recognition method based on a large view model, provided in an embodiment of this application.
[0018] Figure 2 This is a schematic diagram of the structure of a traffic incident recognition system based on a large view model, provided in an embodiment of this application. Detailed Implementation
[0019] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description of this application will be provided in conjunction with the accompanying drawings. The described embodiments should not be considered as limitations on this application. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0020] Example 1: This application provides a traffic event recognition method based on a large view model, such as... Figure 1 As shown, the method includes: Step S10: Connect to existing front-end video surveillance resources at intersections, road sections, highways, national and provincial roads, and rural roads without adding new hardware equipment, and complete the adaptation, connection, and network debugging of existing surveillance equipment.
[0021] In this step, the device discovery protocol automatically scans the target area for deployed video capture devices, including road surveillance cameras, checkpoint cameras, illegal parking capture cameras, and under-bridge space monitoring devices. Specifically, a device discovery broadcast message is sent to the target network segment. Devices supporting the standard protocol automatically return monitoring device information upon receiving the broadcast, obtaining metadata information such as the device's network address, brand and model, video output format, and protocol type, thus completing the automatic registration and cataloging of the devices.
[0022] For existing surveillance equipment of different types and brands, a built-in multi-protocol adaptation engine is used for protocol conversion, supporting ONVIF, GB / T 28181, RTSP, and proprietary SDK video transmission protocols. First, the protocol type returned by the device is automatically identified, and then the corresponding protocol parser is loaded to uniformly convert the video streams from heterogeneous devices into standard format video data streams. When encountering devices using proprietary SDK protocols, the corresponding brand's SDK dynamic link library is dynamically loaded to decode and convert the video stream of that device into a standard format.
[0023] Each connected video source undergoes network debugging and real-time status monitoring: Video stream request commands are sent to the device to verify whether the video stream can be retrieved normally; the timestamp of the video stream is synchronized with the standard time; and the image output of the video stream is verified to be normal. Real-time status monitoring includes: video signal connectivity monitoring (detecting disconnections), image quality monitoring (including at least one of sharpness, brightness, and contrast), and time synchronization status monitoring. When a video source experiences a disconnection or image quality degradation, fault information is automatically recorded and an alarm is issued. Understandably, real-time status monitoring ensures the continuous and stable availability of video sources, providing reliable video data input for subsequent intelligent recognition. Simultaneously, the proactive fault detection mechanism reduces the cost of manual inspection.
[0024] Step S20: Based on the information of the existing monitoring equipment that has been connected, collect real-time traffic video image data of the entire area through various front-end monitoring equipment, and collect them to form the original visual dataset of the road.
[0025] This step retrieves video stream data in real time from each existing monitoring device, creating an independent acquisition thread for each video source and employing an asynchronous non-blocking I / O model to ensure the performance of concurrent retrieval of multiple video streams.
[0026] Three types of raw data are collected uniformly: road video streams, i.e., continuous dynamic video footage; static captured frames, i.e., static images captured from the video stream at preset intervals; and location spatiotemporal information, i.e., structured parameters such as device number, road segment, shooting angle, and acquisition time. These three types of data are synchronously bound and aggregated to form a raw road visual dataset.
[0027] The raw road video stream is decoded into a continuous sequence of image frames. Key image frames are extracted according to a preset sampling frequency. In this embodiment, a sampling frequency of 2 frames / second is used for conventional road scenes, and 5 frames / second is used for highway sections or accident-prone sections. Further image preprocessing is performed on the extracted key image frames, including denoising (using Gaussian filtering or bilateral filtering to remove image noise), contrast enhancement (using histogram equalization or adaptive histogram equalization to improve contrast), and brightness correction (using gamma correction to adjust image brightness). All preprocessed key image frames are then uniformly scaled to the input size required for the large-scale view model of multi-scene traffic events. Each key image frame is labeled with a precise timestamp and corresponding device location information, accurate to the millisecond level. The device location information includes latitude and longitude coordinates and the road name.
[0028] Step S30: Based on the original road visual dataset formed by aggregation, the algorithm of the large view model dedicated to multi-scene traffic events is called to perform dynamic semantic analysis, target detection and scene determination on real-time video images, accurately identify traffic events, and output preliminary event data.
[0029] This step performs three levels of automated data preprocessing on the aggregated original visual dataset of roads: The first level, environmental interference data removal: invalid frames are batch-filtered out by detecting changes in lighting, lens occlusion ratio, image jitter amplitude, and black screen / disconnection states in the video frame. Specifically, the rate of change of the average brightness between consecutive frames is calculated, and a change rate exceeding 50% is identified as a change in lighting; the response value of the edge detection operator is used to determine whether lens occlusion has occurred; and the device jitter amplitude is determined by the inter-frame displacement vector.
[0030] The second level is redundant data deduplication: For multiple images captured at the same location within the same time period, the perceptual hash value is calculated. The images that are repeatedly captured or identified with the same source and whose hash value similarity exceeds 95% are deduplicated, and only the one with the best quality is retained.
[0031] The third stage is image standardization processing: unifying the screen resolution (preferably 1920×1080), frame rate (preferably 25fps), and color gamut parameters (preferably RGB color space), and correcting the distortion of the screen from a tilted perspective through perspective transformation, outputting a standardized and compliant image dataset.
[0032] The standardized and compliant image dataset, after undergoing three levels of automated data preprocessing, is input into a large-scale view model specifically designed for multi-scenario traffic events. This model is custom-developed based on a visual Transformer architecture and incorporates five major modules: scene adaptive adaptation algorithm, multi-level image object detection and encoding algorithm, traffic event semantic matching and discrimination algorithm, noise reduction and filtering algorithm, and model adaptive iterative algorithm. These modules work collaboratively in sequence to form a complete closed-loop chain of scene adaptation, object encoding, semantic discrimination, noise filtering, and iterative optimization. The specific processing flow is as follows: The large-scale model of dedicated view for multi-scenario traffic events first uses the encoder structure of the visual Transformer to process the input image into blocks, dividing the image into fixed-size image blocks and mapping them into vector sequences. Then, it captures the global dependencies between different regions in the image through a multi-head self-attention mechanism to understand the spatial positional relationships and motion interaction relationships between multiple targets in the traffic scene.
[0033] The large-scale model of traffic event-specific view for multiple scenarios decomposes data into three dimensions: image target features, scene features, and behavioral features. It integrates the feature data of the three dimensions into a unified traffic event-specific feature vector, simultaneously determines the location and scope of the event, and outputs preliminary event data with feature labels.
[0034] Simultaneously with the aforementioned feature extraction process, the scene adaptive adaptation algorithm performs adaptive calibration of the front-end data in parallel. The algorithm automatically reads the front-end monitoring camera position parameters (installation height, pitch angle, horizontal deflection angle) and environmental parameters (time period information, weather forecast data) corresponding to the video source, and performs the following phase adaptation and environmental adaptation: In terms of camera position adaptation: by detecting the vanishing point of lane lines in the video frame (using Hough transform to detect lane lines and calculate the intersection of extension lines), vehicle orientation angle (by detecting the main axis direction of the vehicle), and road edge geometric features, the shooting perspective type of the current camera position is automatically identified; after identifying the perspective type, the corresponding perspective transformation matrix is applied to map the target coordinates under different perspectives to a unified bird's-eye view coordinate system to eliminate the impact of perspective differences on subsequent target positioning and trajectory tracking.
[0035] In terms of environmental adaptation: Based on the current time period and weather conditions, the corresponding sub-algorithms are invoked, including the strong light suppression sub-algorithm, which suppresses overexposed areas of strong light through adaptive highlight cropping and local tone mapping; the night infrared enhancement sub-algorithm, which improves the recognizability of night images through contrast stretching and restoration of dark details; the rain and fog noise reduction sub-algorithm, which achieves defogging based on dark channel priors and transmittance estimation; and the backlight shadow removal algorithm, which eliminates the subject's darkness and shadow interference under backlight conditions through adaptive gamma correction and shadow compensation.
[0036] The image enhanced by the scene adaptive adaptation algorithm is then input into a multi-level image target detection and encoding algorithm. Utilizing the target features and scene features extracted by the model, the algorithm performs layered image semantic encoding, progressively transforming the original pixels into structured traffic semantic information, specifically including: Road base segmentation: Semantic segmentation networks such as DeepLabV3+ are used to perform pixel-level classification of images, locking in the effective recognition range of lane lines, guardrails, traffic lights and road surface areas, and eliminating interfering targets such as buildings, green plants and birds; Multi-target dynamic tracking: Based on the effective road surface range defined in the first layer, the YOLOv11 target detection network is used to detect four categories of targets in real time: motor vehicles, non-motor vehicles, pedestrians and road debris. Each detected target is correlated and tracked across frames through multi-target tracking algorithms such as DeepSORT, and motion behavior parameters such as position, displacement velocity, direction angle, trajectory and dwell time of each target are calculated in real time. State perception and recognition: Through an independent meteorological classification network and facility status detection network, the current meteorological status and traffic facility operation status are identified, and the judgment criteria for static events such as fog and traffic light malfunctions are matched to output road surface status parameters.
[0037] The structured traffic semantic data is input into the traffic event semantic matching and discrimination algorithm. The algorithm has a built-in road traffic law knowledge base and event judgment threshold base. For example, the judgment threshold for abnormal parking is that the target in the road area is stationary for ≥30 seconds and is not in a parking space; the judgment threshold for queue overflow is that the length of the vehicle queue in the intersection exceeds the center line of the intersection and lasts for more than 10 seconds.
[0038] The algorithm first transforms the target motion behavior parameters and road surface state parameters output from multi-level target detection encoding into standardized traffic semantic descriptions. Then, it performs a point-to-point matching of preset event determination logic, including: When the multi-level coding detects that a vehicle is stationary in a road area and not in a parking space, the semantic matching algorithm calculates its dwell time. When the dwell time is ≥30 seconds, the behavior is transformed into a standardized semantic description "the vehicle is abnormally parked in a no-parking area". The algorithm matches the abnormal parking judgment logic in the threshold library and outputs the violation event "abnormal parking". When a vehicle is detected to be traveling on a highway with its velocity vector direction opposite to the prescribed direction of travel and its speed > 0.1 m / s, a "reversing on highway" event is output. When the length of the queued vehicles exceeds the center line of the intersection and the duration is ≥10 seconds, output the "intersection queue overflow" event; When the status sensor detects that all phases of the traffic light are simultaneously red or all phases are off for more than 5 seconds, it outputs a "traffic light malfunction" event. When multi-target dynamic tracking detects a sudden change in speed of ≥80% and overlapping relative positions at the intersection of multiple vehicle trajectories, a "traffic accident" event is output.
[0039] The traffic incident semantic matching and discrimination algorithm outputs candidate events, which are then filtered by a noise reduction and filtering algorithm before being officially output. This algorithm has a built-in normal traffic behavior sample library, which contains a large number of manually labeled compliant traffic behavior feature vector templates. The specific filtering mechanism is as follows: The noise reduction and filtering algorithm extracts the standardized traffic semantic description of the current candidate event, transforms it into a feature vector, and then calculates the cosine similarity with the feature vector templates of various compliant behaviors in the sample library. When the similarity exceeds a preset threshold (preferably 85%), it is judged as a compliant behavior and filtered out from the event output. For example, a bus temporarily slows down and moves to the right when entering a station. Although it is detected as "abnormal parking" by multi-level coding, its behavioral characteristics (deceleration curve, parking position within the bus bay, and duration conforming to the station entry pattern) have a similarity of 92% with the "compliant bus entry" template, exceeding the preset threshold. Therefore, it is judged as a compliant behavior and removed from the event output.
[0040] The effective event data after noise reduction and filtering, together with the data verification results and manual review results of subsequent step S40, constitute the input of the model adaptive iterative algorithm; the algorithm collects the above-mentioned backflow data into the model training pool and performs the following adaptive optimization: When the same type of false alarm occurs frequently on a specific road segment, the algorithm automatically analyzes the characteristics of the false alarm. For example, if a road segment frequently triggers "abnormal parking" false alarms due to buses entering the station, the algorithm analysis finds that the parking time of buses entering the station on this road segment is generally 25-35 seconds, which is close to the abnormal parking threshold of 30 seconds. The algorithm automatically raises the threshold for judging the dwell time of abnormal parking on this road segment to 40 seconds. When the detection accuracy of a certain type of target deviates in a specific scenario (such as a decrease in the detection rate of non-motorized vehicles at night), the algorithm automatically increases the feature weight of that type of target in the corresponding scenario and adjusts the NMS (non-maximum suppression) threshold and confidence threshold. Regularly summarize the returned data, including positive and negative samples that have been manually verified, and perform incremental training of the model. Incremental training uses a low learning rate to fine-tune small batches of data, adapting to the new data distribution while keeping the original knowledge intact.
[0041] Understandably, the five algorithms mentioned above work collaboratively in a pipeline manner. Scene adaptive adaptation provides input images of uniform quality and consistent coordinate system for subsequent detection; multi-level encoding transforms pixels into structured traffic semantic data; semantic matching and discrimination transforms structured data into standardized traffic events; noise reduction filtering removes false positives of compliant behavior from the event output, significantly reducing the false positive rate; and adaptive iteration continuously optimizes model parameters using feedback data. Through the global long-range dependency modeling capability of the visual Transformer architecture, the model can accurately understand the interaction relationships between multiple targets in complex traffic scenarios, improving the recognition accuracy in complex scenarios such as dense traffic flow and intersections.
[0042] Step S40: Based on the initial judgment event data output, the recognition results output by the large view model are verified a second time, cleaned and classified for archiving through big data analysis, filtering out invalid interference data, misidentified data and duplicate data, and confirming valid traffic event information.
[0043] This step performs a secondary verification on the initial judgment event data with feature labels output in step S30, including: Historical comparison with similar locations: Retrieve historical database records of similar events at this location within the past 90 days and calculate the similarity between the current event characteristics and historical event characteristics. Specifically, compare the event's temporal distribution characteristics (such as weekdays / holidays, peak / off-peak periods), spatial distribution characteristics (precise location offset of the event), and environmental correlation characteristics (correlation between the event and weather / lighting conditions) with historical data. When the similarity is less than 30%, it is marked as a logically questionable event and enters the subsequent verification process based on auxiliary data linkage.
[0044] Auxiliary data linkage: Link traffic flow detector data (flow rate, speed, time occupancy), vehicle detector data, and equipment operating condition data for cross-verification. For example, when the large view model identifies a "road congestion" event but the traffic flow speed detector data for the road segment is normal (speed > 40km / h), it is judged as an occasional interference identification result and is discarded.
[0045] Based on the valid preliminary judgment data retained after the above verification, the big data verification engine cross-compares four types of auxiliary data for the target road segment during the time of the explicit traffic incident. This auxiliary data includes: Vehicle GPS trajectory data: Retrieve the GPS trajectory point sequence of all vehicles passing through the accident section during the time of the incident from the vehicle network platform, and analyze whether there are multiple vehicles simultaneously / successively slowing down and stopping, or whether there are multiple vehicles detouring to avoid danger; Traffic flow speed data: Obtain the time average vehicle speed and spatial average vehicle speed of the accident section from road microwave radar or geomagnetic detectors; Occupancy data: Obtain the road time occupancy rate and spatial occupancy rate of the accident section; and historical event database: Retrieve past event records of this point.
[0046] Taking a identified "abnormal parking" event as an example, the large-scale model identifies a vehicle stationary for ≥35 seconds on a certain road segment. The big data verification engine retrieves the vehicle's GPS trajectory, confirming that the vehicle did indeed have a trajectory point with a speed of 0 at the corresponding spatiotemporal location. Traffic flow speed data is retrieved, confirming that the upstream speed on that road segment was normal (45 km / h) while the downstream speed suddenly dropped (5 km / h) during that period. Historical databases are retrieved, confirming that the frequency of historical abnormal parking records at that location matches the pattern of this event. Based on the consistency verification of the above multi-dimensional data, the output verification confidence level is 95%.
[0047] Furthermore, based on the potential traffic risk patterns in the preliminary event data with feature labels output in step S30, reverse tracking verification is performed. Specifically, when the large view model identifies a "potential rear-end collision precursor" (the following vehicle continues to accelerate and the headway continuously shortens to ≤1.0 seconds), reverse tracking verification is initiated. Within a preset future time window (preferably 10 seconds), the real-time physical traffic parameter change trend of the target road segment is continuously tracked: tracking the real-time headway change between the following and preceding vehicles; tracking the acceleration change of the following vehicle; and tracking the speed change of the preceding vehicle. If the evolution trend of the above parameters within the time window is consistent with the evolution path corresponding to the potential traffic risk pattern (the headway further shortens to ≤0.8 seconds, and the following vehicle continues to accelerate), the prediction is confirmed to be accurate, and a Level I emergency warning is triggered. If the above parameters return to the normal range within the time window (the headway returns to ≥2.0 seconds, and the following vehicle decelerates), it is determined to be a false alarm, and the warning is automatically closed.
[0048] Understandably, the reverse tracking and verification mechanism solves the problem of the inability to verify prediction results in real time in predictive identification. In traditional solutions, predictive analysis is often unreliable due to the lack of real-time verification methods; this invention effectively distinguishes between real danger precursors and occasional abnormal behaviors by tracking the actual evolution trend of the physical world within a future time window and verifying current predictions with future data, thus ensuring the reliability of prediction results.
[0049] Finally, the traffic incident data that passed the verification at each stage was standardized in format. Specifically, the field names, data types, time formats, and coordinate formats of all incident data were unified to a preset standard format. For example, all times were standardized to ISO 8601 format, and all coordinates were standardized to the GCJ-02 coordinate system. Subsequently, the standardized incident data was deduplicated: duplicate events were jointly determined based on the similarity of event type (≥90%), time interval (≤60 seconds), and spatial distance (≤50 meters), and only the first record was retained. The cleaned and valid traffic incident information was classified, stored, and archived according to event type, occurrence time, occurrence location, and severity, retaining the true and valid structured data of traffic incidents.
[0050] Step S50: Based on the confirmed valid traffic incident information, generate early warning information for the confirmed traffic incidents and push it to the traffic management platform and control terminal in real time.
[0051] In this embodiment, this step encapsulates the valid event data archived and retained in step S40 to generate a complete event data package. The encapsulated content includes: video clips (5 seconds before and after) and keyframe screenshots of the time period when the event occurred, the precise location and time of the event, standardized event classification codes, and automatically matched corresponding handling suggestions based on the event type and severity (such as suggesting contacting the vehicle owner to move the car and activating the information board on that road segment to prompt vehicles behind to give way when an abnormal parking event is identified).
[0052] Based on the generated complete event data packet, confirmed traffic incidents are classified into four warning levels according to event type, severity, and scope of impact: Level I Emergency: Corresponds to major traffic accidents, incidents involving casualties, or high-probability accident precursors confirmed through reverse tracing and verification. Triggering this highest-level alert will trigger a simultaneous push notification via four channels: telephone voice calls, SMS, app push notifications, and large-screen pop-ups, requiring immediate response.
[0053] Level II Severe Incident: Corresponds to general traffic accidents or large-scale traffic congestion (congestion length ≥ 2 km or duration ≥ 30 minutes). A response is required within 5 minutes via SMS and app notification.
[0054] Level III General Incidents: These correspond to illegally parked vehicles, pedestrians trespassing, or road construction obstructing traffic. A response within 15 minutes is required, via app notifications and system logs.
[0055] Level IV alert events correspond to abnormal traffic flow (such as a sudden increase in traffic volume of more than 20%), foggy weather, or road hazards (such as debris on the road that does not affect traffic). These events are handled through recording and periodic summaries, not through immediate notifications.
[0056] Understandably, the aforementioned four-level differentiated early warning mechanism changes the problem of information overload or overwhelming of key information caused by the traditional one-size-fits-all approach. It ensures that managers at different levels only receive early warning information relevant to their responsibilities, thereby improving the effective reach and processing efficiency of information.
[0057] Based on the warning level, the system automatically sends warning information in parallel through a combination of channels: SMS gateway, instant messaging tools, dedicated APP push notifications, web system pop-ups, and electronic displays. Each warning push notification is then tracked for delivery and read confirmation. Delivery confirmation is achieved through the receipt mechanisms of each channel (SMS gateway returns sending status, APP push notification returns device delivery status); read confirmation is achieved through user reading of APP messages, clicking links, etc. A confirmation timeout mechanism is set (3 minutes for Level I events, 5 minutes for Level II events, and 10 minutes for Level III events). If the warning information is not confirmed for reading within the above time limits, the push method is automatically escalated (e.g., from SMS to telephone voice, from APP push notification to SMS + telephone).
[0058] In addition, the valid event data archived in step S40 is synchronized to the background sample database; simultaneously, the model misjudgments and occasional interference identification results identified through secondary verification in step S40 are fed back to the model training pool as negative samples. Specifically, in the background sample database, each traffic event data contains a complete record of the identification, verification, push, and handling chain; positive samples (accurate identifications confirmed by manual review) are used to enhance the model's ability to identify specific scenarios; negative samples (false alarms and missed alarms confirmed by verification) are used for model correction training. The negative sample feedback follows the principle of classification before training: negative samples are automatically classified and stored according to the type of false alarm (environmental false alarms, behavioral false alarms, algorithm false alarms), and the model is fine-tuned according to the category-balanced sampling strategy during incremental training to ensure that the model does not introduce new biases while correcting errors.
[0059] After an incident is handled, the personnel involved report the results through the system. These results include: incident verification status (true / false alarm), on-site handling measures (traffic control / obstacle clearing / rescue), handling time, and evaluation of the handling effectiveness. The complete handling results are recorded and linked to the corresponding incident data package, forming a complete closed-loop management system from incident identification, data verification, tiered early warning, handling response, result feedback to model iteration.
[0060] Example 2: The traffic incident recognition system based on a large view model provided in this embodiment of the invention can execute the traffic incident recognition method based on a large view model provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method, such as... Figure 2 As shown, it includes: Resource integration module: Used to integrate existing front-end video surveillance resources at intersections, road sections, highways, national and provincial roads and rural roads, without adding new hardware equipment, and to complete the adaptation, integration and network debugging of existing monitoring equipment; Video acquisition module: Based on the information from existing monitoring equipment that has been integrated, it is used to collect real-time traffic video image data across the entire area through various front-end monitoring devices and aggregate it into a raw visual dataset of roads; Intelligent recognition module: Based on the original road visual dataset formed by aggregation, it calls the dedicated view large model algorithm for multi-scene traffic events to perform dynamic semantic analysis, target detection and scene determination on real-time video images, accurately identify traffic events, and output preliminary event data; Data verification module: Based on the initial judgment event data output, it performs secondary verification, data cleaning and classification archiving on the recognition results output by the large view model through big data analysis, filters invalid interference data, misidentified data and duplicate data, and confirms valid traffic event information; Early warning push module: Based on confirmed valid traffic incident information, it generates early warning information for various confirmed traffic incidents and pushes it to the traffic management platform and control terminal in real time.
[0061] Although this application makes various references to certain modules in the system according to the embodiments of this application, any number of different modules can be used and run on user terminals and / or servers. The various units and modules included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be achieved; in addition, the specific names of each functional unit are only for easy distinction between each other and are not used to limit the scope of protection of this invention.
[0062] The specific embodiments described above do not constitute a limitation on the scope of protection of this application. Those skilled in the art should understand that various modifications, combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this application should be included within the scope of protection of this application. In some cases, the actions or steps described in this application can be performed in a different order than that shown in the embodiments and still achieve the desired results. Furthermore, the processes depicted in the accompanying drawings do not necessarily require a specific or sequential order to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
Claims
1. A traffic event recognition method based on a large view model, characterized in that, The method includes: Step S10: Connect to existing front-end video surveillance resources at intersections, road sections, highways, national and provincial roads and rural roads without adding new hardware equipment, and complete the adaptation, connection and network debugging of existing surveillance equipment. Step S20: Based on the information of the existing monitoring equipment that has been connected, collect traffic video image data of the entire area in real time through various front-end monitoring equipment, and collect them to form the original visual dataset of the road. Step S30: Based on the aggregated original road visual dataset, the algorithm of a large-scale view model for multi-scene traffic events is called to perform dynamic semantic analysis, object detection, and scene determination on real-time video images, accurately identify traffic events, and output preliminary event data: Based on the aggregated original visual dataset of roads, a three-level automated data preprocessing is performed: Level 1: Environmental interference data removal: batch filtering out invalid frames generated by sudden changes in light and shadow, lens occlusion, equipment shake, and black screen disconnection; Level 2: Redundant data deduplication: removing duplicate captures and duplicate identifications of the same source at the same location and time; Level 3: Image standardization processing: unifying image resolution, frame rate, and color gamut parameters, correcting image distortion from tilted perspectives, and outputting a standardized and compliant image dataset. The standardized compliant image dataset is input into a large-scale view model dedicated to traffic events in multiple scenarios. This model is custom-developed based on the visual Transformer architecture and incorporates scene adaptive adaptation algorithms, multi-level image target detection and encoding algorithms, traffic event semantic matching and discrimination algorithms, noise reduction and filtering algorithms, and model adaptive iteration algorithms. It is used to decompose image target features, scene features, and behavioral features from the standardized compliant image dataset, quantify and label traffic event-specific feature vectors, simultaneously determine the location and impact range of the event, and output preliminary event data with feature labels. The scene adaptive adaptation algorithm reads the camera position parameters and environmental parameters of the front-end monitoring device, performs camera position adaptation and environmental adaptation, eliminates perspective deviation from different shooting angles, unifies the model's visual coordinate system, and adapts to complex working conditions such as day and night, rain, fog, and backlight. The multi-level image target detection and coding algorithm locks the effective recognition range of the road and eliminates interfering targets through a semantic segmentation network. It detects motor vehicles, non-motor vehicles, pedestrians and road debris in real time and calculates motion parameters through target detection and multi-target tracking algorithms. It also identifies weather conditions and traffic facility operation status simultaneously. The traffic event semantic matching and discrimination algorithm transforms the target motion behavior parameters and road surface state parameters into standardized traffic semantic descriptions and matches them with preset event judgment logic through the built-in road traffic law knowledge base and event judgment threshold base. The noise reduction and filtering algorithm compares the currently identified behavior patterns with the sample library of normal traffic behavior through a built-in sample library. When the similarity exceeds a preset threshold, it is determined to be a compliant behavior and is filtered out. The model adaptive iterative algorithm feeds back the data verification results and manual review results to the model training pool, dynamically updates the judgment threshold and scene feature weights, and performs incremental model training. Step S40 involves using big data analysis to perform secondary verification, data cleaning, and classification archiving of the recognition results output by the large view model, based on the initial judgment data. This filters out invalid interference data, misidentified data, and duplicate data to confirm valid traffic event information. The detailed steps include the following: Step S41: Based on the preliminary judgment event data with feature labels, compare it with the historical event database at the same location to verify the logical rationality of the event occurrence. Combine the auxiliary data of traffic flow, vehicle speed and equipment condition of the linked road section to cross-identify the model's misjudgment and occasional interference identification results, and remove invalid judgment data. Step S42: Based on the valid preliminary judgment data remaining after removing invalid judgment data, retrieve the vehicle GPS trajectory data, traffic flow speed data, occupancy data and historical event database of the target road segment during the time of the incident for the explicit traffic incident and cross-compare them to verify whether the recognition results output by the model conform to the traffic state change law of the physical world. Step S43: Based on the potential traffic risk patterns in the preliminary event data, continuously track the real-time physical traffic parameter change trend of the target road segment within a preset future time window. If the parameter evolution trend is consistent with the evolution path corresponding to the potential traffic risk pattern, the prediction is confirmed to be accurate. If the parameter evolution trend returns to the normal range, it is determined to be a false alarm and the warning is automatically turned off. Step S44: Standardize the format of the event data that has passed the verification in steps S41 to S43, remove duplicate data records, and classify and archive them according to event type, occurrence time, occurrence location and severity, retaining valid structured traffic event data; Step S50: Based on the confirmed valid traffic incident information, generate early warning information for the confirmed traffic incidents and push it to the traffic management platform and control terminal in real time.
2. The traffic event recognition method based on a large view model as described in claim 1, characterized in that, Step S10 includes the following detailed steps: Step S11: Connect to at least one of the following front-end video surveillance resources: road surveillance camera, checkpoint camera, illegal parking capture camera, and under-bridge space monitoring equipment; Step S12: Through the built-in multi-protocol adaptation engine, adaptively identify and convert at least one of ONVIF, GB / T 28181, RTSP and private SDK video transmission protocols to uniformly convert the video streams of heterogeneous monitoring devices into standard format video data streams. Step S13: Perform network debugging and real-time status monitoring on each connected video source, including video signal connectivity monitoring, image quality monitoring, and time synchronization status monitoring.
3. The traffic event recognition method based on a large view model as described in claim 1, characterized in that, Step S20 includes the following detailed steps: Step S21: Real-time video stream data is retrieved from each existing monitoring device via RTSP protocol or GB / T 28181 protocol, and three types of raw data are collected in a unified manner: road video stream, static capture frames, and spatiotemporal information of the location. Step S22: Synchronously bind the device number, road segment, shooting angle, and acquisition time parameters to the three types of raw data, and collect them to form a raw visual dataset of the road. Step S23: Decode the retrieved original road video stream into a continuous sequence of image frames, extract key image frames according to a preset sampling frequency, and perform image preprocessing, including noise reduction, contrast enhancement, and brightness correction. Step S24: Scale all key image frames to the input size required by the large-scale view model of the multi-scenario traffic event, and label each key image frame with a precise timestamp and corresponding device location information.
4. The traffic event recognition method based on a large view model as described in claim 1, characterized in that, Step S50 includes the following detailed steps: Step S51: Encapsulate the valid traffic incident structured data with event capture evidence, spatiotemporal coordinates, event type, and handling suggestion information to generate a complete event data package; Step S52: Based on the event type, severity, and scope of impact, the confirmed traffic incidents are classified into four warning levels: Level I emergencies correspond to major traffic accidents or incidents involving casualties, and are addressed through a combination of push notifications via telephone, SMS, APP, and large-screen pop-ups, with timely responses. Level II serious incidents correspond to general traffic accidents or congestion, and are addressed through SMS and APP notifications, requiring a response within 5 minutes. Level III general incidents correspond to illegally parked vehicles, pedestrians trespassing, or road construction obstructing traffic, and are addressed through APP notifications and system recording, requiring a response within 15 minutes. Level IV alert incidents correspond to abnormal traffic flow, foggy weather, or road hazards, and are handled through system recording and periodic summaries. Step S53: Automatically push the warning information to managers and control terminals at different levels according to the warning level, and send it in parallel through at least one of the following channels: SMS gateway, instant messaging tools, dedicated APP push, Web system pop-up and electronic display screen linkage; Step S54: Confirm delivery and read confirmation for each alert push notification. If the notification is not confirmed within the specified time, the push notification method will be automatically upgraded. Step S55: The archived valid traffic incident data is synchronized to the background sample database. At the same time, the model misjudgment and occasional interference identification results identified through secondary verification are fed back to the model training pool as negative samples to iteratively optimize the model judgment threshold. Step S56: After the incident is handled, the personnel involved will report the handling results through the system, forming a complete closed loop from incident identification, data verification, early warning push to rapid handling.
5. The traffic event recognition method based on a large view model as described in claim 1, characterized in that, The large-scale model of dedicated views for multi-scenario traffic events adopts a three-level sampling and hierarchical recognition strategy: The first level performs low-frequency screening with a sampling interval of 5 to 10 seconds, judging whether there are signs of abnormal traffic conditions in the video image data collected in step S20, and marking the target time period where the abnormality exists; the second level performs fine detection based on the target time period marked by the first level with a sampling interval of 1 to 2 seconds, identifying specific event types and determining the key moment when the event has occurred or is about to occur; the third level performs confirmation detection based on the video segment where the key moment determined by the second level is located with a sampling interval of 0.2 to 0.5 seconds, and outputs accurate recognition results; The large-scale model of dedicated view for multi-scenario traffic events is also used to identify traffic accident precursor patterns. These precursor patterns include at least one of the following: a combination of vehicle deceleration and lane change trajectories; a combination of pedestrians entering the lane and vehicles not decelerating; a combination of multiple vehicles changing lanes simultaneously with excessively close distances; and a non-motorized vehicle entering the motor vehicle lane against the flow of traffic and being in a blind spot. After identifying the precursor pattern, the system outputs a situational awareness result that includes the event type, spatiotemporal location, and the probability of an accident occurring in the next 5 to 30 seconds, enabling early prediction of abnormal traffic events.
6. A traffic incident recognition system based on a large view model, characterized in that, The system is used to implement the traffic event recognition method based on a large view model as described in any one of claims 1-5, and the system comprises: Resource integration module: Used to integrate existing front-end video surveillance resources at intersections, road sections, highways, national and provincial roads and rural roads, without adding new hardware equipment, and to complete the adaptation, integration and network debugging of existing monitoring equipment; Video acquisition module: Based on the information from existing monitoring equipment that has been integrated, it is used to collect real-time traffic video image data across the entire area through various front-end monitoring devices and aggregate it into a raw visual dataset of roads; Intelligent recognition module: Based on the original road visual dataset formed by aggregation, it calls the dedicated view large model algorithm for multi-scene traffic events to perform dynamic semantic analysis, target detection and scene determination on real-time video images, accurately identify traffic events, and output preliminary event data; Data verification module: Based on the initial judgment event data output, it performs secondary verification, data cleaning and classification archiving on the recognition results output by the large view model through big data analysis, filters invalid interference data, misidentified data and duplicate data, and confirms valid traffic event information; Early warning push module: Based on confirmed valid traffic incident information, it generates early warning information for various confirmed traffic incidents and pushes it to the traffic management platform and control terminal in real time.
Citation Information
Patent Citations
Road traffic incident identification and early warning method and system
CN119380538A
Video traffic incident intelligent detection system and method based on end-side cloud cooperation
CN121982662A
Highway abnormal event grading dynamic alarm method based on image analysis
CN122676448A
