Marine large-data-volume ship target identification method

By acquiring and processing real-time AIS data and registration business data, combined with the TF-IDF algorithm and custom segmentation library, the problem of data inaccuracy and regional restrictions in ship target identification is solved, and accurate identification and supervision of global ships are achieved. .

CN118865744APending Publication Date: 2024-10-29NANJING LES CYBERSECURITY & INFORMATION TECH RES INST CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410845772.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

Existing technology has data inaccuracies and regional restrictions in ship target identification, resulting in inaccurate ship identification and inability to comprehensively supervise global ships.

Method used

By acquiring real-time AIS data and registration business data, using the ITU-R M.1371-5 international standard to parse and perform streaming processing, combined with the TF-IDF algorithm and custom segmentation database, ship identification is performed, and the identification logic is dynamically adjusted to improve Accuracy.

Benefits of technology

It achieves accurate and rapid identification of ships at sea, can handle large amounts of data, meets the needs of global ship supervision, and improves the accuracy and efficiency of identification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118865744A_ABST
    Figure CN118865744A_ABST
Patent Text Reader

Abstract

The invention discloses an offshore large-data-volume ship target identification method, which comprises the following steps: step 1, acquiring real-time AIS data of a ship to be identified, and processing the real-time AIS data to obtain AIS space-time dynamic data; step 2, acquiring registration service data of the ship, wherein the registration service data is data information registered when the ship leaves a factory; and step 3, carrying out association matching on the AIS space-time dynamic data and the registration service data to obtain ship identification data so as to complete identification of the marine ship target. The method is applied to AIS target identification and information association of large-data-volume ships on the sea and efficient display of a browser end based on a BS mode. In the ship AIS dynamic data updating process, the method can be associated and matched with detailed data of the ship rapidly and accurately in real time, so that a ship target is identified. Furthermore, the dynamic ship target can be displayed on the browser in real time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of receiving and processing maritime ship targets, and in particular relates to a method for identifying maritime ship targets with large amounts of data. Background Art

[0002] Since the ship's AIS (Automatic Identification System) equipment only reports the ship's name in uppercase letters (including pinyin or English), and the ship's personnel have the authority to change the data reported by the AIS equipment during the ship's voyage, inaccurate reporting data will lead to inaccurate ship target identification and low accuracy in correlation with business data. In addition, the ship area accessed by traditional software (for example, VTS ship traffic management system, wind farm monitoring, anti-pollution monitoring and other systems) is often limited to a single area, and it is impossible to fully supervise global ships and five-star ships. Summary of the invention

[0003] Purpose of the invention: The technical problem to be solved by the present invention is to provide a method for identifying ship targets with large amounts of marine data in view of the shortcomings of the prior art.

[0004] In order to solve the above technical problems, the present invention discloses a method for identifying large amounts of marine ship targets, comprising:

[0005] Step 1, obtaining the real-time AIS data of the ship to be identified, processing the real-time AIS data, and obtaining AIS spatiotemporal dynamic data;

[0006] Step 2, obtaining the ship's registration business data, which is the information registered when the ship leaves the factory;

[0007] Step 3: associate and match the AIS spatiotemporal dynamic data and the registration business data to obtain ship identification data, thereby completing the identification of maritime ship targets.

[0008] Furthermore, in step 1, the real-time AIS data is processed to obtain AIS spatiotemporal dynamic data, including: in accordance with the ITU-R M.1371-5 international standard, the real-time AIS data is parsed to obtain the position messages of messages 1, 2, and 3, the static and navigation data of message 5, the position report of class B equipment of message 18, the report of aids to navigation equipment of message 21, and the static data report of message 24; the parsed AIS data is identified and processed, such processing includes stream processing, and the AIS spatiotemporal dynamic data is obtained, and the AIS spatiotemporal dynamic data at least includes the ship's Maritime Mobile Service Identity (MMSI), the International Maritime Organization (IMO), the ship's name, and the current dynamic longitude and latitude information of the ship.

[0009] Further, step 3 includes:

[0010] Step 3-1, using the three fields of the ship's maritime mobile service identification code MMSI, the International Maritime Organization number IMO and the ship name in the AIS spatiotemporal dynamic data as the reference fields, and setting the acceptance order of the three fields;

[0011] Step 3-2, the AIS spatiotemporal dynamic data and the registration business data are associated using the TF-IDF (Term Frequency-Inverse Document Frequency) algorithm, and the weights of the three reference fields in the AIS spatiotemporal dynamic data are used to perform ship matching and obtain ship identification data, thereby completing the identification of maritime ship targets.

[0012] Further, step 3-2 includes,

[0013] Step 3-2-1, segment the ship names in the AIS spatiotemporal dynamic data;

[0014] Step 3-2-2, calculate the term frequency TF and inverse document frequency IDF of the three benchmark fields, set weights for the three benchmark fields, and calculate the TF-IDF of the three benchmark fields;

[0015] Step 3-2-3, ship matching is performed based on the TF-IDF of the three reference fields to obtain ship identification data, thereby completing the identification of maritime ship targets.

[0016] Further, step 3-2-1 includes: determining whether the ship target to be identified is a Chinese ship based on the first three digits of the MMSI field in the AIS spatiotemporal dynamic data; if it is a Chinese ship, using pinyin segmentation, if not, using English segmentation, and for the case where neither Chinese nor English segmentation can be identified, using a custom ship noun library for matching, the custom ship noun library is a library that is customized by the user to add marks after each ship matching failure.

[0017] After acquiring real-time AIS data, based on ship registration business data and the locally accumulated custom ship name library, it provides fast and accurate target identification by identifying and processing each field of the ship's dynamic message.

[0018] Furthermore, the term frequency TF of the three reference fields is calculated in step 3-2-2 as follows:

[0019] TF(MMSI)=n(MMSI) / total(MMSI)

[0020] TF(IMO)=1 / total(IMO)

[0021] TF(name)=n(name) / total(name)

[0022] Among them, TF(MMSI) indicates the frequency of MMSI in real-time AIS data, n(MMSI) indicates the number of identical MMSI in real-time AIS messages, and total(MMSI) indicates the number of MMSI in historical AIS data; TF(IMO) indicates the frequency of IMO. For Chinese ships, MMSI is mainly used. There is no mandatory requirement for small and medium-sized ships to report IMO, so the IMO frequency is set to 1, and total(IMO) indicates the number of IMO in historical AIS data; TF(name) indicates the frequency of English ship names, n(name) indicates the number of identical English ship names in the input message, and total(name) indicates the number of English ship names in historical data;

[0023] The inverse document frequency IDF is calculated in step 3-2-2 as follows:

[0024] IDF(MMSI)=log(corpus / num MMSI +1)

[0025] IDF(IMO)=log(corpus / num IMO +1)

[0026] IDF(name)=log(corpus / num name +1)

[0027] Among them, corpus represents the total amount of historical message data, num MMSI 、num IMO and num name Respectively represent the number of times IMO / MMSI / ship name appears in historical message data;

[0028] In step 3-2-2, weights are set for the three reference fields according to the locally accumulated business data. The calculation of TF-IDF of the three reference fields includes: adding weights, that is, setting weights for MMSI, IMO, and name according to the locally accumulated business data, as follows:

[0029] TF-IDF(MMSI)=TF(MMSI)*IDF(MMSI)*p(MMSI)

[0030] TF-IDF(IMO)=TF(IMO)*IDF(IMO)*p(IMO)

[0031] TF-IDF(name)=TF(name)*IDF(name)*p(name)

[0032] Among them, TF-IDF(MMSI), TF-IDF(IMO) and TF-IDF(name) represent the matching probabilities of IMO, MMSI and ship name respectively, and p(MMSI), p(IMO) and p(name) represent the weights set for IMO, MMSI and ship name respectively.

[0033] The AIS accuracy of different ships in different regions is different. For example, inland waters are mostly inland ships and fewer seagoing ships. The AIS activation rate of inland ships is slightly lower than that of seagoing ships. At sea, the installation rate of AIS equipment on fishing vessels is relatively low. In terms of the data reported by the base station received by the software system, there are differences in regionality (north and south, inland and sea) and timeliness (day and night). It is necessary to dynamically adjust the recognition logic and add weights according to the specific situation. The parameters are dynamically adjusted through the benchmark formula and the AIS rules of different regions to improve the recognition accuracy.

[0034] Furthermore, step 3-2-3 includes: if there is a situation where MMSI / IMO / ship name is misreported or concealed in the real-time AIS data, according to the matching probability calculated by 3-2-2, the word frequency of the three reference fields is selected with the highest probability as the identification parameter, and is associated with the registration business data obtained in step 2; the association process includes matching using pinyin segmentation and a custom word library, and if the match is successful, the Chinese ship name of the ship, the ship business primary key and the ship registration parameter information are added to the matching result; if no match is found, a secondary match is performed with the local data service, and the local data service includes manually supplemented and entered ship registration data; if the match continues to fail, an associated match is performed with the local business system, and the local business system includes fishing vessels and attribution ship management systems; if the match fails, a processed identification tag is added to the ship, and within the memory validity period, subsequent messages sent by the same ship will not be processed by step 3-2, which can avoid repeated calculations and save computer resources.

[0035] Furthermore, the method also includes step 4, which completes the display of the large amount of ship targets according to the current display level of the map and the ship position information and name information in the ship identification data.

[0036] Further, step 4 includes: when the current display level of the map is low, the scope of the current interface is large, and the number of ships is large, the WSG84 coordinate system is adopted, and the Mercator projection is used as the standard, and the world map within the screen range is divided into multiple 256×256 map tile units by cutting, and the tile longitude and latitude range is obtained according to the tile coordinates; the background service generates a ship green dot tile map according to the ship distribution in the current tile longitude and latitude range, returns it to the interface as a response result, and loads it for display;

[0037] If the current display level of the map continues to decrease, it will display a range from the whole country to the world. At this time, even if it is drawn in the form of tiles, the range of each tile is very wide, so there are many ships in each tile, which is not suitable for direct rendering in the tile by requesting ship data. It is worth noting that at the current level, more attention should be paid to the distribution of ships rather than the precise location of the ships. At this time, all ship data are aggregated, and a distance parameter d is specified. d can be customized according to the total number and distribution of ships. Ships within the distance d are merged into the same ship, thereby generating a new ship distribution data. Based on the new ship distribution data, the tile longitude and latitude range is calculated for the tile coordinates. The background service generates a ship green dot map based on the ship distribution in the current tile longitude and latitude range, returns it to the interface as a response result, and loads it for display.

[0038] Furthermore, step 4 also includes: if the current display level of the map is high, obtaining the display longitude and latitude range of the current rectangular interface, and searching for ship identification data in the rectangular area by relying on the spatial index method; after obtaining the ship identification data, drawing and loading the display on the interface, and being able to perform custom style rendering and drawing.

[0039] Beneficial effects:

[0040] Compared with traditional technologies, this method innovatively uses custom word segmentation and weight processing to identify ships. Specifically, the TF-IDF algorithm is used to compare the three key information of MMSI / IMO number / English ship name reported by the ship with local data. Different recognition weights are configured for MMSI / IMO number / English ship name according to the AIS opening rate and standardization in different regions. Then, the ship name is segmented by the pinyin word segmenter and the ship name word segmenter customized in this embodiment, with the word library as the word segmentation data source. For Chinese ships and fishing boats, it can achieve more accurate ship name association and business data primary key association, thereby achieving real-time, rapid and accurate identification of the target. Through the tile cutting algorithm, the ship dynamic data and business data are mapped, which can meet the needs of rapid query of large quantities of data, has high availability, and provides strong basic technical support for business expansion such as ship cruises and daily supervision. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments, and the above and / or other advantages of the present invention will become more clear.

[0042] Figure 1 A flow chart of a method for identifying large amounts of marine ship targets provided in an embodiment of the present application.

[0043] Figure 2 A schematic diagram of the processing process of step 3 in a method for identifying large amounts of marine ship targets provided in an embodiment of the present application. DETAILED DESCRIPTION

[0044] The embodiments of the present invention will be described below in conjunction with the accompanying drawings.

[0045] The method for identifying large amounts of marine ship targets provided in the present application can be applied to the identification of large amounts of marine ship AIS targets, information association, and efficient display on the browser side based on the BS mode.

[0046] The present application embodiment discloses a method for identifying a large amount of marine ship targets, such as Figure 1 As shown, including:

[0047] Step 1: obtain the real-time AIS data of the ship to be identified, process the real-time AIS data, and obtain AIS spatiotemporal dynamic data.

[0048] In the specific implementation process, real-time AIS data can be obtained by accessing the base station or the aviation insurance center. The premise of this example is that the AIS data update frequency is high, and slower data updates will lead to inaccuracy.

[0049] AIS equipment reports are divided into ship dynamic messages and ship static messages. Among them, the update frequency of ship static messages is slower, updated every 6 minutes; ship dynamic messages, including ship MMSI / IMO and the ship's current dynamic longitude and latitude information, are updated more frequently and are related to the ship type and navigation status.

[0050] Processing the real-time AIS data to obtain AIS spatiotemporal dynamic data includes: parsing the real-time AIS data according to the ITU-R M.1371-5 international standard to obtain the position messages of messages 1, 2, and 3, the static and navigation data of message 5, the position report of class B equipment in message 18, the report of aids to navigation in message 21, and the static data report in message 24; performing identification processing on the parsed AIS data, such processing includes stream processing to obtain AIS spatiotemporal dynamic data, wherein the AIS spatiotemporal dynamic data at least includes the ship's maritime mobile service identification code MMSI, the International Maritime Organization number IMO, the ship name, and the current dynamic latitude and longitude information of the ship.

[0051] Step 2, obtaining the ship's registration business data, which is the information registered when the ship leaves the factory, including the MMSI equipment number, the ship's English name / ship's Chinese name, etc.; before using this method, it must be ensured that the ship's registration business data is processed in the following manner:

[0052] In the specific implementation process, the ship registration business data can be processed in two ways. The first is to connect to the local business system or data center to obtain the registration business data in real time, and then establish a connection with the registration business data through MMSI; the second is to build a data collection portal, and let the user import or add ship registration business data, and then associate the added data with the AIS spatiotemporal dynamic data. Relying on the ship registration business data, it can provide a benchmark for ship target identification.

[0053] Step 3: Correlate and match the AIS spatiotemporal dynamic data and the registration service data to obtain the ship identification data, thereby completing the identification of the marine ship target, such as Figure 2 As shown, specifically including:

[0054] Step 3-1, using the three fields of the ship's water mobile service identification code MMSI, the International Maritime Organization number IMO and the ship name in the AIS spatiotemporal dynamic data as the reference fields, set the acceptance order of the three; in the association process, considering the actual navigation range and port of registry of the ship, the scheme of priority identification of Chinese ships is adopted, and the acceptance order is set as MMSI>IMO>English ship name. Among them, in terms of MMSI identification, MMSIs starting with 412 / 413 / 414 are preferred. Equipment starting with these three MMSIs represents that they are Chinese ships. For foreign ships, due to the lack of local data and original data source support of the business system, they can be excluded from the identification scope.

[0055] Step 3-2: Use the TF-IDF algorithm to associate the AIS spatiotemporal dynamic data with the registration service data, and use the weights of the three reference fields in the AIS spatiotemporal dynamic data to perform ship matching and obtain ship identification data, thereby completing the identification of maritime ship targets. Specifically, it includes:

[0056] Step 3-2-1, segment the ship names in the AIS spatiotemporal dynamic data;

[0057] According to the first three digits of the MMSI field in the AIS spatiotemporal dynamic data, it is determined whether the ship target to be identified is a Chinese ship; if it is a Chinese ship, such as the Chinese ship name HAIXUN32, pinyin segmentation is used; if it is not, such as SEAGROUP, English segmentation is used. In the case where neither Chinese nor English segmentation can be identified, a custom ship noun library is used for matching. The custom ship noun library is a word library that is customized and marked by the user after each ship matching failure, such as MIN YU xx, which means Minyu, a Fujian fishing boat.

[0058] Step 3-2-2, calculate the term frequency TF and inverse document frequency IDF of the three benchmark fields, based on the registered business data, combined with the search engine, set the weights of the three benchmark fields, and calculate the TF-IDF of the three benchmark fields. In the specific implementation process, the search engine can use Elasticsearch or Solr. Figure 2 The ship registration service in the system refers to the registration business data stored in the database as the data source, self-built query interface, and the input parameters are MMSI / IMO / ship name.

[0059] The calculation of the term frequency TF of the three benchmark fields is as follows:

[0060] TF(MMSI)=n(MMSI) / total(MMSI)(Formula 1)

[0061] TF(IMO)=1 / total(IMO)(Formula 2)

[0062] TF(name)=n(name) / total(name)(Formula 3)

[0063] Among them, formula 1 takes the first three digits and the last six digits of MMSI as word segments, determines the nationality of the ship by the first three digits, and then calculates with the data accumulated in the MMSI overall word library; TF(MMSI) represents the frequency of occurrence of MMSI in real-time AIS data, n(MMSI) represents the number of identical MMSIs in real-time AIS messages, and total(MMSI) represents the number of MMSIs in historically accumulated AIS data; TF(IMO) represents the frequency of occurrence of IMO. For Chinese ships, there is no mandatory requirement for small and medium-sized ships to report to IMO, so the IMO frequency is set to 1, and total(IMO) represents the number of IMOs in historically accumulated AIS data; TF(name) represents the frequency of occurrence of English ship names, n(name) represents the number of identical English ship names in the input message, and total(name) represents the number of English ship names in historical data;

[0064] Calculating the inverse document frequency IDF is as follows:

[0065] IDF(MMSI)=log(corpus / num MMSI +1)

[0066] IDF(IMO)=log(corpus / num IMO +1) (Formula 4)

[0067] IDF(name)=log(corpus / num name +1)

[0068] Among them, corpus represents the total amount of historical message data, num MMSI 、num IMO and num name Respectively represent the number of times IMO / MMSI / ship name appears in historical message data;

[0069] The weights of the three benchmark fields are set according to the locally accumulated business data, and the TF-IDF of the three benchmark fields is calculated as follows:

[0070] TF-IDF(MMSI)=TF(MMSI)*IDF(MMSI)*p(MMSI)

[0071] TF-IDF(IMO)=TF(IMO)*IDF(IMO)*p(IMO) (Formula 4)

[0072] TF-IDF(name)=TF(name)*IDF(name)*p(name)

[0073] Among them, TF-IDF(MMSI), TF-IDF(IMO) and TF-IDF(name) represent the matching probabilities of IMO, MMSI and ship name respectively, and p(MMSI), p(IMO) and p(name) represent the weights set for IMO, MMSI and ship name respectively. Adding weight means setting weights for MMSI, IMO and name. The weights are set according to the locally accumulated business data. Generally speaking, MMSI has uniqueness and the highest weight, while English ship names have repetitiveness and the lowest weight. The specific configuration parameters are related to the locally accumulated data. The default weights are 5 / 3 / 2, which can be dynamically adjusted according to the accuracy of AIS equipment and the completeness of the vocabulary in different regions. According to the distribution of MMSI / imo / ship name in the accumulated data, the weights are dynamically set according to the proportion. For example, the locally accumulated mmsi related data is 700, the IMO related data is 200, and the Chinese ship name related data is 800, which is 7:2:8, and the weight coefficient is 0.41 / 0.12 / 0.47.

[0074] Step 3-2-3, ship matching is performed based on the TF-IDF of the three reference fields to obtain ship identification data, thereby completing the identification of marine ship targets, including:

[0075] If there is misreporting or concealment of MMSI / IMO / ship name in real-time AIS data, according to the matching probability calculated in 3-2-2, the word with the highest probability is selected as the recognition parameter for the three reference fields, and the registration business data obtained in step 2 is associated; the association process includes matching using pinyin segmentation and custom word library. If the match is successful, the Chinese ship name, ship business primary key and ship registration parameter information are added to the matching result; if no match is found, a secondary match is performed with the local data service, and the local data service includes manually supplemented and entered ship registration data; if the match continues to fail, an associated match is performed with the local business system, and the local business system includes fishing vessels and attribution ship management systems; if the match fails, a processed identification tag is added to the ship, and within the memory validity period, subsequent messages sent by the same ship will not be processed in step 3-2, which can avoid repeated calculations and save computer resources.

[0076] After receiving the identification message, it also includes step 4, performing a ship display processing process according to the current display level of the map and the ship position information and name information in the ship identification data. After the display interface is turned on, if the current display level of the map is high, the display longitude and latitude range of the current rectangular interface is obtained, and the ship identification data in the rectangular area is searched by relying on the spatial index method. The spatial index method can use a general search tree index. After obtaining the ship identification data, it is drawn and loaded on the interface for display, and can be rendered and drawn in a custom style according to business screening conditions. In the specific implementation process, the webgis engine can be used to draw and load the display on the interface to realize the display of small-scale ship target data.

[0077] If the current display level of the map is low, the scope of the current interface is large, and the number of ships is large, it is not suitable to directly draw and display on the interface by requesting ship data. Using the WSG84 coordinate system and the Mercator projection as the standard, the world map within the screen range is divided into multiple 256×256 map tile units by cutting. Each tile has unique coordinates, represented by (z, x, y), where z represents the current interface map level, x represents the tile column coordinate, and y represents the tile row coordinate. The tile coordinates of the display interface can be obtained by the webgis engine, or by using the following formulas 6 to 9, substituting the longitude and latitude range of the display interface, and calculating in reverse. When the background service receives a tile request, it calculates the longitude and latitude values ​​of the upper left corner of the tile according to the tile coordinates, as follows:

[0078] n=2^z(Formula 6)

[0079] lon_deg = x / n*360.0-180.0 (Formula 7)

[0080] lat_rad = arctan(sinh(π*(1-2*y / n)))(Formula 8)

[0081] lat_deg=lat_rad*180.0 / π (Formula 9)

[0082] Formula 6 calculates the number of rows and columns of tiles at the current level, both of which are n;

[0083] Formula 7, calculates the longitude value of the upper left corner of the current tile;

[0084] Formulas 8 and 9 calculate the latitude value of the upper left corner of the current tile.

[0085] Among them, lon_deg is the longitude of the upper left corner of the tile, lat_deg is the latitude of the upper left corner of the tile, and similarly, the longitude and latitude of the lower right corner of the tile can be known, thereby obtaining the longitude and latitude range of the tile. The background service generates a ship green dot tile map based on the ship distribution in the current tile longitude and latitude range, returns it to the interface as a response result, and loads it for display. When relying on technologies such as cluster caching, efficient display can be achieved.

[0086] If the current display level of the map continues to decrease, for example, it shows a range from the whole country to the world. At this time, even if it is drawn in the form of tiles, the range of each tile is very wide, so the number of ships in each tile is large, which is not suitable for direct rendering in the tile by requesting ship data. It is worth noting that at the current level, more attention should be paid to the distribution of ships rather than the precise location of the ships. At this time, all ship data are aggregated, and a distance parameter d is specified. D can be customized according to the total number and distribution of ships. The distance between ships within d is merged into the same ship, thereby generating a new ship distribution data. Based on the new ship distribution data, for the tile coordinates, the tile longitude and latitude range is calculated according to formulas 6 to 9. The background service generates a ship green dot map based on the ship distribution in the current tile longitude and latitude range, returns it to the interface as a response result, and loads it for display. In the specific implementation process, the webgis engine can be used for loading and display.

[0087] In the case of obtaining AIS data, this method uses the ship's registration business data and renders the ship data in real time and efficiently on the display interface through spatial indexing and tile classification, thereby providing key basic technical support for the effective combination of large-scale targets and information data under the shipping management system.

[0088] In a specific implementation, the present application provides a computer storage medium and a corresponding data processing unit, wherein the computer storage medium can store a computer program, and when the computer program is executed by the data processing unit, the invention content of a method for identifying a large amount of marine ship targets provided by the present invention and some or all of the steps in each embodiment can be executed. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0089] Those skilled in the art can clearly understand that the technical solutions in the embodiments of the present invention can be implemented by means of computer programs and their corresponding general hardware platforms. Based on such an understanding, the technical solutions in the embodiments of the present invention can be essentially or partly contributed to the prior art in the form of computer programs, i.e., software products, which can be stored in a storage medium and include several instructions for enabling a device including a data processing unit (which can be a personal computer, a server, a single-chip microcomputer, an MCU or a network device, etc.) to execute the methods described in various embodiments of the present invention or certain parts of the embodiments.

[0090] The present invention provides a method and idea for a method for identifying a large amount of marine ship targets. There are many methods and approaches to implement the technical solution. The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the protection scope of the present invention. All components not specified in this embodiment can be implemented by existing technologies.

Claims

1. A method for identifying large amounts of marine ship targets, characterized in that: include: Step 1, obtaining the real-time AIS data of the ship to be identified, processing the real-time AIS data, and obtaining AIS spatiotemporal dynamic data; Step 2, obtaining the ship's registration business data, which is the information registered when the ship leaves the factory; Step 3, correlating and matching the AIS spatiotemporal dynamic data and the registration business data to obtain the ship identification data, thereby completing the identification of the ship target at sea.

2. A method for identifying large amounts of marine ship targets according to claim 1, characterized in that: In step 1, the real-time AIS data is processed to obtain AIS spatiotemporal dynamic data, including: in accordance with the ITU-R M.1371-5 international standard, the real-time AIS data is parsed to obtain the position messages of messages 1, 2, and 3, the static and navigation data of message 5, the position report of class B equipment of message 18, the report of aids to navigation equipment of message 21, and the static data report of message 24; the parsed AIS data is identified and processed, such processing includes stream processing, and the AIS spatiotemporal dynamic data is obtained, and the AIS spatiotemporal dynamic data at least includes the ship's maritime mobile service identification code MMSI, the International Maritime Organization number IMO, the ship name and the current dynamic latitude and longitude information of the ship.

3. A method for identifying large amounts of marine ship targets according to claim 2, characterized in that: Step 3 includes: Step 3-1, using the three fields of the ship's maritime mobile service identification code MMSI, the International Maritime Organization number IMO and the ship name in the AIS spatiotemporal dynamic data as the reference fields, and setting the acceptance order of the three fields; Step 3-2, the TF-IDF algorithm is used to associate the AIS spatiotemporal dynamic data and the registration business data, and the weights of the three reference fields in the AIS spatiotemporal dynamic data are used to perform ship matching and obtain ship identification data, thereby completing the identification of maritime ship targets.

4. A method for identifying large amounts of marine ship targets according to claim 3, characterized in that: Step 3-2 includes, Step 3-2-1, segment the ship names in the AIS spatiotemporal dynamic data; Step 3-2-2, calculate the term frequency TF and inverse document frequency IDF of the three benchmark fields, set weights for the three benchmark fields, and calculate the TF-IDF of the three benchmark fields; Step 3-2-3, ship matching is performed based on the TF-IDF of the three reference fields to obtain ship identification data, thereby completing the identification of maritime ship targets.

5. A method for identifying large amounts of marine ship targets according to claim 4, characterized in that: Step 3-2-1 includes: determining whether the ship target to be identified is a Chinese ship based on the first three digits of the MMSI field in the AIS spatiotemporal dynamic data; if it is a Chinese ship, using pinyin segmentation, if not, using English segmentation, and for the case where neither Chinese nor English segmentation can be identified, using a custom ship noun library for matching, the custom ship noun library is a library that is customized by the user to add tags after each ship matching failure.

6. A method for identifying large amounts of marine ship targets according to claim 5, characterized in that: The term frequency TF of the three benchmark fields is calculated in step 3-2-2 as follows: TF(MMSI)=n(MMSI) / total(MMSI) TF(IMO)=1 / total(IMO) TF(name)=n(name) / total(name) Among them, TF(MMSI) indicates the frequency of MMSI in real-time AIS data, n(MMSI) indicates the number of identical MMSI in real-time AIS messages, and total(MMSI) indicates the number of MMSI in historical AIS data; TF(IMO) indicates the frequency of IMO. For Chinese ships, there is no mandatory requirement for small and medium-sized ships to report IMO, so the IMO frequency is set to 1, and total(IMO) indicates the number of IMO in historical AIS data; TF(name) indicates the frequency of English ship names, n(name) indicates the number of identical English ship names in input messages, and total(name) indicates the number of English ship names in historical data; The inverse document frequency IDF is calculated in step 3-2-2 as follows: IDF(MMSI)=log(corpus / num MMSI +1) IDF(IMO)=log(corpus / num IMO +1) IDF(name)=log(corpus / num name +1) Among them, corpus represents the total amount of historical message data, num MMSI 、num IMO and num name Respectively represent the number of times IMO / MMSI / ship name appears in historical message data; In step 3-2-2, weights are set for the three reference fields according to the registered business data. The calculation of TF-IDF of the three reference fields includes: adding weights, that is, setting weights for MMSI, IMO, and name according to the locally accumulated business data, as follows: TF-IDF(MMSI)=TF(MMSI)*IDF(MMSI)*p(MMSI) TF-IDF(IMO)=TF(IMO)*IDF(IMO)*p(IMO) TF-IDF(name)=TF(name)*IDF(name)*p(name) Among them, TF-IDF(MMSI), TF-IDF(IMO) and TF-IDF(name) represent the matching probabilities of IMO, MMSI and ship name respectively, and p(MMSI), p(IMO) and p(name) represent the weights set for IMO, MMSI and ship name respectively.

7. A method for identifying large amounts of marine ship targets according to claim 6, characterized in that: Step 3-2-3 includes: if there is a misreporting or concealment of MMSI / IMO / ship name in the real-time AIS data, according to the matching probability calculated in 3-2-2, the word frequency of the three reference fields with the highest probability is selected as the identification parameter, and associated with the registration business data obtained in step 2; the association process includes matching using pinyin segmentation and a custom word library. If the match is successful, the Chinese ship name of the ship, the ship business primary key and the ship registration parameter information are added to the matching result; if no match is found, a secondary match is performed with the local data service, and the local data service includes manually supplemented and entered ship registration data; if the match continues to fail, an associated match is performed with the local business system, and the local business system includes fishing vessels and attribution ship management systems; if the match fails, a processed identification tag is added to the ship, and within the memory validity period, subsequent messages sent by the same ship will not be processed by step 3-2.

8. A method for identifying large amounts of marine ship targets according to claim 7, characterized in that: The method further includes step 4, which completes the display of the large amount of ship targets according to the current display level of the map and the ship position information and name information in the ship identification data.

9. A method for identifying large amounts of marine ship targets according to claim 8, characterized in that: Step 4 includes: when the current display level of the map is low, the scope of the current interface is large, and the number of ships is large, the WSG84 coordinate system is adopted, and the Mercator projection is used as the standard, and the world map within the screen range is divided into multiple 256×256 map tile units by cutting, and the tile longitude and latitude range is obtained according to the tile coordinates; the background service generates a ship green dot tile map according to the distribution of ships in the current tile longitude and latitude range, returns it to the interface as a response result, and loads it for display; If the current display level of the map continues to decrease, there will be a large number of ships in each tile. At this time, all the ship data will be aggregated, and a distance parameter d will be specified. The value of d is customized according to the total number of ships and their distribution. Ships within the distance d are merged into the same ship, thereby generating a new ship distribution data. Based on the new ship distribution data, the tile longitude and latitude range is calculated for the tile coordinates. The background service generates a ship green dot map according to the ship distribution in the current tile longitude and latitude range, returns it to the interface as a response result, and loads it for display.

10. A method for identifying large amounts of marine ship targets according to claim 9, characterized in that: Step 4 also includes: if the current display level of the map is high, obtain the display longitude and latitude range of the current rectangular interface, and rely on the spatial index method to find the ship identification data in the rectangular area; after obtaining the ship identification data, draw and load the display on the interface, and be able to perform custom style rendering and drawing.

Citation Information

Cited By

  • Ship position display method and device, electronic equipment and storage medium

    CN120973874A