Water traffic accident black spot recognition processing method, system and device and storage medium

By constructing the accident data set and using clustering and multi-index evaluation algorithms, the problem of subjective factors in the identification of black spots in water traffic accidents is solved, and the accurate identification and comprehensive evaluation of black spots in water traffic accidents is achieved, and the identification efficiency is improved. and accuracy.

CN118965041APending Publication Date: 2024-11-15WUHAN UNIV OF TECH

Patent Information

Application Number
CN202410996143.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-24
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

The prior art is easily affected by subjective factors in the identification of black spots of water traffic accidents, making it difficult to accurately identify the areas of black spots of accidents of different levels, and it is difficult to accurately evaluate the black spots of accidents.

Method used

By obtaining traffic accident data in the waters to be analyzed, an accident data set is constructed, and analyses are used to calculate the urgency data of accident black spots, and the accident black spot evaluation data are generated to achieve water transportation Identification and urgency analysis of accident black spots.

Benefits of technology

It improves the accuracy and efficiency of identifying black spots in water traffic accidents, and can conduct a more comprehensive assessment of black spots in water traffic accidents, and get rid of the limitations based solely on the number of accidents and the rate of deaths.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118965041A_ABST
    Figure CN118965041A_ABST
Patent Text Reader

Abstract

The invention discloses a water traffic accident black spot recognition processing method, system and device and a storage medium, and the method comprises the steps: obtaining traffic accident data of a to-be-analyzed water area, so as to construct an accident data set; performing clustering analysis on the accident data set through a preset clustering algorithm so as to identify and obtain an accident black spot set; performing space-time analysis on the historical accident data to obtain a preset evaluation index; performing analysis and calculation through a preset multi-index evaluation algorithm according to a preset evaluation index and the accident black spot set to obtain index weight data; the index weight data corresponds to a preset evaluation index; and calculating urgency data of each accident black spot water area in the accident black spot set according to the index weight data, and generating accident black spot evaluation data. According to the embodiment of the invention, the accuracy and efficiency of water traffic accident black spot identification can be effectively improved, and the water traffic accident black spots can be comprehensively evaluated. The method can be widely applied to the technical field of accident black spot identification.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of accident black spot identification, and in particular to a method, system, device and storage medium for identifying and processing black spots of water traffic accidents. Background Art

[0002] At present, with the development of inland waterway shipping, the increase in the types of ships and cargoes has led to a continuous increase in water traffic pressure, and water traffic accidents have not only affected economic and social development, but also posed a serious threat to the safety of life and property. In related technologies, when identifying water traffic accident black spots (high-incidence points), it is easy to be affected by subjective factors, making it difficult to accurately identify accident black spot areas of different levels, and it is difficult to make a relatively accurate evaluation of accident black spots.

[0003] In summary, the technical problems existing in the relevant technologies need to be improved. Summary of the invention

[0004] The main purpose of the embodiments of the present application is to propose a method, system, device and storage medium for identifying and processing black spots of water traffic accidents, which can effectively improve the accuracy and efficiency of identifying black spots of water traffic accidents, and can conduct a more comprehensive assessment of black spots of water traffic accidents.

[0005] To achieve the above-mentioned purpose, one aspect of an embodiment of the present application provides a method for identifying and processing black spots of water traffic accidents, the method comprising the following steps:

[0006] Obtain traffic accident data in the water area to be analyzed to construct an accident data set;

[0007] Performing cluster analysis on the accident data set by using a preset clustering algorithm to identify a set of accident black spots;

[0008] Conduct spatiotemporal analysis on historical accident data to obtain preset evaluation indicators;

[0009] According to the preset evaluation index and the accident black spot set, analysis and calculation are performed through a preset multi-index evaluation algorithm to obtain index weight data; wherein the index weight data corresponds to the preset evaluation index;

[0010] The urgency data of each accident black spot water area in the accident black spot set is calculated according to the index weight data to generate accident black spot evaluation data.

[0011] In some embodiments, clustering analysis is performed on the accident data set by using a preset clustering algorithm to identify a set of accident black spots, including:

[0012] The accident data set is clustered and analyzed by an adaptive density clustering algorithm to obtain the accident black spot set.

[0013] In some embodiments, the clustering analysis of the accident data set by using an adaptive density clustering algorithm to obtain the accident black spot set includes:

[0014] Performing density calculation on each data point in the accident data set according to a preset radius to obtain preset local density data;

[0015] Performing an average calculation on the preset local density data to determine the average local density data of each data point in the accident data set;

[0016] Dynamically calculating the expected clustering parameters according to the average local density data and the preset local density data; wherein the expected clustering parameters include an expected neighborhood radius parameter and an expected point threshold number parameter;

[0017] Clustering is performed according to the accident data set and the expected clustering parameters using the DBSCAN algorithm to obtain an accident black spot set.

[0018] In some embodiments, the analysis and calculation based on the preset evaluation index and the accident black spot set by using a preset multi-index evaluation algorithm to obtain the index weight data includes:

[0019] Obtaining preset index data of each of the accident black spot waters in the accident black spot set; wherein the preset index data corresponds to the preset evaluation index, and the preset evaluation index includes the number of accidents, traffic flow, number of accident hot spots, and emergency rescue distance;

[0020] The preset indicator data is analyzed by the entropy weight method to determine the indicator weight data corresponding to each of the preset evaluation indicators.

[0021] In some embodiments, the calculating the urgency data of each accident black spot water area in the accident black spot set according to the indicator weight data to generate accident black spot evaluation data includes:

[0022] Calculate weighted deviation data of each of the accident black spot waters according to the indicator weight data;

[0023] Calculating a weighted deviation sum according to the weighted deviation data;

[0024] Calculating the urgency data of each of the accident black spot water areas by means of the weighted deviation;

[0025] The accident black spot evaluation data is generated according to the urgency data.

[0026] In some embodiments, the calculating the urgency data of each of the accident black spot water areas by using the weighted deviations and the weighted deviations includes:

[0027] Sorting the weighted deviations and the order from large to small to obtain accident black spot sorting information;

[0028] The urgency data of the corresponding accident black spot water area is determined according to the accident black spot ranking information; wherein the urgency data is negatively correlated with the accident black spot ranking information.

[0029] In some embodiments, the step of obtaining traffic accident data in the water area to be analyzed to construct an accident data set includes:

[0030] Acquiring the traffic accident data to clean the traffic accident data and obtain pre-processed data;

[0031] The pre-processed data is spatially analyzed to construct the accident data set.

[0032] To achieve the above-mentioned purpose, another aspect of the embodiment of the present application provides a water traffic accident black spot identification and processing system, the system comprising:

[0033] The first module is used to obtain traffic accident data in the water area to be analyzed to construct an accident data set;

[0034] The second module is used to perform cluster analysis on the accident data set by using a preset clustering algorithm to identify a set of accident black spots;

[0035] The third module is used to conduct spatiotemporal analysis of historical accident data to obtain preset evaluation indicators;

[0036] A fourth module is used to analyze and calculate the preset evaluation index and the accident black spot set through a preset multi-index evaluation algorithm to obtain index weight data; wherein the index weight data corresponds to the preset evaluation index;

[0037] The fifth module is used to calculate the urgency data of each accident black spot water area in the accident black spot set according to the indicator weight data to generate accident black spot evaluation data.

[0038] To achieve the above objective, another aspect of an embodiment of the present application provides an electronic device, the electronic device comprising:

[0039] at least one processor;

[0040] at least one memory for storing at least one program;

[0041] When the at least one program is executed by the at least one processor, the at least one processor implements the above method.

[0042] To achieve the above objective, another aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program implements the above method when executed by a processor.

[0043] The embodiments of the present application include at least the following beneficial effects: The present application provides a method, system, device and storage medium for identifying and processing black spots of water traffic accidents. The scheme obtains traffic accident data of the water area to be analyzed to construct an accident data set, and performs cluster analysis on the accident data set through a preset clustering algorithm to identify a set of accident black spots. At the same time, the embodiment of the present invention performs spatiotemporal analysis on historical accidents to obtain preset evaluation indicators, and performs analysis and calculation based on the preset evaluation indicators and the set of accident black spots through a preset multi-indicator evaluation algorithm to obtain indicator weight data corresponding to the preset evaluation indicators, and then calculates the urgency data of each accident black spot water area in the set of accident black spots based on the indicator weight data, thereby generating accident black spot evaluation data, and realizing water traffic accident black spot identification and urgency analysis. It is easy to understand that the embodiment of the present invention can effectively improve the accuracy and efficiency of water traffic accident black spot identification by using a preset clustering algorithm to identify accident black spot water areas, and at the same time, by combining historical accident data to determine the corresponding preset evaluation indicators, and then performing accident black spot analysis through the preset evaluation indicators and the set of accident black spots, it can realize a more comprehensive evaluation of water traffic accident black spots. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 It is a schematic diagram of the steps of the method for identifying and processing black spots of water traffic accidents provided by an embodiment of the present invention;

[0045] Figure 2 It is a technical flow diagram of a method for identifying and processing black spots of water traffic accidents provided by an embodiment of the present invention;

[0046] Figure 3 It is a structural schematic diagram of a water traffic accident black spot identification and processing system provided in an embodiment of the present application;

[0047] Figure 4 It is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION

[0048] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is further described in detail below in conjunction with the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the embodiments of the present application. They are only examples of devices and methods consistent with some aspects of the embodiments of the present application as detailed in the attached claims.

[0049] It is understood that the terms "first", "second", etc. used in this application can be used to describe various concepts in this article, but unless otherwise specified, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another concept. For example, without departing from the scope of the embodiment of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the words "if" and "if" as used herein can be interpreted as "at the time of" or "when" or "in response to determination".

[0050] The terms "at least one", "multiple", "each", "any", etc. used in this application, at least one includes one, two or more, multiple includes two or more, each refers to each of the corresponding multiple, and any refers to any one of the multiple.

[0051] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0052] Before describing the embodiments of the present application in detail, some nouns and terms involved in the embodiments of the present application are first described. The nouns and terms involved in the embodiments of the present application are subject to the following explanations.

[0053] Cluster analysis algorithm: refers to a data mining algorithm that can group or cluster data into sets with similar characteristics so that the data similarity within the same group is high, while the data similarity between different groups is low. Accordingly, cluster analysis algorithms can better understand data, mine potential relationships in data, and provide support for data analysis and applications.

[0054] Water traffic accident black spots: Water traffic accident prone areas or high-incidence areas refer to places on the water where traffic accidents frequently occur. Among them, these places may have some special environmental conditions or traffic conditions, which increase the probability of traffic accidents.

[0055] At present, with the development of inland waterway shipping, the increase in the types of ships and cargoes has led to a continuous increase in water traffic pressure, and water traffic accidents have not only affected economic and social development, but also posed a serious threat to the safety of life and property. In the related technology, when identifying water traffic accident black spots (high-incidence points), it is easy to be affected by subjective factors, it is difficult to accurately identify accident black spot areas of different levels, and it is difficult to make a more accurate evaluation of accident black spots. For example, when identifying high-incidence points of water traffic accidents, historical accident data is not fully utilized and manual threshold settings are relied on, resulting in the results being easily affected by subjective factors and unable to accurately identify accident hot spots of different levels. In addition, when evaluating the urgency of accident black spots, most of them are simply based on accident rates and fatal accident rates, or simply from the perspective of property losses. There is no complete evaluation index system established, and no systematic rating method is provided.

[0056] In view of this, a method, system, device and storage medium for identifying and processing black spots of water traffic accidents are provided in the embodiments of the present application. The scheme obtains traffic accident data of the water area to be analyzed to construct an accident data set, and clusters the accident data set through a preset clustering algorithm to identify a set of accident black spots. At the same time, the embodiment of the present invention performs spatiotemporal analysis on historical accidents to obtain preset evaluation indicators, and analyzes and calculates the preset evaluation indicators and the set of accident black spots through a preset multi-indicator evaluation algorithm to obtain indicator weight data corresponding to the preset evaluation indicators, and then calculates the urgency data of each accident black spot water area in the set of accident black spots based on the indicator weight data, thereby generating accident black spot evaluation data, realizing water traffic accident black spot identification and urgency analysis, effectively improving the accuracy and efficiency of water traffic accident black spot identification, and being able to conduct a more comprehensive evaluation of water traffic accident black spots.

[0057] The method for identifying and processing black spots of water traffic accidents provided in the embodiments of the present application relates to the technical field of accident black spot identification. The method for identifying and processing black spots of water traffic accidents provided in the embodiments of the present application can be applied to a terminal, can be applied to a server, and can also be software running in a terminal or a server. In some embodiments, the terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, and a vehicle-mounted terminal, etc., but is not limited to this; the server side can be configured as an independent physical server, or can be configured as a server cluster or a distributed system composed of multiple physical servers, and can also be configured as a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The server can also be a node server in a blockchain network; the software can be an application that implements the method for identifying and processing black spots of water traffic accidents, etc., but is not limited to the above forms.

[0058] The present application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc. The present application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.

[0059] Figure 1 is an optional flow chart of the method for identifying and processing black spots of water traffic accidents provided in an embodiment of the present application. Figure 1 The method may include but is not limited to steps S110 to S150.

[0060] Step S110: Obtain traffic accident data in the water area to be analyzed to construct an accident data set.

[0061] Step S120: performing cluster analysis on the accident data set using a preset clustering algorithm to identify a set of accident black spots.

[0062] Step S130: Perform spatiotemporal analysis on historical accident data to obtain preset evaluation indicators.

[0063] Step S140: Analyze and calculate the preset evaluation index and the accident black spot set through a preset multi-index evaluation algorithm to obtain index weight data, wherein the index weight data corresponds to the preset evaluation index.

[0064] Step S150: Calculate the urgency data of each accident black spot water area in the accident black spot set according to the index weight data to generate accident black spot evaluation data.

[0065] During the working process of this specific embodiment, the embodiment of the present invention first obtains the traffic accident data of the water area to be analyzed to construct an accident data set. Specifically, the traffic accident data in the embodiment of the present invention refers to the traffic accident data occurring in the relevant water area (i.e., the water area to be analyzed) where black spots need to be identified, such as the type, level, and environmental information of the relevant accidents. The embodiment of the present invention constructs the accident data set of the relevant water area by acquiring the traffic accident data. Next, the embodiment of the present invention performs cluster analysis on the accident data set by a preset clustering algorithm to identify a set of accident black spots. Specifically, the preset clustering algorithm in the embodiment of the present invention includes an adaptive density clustering algorithm (Adaptive DBSCAN algorithm), a hierarchical clustering algorithm, and a K-means clustering algorithm. Correspondingly, the embodiment of the present invention performs cluster analysis on each data point in the accident data set by a preset clustering algorithm to identify each traffic accident black spot in the water area to be analyzed and obtain an accident black spot set. Among them, the accident black spot set in the embodiment of the present invention includes each accident black spot water area in the water area to be analyzed that has been identified. Further, the embodiment of the present invention performs spatiotemporal analysis on the historical accident data to obtain a preset evaluation index. Specifically, the historical accident data in the embodiment of the present invention refers to historical water traffic accident data. The embodiment of the present invention combines the time and space dimensions by performing spatiotemporal analysis on the historical water traffic accident data, that is, performing a comprehensive analysis on the time and space information of the accident, thereby determining key indicators closely related to the accident black spots, that is, the preset evaluation indicators.

[0066] Next, the embodiment of the present invention performs analysis and calculation according to the preset evaluation index and the accident black spot set through the preset multi-index evaluation algorithm to obtain the index weight data. Specifically, the index weight data in the embodiment of the present invention refers to the weight of each preset evaluation index, and the index weight data corresponds to the preset evaluation index. At the same time, the preset multi-index evaluation algorithm in the embodiment of the present invention refers to an algorithm used to determine the weight of multiple indicators in order to perform comprehensive evaluation or decision-making, such as the analytic hierarchy process, the fuzzy comprehensive evaluation method and the entropy weight method. According to the accident black spot set, the embodiment of the present invention calculates the weight data of each preset evaluation through the preset multi-index evaluation algorithm, thereby obtaining the corresponding index weight data. Finally, the embodiment of the present invention calculates the urgency data of each accident black spot water area in the accident black spot set according to the index weight data to generate the accident black spot evaluation data. Specifically, the urgency data in the embodiment of the present invention refers to the urgency of treating the relevant accident black spot water area. Accordingly, the embodiment of the present invention calculates the urgency of the accident black spot water area by combining the weight data of the preset evaluation index, that is, the index weight data, and then evaluates the accident black spot to generate the accident black spot evaluation data, which can get rid of the limitation of evaluating the urgency of the accident black spot simply based on the number of accidents, and provide a more comprehensive evaluation.

[0067] In some embodiments of the present invention, cluster analysis is performed on the accident data set by a preset clustering algorithm to identify a set of accident black spots, including but not limited to the following steps:

[0068] The accident data set is clustered and analyzed using an adaptive density clustering algorithm to obtain a set of accident black spots.

[0069] In this specific embodiment, the embodiment of the present invention uses an adaptive density clustering (Adaptive DBSCAN) algorithm to perform cluster analysis on the accident data set to obtain a set of accident black spots. Specifically, the embodiment of the present invention first constructs a water traffic accident black spot identification model based on an adaptive density clustering algorithm, and inputs the accident data set into the constructed water traffic accident black spot identification model, so as to cluster the input water traffic accident data through an adaptive density clustering algorithm to identify the accident black spot water areas of the water area to be analyzed. Among them, the embodiment of the present invention uses an adaptive density clustering algorithm to perform accident black spot identification, which can realize the accurate identification of accident high-incidence points (accident black spots) in different scenarios (including scenes with uneven density), and effectively improves the recognition accuracy and efficiency of accident high-incidence points.

[0070] In some embodiments of the present invention, cluster analysis is performed on the accident data set by an adaptive density clustering algorithm to obtain an accident black spot set, including but not limited to the following steps:

[0071] The density of each data point in the accident data set is calculated according to the preset radius to obtain the preset local density data.

[0072] The preset local density data are averaged to determine the average local density data of each data point in the accident data set.

[0073] The expected clustering parameters are dynamically calculated based on the average local density data and the preset local density data, wherein the expected clustering parameters include an expected neighborhood radius parameter and an expected point threshold number parameter.

[0074] Clustering is performed using the DBSCAN algorithm based on the accident data set and expected clustering parameters to obtain a set of accident black spots.

[0075] In this specific embodiment, the embodiment of the present invention first calculates the density of each data point in the accident data set according to a preset radius to obtain preset local density data. Specifically, for each point x in the accident data set i , the embodiment of the present invention calculates its local density ρ i , where the local density is measured by the number of points within a preset radius (base_eps), as shown in the following formula (1):

[0076] ρ i =∑ j χ(d ij -base_eps) (1)

[0077] Where χ() is an indicator function. ij 1 if ≤ base_sps, 0 otherwise.

[0078] Next, the embodiment of the present invention performs an average calculation on the preset local density data to determine the average local density data of each data point in the accident data set. Specifically, the embodiment of the present invention calculates the average local density of all points in the accident data set according to the preset local density data, as shown in the following formula (2):

[0079]

[0080] Furthermore, the embodiment of the present invention dynamically calculates the expected clustering parameters based on the average local density data and the preset local density data. Specifically, the expected clustering parameters in the embodiment of the present invention include an expected neighborhood radius parameter and an expected point threshold number parameter. Among them, the expected neighborhood radius parameter in the embodiment of the present invention refers to the optimal neighborhood radius. When the distance between two data points is less than or equal to the neighborhood radius, they are considered to be directly density-reachable. Accordingly, the expected point threshold number parameter in the embodiment of the present invention refers to the optimal point threshold number. Among them, the point threshold number parameter is used to define the minimum number of data points in a cluster. For a core point, if its neighborhood contains at least the point threshold number of data points (including the core point itself), these data points are divided into a cluster. If the number of data points in the neighborhood of a data point is less than the point threshold number, but it is still a neighbor of other core points, it will be marked as a boundary point. Accordingly, the embodiment of the present invention calculates the boundary point according to the local density ρ of each point. i And the average local density data average_density, dynamically adjust the epsilon value (desired neighborhood radius parameter), as shown in the following formula (3):

[0081]

[0082] Among them, sps i Refers to the expected neighborhood radius parameter. It is easy to understand that if the local density of a point is higher than the average density, its epsilon value will be smaller, so that the neighborhood points can be found in a smaller range; conversely, if the local density is lower than the average density, its epsilon value will be larger.

[0083] In addition, the embodiment of the present invention is based on the local density ρ of each point i and average local density data average_density, dynamically adjust the minPts value (expected point threshold number parameter), as shown in the following formula (4):

[0084]

[0085] Similarly, if the local density of a point is higher than the average density, its minPts value will be larger, and more neighborhood points will be needed to form a cluster; conversely, if the local density is lower than the average density, its minPts value will be smaller.

[0086] Finally, the embodiment of the present invention performs clustering through the DBSCAN algorithm according to the accident data set and the expected clustering parameters to obtain a set of accident black spots. Specifically, the embodiment of the present invention inputs the calculated optimal eps parameter (expected neighborhood radius parameter) and minPts parameter (expected point threshold number parameter) into the DBSCAN algorithm to perform cluster analysis on the accident recurrence locations in the accident data set, thereby identifying a set of accident black spots. Among them, the embodiment of the present invention alleviates the subjectivity caused by manually setting the DBSCAN algorithm parameters by adaptively and dynamically setting the neighborhood radius and the point threshold number, effectively improves the accuracy of identification, reduces the time consumption of manually setting parameters, and improves the efficiency of identification.

[0087] Exemplarily, the pseudo code for identifying water traffic accident black spot waters by using the DBSCAN algorithm in an embodiment of the present invention is as follows:

[0088]

[0089]

[0090] In some embodiments of the present invention, according to the preset evaluation index and the accident black spot set, the preset multi-index evaluation algorithm is used to analyze and calculate to obtain the index weight data, including but not limited to the following steps:

[0091] The preset index data of each accident black spot water area in the accident black spot set is obtained, wherein the preset index data corresponds to the preset evaluation index, and the preset evaluation index includes the number of accidents, traffic flow, number of accident hot spots, and emergency rescue distance.

[0092] The preset indicator data is analyzed by the entropy weight method to determine the corresponding indicator weight data of each preset evaluation indicator.

[0093] In this specific embodiment, the embodiment of the present invention first obtains the preset index data of each accident black spot water area in the accident black spot set. Specifically, the preset index data in the embodiment of the present invention corresponds to the preset evaluation index, that is, the data corresponding to the preset evaluation index of each accident black spot water area identified is obtained to obtain the preset index data. Among them, the preset evaluation index in the embodiment of the present invention includes the number of accidents, traffic flow, the number of accident hot spots and the emergency rescue distance. Correspondingly, according to relevant research and analysis, the number of accidents and the number of accident hot spots are two important quantitative indicators of the embodiment of the present invention, and based on the spatiotemporal analysis of accidents, it is found that the formation of accident black spots is closely related to traffic flow. In addition, the distance of emergency rescue when an accident occurs reflects the speed of rescue to a certain extent. Therefore, the embodiment of the present invention determines the number of accidents, traffic flow, the number of accident hot spots, and the emergency rescue distance as the key indicators of the urgency of accident black spots, that is, the preset evaluation index. Correspondingly, the embodiment of the present invention first obtains the number of accidents, traffic flow, the number of accident hot spots and the emergency rescue distance of each accident black spot water area to obtain the preset index data.

[0094] Among them, the number of accidents refers to the total number of all accidents that occurred in a certain water area within a specific time period. The number of accidents is an intuitive indicator for assessing the safety of an area. An area with a high accident frequency may have potential safety hazards and require further investigation and management. It reflects the operational risks and complexity of ships in a specific area. Accordingly, the number of accidents can be used to preliminarily determine whether a certain water area is a potential accident black spot and provide direction for subsequent safety improvements. In addition, the statistics and analysis of the number of accidents will also help to formulate future safety policies and regulations. In addition, traffic flow refers to the number of ships passing through a certain water area within a specific time period. Traffic flow is a key factor in accident risk. High-flow waters mean more ship interactions, which may lead to a more complex navigation environment and a higher risk of collision. By monitoring traffic flow, it can not only predict and manage high-risk periods, but also provide important data for waterway planning, traffic guidance and ship scheduling.

[0095] In addition, the number of accident hotspots refers to the total number of accidents that occurred in a certain water area within a specific time period and resulted in major casualties or property losses. Compared with ordinary accidents, the consequences of serious accidents are more serious and may result in casualties, property losses and environmental pollution. This indicator reflects the potential major risks of a certain water area. Accordingly, the statistics and analysis of serious accidents help to determine which waters or factors are the main causes of these accidents, so as to formulate more targeted prevention and response measures. At the same time, the emergency rescue distance refers to the straight-line distance or the shortest feasible driving distance between the nearest emergency rescue department and the accident site when an emergency or accident occurs. The emergency rescue distance directly affects the speed at which the rescue team arrives at the accident site. The shorter the distance, the faster the response time in theory, which helps to rescue the victims of the accident in time and reduce casualties. Therefore, by analyzing the emergency rescue distance between each rescue point and the high-risk area, it is possible to identify areas where rescue capabilities need to be enhanced or new rescue points need to be established.

[0096] Next, the embodiment of the present invention analyzes the preset indicator data by the entropy weight method to determine the indicator weight data corresponding to each preset evaluation indicator. Specifically, the embodiment of the present invention calculates the weight of each indicator by the entropy weight method, such as the weight of the number of accidents, traffic flow, number of accident hotspots, and emergency rescue distance. Exemplarily, when there are m evaluation objects, each object has m evaluation indicators, and the original data matrix X=(x ij ) m×n , where x ij Represents the value of the jth indicator of the i-th evaluation object. In the entropy weight method step of the embodiment of the present invention, the indicators are first unified. Among them, data is generally divided into two types: extremely large data and extremely small data. For extremely large data, the larger the value, the better; for extremely small data, the smaller the value, the better. Accordingly, the embodiment of the present invention converts extremely small data into extremely large data for easy calculation, and the formula is shown in the following formula (5):

[0097] x ij =max(x ij )-x ij (5)

[0098] Among them, max(x ij ) is the maximum value of the j-th indicator.

[0099] Next, the embodiment of the present invention normalizes the data. Different indicators have different dimensions and need to be standardized. Accordingly, the embodiment of the present invention adopts the maximum and minimum normalization method to adjust the original data to a numerical range between 0 and 1 through linear transformation, as shown in the following formula (6):

[0100]

[0101] Among them, min(x ij ) and max(x ij ) is the minimum and maximum value of the j-th indicator.

[0102] Then, the embodiment of the present invention calculates the weight of the scheme features. For a certain indicator, the more significant the difference in the values, the more important the role of the indicator in the evaluated object, that is, the more useful the information provided by the indicator, the higher the weight of the indicator. The calculation formula is shown in the following formula (7):

[0103]

[0104] Among them, p ij It refers to the feature weight of the i-th object under the j-th indicator.

[0105] Furthermore, the embodiment of the present invention calculates the entropy value by the following formula (8):

[0106]

[0107] Among them, e j is the entropy value of the j-th indicator, and the entropy value is between [0,1].

[0108] Accordingly, the embodiment of the present invention calculates the information utility value according to the entropy value, as shown in the following formula (9):

[0109] d j =1-e j (9)

[0110] Among them, d j It represents the information utility value. The larger the entropy information utility value is, the greater its importance in the comprehensive evaluation is.

[0111] Finally, the embodiment of the present invention calculates the entropy weight according to the information utility value, as shown in the following formula (10):

[0112]

[0113] In some embodiments of the present invention, calculating the urgency data of each accident black spot water area in the accident black spot set according to the index weight data to generate accident black spot evaluation data includes but is not limited to the following steps:

[0114] The weighted deviation data of each accident blackspot water area is calculated based on the indicator weight data.

[0115] The weighted deviation sum is calculated based on the weighted deviation data.

[0116] The urgency data for each water area that is an accident black spot is calculated by weighting the deviations.

[0117] The accident black spot evaluation data is generated according to the urgency data.

[0118] In this specific embodiment, the embodiment of the present invention calculates the urgency data of each accident black spot water area by calculating the weighted deviation sum method. First, the embodiment of the present invention calculates the weighted deviation data of each accident black spot water area according to the indicator weight data. Then, the embodiment of the present invention determines the corresponding evaluation indicators and their weights. For example, set n evaluation indicators: I 1 ,I 2 ,…,I n , and their corresponding weights are: w 1 ,w 2 ,...,w n . The weight value can be determined by various methods (such as entropy weight method). Accordingly, for each accident black spot, the embodiment of the present invention calculates the weighted deviation of each indicator, as shown in the following formula (11):

[0119] ΔI j =w j *z ij (11)

[0120] Among them, ΔI j is the weighted deviation of the jth indicator, w j is the weight value of the jth indicator, z ij Indicates the numerical ranking of the i-th evaluation object under the j-th indicator.

[0121] Furthermore, the embodiment of the present invention calculates the weighted deviation sum by weighted deviation data, as shown in the following formula (12):

[0122]

[0123] Then, the embodiment of the present invention calculates the urgency data of each accident black spot water area according to the weighted deviation and generates the accident black spot evaluation data according to the urgency data. Specifically, the embodiment of the present invention associates the weighted deviation and urgency of the accident black spot water area, such as constructing a correlation function to determine the urgency data of the corresponding accident black spot water area through the weighted deviation and, thereby evaluating and analyzing each accident black spot water area through the urgency data, such as the urgency status of the accident black spot governance, and generating the accident black spot evaluation data.

[0124] In some embodiments of the present invention, the urgency data of each accident black spot water area is calculated by weighting the deviation, including but not limited to:

[0125] The weighted deviations are sorted from large to small to obtain the accident black spot sorting information.

[0126] The urgency data of the corresponding accident black spot water area is determined according to the accident black spot ranking information, wherein the urgency data is negatively correlated with the accident black spot ranking information.

[0127] In this specific embodiment, the embodiment of the present invention first sorts the weighted deviation sum in order from large to small to obtain the accident black spot sorting information, and then determines the urgency data of the corresponding accident black spot water area according to the accident black spot sorting information. Specifically, the embodiment of the present invention first sorts the accident black spot water area according to the weighted deviation sum corresponding to each accident black spot water area in order from large to small, so as to obtain the accident black spot sorting information corresponding to each accident black spot water area. Then, the embodiment of the present invention determines the urgency data according to the accident black spot sorting information of each accident black spot water area. Among them, the urgency data of the accident black spot water area in the embodiment of the present invention is negatively correlated with the accident black spot sorting information. For example, if the weighted deviation sum of a certain accident black spot water area is the largest among the 8 accident black spot water areas, the accident black spot sorting information of the accident black spot water area is 1 (sorted according to the weighted deviation sum in order from large to small), and the corresponding urgency data of the accident black spot water area is 8.

[0128] In some embodiments of the present invention, obtaining traffic accident data in the water area to be analyzed to construct an accident data set includes but is not limited to the following steps:

[0129] Traffic accident data is obtained to clean the traffic accident data and obtain pre-processed data.

[0130] Spatial analysis is performed on the preprocessed data to construct an accident dataset.

[0131] In this specific embodiment, the embodiment of the present invention obtains traffic accident data of the water area to be analyzed to clean the traffic accident data and obtain pre-processed data. Specifically, the embodiment of the present invention first cleans the acquired original data, i.e., the traffic accident data, to improve the data quality and accuracy. Among them, data cleaning in the embodiment of the present invention includes removing duplicate values, missing values, abnormal values, and erroneous data. Correspondingly, the embodiment of the present invention can also standardize and normalize the traffic accident data to facilitate the subsequent spatial analysis of the data. Then, the embodiment of the present invention performs spatial analysis on the pre-processed data to construct an accident data set. Specifically, spatial analysis in the embodiment of the present invention refers to the process of statistics and analysis of specific areas, ranges or locations in the data space. The embodiment of the present invention determines the distribution of accident data by performing spatial analysis on the pre-processed data, thereby constructing an accident data set, which effectively improves the accuracy and reliability of accident black spot identification.

[0132] Next, the scheme of the embodiment of the present invention is described in detail and explained in conjunction with a specific application example of black spot recognition and processing of water traffic accidents:

[0133] For example, refer to Figure 2 , Figure 2 The technical flow chart of the identification and processing of water traffic accident black spots in an embodiment of the present invention. Specifically, the embodiment of the present invention first collects and cleans the traffic accident data of a certain water area to be analyzed, and clusters the processed data through the Adaptive DBSCAN algorithm. For example, EPS = 0.046198, MinPts = 28.84405 are used as DBSCAN parameters to obtain the final clustering diagram, and the corresponding accident black spot water area is identified. At the same time, an accident black spot urgency evaluation index system is established, and the data of each indicator of the identified accident black spot water area are collected, and the entropy weight method is used to calculate the weight of each indicator, as shown in Table 1 below:

[0134] Table 1

[0135] index Information entropy Information utility value Weight Number of accidents 0.6743 0.3257 0.33328 Traffic flow 0.6705 0.3295 0.3392 Number of accident hotspots 0.835 0.165 0.21157 Emergency rescue distance 0.330 0.097 0.11595

[0136] Next, the embodiment of the present invention calculates the urgency of each accident black spot water area according to the index weight data. Among them, the index data of each accident black spot and the corresponding ranking in the embodiment of the present invention are shown in Table 2 below:

[0137] Table 2

[0138]

[0139] In addition, the urgency ranking of accident black spot treatment in the embodiment of the present invention is shown in Table 3 below:

[0140] Table 3

[0141] Accident black spot number Weighted bias and Ranking of governance urgency ① 6.54485 8 ② 4.5535 4 ③ 4.86918 5 ④ 5.35664 6 ⑤ 3.78267 3 ⑥ 6.20308 7 ⑦ 1.45515 1 ⑧ 2.31065 2

[0142] See also Figure 3 The embodiment of the present application also provides a water traffic accident black spot identification and processing system, which can implement the above-mentioned water traffic accident black spot identification and processing method, and the system includes:

[0143] The first module 210 is used to obtain traffic accident data in the water area to be analyzed to construct an accident data set.

[0144] The second module 220 is used to perform cluster analysis on the accident data set by using a preset clustering algorithm to identify a set of accident black spots.

[0145] The third module 230 is used to perform spatiotemporal analysis on historical accident data to obtain preset evaluation indicators.

[0146] The fourth module 240 is used to analyze and calculate the preset evaluation index and the accident black spot set through a preset multi-index evaluation algorithm to obtain index weight data, wherein the index weight data corresponds to the preset evaluation index.

[0147] The fifth module 250 is used to calculate the urgency data of each accident black spot water area in the accident black spot set according to the indicator weight data to generate accident black spot evaluation data.

[0148] It can be understood that the contents of the above method embodiments are all applicable to the present system embodiments, the functions specifically implemented by the present system embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0149] The embodiment of the present application also provides an electronic device, the electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the above-mentioned water traffic accident black spot identification and processing method when executing the computer program. The electronic device can be any smart terminal including a tablet computer, a car computer, etc.

[0150] It can be understood that the contents of the above method embodiments are all applicable to the present device embodiments, the functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0151] See also Figure 4 , Figure 4 The hardware structure of an electronic device of another embodiment is illustrated, and the electronic device includes:

[0152] The processor 310 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;

[0153] The memory 320 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device or a random access memory (RAM). The memory 320 can store an operating system and other application programs. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 320, and the processor 310 calls and executes the black spot identification and processing method for water traffic accidents in the embodiment of this application;

[0154] Input / output interface 330, used to implement information input and output;

[0155] Communication interface 340, used to realize communication interaction between the device and other devices, which can be realized through wired mode (such as USB, network cable, etc.) or wireless mode (such as mobile network, WIFI, Bluetooth, etc.);

[0156] bus 350 , which transmits information between the various components of the device (e.g., processor 310 , memory 320 , input / output interface 330 , and communication interface 340 );

[0157] The processor 310 , the memory 320 , the input / output interface 330 and the communication interface 340 are connected to each other in communication within the device via the bus 350 .

[0158] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the above-mentioned method for identifying and processing black spots in water traffic accidents is implemented.

[0159] It can be understood that the contents of the above method embodiments are all applicable to the present storage medium embodiments, the functions specifically implemented by the present storage medium embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0160] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0161] The embodiments described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0162] Those skilled in the art will appreciate that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.

[0163] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0164] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.

[0165] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0166] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.

[0167] In the several embodiments provided in the present application, it should be understood that the disclosed systems and methods can be implemented in other ways. For example, the system embodiments described above are merely schematic. For example, the division of the above units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0168] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0169] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0170] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including multiple instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store programs.

[0171] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the rights of the present invention is not limited thereto. Any modification, equivalent substitution and improvement made by a person skilled in the art without departing from the scope and essence of the present invention should be within the scope of the rights of the present invention.

Claims

1. A method for identifying and processing black spots of water traffic accidents, characterized in that: The method comprises the following steps: Obtain traffic accident data in the water area to be analyzed to construct an accident data set; Performing cluster analysis on the accident data set by using a preset clustering algorithm to identify a set of accident black spots; Conduct spatiotemporal analysis on historical accident data to obtain preset evaluation indicators; According to the preset evaluation index and the accident black spot set, analysis and calculation are performed through a preset multi-index evaluation algorithm to obtain index weight data; wherein the index weight data corresponds to the preset evaluation index; The urgency data of each accident black spot water area in the accident black spot set is calculated according to the index weight data to generate accident black spot evaluation data.

2. The method according to claim 1, characterized in that The clustering analysis of the accident data set by using a preset clustering algorithm to identify a set of accident black spots includes: The accident data set is clustered and analyzed by an adaptive density clustering algorithm to obtain the accident black spot set.

3. The method according to claim 2, characterized in that The clustering analysis of the accident data set is performed by using an adaptive density clustering algorithm to obtain the accident black spot set, including: Performing density calculation on each data point in the accident data set according to a preset radius to obtain preset local density data; Performing an average calculation on the preset local density data to determine the average local density data of each data point in the accident data set; Dynamically calculating the expected clustering parameters according to the average local density data and the preset local density data; wherein the expected clustering parameters include an expected neighborhood radius parameter and an expected point threshold number parameter; Clustering is performed according to the accident data set and the expected clustering parameters using the DBSCAN algorithm to obtain an accident black spot set.

4. The method according to claim 1, characterized in that: The analysis and calculation based on the preset evaluation index and the accident black spot set by using a preset multi-index evaluation algorithm to obtain index weight data includes: Obtaining preset index data of each of the accident black spot waters in the accident black spot set; wherein the preset index data corresponds to the preset evaluation index, and the preset evaluation index includes the number of accidents, traffic flow, number of accident hot spots, and emergency rescue distance; The preset indicator data is analyzed by the entropy weight method to determine the indicator weight data corresponding to each of the preset evaluation indicators.

5. The method according to claim 1, characterized in that The step of calculating the urgency data of each accident black spot water area in the accident black spot set according to the index weight data to generate accident black spot evaluation data includes: Calculate weighted deviation data of each of the accident black spot waters according to the indicator weight data; Calculating a weighted deviation sum according to the weighted deviation data; Calculating the urgency data of each of the accident black spot water areas by means of the weighted deviation; The accident black spot evaluation data is generated according to the urgency data.

6. The method according to claim 5, characterized in that The urgency data of each accident black spot water area is calculated by the weighted deviation, including: Sorting the weighted deviations and the order from large to small to obtain accident black spot sorting information; The urgency data of the corresponding accident black spot water area is determined according to the accident black spot ranking information; wherein the urgency data is negatively correlated with the accident black spot ranking information.

7. The method according to claim 1, characterized in that The step of acquiring the traffic accident data of the water area to be analyzed to construct an accident data set includes: Acquiring the traffic accident data to clean the traffic accident data and obtain pre-processed data; The pre-processed data is spatially analyzed to construct the accident data set.

8. A water traffic accident black spot identification and processing system, characterized in that: The system comprises: The first module is used to obtain traffic accident data in the water area to be analyzed to construct an accident data set; The second module is used to perform cluster analysis on the accident data set by using a preset clustering algorithm to identify a set of accident black spots; The third module is used to conduct spatiotemporal analysis of historical accident data to obtain preset evaluation indicators; A fourth module is used to analyze and calculate the preset evaluation index and the accident black spot set through a preset multi-index evaluation algorithm to obtain index weight data; wherein the index weight data corresponds to the preset evaluation index; The fifth module is used to calculate the urgency data of each accident black spot water area in the accident black spot set according to the indicator weight data to generate accident black spot evaluation data.

9. An electronic device, characterized in that: include: at least one processor; at least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements the method according to any one of claims 1 to 7.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Campus safety prevention and control early warning system and method

    CN118135770A

  • Road traffic danger early warning method and system based on entropy weight method

    CN118135791A

Cited By

  • Method and system for identifying black spot area of road traffic accident

    CN120196934A