Ship traffic flow saturation calculation method and system, electronic equipment and storage medium
By processing ship automatic identification system data and influencing factors in the ship field, and calculating dynamic traffic flow saturation, the problem of inaccurate traffic flow state identification in the waterway in the short term in the existing technology is solved, and real-time and accurate traffic flow state analysis is achieved.
Patent Information
- Application Number
- CN202410964560.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-18
- Publication Date
- 2024-11-22
AI Technical Summary
The prior art has low accuracy when identifying traffic flow states in the waterway in the short term, with a long calculation period, fewer influencing factors and the influencing coefficients of influencing factors are taken in years, which cannot reflect changes in maritime management in real time.
By obtaining the automatic ship identification system data, the dynamic cross-sectional data is obtained, and the dynamic ship field is calculated based on the influencing factors in the ship field, and the dynamic traffic flow velocity distribution data is used to calculate the dynamic traffic flow saturation to achieve the short-term identification of the traffic flow state in the waterway. .
It improves the accuracy of the identification of traffic flow states in the waterway, alleviates the problems of large data samples and cumbersome calculations, avoids the averaged traffic flow saturation value, and provides real-time traffic flow state analysis.
Smart Images

Figure CN119007498A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of traffic management technology, and in particular to a method, system, electronic device and storage medium for calculating the saturation of ship traffic flow. Background Art
[0002] Busy water traffic leads to serious congestion in key waters such as ports and waterways, greatly increasing the risk of navigation safety. Accidents such as collisions and groundings are common. In related technologies, the calculation cycle for traffic flow saturation is one year, which is suitable for long-term port planning, but has low accuracy when identifying the traffic flow status in waterways in the short term.
[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, electronic device and storage medium for calculating the saturation of ship traffic flow, which can identify the traffic flow status in the waterway in a short period of time and effectively improve the recognition accuracy of the traffic flow status in the waterway.
[0005] To achieve the above object, one aspect of an embodiment of the present application provides a method for calculating the saturation of ship traffic flow, the method comprising the following steps:
[0006] Obtaining ship automatic identification system data;
[0007] Processing the ship automatic identification system data to obtain dynamic section passing data; wherein the dynamic section passing data includes ship length distribution data and traffic flow speed distribution data;
[0008] Obtain data on factors affecting the ship sector;
[0009] Calculate a dynamic ship field according to the captain distribution data and the ship field influencing factor data;
[0010] Dynamic traffic data is calculated through the dynamic ship field and the traffic flow speed distribution data, and dynamic traffic flow saturation data is calculated through the dynamic traffic data.
[0011] In some embodiments, the processing of the ship automatic identification system data to obtain dynamic section passing data includes:
[0012] Determine the ship track point according to the ship automatic identification system data;
[0013] When it is determined that the time interval between the ship trajectory points is less than a preset time threshold, the ship voyage trajectory is determined; wherein the preset time threshold is determined by a single voyage time of the ship;
[0014] Data analysis is performed based on the ship's voyage trajectory to obtain the ship length distribution data and the traffic flow speed distribution data.
[0015] In some embodiments, after performing the step of obtaining the data of influencing factors in the ship field, the method further includes:
[0016] By using a questionnaire survey method, the importance of the preset influencing factors corresponding to the influencing factor data in the ship field is compared pairwise to obtain a first expert evaluation matrix;
[0017] Calculating an expert evaluation average according to the first expert evaluation matrix, so as to update the first expert evaluation matrix by the expert evaluation average to obtain a second expert evaluation matrix;
[0018] The key influencing factors are determined through the second expert evaluation matrix, so as to determine the target influencing factor data according to the key influencing factors and the ship field influencing factor data.
[0019] In some embodiments, the calculating of the dynamic ship field according to the captain distribution data and the ship field influencing factor data includes:
[0020] When it is determined according to the ship length distribution data that the ship length data is in a preset ship length interval, recording the corresponding first ship navigation data;
[0021] Arrange the recorded navigation data of the first ship by using the unique identification code of the ship to obtain the track data of the first ship;
[0022] performing interpolation processing on the first ship trajectory data to obtain second ship trajectory data;
[0023] When it is determined that the track points in the second ship track data appear within the preset safety distance of the target ship at the same time, recording the corresponding second ship navigation data;
[0024] performing interpolation processing on the second ship navigation data to obtain third ship track data;
[0025] Calculate the preset coordinate system data according to the third ship trajectory data and the target ship trajectory data;
[0026] Sector division is performed using the preset coordinate system data, and point set fitting processing is performed according to the sectors obtained by the division to obtain ship field data;
[0027] Calculate the factor influence coefficient according to the ship field data and the target influence factor data;
[0028] The dynamic ship field is obtained by calculating the factor influence coefficient and the ship field data.
[0029] In some embodiments, the dynamic traffic data includes dynamic waterway capacity and dynamic vessel traffic;
[0030] The step of calculating the dynamic traffic flow saturation data through the dynamic traffic data includes:
[0031] The dynamic traffic flow saturation data is obtained by analyzing and calculating according to the dynamic waterway capacity and the dynamic ship flow.
[0032] In some embodiments, the dynamic traffic data is calculated by using the dynamic ship field and the traffic flow speed distribution data, including:
[0033] Calculate the traffic flow speed information according to the traffic flow speed distribution data and the number of ships in the waterway;
[0034] The dynamic waterway capacity is calculated based on the traffic flow speed information and the dynamic ship field.
[0035] In some embodiments, the calculating and obtaining the dynamic traffic data by using the dynamic ship field and the traffic flow speed distribution data further includes:
[0036] The ship conversion flow is calculated based on the dynamic ship area and the standard ship area;
[0037] The dynamic ship flow is obtained by calculating the ship converted flow.
[0038] To achieve the above object, another aspect of the embodiment of the present application provides a ship traffic flow saturation calculation system, the system comprising:
[0039] The first module is used to obtain the ship automatic identification system data;
[0040] The second module is used to process the ship automatic identification system data to obtain dynamic section passing data; wherein the dynamic section passing data includes ship length distribution data and traffic flow speed distribution data;
[0041] The third module is used to obtain data on factors affecting the ship field;
[0042] A fourth module is used to calculate a dynamic ship field according to the captain distribution data and the ship field influencing factor data;
[0043] The fifth module is used to calculate dynamic traffic data through the dynamic ship field and the traffic flow speed distribution data, so as to calculate dynamic traffic flow saturation data through the dynamic traffic data.
[0044] To achieve the above objective, another aspect of an embodiment of the present application provides an electronic device, the electronic device comprising:
[0045] at least one processor;
[0046] at least one memory for storing at least one program;
[0047] When the at least one program is executed by the at least one processor, the at least one processor implements the above method.
[0048] 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.
[0049] The embodiments of the present application include at least the following beneficial effects: The present application provides a method, system, electronic device and storage medium for calculating the saturation of ship traffic flow. The scheme obtains the data of the ship automatic identification system and processes the data of the ship automatic identification system to obtain the dynamic cross-section passing data, including the ship length distribution data and the traffic flow speed distribution data. At the same time, the ship field influencing factor data is obtained to calculate the dynamic ship field according to the ship length distribution data and the ship field influencing factor data. Finally, the dynamic traffic data is calculated by the dynamic ship field and the traffic flow speed distribution data, and the dynamic traffic flow saturation data is calculated by the dynamic traffic data, so as to realize the identification of the traffic flow state in the waterway in a short period of time, and effectively improve the recognition accuracy of the traffic flow state in the waterway. It is easy to understand that the embodiment of the present invention corrects the standard ship field by combining environmental information, that is, the ship field influencing factor data, and the captain distribution data, so as to obtain the dynamic ship field, alleviate the problem of large data sample demand and cumbersome calculation, and effectively improve the accuracy of dynamic ship field calculation. At the same time, the embodiment of the present invention determines the dynamic traffic data through the dynamic ship field and traffic flow speed distribution data, and then calculates the corresponding dynamic traffic flow saturation data through the dynamic traffic data. This can alleviate the problem of the traffic flow saturation calculation cycle being too long, which leads to the averaging of the traffic flow saturation value, and effectively improves the recognition accuracy of the traffic flow status in the waterway. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] Figure 1 is a flowchart of the steps of the method for calculating the saturation of ship traffic flow provided in an embodiment of the present application;
[0051] Figure 2 It is a flowchart of AIS data processing provided by an embodiment of the present application;
[0052] Figure 3It is an overall schematic diagram of the ship traffic flow saturation calculation method provided in an embodiment of the present application;
[0053] Figure 4 is a schematic diagram of a dynamic ship field calculated in the first time period by different ship field calculation methods provided in the embodiments of the present application;
[0054] Figure 5 is a schematic diagram of a dynamic ship field calculated in the second time period by different ship field calculation methods provided in the embodiments of the present application;
[0055] Figure 6 is a schematic diagram of a dynamic ship field calculated in a third time period by different ship field calculation methods provided in an embodiment of the present application;
[0056] Figure 7 is a schematic diagram of a dynamic ship field calculated in a fourth time period by different ship field calculation methods provided in an embodiment of the present application;
[0057] Figure 8 It is a schematic diagram of the ship traffic flow speed distribution in June 2022 provided in an embodiment of the present application;
[0058] Fig. 9 It is a schematic diagram of the ship traffic flow speed distribution in December 2022 provided in an embodiment of the present application;
[0059] Fig.10 It is a schematic diagram of the cross-sectional throughput capacity in June 2022 provided in an embodiment of the present application;
[0060] Fig.11 It is a schematic diagram of the cross-sectional passing capacity in December 2022 provided in the embodiment of the present application;
[0061] Fig.12 This is a schematic diagram of the hourly ship traffic flow distribution in June 2022 provided by an embodiment of the present application;
[0062] Fig.13 This is a schematic diagram of the hourly ship traffic flow distribution in December 2022 provided by an embodiment of the present application;
[0063] Fig.14 It is a schematic diagram of the maximum traffic flow saturation distribution per hour in June 2022 provided by an embodiment of the present application;
[0064] Fig.15 It is a schematic diagram of the maximum traffic flow saturation distribution per hour in December 2022 provided by an embodiment of the present application;
[0065] Fig.16 This is a statistical diagram of the number of accidents and traffic flow in different time periods provided by the embodiment of the present application;
[0066] Fig.17 It is a structural schematic diagram of a ship traffic flow saturation calculation system provided in an embodiment of the present application;
[0067] Fig.18 It is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION
[0068] 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.
[0069] 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".
[0070] 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.
[0071] 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.
[0072] 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.
[0073] Ship territory: refers to a two-dimensional area around a ship that other ships should avoid entering. It defines a two-dimensional area around a ship that other ships should avoid entering. Ideally, when a ship is sailing, no other ships will appear in the ship territory.
[0074] Busy water traffic leads to serious congestion in key waters such as ports and waterways, greatly increasing the risk of navigation safety. Accidents such as collisions and groundings are common. In related technologies, the calculation period for traffic flow saturation is one year, which is suitable for long-term port planning, but has low accuracy when identifying traffic flow status in waterways in the short term. Among them, for the calculation of traffic flow saturation, fewer influencing factors are considered, and the values of the influencing factors' influence coefficients are taken in years. However, in actual maritime management, the indicators of influencing factors will continue to change, and the influence coefficients will also change accordingly, resulting in inaccurate real-time calculation of ship traffic flow saturation.
[0075] Based on this, the embodiments of the present invention provide a method, system, electronic device and storage medium for calculating the saturation of ship traffic flow, which can identify the traffic flow status in the waterway in a short period of time and effectively improve the recognition accuracy of the traffic flow status in the waterway. Figure 1 As shown, Figure 1 is an optional flow chart of a method for calculating the saturation of ship traffic flow provided by an embodiment of the present invention. Figure 1 The method may include but is not limited to steps S110 to S150.
[0076] Step S110, obtaining ship automatic identification system data.
[0077] Step S120, data processing is performed on the ship automatic identification system data to obtain dynamic section passing data, wherein the dynamic section passing data includes ship length distribution data and traffic flow speed distribution data.
[0078] Step S130, obtaining data on influencing factors in the ship field.
[0079] Step S140, calculating the dynamic ship area according to the captain distribution data and the ship area influencing factor data.
[0080] Step S150, obtaining dynamic traffic data through calculation of dynamic ship area and traffic flow speed distribution data, and obtaining dynamic traffic flow saturation data through calculation of dynamic traffic data.
[0081] During the working process of this specific embodiment, the embodiment of the present invention first obtains the ship automatic identification system data, and processes the ship automatic identification system data to obtain dynamic section passing data. Specifically, the ship automatic identification system data in the embodiment of the present invention, that is, AIS data, refers to the ship dynamic information collected and transmitted by the ship automatic identification system (AutomaticIdentification System, AIS), such as ship length, ship width, longitude and latitude information, heading, speed, MMSI code, etc. Correspondingly, the dynamic section passing data in the embodiment of the present invention refers to the hourly section passing capacity, including the length distribution data and the traffic flow speed distribution data. The embodiment of the present invention analyzes and processes the AIS data to determine the trajectory points of each ship, and then calculates the hourly section data to obtain the traffic flow speed distribution data and the length distribution data. Next, the embodiment of the present invention obtains the ship field influencing factor data to calculate the dynamic ship field according to the length distribution data and the ship field influencing factor data. Specifically, the ship field influencing factor data in the embodiment of the present invention refers to the ship field influencing factors, such as natural conditions, waterway conditions, traffic conditions, etc., and the corresponding data. The embodiment of the present invention determines the corresponding ship field influencing factors by consulting relevant literature, as shown in Table 1 below:
[0082] Table 1
[0083]
[0084] Accordingly, the embodiment of the present invention obtains the corresponding data of each ship field influencing factor, that is, the ship field influencing factor data, and thus calculates the dynamic ship field by combining the captain distribution data and the ship field influencing factor data. Among them, the embodiment of the present invention can effectively improve the accuracy of ship field calculation by calculating the environmental information (ship field influencing factor data) and traffic flow characteristics (captain distribution data) in the ship field, and alleviate the problems of large data sample requirements and cumbersome calculations. Finally, the embodiment of the present invention calculates dynamic traffic data through dynamic ship fields and traffic flow speed distribution data, and then calculates dynamic traffic flow saturation data through dynamic traffic data. Specifically, in the embodiment of the present invention, dynamic traffic data refers to traffic status information in a short period of time, such as traffic status data within an hour. Accordingly, the embodiment of the present invention combines the dynamic ship field and traffic flow speed distribution data, such as the size and direction of the ship's speed in the corresponding time period with the spatial position or channel distribution information, performs traffic status analysis, obtains dynamic traffic data, and then determines the corresponding dynamic traffic flow saturation data through the calculated dynamic traffic number, realizes the identification of the traffic flow state in the channel in a short period of time, and effectively improves the recognition accuracy of the traffic flow state in the channel.
[0085] In some embodiments of the present invention, data processing is performed on the ship automatic identification system data to obtain dynamic section passing data, including but not limited to the following steps:
[0086] Determine the ship's track points based on the ship's automatic identification system data.
[0087] When the time interval between the determined ship track points is less than a preset time threshold, the ship voyage track is determined, wherein the preset time threshold is determined by a single voyage time of the ship.
[0088] Data analysis is performed based on the ship's voyage trajectory to obtain the ship length distribution data and traffic flow speed distribution data.
[0089] In this specific embodiment, the embodiment of the present invention first determines the ship trajectory points based on the ship automatic identification system data, and determines whether the time interval of the ship trajectory points is less than the preset time threshold. When it is determined that the time interval of the ship trajectory points is less than the preset time threshold, the corresponding ship voyage trajectory is determined, and then data analysis is performed based on the ship voyage trajectory to obtain the length distribution data and traffic flow speed distribution data. Specifically, the embodiment of the present invention obtains the trajectory points of each ship by analyzing and processing the ship automatic identification system data. Then, the embodiment of the present invention analyzes the ship trajectory points to distinguish different voyages. Among them, the embodiment of the present invention determines the corresponding ship voyage trajectory by comparing the time difference between two voyage track points in the ship trajectory points with the preset time threshold. Accordingly, the preset time threshold in the embodiment of the present invention is determined by the single voyage time of the ship. For example, Figure 2 As shown, the range of the AIS data used in the embodiment of the present invention is 3,500 meters before and after the research section, and the average speed of the ship is about 6 knots. Therefore, it is judged that the time for a single voyage of a ship to pass through the sub-area is about 20 minutes, so 20 minutes is set as the preset time threshold. The embodiment of the present invention determines the trajectory of each voyage of the ship, that is, the ship's voyage trajectory, by judging whether the time interval between the trajectory points is less than 20 minutes. Next, the embodiment of the present invention calculates the section data passed every hour according to the voyage trajectory of each ship, thereby obtaining the traffic flow speed distribution data and the ship length distribution data.
[0090] In some embodiments of the present invention, after the step of acquiring the data of influencing factors in the ship field is performed, the ship traffic flow saturation calculation method provided by the embodiment of the present invention further includes but is not limited to the following steps:
[0091] The importance of the preset influencing factors corresponding to the influencing factor data in the ship field was compared pairwise through the questionnaire survey method to obtain the first expert evaluation matrix.
[0092] The expert evaluation average is calculated according to the first expert evaluation matrix, so as to update the first expert evaluation matrix by the expert evaluation average to obtain a second expert evaluation matrix.
[0093] The key influencing factors are determined through the second expert evaluation matrix to determine the target influencing factor data based on the key influencing factors and the ship field influencing factor data.
[0094] In this specific embodiment, the embodiment of the present invention first compares the importance of the preset influencing factors corresponding to the ship field influencing factor data in pairs through a questionnaire survey method to obtain a first expert evaluation matrix. Specifically, after obtaining the ship field influencing factor data, the embodiment of the present invention screens each preset influencing factor through a hierarchical analysis method. Exemplarily, the embodiment of the present invention compares the importance of each indicator in pairs through a questionnaire survey method, that is, compares the importance of the preset influencing factors in pairs, and obtains the first expert evaluation matrix, wherein the evaluation criteria are shown in Table 2 below:
[0095] Table 2
[0096] value explain 1 Indicates that two elements are of equal importance. 3 Indicates that one element is slightly more important than another element. 5 Compared with two elements, one is more important than the other. 7 Compared with two elements, one is more important than the other, but not absolutely. 9 Indicates that one element is definitely more important than another 2,4,6,8 Between corresponding levels
[0097] Next, the embodiment of the present invention calculates the expert evaluation average according to the first expert evaluation matrix, so as to update the first expert evaluation matrix by the expert evaluation average to obtain a second expert evaluation matrix. Specifically, when the Kth expert evaluation result in the first expert evaluation matrix is as shown in the following formula (1):
[0098]
[0099] Accordingly, the embodiment of the present invention calculates the average of expert judgments to update the judgment matrix, that is, to update the expert evaluation matrix. When there are K experts, the embodiment of the present invention calculates the average of expert judgments as shown in the following formula (2):
[0100]
[0101] Accordingly, the updated judgment matrix, i.e., the second expert judgment matrix, is as shown in the following formula (3):
[0102]
[0103] Among them, in the embodiment of the present invention, the evaluation results of the influencing factors are obtained through questionnaire survey, and the evaluation results of the first-level ship field influencing factors (preset influencing factors) in Table 1 above are taken as an example, as shown in Table 3 below:
[0104] Table 3
[0105]
[0106] Further, the embodiment of the present invention determines the key influencing factors through the second expert evaluation matrix to determine the target influencing factor data according to the key influencing factors and the ship field influencing factor data. Specifically, the embodiment of the present invention determines several factors with higher weights as key influencing factors based on the weight data of each element in the second expert evaluation matrix. For example, it can be seen from the above evaluation results that the personnel condition has the lowest weight. Considering that in actual maritime management, personnel factor indicators cannot be accurately collected and quantified, personnel factors are not considered when calculating the dynamic ship field in some embodiments of the present invention. Among them, the CR value calculated in the embodiment of the present invention is 0.04617<0.1, and the judgment matrix satisfies the consistency test. Similarly, for the second-level indicators B1, B2, and B3 in Table 1 above, the corresponding discriminant matrices are constructed respectively, and the CR values of the three judgment matrices are calculated to be 0.03094, 0.0331, and 0.04729, respectively, all of which pass the consistency test. Accordingly, the embodiment of the present invention calculates the final weights of all influencing factors, where the top 9 weighted factors are water flow, visibility, wind, channel size, navigation aids, safety management regulations, captain, ship type and ship speed. The embodiment of the present invention uses the above-identified preset influencing factors with higher weights as the main influencing factors, i.e., key influencing factors, when calculating the ship dynamics and ship field, thereby filtering out the data corresponding to these key influencing factors from the ship field influencing factor data to obtain the target influencing factor data.
[0107] In some embodiments of the present invention, the dynamic ship domain is calculated based on the captain distribution data and the ship domain influencing factor data, including but not limited to the following steps:
[0108] When it is determined according to the ship length distribution data that the ship length data is in a preset ship length interval, the corresponding first ship navigation data is recorded.
[0109] The recorded first ship navigation data is sorted out using the ship's unique identification code to obtain first ship track data.
[0110] The first ship track data is interpolated to obtain second ship track data.
[0111] When it is determined that the track points in the second ship track data appear within the preset safety distance of the target ship at the same time, the corresponding second ship navigation data is recorded.
[0112] The second ship navigation data is interpolated to obtain third ship track data.
[0113] The preset coordinate system data is calculated based on the third ship trajectory data and the target ship trajectory data.
[0114] The preset coordinate system data is used to divide sectors, and point set fitting processing is performed according to the sectors obtained by the division to obtain ship field data.
[0115] The factor influence coefficient is calculated based on the ship field data and the target influencing factor data.
[0116] The dynamic ship field is calculated by factor influence coefficients and ship field data.
[0117] In this specific embodiment, the embodiment of the present invention determines the ship domain by visualizing the position distribution of the ships around the ship during the navigation process. This method can obtain an area without other ships around a ship, that is, the ship domain. Among them, the embodiment of the present invention calculates the ship domain through AIS data. First, the embodiment of the present invention determines whether the captain distribution data obtained by AIS data processing is in a preset captain interval. When it is determined that the ship captain data is in the preset captain interval according to the captain distribution data, the embodiment of the present invention records the corresponding first ship navigation data, and sorts the recorded first ship captain data through the ship unique identification code to obtain the first ship track data, and then interpolates the first ship track data to obtain the second ship track data. Specifically, the embodiment of the present invention traverses each ship in the AIS data to determine whether the captain data of the current ship is in the preset captain interval to filter out ships that meet the preset size. Accordingly, when it is determined that the ship captain data of the current ship is in the preset captain interval, the embodiment of the present invention records the data of the ship, such as timestamp, position, speed, heading and other information. Next, the embodiment of the present invention organizes the recorded ship data (first ship navigation data) into different trajectories through the ship's unique identification code (MMSI code) to obtain the first ship trajectory data, and interpolates each trajectory at a preset time interval to obtain smoother trajectory points, and stores the trajectory points as the second ship trajectory data.
[0118] Next, the embodiment of the present invention determines whether the track points in the second ship track data appear within the preset safety distance of the target ship at the same time. When it is determined that the track points in the second ship track data appear within the preset safety distance of the target ship at the same time, the embodiment of the present invention records the corresponding second ship navigation data, and interpolates the second ship navigation data to obtain the third ship track data. Correspondingly, the embodiment of the present invention calculates the preset coordinate system data according to the third ship track data and the target ship track data. Specifically, the embodiment of the present invention traverses each ship in the AIS data again, and for each track point in each track in the second ship track data, when the track point appears within the preset safety distance of the target ship at the same time, such as within 2000 meters, the embodiment of the present invention records the data of the corresponding ship to obtain the second ship navigation data. Next, the embodiment of the present invention interpolates the recorded ship data, i.e., the second ship navigation data, according to the preset time interval to obtain the third ship track data. Correspondingly, the embodiment of the present invention calculates the coordinate data of the approaching ship in the Cartesian coordinate system of the target ship according to the longitude and latitude of the two ships (the target ship and the approaching ship) and the navigation of the target ship, and obtains the preset coordinate system data. Further, the embodiment of the present invention divides sectors by preset coordinate system data, performs point set fitting processing according to the sectors obtained by the division, obtains ship field data, and calculates the factor influence coefficient according to the ship field data and the target influencing factor data, and then calculates the dynamic ship field by the factor influence coefficient and the ship field data. Specifically, the embodiment of the present invention first divides the Cartesian coordinate system into multiple sectors at preset intervals, such as 5° intervals, and finds 5% of the points in each sector to perform fitting processing on each sector point, such as by ellipse fitting, to obtain the boundary of the ship field, that is, the ship field data. Accordingly, the embodiment of the present invention calculates the size of the ship field when each influencing factor is at different values, calculates the ratio of the ship field under different values to the ship field under the reference condition, and obtains its influence coefficient on the ship field, that is, the factor influence coefficient. For example, the embodiment of the present invention divides the water level into three levels of a, b and c, and the ship field sizes are Ma, Mb and Mc respectively. If the water level a is selected as the reference condition, the influence coefficients of a, b and c are: 1, Mb / Ma and Mc / Ma respectively. The dynamic ship field calculation formula in the embodiment of the present invention is shown in the following formula (4):
[0119]
[0120] Among them, r0 is the long axis of the standard ship field, s0 is the short axis of the standard ship field, η i is the influence coefficient of the i-th influencing factor in this period.
[0121] In some embodiments of the present invention, the dynamic traffic data includes dynamic waterway capacity and dynamic ship flow. Accordingly, in the embodiments of the present invention, the dynamic traffic flow saturation data is obtained by calculating the dynamic traffic data, including but not limited to the following steps:
[0122] Dynamic traffic flow saturation data is obtained by analyzing and calculating the dynamic channel capacity and dynamic ship flow.
[0123] In this specific embodiment, the dynamic channel capacity refers to the section capacity per hour, and the dynamic ship flow refers to the traffic flow passing through the section per hour. The embodiment of the present invention calculates the dynamic traffic flow saturation data by combining the dynamic channel capacity and the dynamic ship flow. Among them, the calculation formula of the real-time traffic flow saturation (dynamic traffic flow saturation data) in the embodiment of the present invention is shown in the following formula (5):
[0124] S p =Q / C d (5)
[0125] Among them, S p is the cross-sectional traffic flow saturation, i.e., the dynamic traffic flow saturation. Q is the current cross-sectional traffic flow, i.e., the dynamic ship flow. d It is the real-time channel throughput capacity, that is, dynamic channel throughput capacity.
[0126] In some embodiments of the present invention, the dynamic traffic data is obtained by calculating the dynamic ship field and the traffic flow speed distribution data, including but not limited to the following steps:
[0127] Traffic flow speed information is calculated based on traffic flow speed distribution data and the number of ships in the waterway.
[0128] The dynamic channel capacity is calculated based on the traffic flow speed information and the dynamic ship field.
[0129] In this specific embodiment, the embodiment of the present invention first calculates the traffic flow speed information based on the traffic flow speed distribution data and the number of ships in the waterway. Specifically, the traffic flow speed distribution data in the embodiment of the present invention includes the speed of each ship passing through the waterway. Accordingly, the calculation formula of the traffic flow speed information in the embodiment of the present invention is shown in the following formula (6):
[0130]
[0131] Among them, V j is the speed of the jth ship passing through the channel during the calculation period, and n is the number of all ships passing through the channel, that is, the number of ships in the channel.
[0132] Next, the embodiment of the present invention calculates the dynamic channel capacity based on the traffic flow speed information and the dynamic ship field. Specifically, the dynamic channel capacity calculation formula in the embodiment of the present invention is shown in the following formula (7):
[0133]
[0134] Among them, C d is the real-time channel capacity (dynamic channel capacity), W is the channel width, r is the major axis of the dynamic ship field, s is the minor axis of the dynamic ship field, and V is the traffic flow speed.
[0135] In some embodiments of the present invention, the dynamic traffic data is obtained by calculating the dynamic ship field and the traffic flow speed distribution data, and further includes but is not limited to the following steps:
[0136] The ship conversion flow is calculated based on the dynamic ship area and the standard ship area.
[0137] The dynamic ship flow is obtained by calculating the ship converted flow.
[0138] In this specific embodiment, the embodiment of the present invention first calculates the ship conversion flow according to the dynamic ship field and the standard ship field, and then calculates the dynamic ship flow through the ship conversion flow. Specifically, the dynamic ship flow in the embodiment of the present invention is the current section traffic flow, and its calculation formula is shown in the following formula (8):
[0139] Q=q1+q2+…+q n (8)
[0140] Among them, when n ships pass through the section during the calculation period, q i is the converted flow of the i-th ship, and the calculation formula is shown in the following formula (9):
[0141]
[0142] Among them, SD i is the dynamic ship area of the i-th ship, SD0 is the dynamic ship area of the selected standard ship, R i , S i are respectively the long and short semi-axes of the dynamic ship field of the i-th ship, and R0 and S0 are the long and short semi-axes of the dynamic ship field of the selected standard ship. Among them, the standard ship involved in the embodiment of the present invention can be selected according to the distribution of ship lengths or relevant regulations as required.
[0143] Next, the scheme of the embodiment of the present invention is described in detail and explained in conjunction with a specific application example of ship traffic flow saturation calculation:
[0144] Reference Figure 3 , Figure 3 This is the real-time traffic flow saturation calculation process in the actual application of the embodiment of the present invention. Among them, the ship flow per hour in the figure is the traffic flow passing through the section per hour, and the section capacity per hour is the dynamic channel capacity of the embodiment of the present invention. Accordingly, the input in the embodiment of the present invention is AIS data and ship field influencing factor data, and the output is the real-time ship traffic flow saturation of the channel, that is, dynamic traffic flow saturation data.
[0145] For example, in the embodiment of the present invention, the acquisition time is from June 2022 to October 2023, and the decoded AIS dynamic data is about 5.4 million, and the data analysis results of June, December 2022 and June 2023 are used as examples for demonstration. Among them, taking the data of June 2022 as an example, the embodiment of the present invention selects 4 time periods with more data points to calculate the dynamic ship field, and compares them with other mainstream ship field calculation methods, such as Fujii and Tanaka algorithm, Coldwell algorithm, Hansen algorithm, Wielgosz algorithm, and Ding method. The results are as follows: Figure 4 , Figure 5 , Figure 6 as well as Figure 7 As shown, the units of the horizontal and vertical axes in the figure are meters. Among them, the embodiment of the present invention counts the number of other ship trajectory points within 500 meters from the ship under different models, as well as the number and proportion of points in the ship area, and the results are shown in the following Table 4:
[0146] Table 4
[0147]
[0148]
[0149] Accordingly, the ship traffic flow speed distribution calculated in the embodiment of the present invention is as follows: Figure 8 and Fig. 9 As shown in the figure, the speed density first increases and then decreases with the speed, reaching a peak at 5-7 knots, and the speed is almost always between 3-12 knots, occasionally reaching around 17 knots. Most of the ships sailing in this water area are cargo ships and fishing boats, so the speed distribution range is consistent with the actual situation. And from the distribution map, it can be seen that the speed distribution in this water area is within 8 knots for more than 90% of the time. The reason is that this water area is a bridge area, and ships need to be more cautious when sailing, so the speed is not high.
[0150] Next, the embodiment of the present invention counts the hourly throughput capacity distribution of key sections each month, such as Fig.10 and Fig.11As shown in the figure. As can be seen from the figure, the distribution diagram of the hourly capacity of the section shows a trend of first rising, then falling, and then rising and falling. There are two obvious peaks, and the peak sizes of the two peaks in different seasons are different, about 20 ships per hour and about 37 ships per hour respectively. In June and September, the cross-section capacity is about 37 ships per hour for a long time, and in March and December, the cross-section capacity is about 20 ships per hour for a long time. Further analysis of the results found that the cross-section capacity during the day is concentrated at 37 ships per hour, and at night it is concentrated at 20 ships per hour. In addition, the route is located in the northern hemisphere. In June and September, the day is longer than the night, and in March and December, the night is longer than the day. Therefore, it is judged that the two peaks of the cross-section capacity are caused by day and night; the cross-section capacity is distributed within 60 ships per hour, mainly distributed between 15 and 40 ships, and occasionally reaches more than 50 ships per hour. The average value of the maximum hourly traffic flow saturation of the section in 24 hours each month can be calculated from the calculated number of ships passing through the section per hour and the cross-section capacity per hour.
[0151] Furthermore, in the embodiment of the present invention, the ship traffic flow distribution is calculated according to the formula: Fig.12 and Fig.13 As shown in the figure, the flow distribution density increases first and then decreases with the hourly capacity. The monthly hourly flow at this section is mostly between 0 and 15 ships / hour, and occasionally reaches more than 20 ships / hour. Then, based on the distribution of ship traffic flow in the channel capacity distribution, the distribution of the maximum traffic flow saturation of each hour in each key section of the target waters is calculated, as shown in the figure. Fig.14 and Fig.15 As shown in the figure, the ship traffic flow saturation in this area is between 40% and 80% most of the time, and the traffic flow saturation in this section is higher at night. This phenomenon mainly occurs because the natural conditions for navigation deteriorate at night, resulting in a decrease in the cross-sectional capacity, but the ship flow is not much different from that during the day.
[0152] Accordingly, since the magnitude of the waterway traffic flow saturation is closely related to the waterway traffic flow state, it affects the navigation safety of ships. Therefore, the embodiment of the present invention verifies the traffic flow saturation calculation result by using the number of accidents in the section. The embodiment of the present invention defines a ship collision accident as a serious accident and defines the infringement of the ship's territory as an accident without injury, that is, in the historical traffic flow of the waterway, a serious accident will occur for every 330 infringements of the ship's territory, thereby calculating the probability of a ship collision accident under different waterway traffic flow saturations, as shown in Table 5 below:
[0153] Table 5
[0154]
[0155] According to the accident data of this section, there were 4 collision accidents in this section from June 2022 to June 2023, involving 8 ships. The traffic volume of this section during this period was 20168.07 ships, and the probability of a ship collision accident can be calculated as At the same time, the traffic flow saturation of this section during this period is 46.3%. According to the results in Table 5, the probability of ship collision accidents is about The error with the accident statistics is 7.4%, which reflects that the traffic flow saturation calculation result using the ship traffic flow saturation calculation method of the embodiment of the present invention has good rationality and scientificity. In addition, according to the accident statistics of relevant waters from January 2018 to July 2023, a total of 36 water accidents occurred, of which collision accidents accounted for 56%. By counting the number of accidents in each time period, it was found that the number of accidents was higher at night and lower during the day, which is basically consistent with the distribution of ship traffic flow saturation in this water area. The relationship between traffic flow saturation and accident statistics in different time periods is as follows: Fig.16 shown.
[0156] It is easy to understand that the embodiment of the present invention uses real-time environmental indicators and ship traffic flow characteristics to calculate the real-time ship traffic flow saturation on an hourly basis, and identifies the influencing factors based on existing research, selects the main influencing factors and analyzes their influence coefficients, and realizes the rapid and accurate calculation of the ship traffic flow saturation. Accordingly, the embodiment of the present invention uses real-time environmental information and ship traffic flow characteristics to calculate the real-time traffic flow saturation of the waterway, thereby alleviating the long calculation cycle, resulting in the average of high traffic flow saturation values during some peak traffic hours, and can more accurately reflect the state of waterway traffic flow, thereby providing a theoretical basis for ship traffic flow management. In addition, when calculating the ship field, one of the most important parameters of traffic flow saturation, the embodiment of the present invention adopts a method of correcting the standard ship field according to environmental information and traffic flow characteristics, which can effectively alleviate the problems of large data sample requirements and cumbersome calculations.
[0157] See also Fig.17 The embodiment of the present application also provides a ship traffic flow saturation calculation system, which can implement the above-mentioned ship traffic flow saturation calculation method, and the system includes:
[0158] The first module 210 is used to obtain ship automatic identification system data.
[0159] The second module 220 is used to process the ship automatic identification system data to obtain dynamic section passing data, wherein the dynamic section passing data includes ship length distribution data and traffic flow speed distribution data.
[0160] The third module 230 is used to obtain data on influencing factors in the ship field.
[0161] The fourth module 240 is used to calculate the dynamic ship area according to the captain distribution data and the ship area influencing factor data.
[0162] The fifth module 250 is used to calculate dynamic traffic data through dynamic ship field and traffic flow speed distribution data, so as to calculate dynamic traffic flow saturation data through dynamic traffic data.
[0163] 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.
[0164] 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 ship traffic flow saturation calculation method when executing the computer program. The electronic device can be any intelligent terminal including a tablet computer, a car computer, etc.
[0165] 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.
[0166] See also Fig.18 , Fig.18 The hardware structure of an electronic device of another embodiment is illustrated, and the electronic device includes:
[0167] 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;
[0168] 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 ship traffic flow saturation calculation method of the embodiment of this application;
[0169] Input / output interface 330, used to implement information input and output;
[0170] 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.);
[0171] 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 );
[0172] 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 .
[0173] 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 ship traffic flow saturation calculation method is implemented.
[0174] 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.
[0175] 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.
[0176] 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.
[0177] 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.
[0178] 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.
[0179] 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 calculating ship traffic flow saturation, characterized in that: The method comprises the following steps: Obtaining ship automatic identification system data; Processing the ship automatic identification system data to obtain dynamic section passing data; wherein the dynamic section passing data includes ship length distribution data and traffic flow speed distribution data; Obtain data on factors affecting the shipping sector; Calculate a dynamic ship domain based on the ship captain distribution data and the ship domain influencing factor data; Dynamic traffic data is calculated through the dynamic ship area and the traffic flow speed distribution data, and dynamic traffic flow saturation data is calculated through the dynamic traffic data.
2. The method according to claim 1, characterized in that The processing of the ship automatic identification system data to obtain dynamic section passing data includes: determining a ship track point based on the ship automatic identification system data; When it is determined that the time interval between the ship trajectory points is less than a preset time threshold, determining the ship voyage trajectory; wherein the preset time threshold is determined by the single voyage time of the ship; Data analysis is performed based on the ship's voyage trajectory to obtain the ship length distribution data and the traffic flow speed distribution data.
3. The method according to claim 1, characterized in that After executing the step of obtaining the data of factors affecting the shipping field, the method further includes: By using a questionnaire survey method, the importance of the preset influencing factors corresponding to the influencing factor data in the ship field is compared pairwise to obtain a first expert evaluation matrix; Calculating an expert evaluation average according to the first expert evaluation matrix, and updating the first expert evaluation matrix by the expert evaluation average to obtain a second expert evaluation matrix; The key influencing factors are determined by the second expert evaluation matrix, so as to determine the target influencing factor data according to the key influencing factors and the ship field influencing factor data.
4. The method according to claim 3, characterized in that The calculating of the dynamic ship field according to the ship captain distribution data and the ship field influencing factor data includes: When it is determined according to the ship length distribution data that the ship length data is within a preset ship length interval, recording corresponding first ship navigation data; Arranging the recorded first ship navigation data by using the unique ship identification code to obtain first ship track data; performing interpolation processing on the first ship trajectory data to obtain second ship trajectory data; When it is determined that the track points in the second ship track data appear within the preset safety distance of the target ship at the same time, recording the corresponding second ship navigation data; performing interpolation processing on the second ship navigation data to obtain third ship trajectory data; Calculate the preset coordinate system data according to the third ship trajectory data and the target ship trajectory data; Sector division is performed using the preset coordinate system data, and point set fitting processing is performed according to the sectors obtained by the division to obtain ship field data; Calculate the factor influence coefficient based on the ship field data and the target influencing factor data; The dynamic ship field is obtained by calculating the factor influence coefficients and the ship field data.
5. The method according to claim 1, characterized in that The dynamic traffic data includes dynamic waterway capacity and dynamic ship flow; The dynamic traffic flow saturation data is obtained by calculating the dynamic traffic data, including: The dynamic traffic flow saturation data is obtained by analyzing and calculating according to the dynamic waterway capacity and the dynamic ship flow.
6. The method according to claim 5, characterized in that The dynamic traffic data is obtained by calculating the dynamic ship field and the traffic flow speed distribution data, including: Calculating traffic flow speed information based on the traffic flow speed distribution data and the number of ships in the waterway; The dynamic waterway capacity is calculated based on the traffic flow speed information and the dynamic ship field.
7. The method according to claim 5, characterized in that The dynamic traffic data is obtained by calculating the dynamic ship field and the traffic flow speed distribution data, further comprising: The ship conversion flow is calculated based on the dynamic ship area and the standard ship area; The dynamic ship flow is obtained by calculating the ship converted flow.
8. A ship traffic flow saturation calculation system, characterized in that: The system comprises: The first module is used to obtain ship automatic identification system data; The second module is used to process the ship automatic identification system data to obtain dynamic section passing data; wherein the dynamic section passing data includes ship length distribution data and traffic flow speed distribution data; The third module is used to obtain data on factors affecting the ship sector; A fourth module is configured to calculate a dynamic ship domain based on the captain distribution data and the ship domain influencing factor data; The fifth module is used to calculate dynamic traffic data through the dynamic ship field and the traffic flow speed distribution data, so as to calculate dynamic traffic flow saturation data through the dynamic traffic 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
Cited By
Water transportation channel congestion identification method and device based on AIS big data
CN119479369A
Channel section transport volume measuring and calculating method and device, electronic equipment and storage medium
CN119648093A
