Channel section transport volume measuring and calculating method and device, electronic equipment and storage medium

By preprocessing and correlation of maritime ship port report data and ship AIS data, combined with the ship's channel section algorithm, the problem that traditional methods cannot monitor the channel section flow and freight volume in real time is solved, and high-accurate channel section transportation volume calculation is achieved.

CN119648093AActive Publication Date: 2025-03-18CHINA ACAD OF TRANSPORTATION SCI

Patent Information

Application Number
CN202510152398.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-12
Publication Date
2025-03-18
Estimated Expiration
2045-02-12

AI Technical Summary

Technical Problem

Traditional waterway cross-section flow and freight volume statistics methods cannot monitor the changes in waterway cross-section flow and freight volume in real time, resulting in limited data coverage, insufficient accuracy and reliability, and it is difficult to meet the needs of data analysis and ship management.

Method used

By pre-processing the port report data of maritime ships and ship AIS data, constructing constraints for data correlation, combining ship AIS trajectory information and channel section information to construct ships through channel section algorithms to identify ship behaviors to obtain channel section transportation volume.

Benefits of technology

The calculation of channel cross-section flow and freight volume that does not rely on infrastructure is realized, the accuracy and reliability of data are improved, and the results of channel cross-section analysis in multiple channels and multi-space-time dimensions are formed, which can provide relevant management departments with real-time, accurate and comprehensive channel operation data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119648093A_ABST
    Figure CN119648093A_ABST
Patent Text Reader

Abstract

The invention provides a channel section transport volume measuring and calculating method and device, electronic equipment and a storage medium, and relates to the technical field of data processing, and the method comprises the steps: carrying out the data preprocessing of maritime ship port reporting data, and obtaining the initial maritime ship port reporting data; performing data preprocessing on the ship AIS data to obtain initial ship AIS data; constructing constraint conditions according to the initial maritime ship port reporting data and the initial ship AIS data, and performing data association according to the constraint conditions to obtain an associated data set; constructing a ship passing channel section algorithm according to the ship AIS track information and the channel section information; and identifying ship behaviors according to the associated data set and a ship passing channel section algorithm to obtain the transport volume of the ship passing the channel section. Real-time, accurate and comprehensive channel operation data can be provided for related management departments, and channel management efficiency and decision-making scientificity can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a method, device, electronic equipment and storage medium for calculating waterway cross-section transport volume. Background Art

[0002] In the current shipping industry, statistics on ship cross-sectional flow and cargo volume is a crucial task, which is directly related to the operational efficiency and economic benefits of the shipping industry. However, the traditional statistical method mainly relies on lock equipment. Although this method can provide certain data support to a certain extent, it has many shortcomings.

[0003] Traditional statistical methods can only rely on lock equipment for monitoring, so they can only measure specific waterway sections and cannot achieve full-range monitoring of waterway section flow. This not only limits the coverage of the data, but also affects the accuracy and reliability of the data. Since the process of ships passing through the locks takes a certain amount of time, and the statistical process is often carried out after the ship has completed the passage through the locks, the current statistical time range for the number of ships passing through the locks is relatively long, and the data granularity is relatively coarse. It is impossible to monitor the changes in the cross-sectional flow and cargo volume in real time, and it is difficult to meet the needs of data analysis and ship management. Therefore, a new solution is urgently needed to solve the problem that traditional statistical methods cannot monitor the changes in the waterway section flow and cargo volume in real time. Summary of the invention

[0004] In view of the above-mentioned deficiencies in the prior art, the present invention provides a method, device, electronic device and storage medium for calculating the waterway cross-section transport volume, which effectively solves the problem that traditional statistical methods cannot monitor the changes in waterway cross-section flow and freight volume in real time.

[0005] In a first aspect, the present invention provides a method for calculating waterway cross-section transport volume, the method comprising: Preprocess the maritime ship port reporting data to obtain the initial maritime ship port reporting data; Preprocess the ship AIS data to obtain initial ship AIS data; Constructing constraint conditions according to the initial maritime ship port reporting data and the initial ship AIS data, and performing data association according to the constraint conditions to obtain an associated data set; Construct a channel section algorithm for ships based on the ship's AIS track information and channel section information; The ship behavior is identified according to the associated data set and the algorithm for the ship passing through the waterway section to obtain the transport volume of the ship passing through the waterway section.

[0006] Further, the preprocessing of the ship AIS data to obtain the initial ship AIS data includes: Performing message parsing on the ship AIS data to obtain ship AIS parsed data; The ship AIS parsed data is subjected to thinning processing to obtain the initial ship AIS data.

[0007] Further, parsing the message of the ship AIS data to obtain the ship AIS parsed data includes: Extracting encapsulated ship AIS message information from the ship AIS data; Convert the ship AIS message information from an ASCII code string into a binary stream to obtain binary ship AIS message information; Binary data segments are intercepted from the binary ship AIS message information and corresponded to corresponding information segments to obtain the ship AIS parsed data.

[0008] Furthermore, the constructing of constraint conditions according to the initial maritime ship port reporting data and the initial ship AIS data, and performing data association according to the constraint conditions to obtain an associated data set includes: Extracting the associated fields of the initial maritime ship port reporting data and the initial ship AIS data, and performing preliminary data association according to the associated fields; Constructing a time association constraint according to the time information in the initial maritime ship port reporting data and the initial ship AIS data; Constructing spatial association constraints based on the initial maritime ship port reporting data and the location information in the initial ship AIS data; Constructing similarity constraints based on the initial maritime ship port reporting data and the ship static attribute information in the initial ship AIS data; Data association is performed according to the time association constraint, the space association constraint and the similarity constraint to obtain the associated data set.

[0009] Furthermore, the algorithm for constructing a ship's passage through a waterway section according to the ship's AIS track information and the waterway section information includes: Obtaining the front and rear endpoints of the ship's AIS track and the two end breakpoints of the channel section; Constructing a plurality of target vectors according to the front and rear endpoints and the breakpoints at both ends; Whether the ship passes through the channel section is determined based on the multiple target vectors.

[0010] Furthermore, after constructing the target vector according to the front and rear endpoints and the two end breakpoints, the method further includes: The navigation direction of the ship passing through the channel section is determined according to the directional relationship between the target vector and the front and rear endpoints.

[0011] Furthermore, the identifying of ship behavior according to the associated data set and the ship passing through the waterway section algorithm to obtain the transport volume of the ship passing through the waterway section includes: Constructing the waterway cross-section analysis dimension; Calculate the flow rate of the ship passing through the waterway section according to the associated data set and the algorithm for the ship passing through the waterway section; The cargo volume of the ship passing through the waterway section is calculated according to the associated data set and the algorithm for the ship passing through the waterway section.

[0012] In a second aspect, the present invention provides a device for calculating waterway cross-sectional transport volume, the device comprising: The first processing module is used to pre-process the maritime ship port reporting data to obtain the initial maritime ship port reporting data; The second processing module is used to pre-process the ship AIS data to obtain initial ship AIS data; A data association module, used for constructing constraint conditions according to the initial maritime ship port reporting data and the initial ship AIS data, and performing data association according to the constraint conditions to obtain an associated data set; An algorithm building module is used to build a ship's channel section algorithm based on the ship's AIS track information and channel section information; The data calculation module is used to identify the ship behavior based on the associated data set and the ship passing through the channel section algorithm to obtain the transportation volume of the ship passing through the channel section.

[0013] In a third aspect, the present invention provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method for calculating the waterway cross-section transport volume as described in the first aspect of the present invention.

[0014] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method for calculating the waterway cross-section transport volume as described in the first aspect of the present invention is implemented.

[0015] The method, device, electronic device and storage medium for calculating the waterway section transport volume provided by the present invention construct data set fusion constraints based on the large data set of ship operation, effectively integrate the multi-source data sets of ship operation, improve the efficiency of data use, reduce the errors caused by single data analysis, and ensure the correlation and consistency between data, thereby improving the accuracy and reliability of the analysis results. By constructing an algorithm for ships passing through waterway sections, the waterway section flow and freight volume calculation that does not rely on infrastructure is realized, forming waterway section analysis results of multiple waterways and multiple time and space dimensions. It can provide real-time, accurate and comprehensive waterway operation data for relevant management departments, provide scientific data support for monitoring the ship transportation situation in waterway sections, and help improve the efficiency of waterway management and the scientific nature of decision-making. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0017] Figure 1 It is a first schematic diagram of the process of the method for calculating the waterway cross-section transport volume provided by an embodiment of the present invention; Figure 2 It is a second schematic diagram of the process of the method for calculating the waterway cross-section transport volume provided by an embodiment of the present invention; Figure 3 It is a third schematic diagram of the process of the method for calculating the waterway cross-section transport volume provided by an embodiment of the present invention; Figure 4 It is a fourth schematic diagram of the process of the method for calculating the waterway cross-section transport volume provided by an embodiment of the present invention; Figure 5 It is a fifth schematic diagram of the process of the method for calculating the waterway cross-section transport volume provided by an embodiment of the present invention; Figure 6 is a schematic diagram of trajectory points when a ship passes through a channel section in an embodiment of the present invention; Figure 7 is a schematic diagram of the intersection vectors of the cross-section line segment and the trajectory line segment in an embodiment of the present invention; Figure 8 is a diagram illustrating the position of vectors in an embodiment of the present invention; Fig. 9 is a schematic diagram of a ship going upstream in an embodiment of the present invention; Fig.10 is a schematic diagram of a ship going downhill in an embodiment of the present invention; Fig.11It is a sixth schematic diagram of the process of the method for calculating the waterway cross-section transport volume provided by an embodiment of the present invention; Fig.12 It is a schematic diagram of the structure of a waterway cross-section transport volume measuring device provided by an embodiment of the present invention; Fig.13 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention.

[0018] Description of main component symbols: 200. Channel section transport volume calculation device; 210. First processing module; 220. Second processing module; 230. Data association module; 240. Algorithm construction module; 250. Data calculation module; 300. Electronic device; 310. Processor; 320. Communication interface; 330. Memory; 340. Communication bus. DETAILED DESCRIPTION

[0019] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be further clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. It should be noted that the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0020] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0021] 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 in this specification are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more of the related listed items.

[0022] In the current shipping industry, statistics on ship cross-sectional flow and cargo volume is a vital task. Traditional ship cross-sectional flow and cargo volume statistics methods can only rely on lock equipment for monitoring, so they can only measure specific waterway sections and cannot achieve full-range monitoring of waterway cross-sectional flow. This not only limits the coverage of the data, but also affects the accuracy and reliability of the data. Since the process of ships passing through the locks takes a certain amount of time, and the statistical process is often carried out after the ship has completed the passage through the locks, the current statistical time range for the number of ships passing through the locks is relatively long, and the data granularity is relatively coarse. It is impossible to monitor the changes in cross-sectional flow and cargo volume in real time, and it is difficult to meet the needs of data analysis and ship management.

[0023] Example 1 The embodiment of the present invention provides a method for calculating the waterway cross-section transport volume, which effectively solves the problem that traditional statistical methods cannot monitor the changes in waterway cross-section flow and freight volume in real time. Figure 1 is a first schematic diagram of the process of the method for calculating the waterway cross-section transport volume provided by an embodiment of the present invention, such as Figure 1 As shown, the method comprises the following steps: S100, pre-processing the maritime vessel port reporting data to obtain initial maritime vessel port reporting data.

[0024] In the embodiment of the present invention, the maritime ship port declaration data can fully reflect the completion status of each voyage of the ship, and a port declaration will be made before each arrival and departure. The maritime ship port declaration data includes but is not limited to the ship name, ship MMSI number, ship call sign, port entry and exit type, reporting time, ship static information and ship transportation dynamic information, among which the ship static information includes but is not limited to the ship tonnage, ship size, ship nationality and port of registry, and the ship transportation dynamic information includes but is not limited to the name of the ship's entry and exit port, the type of cargo loaded and unloaded, and the amount of cargo loaded and unloaded.

[0025] Maritime ship port declaration data records detailed information about the entry and exit of ships and loading and unloading. The data volume is huge. At the same time, due to factors such as system transmission problems and reporting errors, there may be redundant and erroneous data. Therefore, it is necessary to pre-process the maritime ship port declaration data. Data pre-processing mainly includes data cleaning, deleting erroneous data such as time anomalies and time duplications. The final initial maritime ship port declaration data includes fields such as ship name, port of registry code, port declaration agency, loading and unloading volume, entry and exit marks, cargo type, actual cargo load, and reporting time, laying the foundation for the subsequent calculation of transportation volume.

[0026] S200: Preprocess the ship AIS data to obtain initial ship AIS data.

[0027] In the embodiment of the present invention, the ship AIS data can reflect the entire process of the ship's navigation track, and the data generation speed is fast, and the data generation interval varies from 2s to 3min. The ship AIS data includes but is not limited to information such as the ship name, ship MMSI number, ship position longitude and latitude, ship speed and ship sailing time. The ship AIS data consists of a special format of ship AIS sentences and contains redundant data, so it needs to be preprocessed. Figure 2 is a second schematic diagram of the flow of the method for calculating the waterway cross-section transport volume provided by an embodiment of the present invention, such as Figure 2 As shown, the data preprocessing of ship AIS data specifically includes the following steps: S210: parse the ship AIS data to obtain ship AIS parsed data.

[0028] Figure 3 is a third schematic diagram of the process of the method for calculating the waterway cross-section transport volume provided by an embodiment of the present invention, such as Figure 3 As shown, message parsing specifically includes the following steps: S211. Extracting encapsulated ship AIS message information from the ship AIS data.

[0029] Ship AIS data is usually sent in NMEA 0183 protocol format. Ship AIS data encapsulates AIS message information. The AIS message information exists in the form of ASCII code strings, which encapsulates ship navigation dynamic information and static information.

[0030] For example, take the ship AIS data "!--VDM,x1,x2,x3,a,s--s,x4*hh <cr> <lf>" is used as an example for explanation, where !-- represents the sender identifier; VDM represents the sentence structure identifier; x1 represents the total number of sentences required to transmit the message, and its value is 1~9; x2 represents the sentence sequence number, and its value is 1~9; x3 represents the sequence message identification code, and its value is 0~9; a represents the AIS channel, and its value is A or B; s--s represents the encapsulated AIS message information, and its expression form is the hexadecimal ASCII code string form; x4 represents the number of padding bits, and its value is 0~5; hh represents the checksum.

[0031] S212: Convert the ship AIS message information from the ASCII code string form into a binary stream form to obtain binary ship AIS message information.

[0032] The extracted ship AIS message information is converted from the ASCII code string form into the binary stream form. In the embodiment of the present invention, the ship AIS message information is represented in hexadecimal form and needs to be converted into binary, where each hexadecimal character corresponds to 4 bits of binary.

[0033] S213, extracting binary data segments from the binary ship AIS message information and corresponding them to corresponding information segments, and obtaining ship AIS parsed data.

[0034] In the embodiment of the present invention, the ship AIS message information conversion standard (ITU-R M.1371) is followed, the binary stream is intercepted in sequence according to a certain number of bits, and each binary data segment is mapped to a corresponding information segment to obtain the ship AIS parsing information. Exemplarily, the message type is usually located in the first 6 bits of the binary stream, and the first 6 bits 000001 represent a position report. The intercepted binary data segment is converted into a corresponding information segment to obtain a position report. Subsequent bits are parsed in sequence according to the AIS message standard to obtain information such as the ship's position, heading, and speed.

[0035] S220: Perform thinning processing on the ship AIS parsing data to obtain initial ship AIS data.

[0036] There is a large amount of redundant data in the ship AIS parsed data, which has a great impact on the calculation. Therefore, it is necessary to perform thinning processing on the ship AIS parsed data to remove abnormal data and redundant data, thereby improving the efficiency of analysis. In the embodiment of the present invention, the Douglas-Peucker algorithm is used for thinning processing, which specifically includes the following steps: (a) Connect a straight line segment between the first and last points of the ship AIS trajectory curve in the ship AIS analysis data, calculate the distance between all points on the trajectory curve and the straight line, and find the maximum distance value d max .

[0037] (b) Set a predetermined threshold D and set the maximum distance value d max Compare it with a predetermined threshold D. If d max < D, it is considered that all intermediate points on this trajectory curve contribute little to the shape of the curve. All intermediate points on the trajectory curve are discarded, and this straight line segment is used as an approximation of the trajectory curve, and this section of the trajectory curve is processed.

[0038] (c) If d max ≥ D, retain the maximum distance point corresponding to dmax. The coordinate point corresponding to this maximum distance point is a feature point on the curve. Taking this maximum distance point as the boundary, the curve is divided into two parts. Repeat steps (a) and (b) for these two parts until all d max < D, that is, the thinning of the trajectory curve is completed.

[0039] After the thinning of the ship AIS parsing data is completed by the Douglas-Peucker algorithm, the redundant data is filtered out, and the AIS trajectory data with better data quality is retained.

[0040] S300. Construct constraint conditions based on the initial maritime ship port reporting data and the initial ship AIS data, and perform data association according to the constraint conditions to obtain an associated data set.

[0041] In the embodiment of the present invention, the maritime ship port reporting data set records the discrete behaviors and freight volumes of ships entering and leaving ports, and the ship AIS data set records the continuous navigation trajectories of ships. To achieve the precise association of the maritime ship port reporting data set and the ship AIS data set, time association constraints, spatial association constraints, and similarity constraints need to be established. Figure 4 It is the fourth schematic diagram of the flow of the channel cross-section traffic volume measurement method provided by the embodiment of the present invention. As Figure 4 shown, the data association specifically includes the following steps: S310. Extract the associated fields of the initial maritime ship port reporting data and the initial ship AIS data, and perform preliminary data association according to the associated fields.

[0042] In the embodiment of the present invention, the ship MMSI number is selected as the associated field of the initial maritime ship port reporting data and the initial ship AIS data for preliminary data association. The ship MMSI number is the Maritime Mobile Service Identity, a nine-digit digital code defined by the International Telecommunication Union, used to uniquely identify ships worldwide. This field is a common field of the maritime ship port reporting data and the ship AIS data, and has high data filling quality and good integrity, and is an ideal field for associating the two data sets.

[0043] S320. Construct time association constraints according to the time information in the initial maritime ship port reporting data and the initial ship AIS data.

[0044] The ship entry and exit times in the maritime ship port reporting data should match the timestamp of the AIS track point in the ship AIS data. However, the port entry and exit report stipulates that the ship should report the entry and exit information to the maritime administration agency of the expected departure or arrival place 4 hours in advance, but the advance time should not exceed 24 hours. Therefore, the corresponding time of the ship entry and exit behavior in the maritime ship port reporting data does not completely coincide with the ship departure or arrival time in the ship AIS data, so the time association constraint is constructed as follows:

[0045] In the above formula, S 1 indicates the corresponding time of ship entry and exit in the maritime ship port reporting data, S 2 represents the stay time in the ship's AIS data. t max Indicates 24 hours. t min Indicates 4 hours. Indicates the allowed time deviation.

[0046] S330: constructing spatial association constraints according to the location information in the initial maritime ship port reporting data and the initial ship AIS data.

[0047] The positions of ships entering and leaving the port in the maritime ship port reporting data should match the positions of the stay areas in the ship AIS data, and the ship's travel direction should be consistent. Therefore, the spatial association constraints are constructed as follows:

[0048]

[0049] In the above formula, Indicates the location coordinates of the port in the maritime ship port reporting data. Indicates the location coordinates of the stop area in the ship's AIS data. is the Euclidean distance calculation function, Indicates the maximum position deviation threshold, It indicates the ship's direction angle formed by the position of the ship leaving the port and the position of the ship entering the port in the maritime ship port reporting data. Indicates the ship's travel direction angle near the stop area in the ship's AIS data. Indicates the maximum angle deviation threshold.

[0050] S340: construct similarity constraints based on the ship static attribute information in the initial maritime ship port reporting data and the initial ship AIS data.

[0051] In an embodiment of the present invention, in order to increase the accuracy of data association, in addition to the ship MMSI field, similarity constraints can also be constructed based on a variety of ship static attribute information, such as defining similarity thresholds or matching rules for ship name, ship call sign, IMO number, ship length, ship width and ship height, so as to determine whether each static attribute is consistent.

[0052] S350 , performing data association according to the time association constraint, the space association constraint and the similarity constraint to obtain an associated data set.

[0053] In an embodiment of the present invention, during the data fusion and association process, a correlation data set containing the ship's navigation longitude and latitude trajectory point information and the ship's cargo information is constructed through time correlation constraints, space correlation constraints and similarity correlation constraints, thereby laying a data foundation for the calculation of the waterway section transportation volume.

[0054] S400: construct a channel section algorithm for ships to pass through according to the ship AIS track information and channel section information.

[0055] The ship passing through the channel section algorithm is used to identify the behavior of ships passing through the channel section. The core of the algorithm is to determine whether the ship passes through the channel section. After quantitative analysis, it is equivalent to determining whether the line connecting the two adjacent AIS track points belonging to the same ship intersects with the channel section line. Figure 5 5 is a fifth schematic diagram of the process of the method for calculating the waterway cross-section transport volume provided by an embodiment of the present invention. Figure 5 As shown in FIG. 1 , the construction of the algorithm for ship passing through the channel section specifically includes the following steps: S410: Obtain the front and rear endpoints of the ship's AIS track and the two end breakpoints of the channel section.

[0056] In an embodiment of the present invention, a section is divided in the channel, and the position points of the two sections of the channel section are found. At the same time, two adjacent trajectory points during the navigation of the ship are recorded, and the connection between the position points and the trajectory points is used to determine whether the ship passes through the channel section. Figure 6 is a schematic diagram of the trajectory points when a ship passes through a channel section in an embodiment of the present invention, such as Figure 6 As shown, the two breakpoints of the channel section are M1 and M2, and the two adjacent track points of the ship AIS track are N1 and N2.

[0057] S420, construct multiple target vectors according to the front and rear endpoints and the breakpoints at both ends.

[0058] According to the front and rear endpoints N1 and N2 of the ship's AIS track and the two breakpoints M1 and M2 of the channel section, multiple target vectors are constructed, namely vector N1M1, vector M1N1, vector N1M2, vector M1N2, vector N1N2 and vector M1M2.

[0059] S430: Determine whether the ship passes through the channel section according to the multiple target vectors.

[0060] In the embodiment of the present invention, the vector cross product theorem is used to determine whether multiple target vectors simultaneously meet the following two conditions: and Different number and Different number If multiple target vectors satisfy the above two conditions at the same time, it means that the section line segment M1M2 intersects with the trajectory line segment N1N2. Figure 7 Schematic diagram of the intersection vector of the cross-section line segment and the trajectory line segment in the embodiment of the present invention. Figure 7 As shown, when the section line segment M1M2 intersects with the trajectory line segment N1N2, it is considered that the ship has passed through the channel section.

[0061] The principle of the vector cross multiplication theorem is as follows: Assuming there are vector A (x1, y1) and vector B (x2, y2), the calculation formula for the vector product is as follows:

[0062] The formula for calculating the modulus of the vector product is as follows:

[0063] In the above formula, θ represents the angle between vector A and vector B, which is located on the plane defined by these two vectors and has a value of 0°~180°.

[0064] The result of the vector cross multiplication is the cross product. The cross product of two vectors is perpendicular to the two vectors. The direction of A×B is determined from vector A to vector B according to the right-hand rule. Therefore, the spatial position relationship between vector A and vector B can be determined by the direction of the cross product, that is, the positive or negative cross product. Figure 8 is a vector position illustration diagram in an embodiment of the present invention, such as Figure 8 As shown, if A×B<0, it means that vector A is in the counterclockwise direction of vector B. If A×B>0, it means that vector A is in the clockwise direction of vector B.

[0065] As a preferred implementation of the embodiment of the present invention, the navigation direction of the ship passing through the channel section can be determined according to the directional relationship between multiple target vectors and the front and rear endpoints. Fig. 9 Schematic diagram of a ship going uphill in an embodiment of the present invention. Fig. 9 As shown, if the trajectory point N1 is in the counterclockwise direction of the vector M1M2, and the trajectory point N2 is in the clockwise direction of the vector M1M2, that is: <0 and >0 This indicates that the ship's sailing direction is upward.

[0066] Fig.10 Schematic diagram of a ship going downhill in an embodiment of the present invention. Fig.10 As shown, if the trajectory point N1 is in the clockwise direction of M1M2, and the trajectory point N2 is in the counterclockwise direction of M1M2, that is: >0 and <0 This indicates that the ship's navigation direction is downward.

[0067] In the embodiment of the present invention, the upstream transport volume and the downstream transport volume when the ship passes through the channel section can be calculated separately according to actual conditions.

[0068] S500, identifying ship behavior according to the associated data set and the algorithm for the ship passing through the waterway section, so as to obtain the transport volume of the ship passing through the waterway section.

[0069] Fig.11 6 is a schematic diagram of the method for calculating the waterway cross-section transport volume provided by an embodiment of the present invention. Fig.11 As shown in the figure, the calculation of the transport volume of ships passing through the channel section specifically includes the following steps: S510. Construct a waterway section analysis dimension.

[0070] In an embodiment of the present invention, the transport volume of a waterway section includes the flow rate of the waterway section and the freight volume of the waterway section, and the transport volume of the waterway section can be calculated and analyzed from different time dimensions and space dimensions. From the time dimension, time is refined into dimensions such as hours, days, months, ten days and years, covering real-time monitoring and macro statistics. For example, from the ship transport volume of a waterway section every hour in a day, the trend changes in a day can be observed. From the spatial dimension, the ship transport volume of different sections in the same time is analyzed. For example, from the ship transport volume of different waterway sections in a waterway on a certain day, the busyness of ship transport in different areas can be observed.

[0071] S520, calculating the flow rate of ships passing through the waterway section according to the associated data set and the algorithm for ships passing through the waterway section.

[0072] In the embodiment of the present invention, the pre-processed associated data set is screened according to the ship navigation characteristics to obtain a relatively complete ship AIS track in the ship AIS data, identify the behavior of the ship passing through the channel section, and determine whether the ship has passed through the channel section. i Number of times a ship passes through the channel section L i The flow rate of ships passing through the channel section is finally obtained by accumulating L , the calculation formula is as follows:

[0073] In the above formula, It indicates the flow rate of ships passing through the channel section, that is, the total number of times all ships pass through the channel section during the statistical period; It indicates the total number of ships passing through the waterway section during a certain statistical period. L i Indicates The number of times a ship passes through the channel section during the statistical period.

[0074] S530, calculating the cargo volume of the ship passing through the waterway section according to the associated data set and the algorithm for the ship passing through the waterway section.

[0075] The cargo volume of different types of goods each time a ship passes through a waterway section during a certain statistical period is accumulated, and the cargo volume of the ship passing through the waterway section is finally obtained. The calculation formula is as follows:

[0076] In the above formula, It refers to the cargo volume of ships passing through the waterway section, that is, the total cargo volume of all ships passing through the waterway section during a certain statistical period. Indicates the total number of major categories of goods, H i Indicates The volume of cargo passing through a waterway section during the statistical period, including but not limited to coal, petroleum, metal ore, mining and construction materials, and grain.

[0077] The method for calculating the waterway section transport volume provided by the embodiment of the present invention is based on a large data set of ship operation, constructs data set fusion constraints, effectively integrates multi-source data sets of ship operation, improves the efficiency of data use, reduces the errors caused by single data analysis, and ensures better the correlation and consistency between data, thereby improving the accuracy and reliability of the analysis results. By constructing an algorithm for ships passing through waterway sections, the waterway section flow and freight volume calculation is realized without relying on infrastructure, forming a waterway section analysis result of multiple waterways and multiple time and space dimensions.

[0078] Example 2 Based on the same technical concept as the above method embodiment 1, the embodiment of the present invention provides a waterway cross-section transport volume measurement device, Fig.12 Schematic diagram of the structure of the waterway cross-section transport volume measuring device provided by an embodiment of the present invention. Fig.12 As shown, the waterway cross-section transport volume calculation device 200 includes: The first processing module 210 is used to perform data preprocessing on the maritime ship port reporting data to obtain initial maritime ship port reporting data.

[0079] The second processing module 220 is used to perform data preprocessing on the ship AIS data to obtain initial ship AIS data.

[0080] The data association module 230 is used to construct constraint conditions according to the initial maritime ship port reporting data and the initial ship AIS data, and perform data association according to the constraint conditions to obtain an associated data set.

[0081] The algorithm building module 240 is used to build a ship passing through a channel section algorithm based on the ship AIS track information and the channel section information.

[0082] The data calculation module 250 is used to identify the ship behavior based on the associated data set and the ship passing through the channel section algorithm to obtain the transportation volume of the ship passing through the channel section.

[0083] The waterway section transport volume calculation device provided in the embodiment of the present invention can provide real-time, accurate and comprehensive waterway operation data for relevant management departments, provide scientific data support for monitoring the ship transportation conditions in the waterway section, and help improve the efficiency of waterway management and the scientific nature of decision-making.

[0084] It can be understood that the implementation method of the waterway cross-section transport volume calculation method described in the above-mentioned Example 1 is also applicable to this example and can achieve the same technical effect, so it will not be repeated here.

[0085] Example 3 Based on the same concept, an embodiment of the present invention further provides an electronic device, Fig.13 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention, such as Fig.13 As shown, the electronic device 300 may include: a processor 310, a communication interface 320, a memory 330 and a communication bus 340, wherein the processor 310, the communication interface 320 and the memory 330 communicate with each other through the communication bus 340. The processor 310 may call the logic instructions in the memory 330 to execute the steps of the waterway cross-section transport volume estimation method described in the above embodiments. For example, it includes: S100, pre-processing the maritime ship port reporting data to obtain initial maritime ship port reporting data; S200, preprocessing the ship AIS data to obtain initial ship AIS data; S300, constructing constraint conditions according to the initial maritime ship port reporting data and the initial ship AIS data, and performing data association according to the constraint conditions to obtain an associated data set; S400, constructing a channel section algorithm for ships to pass through according to the ship AIS track information and channel section information; S500, identifying ship behavior according to the associated data set and the algorithm for the ship passing through the waterway section, so as to obtain the transport volume of the ship passing through the waterway section.

[0086] The processor 310 may be a central processing unit (CPU). The processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or a combination of the above chips.

[0087] In addition, the logic instructions in the above-mentioned memory 330 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the 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 a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0088] The memory 330 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created by the processor, etc. 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.

[0089] Example 4 Based on the same concept, an embodiment of the present invention further provides a computer-readable storage medium, which stores a computer program, and the computer program includes at least one code segment, which can be executed by a main control device to control the main control device to implement the steps of the waterway cross-section transportation volume calculation method described in the above embodiments. For example, it includes: S100, pre-processing the maritime ship port reporting data to obtain initial maritime ship port reporting data; S200, preprocessing the ship AIS data to obtain initial ship AIS data; S300, constructing constraint conditions according to the initial maritime ship port reporting data and the initial ship AIS data, and performing data association according to the constraint conditions to obtain an associated data set; S400, constructing a channel section algorithm for ships to pass through according to the ship AIS track information and channel section information; S500, identifying ship behavior according to the associated data set and the algorithm for the ship passing through the waterway section, so as to obtain the transport volume of the ship passing through the waterway section.

[0090] Based on the same technical concept, an embodiment of the present invention further provides a computer program, which is used to implement the above method embodiment when executed by a main control device.

[0091] The computer program may be stored in whole or in part on a computer-readable storage medium packaged with the processor, or may be stored in whole or in part on a memory not packaged with the processor.

[0092] Based on the same technical concept, an embodiment of the present invention further provides a processor, which is used to implement the above method embodiment. The above processor can be a chip.

[0093] In summary, the method, device, electronic device and storage medium for calculating the waterway section transport volume provided by the present invention, based on the large data set of ship operation, constructs data set fusion constraints, effectively integrates the multi-source data sets of ship operation, improves the efficiency of data use, reduces the errors caused by single data analysis, and ensures better the correlation and consistency between data, thereby improving the accuracy and reliability of the analysis results. By constructing an algorithm for ships passing through waterway sections, the waterway section flow and freight volume calculation that is independent of infrastructure is realized, forming waterway section analysis results of multiple waterways and multiple time and space dimensions. It can provide real-time, accurate and comprehensive waterway operation data for relevant management departments, provide scientific data support for monitoring the ship transportation situation in waterway sections, and help improve the efficiency of waterway management and the scientific nature of decision-making.

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

[0095] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.

[0096] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.< / lf> < / cr>

Claims

1. A method for calculating waterway cross-section transport volume, characterized in that: The method comprises: Preprocess the maritime ship port reporting data to obtain the initial maritime ship port reporting data; Preprocess the ship AIS data to obtain initial ship AIS data; Constructing constraint conditions according to the initial maritime ship port reporting data and the initial ship AIS data, and performing data association according to the constraint conditions to obtain an associated data set; Construct a channel section algorithm for ships based on the ship's AIS track information and channel section information; The ship behavior is identified according to the associated data set and the algorithm for the ship passing through the waterway section to obtain the transport volume of the ship passing through the waterway section.

2. The method for calculating waterway cross-section transport volume according to claim 1, characterized in that: The preprocessing of the ship AIS data to obtain the initial ship AIS data includes: Performing message parsing on the ship AIS data to obtain ship AIS parsed data; The ship AIS parsed data is subjected to thinning processing to obtain the initial ship AIS data.

3. The method for calculating waterway cross-section transport volume according to claim 2, characterized in that: The performing message parsing on the ship AIS data to obtain the ship AIS parsed data includes: Extracting encapsulated ship AIS message information from the ship AIS data; Convert the ship AIS message information from an ASCII code string into a binary stream to obtain binary ship AIS message information; Binary data segments are intercepted from the binary ship AIS message information and corresponded to corresponding information segments to obtain the ship AIS parsed data.

4. The method for calculating waterway cross-section transport volume according to claim 1, characterized in that: The step of constructing constraint conditions according to the initial maritime ship port reporting data and the initial ship AIS data, and performing data association according to the constraint conditions to obtain an associated data set includes: Extracting the associated fields of the initial maritime ship port reporting data and the initial ship AIS data, and performing preliminary data association according to the associated fields; Constructing a time association constraint according to the time information in the initial maritime ship port reporting data and the initial ship AIS data; Constructing spatial association constraints based on the initial maritime ship port reporting data and the location information in the initial ship AIS data; Constructing similarity constraints based on the initial maritime ship port reporting data and the ship static attribute information in the initial ship AIS data; Data association is performed according to the time association constraint, the space association constraint and the similarity constraint to obtain the associated data set.

5. The method for calculating waterway cross-section transport volume according to claim 1, characterized in that: The algorithm for constructing a ship's passage section algorithm based on the ship's AIS track information and the passage section information includes: Obtaining the front and rear endpoints of the ship's AIS track and the two end breakpoints of the channel section; Constructing a plurality of target vectors according to the front and rear endpoints and the two end breakpoints; Whether the ship passes through the channel section is determined according to the multiple target vectors.

6. The method for calculating waterway cross-sectional transport volume according to claim 5, characterized in that: After constructing the target vector according to the front and rear endpoints and the two end breakpoints, the method further includes: The navigation direction of the ship passing through the channel section is determined according to the directional relationship between the target vector and the front and rear endpoints.

7. The method for calculating waterway cross-section transport volume according to claim 1, characterized in that: The identifying of ship behavior according to the associated data set and the ship passing through the waterway section algorithm to obtain the transport volume of the ship passing through the waterway section includes: Constructing the waterway cross-section analysis dimension; Calculate the flow rate of the ship passing through the waterway section according to the associated data set and the algorithm for the ship passing through the waterway section; The cargo volume of the ship passing through the waterway section is calculated according to the associated data set and the algorithm for the ship passing through the waterway section.

8. A device for calculating waterway cross-section transport volume, characterized in that: The device comprises: The first processing module is used to pre-process the maritime ship port reporting data to obtain the initial maritime ship port reporting data; The second processing module is used to perform data preprocessing on the ship AIS data to obtain initial ship AIS data; A data association module, used for constructing constraint conditions according to the initial maritime ship port reporting data and the initial ship AIS data, and performing data association according to the constraint conditions to obtain an associated data set; An algorithm building module is used to build a ship's channel section algorithm based on the ship's AIS track information and channel section information; The data calculation module is used to identify the ship behavior based on the associated data set and the ship passing through the channel section algorithm to obtain the transportation volume of the ship passing through the channel section.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: The processor executes the computer program to implement the method for calculating the waterway cross-section transport volume as described in any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for calculating the waterway cross-section transport volume as described in any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Vessel traffic flow-based inland waterway trafficability computing method

    CN102254107A

  • Ship harbor reporting information abnormity judgment method based on ship harbor reporting big data

    CN115102881A

  • Intelligent monitoring method for ship berthing and departing in VTS system

    CN117373287A

  • Ship traffic flow saturation calculation method and system, electronic equipment and storage medium

    CN119007498A

  • Method and system for analyzing transport capacity of container liner route

    WO2023039894A1

Cited By

  • Method and device for measuring and calculating freight volume of branch channels of multi-branch graded estuary channel

    CN120806692A

  • Method and device for measuring cargo volume of each branch channel of multi-branch hierarchical estuary channel

    CN120806692B