Traffic safety analysis method and system based on big data

Through the traffic safety analysis method based on big data, the traffic safety analysis network is used to perform parameter learning and optimization of traffic monitoring video clips, which solves the problem of inefficiency of traditional methods and achieves efficient and intelligent traffic safety analysis.

CN118570744AInactive Publication Date: 2024-08-30YOUQIAN (SHENZHEN) TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410615120.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-17
Publication Date
2024-08-30
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Traditional traffic safety analysis methods are inefficient, poor in real-time performance, difficult to fully cover all traffic scenarios, and lack automation and real-time analysis capabilities.

Method used

Adopt a traffic safety analysis method based on big data, conduct network parameter learning on traffic surveillance video clips through the traffic safety analysis network, generate traffic safety analysis errors, and update the network learning parameter information when the error does not meet the convergence requirements, optimizing the global network learning parameters , until the error converges, achieving efficient analysis of any input video clip.

Benefits of technology

It significantly improves the accuracy and efficiency of traffic safety analysis, enhances the intelligence level of traffic safety monitoring, and ensures the depth and comprehensiveness of online learning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570744A
    Figure CN118570744A
Patent Text Reader

Abstract

The embodiment of the invention provides a traffic safety analysis method and system based on big data, and the method comprises the steps: training a traffic safety analysis network through basic network learning parameters and sample traffic monitoring video clips, evaluating the network performance through calculating a traffic safety analysis error, and if the traffic safety analysis error does not reach a convergence standard, judging whether the traffic safety analysis error reaches the convergence standard or not; and if not, updating the network learning parameters, and sending the updated network learning parameters to the training computing node for optimization so as to obtain global network learning parameters. The process is cyclically carried out until the traffic safety analysis error meets the convergence requirement, and it is marked that network parameter learning is completed. Finally, the fully trained traffic safety analysis network can perform efficient and accurate traffic safety analysis on video clips in any input traffic monitoring big data. According to the method, big data processing and deep learning technologies are combined, and the intelligent level of traffic safety analysis is remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of traffic monitoring technology, and more specifically, to a traffic safety analysis method and system based on big data. Background Art

[0002] With the rapid development of society and the acceleration of urbanization, traffic problems have become increasingly prominent, and traffic safety has become the focus of social attention. Traditional traffic safety analysis methods mainly rely on manual observation and accident statistics. However, this method is inefficient, has poor real-time performance, and is difficult to fully cover all traffic scenarios. Therefore, it is particularly important to develop a method that can automatically, in real time, and comprehensively analyze traffic safety situations. Summary of the invention

[0003] In view of this, the purpose of this application is to provide a traffic safety analysis method and system based on big data.

[0004] In conjunction with the first aspect of the present application, a traffic safety analysis method based on big data is provided, which is applied to a traffic safety analysis system based on big data, and the method comprises:

[0005] Based on the basic network learning parameter information and the sample traffic monitoring video clips, network parameter learning is performed on the traffic safety analysis network to generate a traffic safety analysis error of the traffic safety analysis network;

[0006] When the traffic safety analysis error does not meet the error convergence requirement, the basic network learning parameter information is updated to generate updated network learning parameter information, and the updated network learning parameter information is sent to the training computing node to instruct the training computing node to optimize the updated network learning parameter information to obtain the global network learning parameter information;

[0007] Acquire the global network learning parameter information, and perform network parameter learning on the traffic safety analysis network based on the global network learning parameter information and the sample traffic monitoring video clips, until the traffic safety analysis error of the traffic safety analysis network meets the error convergence requirement, and the traffic safety analysis network completes network parameter learning;

[0008] Based on the traffic safety analysis network that has completed network parameter learning, traffic safety analysis is performed on any traffic monitoring video clips in the input traffic monitoring big data.

[0009] In a possible implementation of the first aspect, the performing network parameter learning on the traffic safety analysis network based on the basic network learning parameter information and the sample traffic monitoring video clip to generate the traffic safety analysis error of the traffic safety analysis network includes:

[0010] Based on the basic video semantic coding unit in the basic network learning parameter information, the sample traffic monitoring video clip is subjected to video semantic coding, and video semantic coding features and semantic clustering cluster centers of the video semantic coding features are generated;

[0011] Calculating the traffic safety analysis error of the traffic safety analysis network based on the video semantic coding features and the semantic clustering cluster centers of the video semantic coding features;

[0012] Based on the traffic safety analysis error and the error convergence requirement, it is determined whether to update the semantic clustering cluster centers of the basic video semantic coding unit and the video semantic coding features.

[0013] In a possible implementation of the first aspect, the updating of the network learning parameter information includes initializing the video semantic coding unit and adding the clustering centers of the video semantic coding features after ciphertext is added, and when the traffic safety analysis error does not meet the error convergence requirement, updating the basic network learning parameter information to generate the updated network learning parameter information, including:

[0014] If the traffic safety analysis error of the traffic safety analysis network does not meet the error convergence requirement, updating the parameter information of the basic video semantic coding unit to generate an initialization video semantic coding unit;

[0015] Extracting video semantic coding features in the sample traffic monitoring video clip based on the initialized video semantic coding unit;

[0016] The video semantic coding features are clustered in the traffic safety analysis network to generate cluster centers of the video semantic coding features after adding ciphertext.

[0017] In a possible implementation manner of the first aspect, clustering the video semantic coding features in the traffic safety analysis network to generate clustered cluster centers of the video semantic coding features after adding ciphertext includes:

[0018] Based on the traffic safety analysis network, clustering the video semantic coding features to generate feature clusters of the video semantic coding features;

[0019] Based on a data aggregation algorithm, determining the cluster center of each of the feature clusters;

[0020] The cluster centers of each of the feature clusters are randomly disturbed to generate cluster centers of the video semantic coding features after adding ciphertext.

[0021] In a possible implementation of the first aspect, the global network learning parameter information includes an optimized video semantic coding unit and a feature clustering cluster center after adding ciphertext to multiple network training nodes, and the step of generating a training error parameter corresponding to the error convergence requirement includes:

[0022] For each video semantic coding feature, based on the feature error parameter between the video semantic coding feature and the semantic cluster center of the video semantic coding feature, the deviation error parameter between the video semantic coding feature and other semantic cluster centers in the sample traffic monitoring video clip, and the deviation error parameter between the feature cluster center of the sample traffic monitoring video clip after adding ciphertext and the feature cluster centers of other network training nodes included in the global network learning parameter information after adding ciphertext, determine the global traffic safety analysis error;

[0023] Based on the feature error parameters between each of the video semantic coding features in the sample traffic monitoring video clip and the semantic clustering centers of the video semantic coding features and the global traffic safety analysis error, the traffic safety analysis error of each video semantic coding feature is calculated.

[0024] In a possible implementation of the first aspect, for each video semantic coding feature, based on the feature error parameter between the video semantic coding feature and the semantic cluster center of the video semantic coding feature, the deviation error parameter between the video semantic coding feature and other semantic cluster centers in the sample traffic monitoring video clip, and the deviation error parameter between the feature cluster center after adding ciphertext to the sample traffic monitoring video clip and the feature cluster centers after adding ciphertext to other network training nodes included in the global network learning parameter information, the calculation formula for determining the global traffic safety analysis error includes:

[0025] E_global=Σ(α*E_feature,i+β*E_deviation,i+γ*E_network_deviation,i)

[0026] Among them, the feature error parameter E_feature represents the difference between the video semantic coding feature and its semantic cluster center, which is measured by calculating the Euclidean distance or cosine similarity between the video semantic coding feature and its semantic cluster center;

[0027] The E_global represents the global traffic safety analysis error;

[0028] The deviation error parameter E_deviation represents the degree of deviation between the video semantic coding feature and the cluster centers of other semantic clusters in the sample traffic monitoring video clips, which is measured by calculating the average distance or similarity between the video semantic coding feature and the cluster centers of other semantic clusters in the sample traffic monitoring video clips;

[0029] The network node deviation error parameter E_network_deviation represents the degree of deviation between the feature cluster center of the current sample traffic monitoring video clip after adding ciphertext and the feature cluster center of other network training nodes after adding ciphertext, and is measured by calculating the Euclidean distance or cosine similarity between the feature cluster center of the current sample traffic monitoring video clip after adding ciphertext and the feature cluster center of other network training nodes after adding ciphertext;

[0030] i represents the i-th video semantic coding feature, Σ represents the sum of all error parameters, α, β and γ are weight coefficients, which are used to balance the importance of feature error parameter E_feature, deviation error parameter E_deviation and network node deviation error parameter E_network_deviation respectively.

[0031] In a possible implementation of the first aspect, the calculation formula for calculating the traffic safety analysis error of each video semantic coding feature based on the feature error parameters between each of the video semantic coding features and the semantic clustering clusters of the video semantic coding features in the sample traffic monitoring video clip and the global traffic safety analysis error includes:

[0032] For the i-th video semantic coding feature, the traffic safety analysis error E_traffic_safety_i is calculated as follows:

[0033] E_traffic_safety_i=w1*E_feature_i+w2*(E_global / N)

[0034] in:

[0035] E_feature_i is the feature error between the semantic coding feature of the i-th video and the corresponding semantic cluster center, which is obtained by calculating the Euclidean distance between the semantic coding feature of the i-th video and the corresponding semantic cluster center;

[0036] The E_global is the global traffic safety analysis error;

[0037] N is the total number of video semantic coding features, which is used to evenly distribute the global error to each feature; w1 and w2 are weight coefficients, which are used to adjust the contribution of the feature error parameters and the global traffic safety analysis error to the final traffic safety analysis error.

[0038] In a possible implementation of the first aspect, the step of performing traffic safety analysis on any traffic monitoring video clip in any input traffic monitoring big data based on the traffic safety analysis network that has completed network parameter learning includes:

[0039] The traffic monitoring video clip to be analyzed is input into the traffic safety analysis network that has completed network parameter learning, and a traffic safety analysis result is generated based on the traffic safety analysis network.

[0040] In combination with the second aspect of the present application, a traffic safety analysis system based on big data is provided, wherein the traffic safety analysis system based on big data includes a machine-readable storage medium and a processor, wherein the machine-readable storage medium stores machine-executable instructions, and when the processor executes the machine-executable instructions, the traffic safety analysis system based on big data implements the aforementioned traffic safety analysis method based on big data.

[0041] In conjunction with the third aspect of the present application, a computer-readable storage medium is provided, in which computer-executable instructions are stored. When the computer-executable instructions are executed, the aforementioned traffic safety analysis method based on big data is implemented.

[0042] In combination with any of the above aspects, by learning the network parameters of the traffic safety analysis network based on the basic network learning parameter information and the sample traffic monitoring video clips, the traffic safety analysis error of the traffic safety analysis network can be generated, so as to accurately evaluate the learning effect and performance of the network. When the traffic safety analysis error does not meet the error convergence requirements, the basic network learning parameter information can be updated to generate updated network learning parameter information, and this information can be sent to the training computing node for optimization to obtain the global network learning parameter information. This dynamic adjustment and optimization mechanism can significantly improve the adaptability and accuracy of the network. By continuously obtaining the global network learning parameter information, and continuously learning the network parameters of the traffic safety analysis network based on this information and the sample traffic monitoring video clips until the traffic safety analysis error meets the error convergence requirements, the depth and comprehensiveness of the network learning is ensured, so that the traffic safety analysis network can have higher accuracy and reliability when processing various traffic monitoring video clips. Finally, based on the traffic safety analysis network that has completed the network parameter learning, it is possible to perform efficient traffic safety analysis on any input traffic monitoring video clip, thereby improving the intelligent level of traffic safety monitoring. Therefore, through the combination of big data technology and deep learning methods, efficient learning and optimization of the traffic safety analysis network are achieved, which significantly improves the accuracy and efficiency of traffic safety analysis. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained by combining these drawings without paying creative work.

[0044] Figure 1 A flow chart of a traffic safety analysis method based on big data provided in an embodiment of the present application. DETAILED DESCRIPTION

[0045] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiment of the present invention. Obviously, the described embodiment is only a part of the embodiment of the present invention, not all of the embodiments. According to the embodiment of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0046] The terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, device, product or end that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units inherent to these processes, methods, products or ends.

[0047] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0048] Figure 1 The flowchart of the traffic safety analysis method based on big data provided by the embodiment of the present application is shown. It should be understood that in other embodiments, the order of some steps of the traffic safety analysis method based on big data of this embodiment can be shared with each other according to actual needs, or some steps can be omitted or maintained. The details of the traffic safety analysis method based on big data include:

[0049] Step S110 , based on the basic network learning parameter information and the sample traffic monitoring video clips, network parameter learning is performed on the traffic safety analysis network to generate a traffic safety analysis error of the traffic safety analysis network.

[0050] In this embodiment, the server first loads basic network learning parameter information and sample traffic monitoring video clips. These basic network learning parameters may include initial video semantic encoding rules and parameters, etc., while the sample traffic monitoring video clips are specific data used for training.

[0051] The server starts to process these sample traffic monitoring video clips and uses the basic video semantic coding unit in the basic network learning parameter information for semantic coding. This process can be understood as the server understanding the video content and converting it into a format that can be processed by the computer. During the encoding process, the server will focus on key information in the video, such as vehicle behavior, traffic signs, pedestrian movements, etc., and generate corresponding video semantic coding features.

[0052] Next, the server will cluster these encoded features, that is, classify similar features together, and calculate the center point of each cluster, namely the semantic clustering cluster center, which helps the server process and analyze large amounts of video data more efficiently.

[0053] Finally, the server will calculate the initial traffic safety analysis error of the traffic safety analysis network based on the generated video semantic coding features and the corresponding semantic clustering centers. This initial traffic safety analysis error reflects the difference between the network's current understanding of the video content and the actual traffic safety situation.

[0054] Step S120, when the traffic safety analysis error does not meet the error convergence requirement, the basic network learning parameter information is updated to generate updated network learning parameter information, and the updated network learning parameter information is sent to the training computing node, instructing the training computing node to optimize the updated network learning parameter information to obtain the global network learning parameter information.

[0055] After calculating the initial traffic safety analysis error, the server checks whether the initial traffic safety analysis error meets the preset error convergence requirements. If the initial traffic safety analysis error is too large, it means that the network's understanding of the video content is not accurate enough and parameter adjustment is required.

[0056] The server then starts to update the basic network learning parameter information. This may include adjusting the parameters of the video semantic coding unit, optimizing the feature extraction method, or improving the clustering algorithm. These adjustments are designed to enable the network to capture the key information in the video more accurately.

[0057] After the update is completed, the server will generate new network learning parameter information and send it to the training computing nodes. These nodes may be other servers or computing resources in the distributed computing environment, and they will jointly participate in the optimization process of network parameters.

[0058] After receiving the new network learning parameter information, the training computing node will use its own computing power to optimize the parameters, with the goal of finding the global network learning parameter information that can minimize the error of traffic safety analysis.

[0059] Step S130, obtaining the global network learning parameter information, and performing network parameter learning on the traffic safety analysis network based on the global network learning parameter information and the sample traffic monitoring video clips, until the traffic safety analysis error of the traffic safety analysis network meets the error convergence requirements, and the traffic safety analysis network completes network parameter learning.

[0060] After sending the updated network learning parameter information, the server will wait and receive the optimized global network learning parameter information from the training computing node. These global parameters are obtained by integrating the calculation results of multiple training nodes, so they are more representative and generalizable.

[0061] After receiving the global network learning parameter information, the server will use the sample traffic monitoring video clips to learn the network parameters again. This time, due to the use of more optimized global parameters, the server expects to obtain more accurate video semantic encoding features and clustering results.

[0062] By continuously iterating this process - calculating the traffic safety analysis error, updating the network parameters, obtaining the global parameters and learning again - the server's traffic safety analysis network will gradually approach the actual traffic safety situation until its analysis error meets the preset error convergence requirement. Once this requirement is met, it can be considered that the network has completed effective parameter learning.

[0063] It is of great significance to improve the level of road traffic safety management and prevent traffic accidents.

[0064] Step S140, performing traffic safety analysis on any traffic monitoring video clip in the input traffic monitoring big data based on the traffic safety analysis network that has completed network parameter learning.

[0065] When the traffic safety analysis network completes network parameter learning, the server can use this well-trained network to perform traffic safety analysis on any input traffic monitoring video clip.

[0066] Whenever a new traffic surveillance video clip is input to the server, the server will first use the learned network parameters to perform semantic encoding and feature extraction on the video. Then, based on these features and the knowledge and rules contained in the global network learning parameter information, the server will generate the corresponding traffic safety analysis results. This traffic safety analysis result may include but is not limited to traffic congestion conditions, abnormal vehicle behavior detection, pedestrian violation behavior identification, etc.

[0067] Based on the above steps, by learning the network parameters of the traffic safety analysis network based on the basic network learning parameter information and the sample traffic monitoring video clips, the traffic safety analysis error of the traffic safety analysis network can be generated, so as to accurately evaluate the learning effect and performance of the network. When the traffic safety analysis error does not meet the error convergence requirements, the basic network learning parameter information can be updated to generate updated network learning parameter information, and this information can be sent to the training computing node for optimization to obtain the global network learning parameter information. This dynamic adjustment and optimization mechanism can significantly improve the adaptability and accuracy of the network. By continuously obtaining the global network learning parameter information, and based on this information and the sample traffic monitoring video clips, the traffic safety analysis network is continuously learning the network parameters until the traffic safety analysis error meets the error convergence requirements, the in-depth and comprehensive network learning is ensured, so that the traffic safety analysis network can have higher accuracy and reliability when processing various traffic monitoring video clips. Finally, based on the traffic safety analysis network that has completed the network parameter learning, it can perform efficient traffic safety analysis on any input traffic monitoring video clip, improving the intelligent level of traffic safety monitoring. Therefore, through the combination of big data technology and deep learning methods, efficient learning and optimization of the traffic safety analysis network are achieved, which significantly improves the accuracy and efficiency of traffic safety analysis.

[0068] In a possible implementation, the network parameter learning of the traffic safety analysis network based on the basic network learning parameter information and the sample traffic monitoring video clips to generate the traffic safety analysis error of the traffic safety analysis network includes:

[0069] Based on the basic video semantic coding unit in the basic network learning parameter information, the sample traffic monitoring video clips are subjected to video semantic coding, and video semantic coding features and semantic clustering cluster centers of the video semantic coding features are generated.

[0070] Based on the video semantic coding features and the semantic clustering cluster centers of the video semantic coding features, the traffic safety analysis error of the traffic safety analysis network is calculated.

[0071] Based on the traffic safety analysis error and the error convergence requirement, it is determined whether to update the semantic clustering cluster centers of the basic video semantic coding unit and the video semantic coding features.

[0072] In a possible implementation, the updating network learning parameter information includes initializing the video semantic coding unit and adding the clustering center of the video semantic coding feature after ciphertext, and when the traffic safety analysis error does not meet the error convergence requirement, updating the basic network learning parameter information to generate the updated network learning parameter information, including:

[0073] If the traffic safety analysis error of the traffic safety analysis network does not meet the error convergence requirement, the parameter information of the basic video semantic coding unit is updated to generate an initialized video semantic coding unit.

[0074] Based on the initialized video semantic coding unit, video semantic coding features in the sample traffic monitoring video clip are extracted.

[0075] The video semantic coding features are clustered in the traffic safety analysis network to generate cluster centers of the video semantic coding features after adding ciphertext.

[0076] In a possible implementation, clustering the video semantic coding features in the traffic safety analysis network to generate clustered cluster centers of the video semantic coding features after adding ciphertext includes:

[0077] Based on the traffic safety analysis network, the video semantic coding features are clustered to generate feature clusters of the video semantic coding features.

[0078] Based on the data aggregation algorithm, the cluster centers of the feature clusters are determined.

[0079] The cluster centers of each of the feature clusters are randomly disturbed to generate cluster centers of the video semantic coding features after adding ciphertext.

[0080] In a possible implementation, the global network learning parameter information includes an optimized video semantic coding unit and a feature clustering cluster center after adding ciphertext to a plurality of network training nodes, and the step of generating the training error parameter corresponding to the error convergence requirement includes:

[0081] For each video semantic coding feature, the global traffic safety analysis error is determined based on the feature error parameters between the video semantic coding feature and the semantic cluster center of the video semantic coding feature, the deviation error parameters between the video semantic coding feature and other semantic cluster centers in the sample traffic monitoring video clip, and the deviation error parameters between the feature cluster centers of the sample traffic monitoring video clip after encrypting and the feature cluster centers of other network training nodes included in the global network learning parameter information after encrypting.

[0082] Based on the feature error parameters between each of the video semantic coding features in the sample traffic monitoring video clip and the semantic clustering centers of the video semantic coding features and the global traffic safety analysis error, the traffic safety analysis error of each video semantic coding feature is calculated.

[0083] In a possible implementation, for each video semantic coding feature, based on the feature error parameter between the video semantic coding feature and the semantic cluster center of the video semantic coding feature, the deviation error parameter between the video semantic coding feature and other semantic cluster centers in the sample traffic monitoring video clip, and the deviation error parameter between the feature cluster center of the sample traffic monitoring video clip after adding ciphertext and the feature cluster centers of other network training nodes included in the global network learning parameter information after adding ciphertext, the calculation formula for determining the global traffic safety analysis error includes:

[0084] E_global=Σ(α*E_feature,i+β*E_deviation,i+γ*E_network_deviation,i)

[0085] Among them, the feature error parameter E_feature represents the difference between the video semantic coding feature and its semantic cluster center, which is measured by calculating the Euclidean distance or cosine similarity between the video semantic coding feature and its semantic cluster center.

[0086] The E_global represents the global traffic safety analysis error.

[0087] The deviation error parameter E_deviation represents the degree of deviation between the video semantic coding feature and the cluster centers of other semantic clusters in the sample traffic monitoring video clips, and is measured by calculating the average distance or similarity between the video semantic coding feature and the cluster centers of other semantic clusters in the sample traffic monitoring video clips.

[0088] The network node deviation error parameter E_network_deviation represents the degree of deviation between the feature cluster center of the current sample traffic monitoring video clip after adding ciphertext and the feature cluster centers of other network training nodes after adding ciphertext, and is measured by calculating the Euclidean distance or cosine similarity between the feature cluster centers of the current sample traffic monitoring video clip after adding ciphertext and the feature cluster centers of other network training nodes after adding ciphertext.

[0089] i represents the i-th video semantic coding feature, Σ represents the sum of all error parameters, α, β and γ are weight coefficients, which are used to balance the importance of feature error parameter E_feature, deviation error parameter E_deviation and network node deviation error parameter E_network_deviation respectively.

[0090] In a possible implementation, the calculation formula for calculating the traffic safety analysis error of each video semantic coding feature based on the feature error parameters between each of the video semantic coding features and the semantic clustering centers of the video semantic coding features in the sample traffic monitoring video clip and the global traffic safety analysis error includes:

[0091] For the i-th video semantic coding feature, the traffic safety analysis error E_traffic_safety_i is calculated as follows:

[0092] E_traffic_safety_i=w1*E_feature_i+w2*(E_global / N)

[0093] in:

[0094] E_feature_i is the feature error between the semantic coding feature of the ith video and the corresponding semantic cluster center, which is obtained by calculating the Euclidean distance between the semantic coding feature of the ith video and the corresponding semantic cluster center.

[0095] The E_global is the global traffic safety analysis error.

[0096] N is the total number of video semantic coding features, which is used to evenly distribute the global error to each feature. w1 and w2 are weight coefficients, which are used to adjust the contribution of the feature error parameter and the global traffic safety analysis error in the final traffic safety analysis error.

[0097] In a possible implementation, the step of performing traffic safety analysis on any traffic monitoring video clip in the input traffic monitoring big data based on the traffic safety analysis network that has completed network parameter learning includes:

[0098] The traffic monitoring video clip to be analyzed is input into the traffic safety analysis network that has completed network parameter learning, and a traffic safety analysis result is generated based on the traffic safety analysis network.

[0099] In the above embodiments, the big data-based traffic safety analysis system for executing the above method embodiments has at least one processor, a control module (chip set) coupled to at least one of the (at least one) processors, a memory coupled to the control module, a non-volatile memory (NVM) / storage device coupled to the control module, at least one input / output device coupled to the control module, and a network interface coupled to the control module.

[0100] The processor may include at least one single-core or multi-core processor, and the processor may include any combination of general-purpose processors or special-purpose processors (such as graphics processors, application processors, baseband processors, etc.). For some alternative implementations, the traffic safety analysis system based on big data can be used as a traffic safety analysis system device based on big data such as a gateway described in the embodiments of the present application.

[0101] For some alternative embodiments, the big data-based traffic safety analysis system may include at least one computer-readable medium (e.g., a memory or NVM / storage device) having instructions and at least one processor integrated with the at least one computer-readable medium and configured to execute instructions to implement a module to perform the actions described in the present disclosure.

[0102] For one embodiment, the control module may include any suitable interface controller to provide any suitable interface to at least one of the processor(s) and / or any suitable device or component in communication with the control module.

[0103] The control module may include a memory controller module to provide an interface to the memory. The memory controller module may be a hardware module, a software module, and / or a firmware module.

[0104] The memory may be used, for example, to load and store data and / or instructions for a traffic safety analysis system based on big data. For one embodiment, the memory may include any suitable volatile memory, for example, a suitable DRAM.

[0105] For one embodiment, the control module may include at least one input / output controller to provide an interface to the NVM / storage device and the (at least one) input / output device.

[0106] For example, the NVM / storage device may be used to store data and / or instructions. The NVM / storage device may include any suitable non-volatile memory (e.g., flash memory) and / or may include any suitable (at least one) non-volatile storage device (e.g., at least one hard disk drive (HDD), at least one compact disk (CD) drive, and / or at least one digital versatile disk (DVD) drive).

[0107] The NVM / storage device may include a storage resource that is physically part of the device on which the big data-based traffic safety analysis system is installed, or it may be accessible to the device without being part of the device. For example, the NVM / storage device may be accessed via (at least one) input / output device based on a network.

[0108] (At least one) input / output device may provide an interface for the traffic safety analysis system based on big data to communicate with any other appropriate device, and the input / output device may include a communication component, a phonetic component, a sensor component, etc. The network interface may provide an interface for the traffic safety analysis system based on big data to communicate based on at least one network, and the traffic safety analysis system based on big data may wirelessly communicate with at least one component of a wireless network based on any standard and / or protocol of at least one wireless network standard and / or protocol, such as accessing a wireless network based on a communication standard.

[0109] For one embodiment, at least one of the (at least one) processor may be loaded together with the logic of at least one controller of the control module (e.g., a memory controller module). For one embodiment, at least one of the (at least one) processor may be loaded together with the logic of at least one controller of the control module to form a system level load. For one embodiment, at least one of the (at least one) processor may be integrated on the same die with the logic of at least one controller of the control module. For one embodiment, at least one of the (at least one) processor may be integrated on the same die with the logic of at least one controller of the control module to form a system on chip (SoC).

[0110] The embodiments of the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of ​​the present application. At the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

[0111] An embodiment of the present invention discloses a computer-readable storage medium, which stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute the steps of the traffic safety analysis method based on big data described in the aforementioned embodiment.

[0112] An embodiment of the present invention discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable a computer to execute the steps in the traffic safety analysis method based on big data described in the aforementioned embodiment.

[0113] The device embodiments described above are only illustrative, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative work.

[0114] Through the specific description of the above embodiments, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the above technical solution can be essentially or partly contributed to the prior art in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other medium that can be used to be computer-readable with or store data.

[0115] Finally, it should be noted that what is disclosed above is only a preferred embodiment of the present invention, which is only used to illustrate the technical solution of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, it should be understood by those skilled in the art that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features therein can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims

1. A traffic safety analysis method based on big data, It is characterized in that The method comprises: Based on the basic network learning parameter information and the sample traffic monitoring video clips, network parameter learning is performed on the traffic safety analysis network to generate a traffic safety analysis error of the traffic safety analysis network; When the traffic safety analysis error does not meet the error convergence requirement, the basic network learning parameter information is updated to generate updated network learning parameter information, and the updated network learning parameter information is sent to the training computing node to instruct the training computing node to optimize the updated network learning parameter information to obtain the global network learning parameter information; Acquire the global network learning parameter information, and perform network parameter learning on the traffic safety analysis network based on the global network learning parameter information and the sample traffic monitoring video clips, until the traffic safety analysis error of the traffic safety analysis network meets the error convergence requirement, and the traffic safety analysis network completes network parameter learning; Based on the traffic safety analysis network that has completed network parameter learning, traffic safety analysis is performed on any traffic monitoring video clips in the input traffic monitoring big data.

2. According to the traffic safety analysis method based on big data according to claim 1, It is characterized in that The method of performing network parameter learning on the traffic safety analysis network based on the basic network learning parameter information and the sample traffic monitoring video clips to generate the traffic safety analysis error of the traffic safety analysis network includes: Based on the basic video semantic coding unit in the basic network learning parameter information, the sample traffic monitoring video clip is subjected to video semantic coding, and video semantic coding features and semantic clustering cluster centers of the video semantic coding features are generated; Calculating the traffic safety analysis error of the traffic safety analysis network based on the video semantic coding features and the semantic clustering cluster centers of the video semantic coding features; Based on the traffic safety analysis error and the error convergence requirement, it is determined whether to update the semantic clustering cluster centers of the basic video semantic coding unit and the video semantic coding features.

3. According to the traffic safety analysis method based on big data as claimed in claim 1, It is characterized in that The updating network learning parameter information includes initializing the video semantic coding unit and adding the clustering center of the video semantic coding feature after ciphertext, and when the traffic safety analysis error does not meet the error convergence requirement, updating the basic network learning parameter information to generate the updated network learning parameter information, including: If the traffic safety analysis error of the traffic safety analysis network does not meet the error convergence requirement, updating the parameter information of the basic video semantic coding unit to generate an initialization video semantic coding unit; Extracting video semantic coding features in the sample traffic monitoring video clip based on the initialized video semantic coding unit; The video semantic coding features are clustered in the traffic safety analysis network to generate cluster centers of the video semantic coding features after adding ciphertext.

4. The traffic safety analysis method based on big data according to claim 3, It is characterized in that The step of clustering the video semantic coding features in the traffic safety analysis network to generate cluster centers of the video semantic coding features after adding ciphertext includes: Based on the traffic safety analysis network, clustering the video semantic coding features to generate feature clusters of the video semantic coding features; Based on a data aggregation algorithm, determining the cluster center of each of the feature clusters; The cluster centers of each of the feature clusters are randomly disturbed to generate cluster centers of the video semantic coding features after adding ciphertext.

5. The traffic safety analysis method based on big data according to claim 1, It is characterized in that The global network learning parameter information includes an optimized video semantic coding unit and a feature clustering center after adding ciphertext to multiple network training nodes. The step of generating a training error parameter corresponding to the error convergence requirement includes: For each video semantic coding feature, based on the feature error parameter between the video semantic coding feature and the semantic cluster center of the video semantic coding feature, the deviation error parameter between the video semantic coding feature and other semantic cluster centers in the sample traffic monitoring video clip, and the deviation error parameter between the feature cluster center of the sample traffic monitoring video clip after adding ciphertext and the feature cluster centers of other network training nodes included in the global network learning parameter information after adding ciphertext, determine the global traffic safety analysis error; Based on the feature error parameters between each of the video semantic coding features in the sample traffic monitoring video clip and the semantic clustering centers of the video semantic coding features and the global traffic safety analysis error, the traffic safety analysis error of each video semantic coding feature is calculated.

6. The traffic safety analysis method based on big data according to claim 5, It is characterized in that The calculation formula for determining the global traffic safety analysis error for each video semantic coding feature based on the feature error parameter between the video semantic coding feature and the semantic cluster center of the video semantic coding feature, the deviation error parameter between the video semantic coding feature and other semantic cluster centers in the sample traffic monitoring video clip, and the deviation error parameter between the feature cluster center of the sample traffic monitoring video clip after adding ciphertext and the feature cluster centers of other network training nodes included in the global network learning parameter information after adding ciphertext includes: E_global = Σ(α*E_feature,i+β*E_deviation,i+γ*E_network_deviation,i) where the feature error parameter E_feature represents the difference between the video semantic coding feature and its semantic cluster center, which is measured by calculating the Euclidean distance or cosine similarity between the video semantic coding feature and its semantic cluster center; The E_global represents the global traffic safety analysis error; The deviation error parameter E_deviation represents the degree of deviation between the video semantic coding feature and the cluster centers of other semantic clusters in the sample traffic monitoring video clips, which is measured by calculating the average distance or similarity between the video semantic coding feature and the cluster centers of other semantic clusters in the sample traffic monitoring video clips; The network node deviation error parameter E_network_deviation represents the degree of deviation between the feature cluster center of the current sample traffic monitoring video clip after adding ciphertext and the feature cluster center of other network training nodes after adding ciphertext, and is measured by calculating the Euclidean distance or cosine similarity between the feature cluster center of the current sample traffic monitoring video clip after adding ciphertext and the feature cluster center of other network training nodes after adding ciphertext; i represents the i-th video semantic coding feature, Σ represents the sum of all error parameters, α, β and γ are weight coefficients, which are used to balance the importance of feature error parameter E_feature, deviation error parameter E_deviation and network node deviation error parameter E_network_deviation respectively.

7. The traffic safety analysis method based on big data according to claim 5, It is characterized in that The calculation formula for calculating the traffic safety analysis error of each video semantic coding feature based on the feature error parameters between each of the video semantic coding features and the semantic clustering centers of the video semantic coding features in the sample traffic monitoring video clip and the global traffic safety analysis error includes: For the i-th video semantic coding feature, the traffic safety analysis error E_traffic_safety_i is calculated as follows: E_traffic_safety_i=w1*E_feature_i+w2*(E_global / N) in: E_feature_i is the feature error between the semantic coding feature of the i-th video and the corresponding semantic cluster center, which is obtained by calculating the Euclidean distance between the semantic coding feature of the i-th video and the corresponding semantic cluster center; The E_global is the global traffic safety analysis error; N is the total number of video semantic coding features, which is used to evenly distribute the global error to each feature; w1 and w2 are weight coefficients, which are used to adjust the contribution of the feature error parameters and the global traffic safety analysis error to the final traffic safety analysis error.

8. The traffic safety analysis method based on big data according to claim 1, It is characterized in that The step of performing traffic safety analysis on any traffic monitoring video clip in the input traffic monitoring big data based on the traffic safety analysis network that has completed network parameter learning includes: The traffic monitoring video clip to be analyzed is input into the traffic safety analysis network that has completed network parameter learning, and a traffic safety analysis result is generated based on the traffic safety analysis network.

9. A traffic safety analysis system based on big data, It is characterized in that It includes a processor and a computer-readable storage medium, wherein the computer-readable storage medium stores machine-executable instructions, and when the machine-executable instructions are executed by a computer, the traffic safety analysis method based on big data described in any one of claims 1 to 8 is implemented.

10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores machine-executable instructions, and when the machine-executable instructions are executed by a computer, the traffic safety analysis method based on big data described in any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Parameter optimization method for classification model, device, computer equipment and storage medium

    CN107609583A

  • Cloud game engine intelligent optimization method and device based on reinforcement learning

    CN112121439A

  • Training method of road condition prediction model, and road condition prediction method and device

    CN114283388A

  • Federal learning method and device, equipment and storage medium

    CN115841133A

  • Air conditioner load prediction method and system based on big data analysis

    CN117909928A