An online control method and system for burning static information of a ship AIS

By using an online control method for ship AIS static information and remote burning via QR codes and mobile authentication, the problem of inconsistent management of ship AIS static information is solved, management efficiency and security are improved, and costs are reduced.

CN114879994BActive Publication Date: 2025-11-07XIAMEN XINNUO TECH
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202210564595.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-23
Publication Date
2025-11-07
Estimated Expiration
2042-05-23

AI Technical Summary

Technical Problem

In the current technology, ship AIS static information cannot be managed uniformly, cannot be remotely controlled in real time, is difficult to legally change, poses great management risks, and increases the overall cost in the sales process.

Method used

The ship AIS static information online control method is adopted. Through identity authentication of the ship terminal and the server, remote writing is realized using QR codes and mobile terminals, including QR code generation, QR code scanning and parsing, identity authentication and data transmission, to ensure the security and legality of information.

Benefits of technology

It enables convenient remote programming, without time or location restrictions, improves management efficiency, reduces costs, ensures the security, reliability and legality of information, and can promptly detect and stop violations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114879994B_ABST
    Figure CN114879994B_ABST
Patent Text Reader

Abstract

The application discloses an online control method for burning static information of a ship AIS, and comprises the following processes: a ship terminal initiates an online burning request of static information, and directly sends a unique code of the ship, static information to be modified and an identity authentication certificate to a server, or sends the unique code of the ship, the static information to be modified and the identity authentication certificate to the server through a mobile terminal; the ship terminal receives feedback information after the server authenticates the online burning request of the static information, and if the feedback information is authentication success, receives an encryption key and updated static information sent by the server; the ship terminal uses the encryption key to unlock and burns static information of the AIS. The application further discloses an online control system for burning static information of a ship AIS. The application can realize convenient remote burning, is convenient for a ship user to operate at any time, and meets the supervision requirements of a relevant state agency and is safe and reliable.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of ship communication, in particular to an online control method for burning static information of ship AIS and an online control system for burning static information of ship AIS. BACKGROUND

[0002] AIS is the abbreviation of Automatic Identification System, which is composed of shore-based (base station) facilities and shipborne equipment, and is a digital navigation system and equipment integrating network technology, communication technology, computer technology and electronic display technology. At the same time, it can be connected with radar, ARPA, ECDIS, VTS, etc., to form a marine traffic control and monitoring network. Therefore, whether the nine-digit code, ship name and other static information of the shipborne terminal of AIS is correct will directly affect the safety of ship navigation and marine traffic control.

[0003] The ship MMSI nine-digit code is the unique identifier set in the ship AIS module, which plays an important role in ship navigation supervision. The relevant departments have issued a number of notices to prohibit users from modifying the static information of the ship at will. The existing management method is that the equipment manufacturer issues a burner to the distributor, and the distributor writes the static information including the ship MMSI nine-digit code into the equipment when selling the equipment. Since the burner is bound to a specific device, the equipment manufacturer cannot accurately match the devices that the burner is adapted to, which poses a management risk. Moreover, the distributor needs to frequently go to the ship for installation and static information setting during the sales process, which increases the overall cost in the sales process. SUMMARY

[0004] The purpose of the present application is to provide an online control method and system for burning static information of ship AIS to solve the problems that the static information of the ship cannot be unified and cannot be controlled and managed remotely in real time, and the static information of the ship is difficult to change legally in the prior art.

[0005] To achieve the above purpose, the present application adopts the following technical solutions:

[0006] The present application discloses an online control method for burning static information of ship AIS, which comprises the following processes:

[0007] The ship terminal initiates an online static information burning request and directly sends the unique code of the ship, the static information to be modified and the identity authentication certificate to the server, or sends the unique code of the ship, the static information to be modified and the identity authentication certificate to the server through the mobile terminal.

[0008] The ship terminal receives the feedback information of the service end after the authentication of the online burning request of the static information, if the feedback information is the authentication failure, the ship terminal does not update the static information, if the feedback information is the authentication success, the ship terminal receives the encryption key and the updated static information sent by the service end, and the ship terminal uses the encryption key to unlock and burns the static information of the AIS.

[0009] Further, the specific steps of sending data to the service end by the mobile end are as follows:

[0010] (1). The ship terminal generates a two-dimensional code by taking the unique code as a parameter; the unique code is the machine number or / and MMSI code of the ship terminal.

[0011] (2). Code scanning and analysis, the mobile end scans the two-dimensional code to obtain the unique code.

[0012] (3). The mobile end sends the unique code to the service end to request the service end to query the current static information of the ship terminal.

[0013] (4). The mobile end receives the current static information obtained by the service end and displays it on the mobile end interface.

[0014] (5). Fill in the static information to be modified and upload the identity authentication certificate on the mobile end, and send the data to the service end.

[0015] In another embodiment, the specific steps of sending data to the service end by the mobile end are as follows:

[0016] (1). The ship terminal generates a two-dimensional code by taking the unique code as a parameter; the unique code is the machine number or / and MMSI code of the ship terminal.

[0017] (2). Code scanning and analysis, the mobile end scans the two-dimensional code to obtain the unique code.

[0018] (3). Fill in the static information to be modified and upload the identity authentication certificate on the mobile end, and send the data to the service end.

[0019] Further, if the authentication fails, the ship terminal does not update the static information, and sends the reason for the authentication failure to the mobile end; if the authentication succeeds, the ship terminal updates the static information and destroys the encryption key.

[0020] The static information includes MMSI code, English ship name, Chinese ship name, ship type, ship length, ship width, call sign, IMO, draft, total tonnage, year of construction, and position of antenna, the identity authentication certificate is obtained by collecting images through the camera of the mobile end, and the camera of the mobile end adds watermark to the images after collecting the images.

[0021] Preferably, the identity authentication certificate includes a registry certificate and an Automatic Identification System (AIS) identification code certificate, and the method for the server to authenticate the online burning request of static information is as follows: the identity of the ship is authenticated according to the registry certificate and the Automatic Identification System (AIS) identification code certificate. The authentication method is as follows: the ship name and the ship identification number are read from the registry certificate, the ship name, the ship identification number and the MMSI code are read from the Automatic Identification System (AIS) identification code certificate, the ship name and the MMSI code are read from the information submitted by the user, and the three are compared. If the data is consistent, the identity authentication is passed, otherwise, the identity authentication is not passed.

[0022] Further, the reading of the registry certificate and the Automatic Identification System (AIS) identification code certificate when authenticating the identity of the ship is realized by the following algorithm: a1. Obtain the image data of the registry certificate and the Automatic Identification System (AIS) identification code certificate; a2. Extract the text information and the text coordinates from the image; a3. Align the text information according to the coordinate information; a4. Combine the text with similar distances to form a text block; a5. Match and determine the pair of fields and values according to the size and coordinate relationship of the text box; a6. Identify the content of the text block determined as "field", match the key name in the database, and save the corresponding value as the value of the corresponding key name. At least "ship name" and "ship identification number" need to be identified from the registry certificate, and at least "ship name", "ship identification number" and "MMSI code" need to be identified from the Automatic Identification System (AIS) identification code certificate.

[0023] Preferably, when the identity authentication is passed, the server stores the static information of the authenticated ship into the ship information database, updates the association between the ship information database and the equipment information database according to the unique code, and takes out the encryption key corresponding to the ship terminal. The server generates feedback information according to the authentication result, and packs and sends the feedback information, the encryption key and the updated static information to the ship terminal. When the identity authentication is not passed, the server generates feedback information with the reason for the authentication failure according to the authentication result, and sends the feedback information to the ship terminal.

[0024] Preferably, the generation of the two-dimensional code is realized by the following algorithm: b1. converting the unique code and the current timestamp, or the ship terminal number, the current static information and the current timestamp into a ship information bit string; b2. determining the final carrier information embedding packet length according to the preselected QR code error correction level; b3. determining the number of times of copying the basic carrier information bit string based on the final carrier information embedding packet length, the number of basic carrier information bit string packets and the number of ship information bit string packets; b4. copying the basic carrier information bit string according to the number of times of copying to obtain the final carrier information bit string; b5. selecting a carrier QR code according to the symbol capacity of the QR code under the preselected QR code error correction level; b6. calculating the error correction code when the final carrier information bit string is written by using the two-dimensional code error correction algorithm; b7. embedding the ship information bit string into the final carrier information bit string by using the SNE algorithm to obtain the data code of the two-dimensional code; and b8. embedding the data code and the error correction code into the carrier QR code to obtain the two-dimensional code.

[0025] The algorithm for scanning and analyzing the two-dimensional code in step (2) is as follows: c1. separating the timestamp from the two-dimensional code, if the time difference between the time indicated by the timestamp and the scanning and analyzing time exceeds the pre-set time range, the analysis is not performed and the result is fed back to the mobile terminal; if the time difference between the time indicated by the timestamp and the scanning and analyzing time is within the pre-set time range, steps c2-c5 are performed.

[0026] c2. separating the data code and the error correction code from the two-dimensional code; c3. reading the final carrier information bit string from the error correction code; c4. taking the exclusive OR of the data code and the final carrier information bit string to obtain the grouping data embedding position of the ship information bit string in the final carrier information bit string; and c5. extracting the ship information bit string according to the obtained grouping data embedding position.

[0027] The application also discloses an online control system for burning and writing ship AIS static information, which comprises a ship terminal and a server. The ship terminal is provided with a number, and comprises an AIS module, a CPU processing module, a burning and writing encryption module, a first network communication module and a data storage module. The AIS module stores ship static information. The CPU processing module is used for reading data of the AIS module and writing data into the AIS module. The burning and writing encryption module is used for locking the ship static information when the CPU processing module writes data into the AIS module, and allows writing data only when the CPU processing module provides a decryption key. The first network communication module is connected with the CPU processing module and is used for connecting the CPU processing module to the Internet. The data storage module is used for storing data.

[0028] The server comprises: a database for storing information data and a decryption key; a second network communication module for accessing the Internet; an identity verification module for performing identity authentication on the ship; if identity authentication is passed, the static information of the ship in the database is updated, and the encrypted key corresponding to the ship terminal number in the database is taken out together with the updated static information and sent to the corresponding ship terminal through the second network communication module.

[0029] Further, the ship terminal further comprises a two-dimensional code generation module, which is used for generating a two-dimensional code by taking the unique code of the ship as a parameter, or generating a two-dimensional code by taking the machine number of the ship terminal and the current static information as parameters.

[0030] The online control system for burning and writing the static information of the ship AIS further comprises a mobile terminal, which comprises: an image acquisition module for scanning a two-dimensional code and acquiring an image; a two-dimensional code analysis module for analyzing the two-dimensional code to obtain the unique code of the ship; and a form module for writing the static information of the ship to be updated.

[0031] The database of the server comprises a device information database, a ship information database and a key information database: the device information database stores device information by taking the machine number of the ship terminal as a primary key, the ship information database stores ship information by taking the MMSI code of the ship as a primary key, and the key database is used for storing the decryption key of the AIS module. The present application has the following beneficial effects:

[0032] 1. The present application can realize convenient remote burning and writing, is not limited by time and place, and is convenient for the ship user to operate at any time. Moreover, the present application meets the supervision requirements of the relevant state agencies and is safe and reliable.

[0033] 2. The ship identity authentication method of the present application is different from the traditional authentication application process. The burning and writing application, authentication and result feedback are realized in an all-online and paperless manner, which greatly improves the efficiency and effectively reduces the management cost.

[0034] 3. The present application effectively binds the AIS identification code certificate and the ship information through authentication, so as to realize remote information management and control. Once illegal behavior such as number matching occurs, the server can discover and timely locate and stop it. BRIEF DESCRIPTION OF DRAWINGS

[0035] Figure 1 is a system structure block diagram of the first embodiment of the present application.

[0036] Figure 2 is a system structure block diagram of the second embodiment of the present application.

[0037] Figure 3 is a schematic diagram of the ship identity authentication method of the present application.

[0038] Figure 4 is a mobile terminal query interface for obtaining current static information and being modifiable.

[0039] Figure 5 is Figure 4 the end of the interface in the middle requires uploading an image of an identity authentication certificate. DETAILED DESCRIPTION

[0040] In order for those skilled in the art to better understand the technical solutions of the present application, the present application will be further described in detail below in combination with the drawings and specific embodiments.

[0041] Embodiment One

[0042] As Figure 1 shown, the embodiment discloses an online control system for burning and writing ship AIS static information, which comprises a ship terminal and a server. The ship terminal is provided with a serial number.

[0043] The ship terminal comprises an AIS module, a CPU processing module, a burning and writing encryption module, a first network communication module and a data storage module.

[0044] The AIS module stores ship static information. The CPU processing module is used for reading data of the AIS module and writing data into the AIS module. The burning and writing encryption module is used for locking the ship static information when the CPU processing module writes data into the AIS module, and only allows writing data when the CPU provides a decryption key. The first network communication module is connected with the CPU processing module and is used for connecting the CPU processing module to the Internet. The data storage module is used for storing data.

[0045] The server comprises a database, a second network communication module and an identity verification module. The database comprises a device information database, a ship information database and a key information database. The device information database stores device information with the serial number of the ship terminal as the primary key. The ship information database stores ship information with the MMSI code of the ship as the primary key. The key database is used for storing the decryption key of the AIS module. The second network communication module is used for connecting to the Internet. The identity verification module is used for performing identity authentication on the ship. If the identity authentication is passed, the ship static information in the database is updated, the encrypted key corresponding to the serial number of the ship terminal is taken out from the database together with the updated static information, and the corresponding ship terminal is sent by the second network communication module.

[0046] In the embodiment, the online control method for burning and writing ship AIS static information by using the above system comprises the following processes:

[0047] S1. The ship terminal initiates a request for online burning of static information, and sends the unique code of the ship, the static information to be modified, and the identity authentication certificate to the server. The identity authentication certificate includes the certificate of registry and the certificate of the automatic identification system (AIS) identification code.

[0048] Before the request for burning is initiated, the data of the AIS module is locked by the burning encryption module, and the CPU processing module cannot modify the data of the AIS module. When there is a special situation, the data of the AIS module needs to be changed, at which time the ship administrator inputs the static information of the ship to be modified into the CPU processing module, and the CPU processing module sends the data to the server through the first network communication module.

[0049] S2. The ship terminal receives the feedback and completes the burning.

[0050] In this process, the method for the server to authenticate the request for online burning of static information is as follows: the identity of the ship is authenticated by the identity verification module according to the certificate of registry and the certificate of the automatic identification system (AIS) identification code. As shown in Figure 3 , specifically: the ship name and the ship identification number are read from the certificate of registry, the ship name, the ship identification number, and the MMSI code are read from the certificate of the automatic identification system (AIS) identification code, and the ship name and the MMSI code are read from the form information submitted by the user. The three are compared, and if the data is consistent, the identity authentication is passed, otherwise, the identity authentication is not passed.

[0051] The server sends feedback information to the ship terminal through the second network communication module, and if the authentication is successful, the encryption key and the updated static information are also sent.

[0052] After receiving the feedback information, if the feedback information is authentication failure, the CPU processing module of the ship terminal does not update the static information, at which time the burning encryption module still locks the static information of the ship, and the CPU processing module cannot perform burning. If the feedback information is authentication success, the encryption key and the updated static information sent by the server are also received. The ship terminal uses the encryption key to unlock the burning encryption module, and the CPU processing module burns the static information of the AIS, thereby completing the online update of the static information of the AIS.

[0053] Embodiment Two

[0054] As shown in Figure 2 , the embodiment discloses an online control system for burning of static information of a ship AIS, which comprises a ship terminal, a mobile terminal, and a server. The ship terminal is provided with a machine number.

[0055] The ship terminal comprises an AIS module, a CPU processing module, a burning encryption module, a first network communication module, a two-dimensional code generation module and a data storage module.

[0056] The AIS module stores ship static information. The CPU processing module is used for reading data of the AIS module and writing data into the AIS module. The burning encryption module is used for locking the ship static information when the CPU processing module writes data into the AIS module, and only allows writing data when the CPU provides a decryption key. The first network communication module is connected with the CPU processing module and is used for connecting the CPU processing module to the Internet. The two-dimensional code generation module is used for generating a two-dimensional code by taking the unique code of the ship as a parameter. The data storage module is used for storing data.

[0057] The mobile terminal comprises an image acquisition module, a two-dimensional code analysis module and a form module. The mobile terminal can be a tablet computer or a mobile phone. The image acquisition module is a camera and is used for scanning a two-dimensional code and acquiring an image. The two-dimensional code analysis module is used for analyzing the two-dimensional code to obtain the unique code of the ship. The unique code of the ship can be the serial number of the ship terminal or / and the MMSI code.

[0058] The server comprises a database, a second network communication module and an identity verification module. The database comprises a device information database, a ship information database and a key information database. The device information database stores device information by taking the serial number of the ship terminal as a primary key. The ship information database stores ship information by taking the MMSI code of the ship as a primary key. The key database is used for storing the decryption key of the AIS module. The second network communication module is used for connecting to the Internet. The identity verification module is used for performing identity authentication on the ship. If the identity authentication is passed, the ship static information in the database is updated, the encrypted key corresponding to the serial number of the ship terminal is taken out from the database together with the updated static information, and the updated static information is sent to the corresponding ship terminal through the second network communication module.

[0059] The embodiment discloses an online control method for burning ship AIS static information. The system of the embodiment comprises the following steps:

[0060] S1. Initiating an online burning request

[0061] The ship terminal initiates an online burning request for ship static information. The two-dimensional code generation module generates a two-dimensional code by taking the unique code of the ship as a parameter. The two-dimensional code is refreshed once in a period of time, for example, once in 10 minutes. The unique code of the ship can be the serial number of the ship terminal or / and the MMSI code.

[0062] The generation of the two-dimensional code is realized by the following algorithm:

[0063] b1. convert the unique code of the ship and the current time stamp into a ship information bit string.

[0064] b2. determine the final carrier information embedding packet length according to the pre-selected QR code error correction level.

[0065] b3. determine the number of copies of the basic carrier information bit string based on the final carrier information embedding packet length, the number of basic carrier information bit string packets, and the number of ship information bit string packets.

[0066] b4. copy the basic carrier information bit string according to the number of copies to obtain the final carrier information bit string.

[0067] b5. select a carrier QR code according to the symbol capacity of the QR code under the pre-selected QR code error correction level.

[0068] b6. calculate the error correction code when writing the final carrier information bit string as the information using the two-dimensional code error correction algorithm.

[0069] b7. embed the ship information bit string into the final carrier information bit string using the SNE algorithm to obtain the data code of the two-dimensional code.

[0070] b8. embed the data code and the error correction code into the carrier QR code to obtain the two-dimensional code.

[0071] S2. Scan and analyze

[0072] The mobile terminal is generally a mobile phone, which is provided with a camera and installed with an APP, and the APP is provided with a two-dimensional code analysis module. The unique code of the ship is obtained by scanning the two-dimensional code generated in step S1 through the two-dimensional code analysis module of the mobile phone APP.

[0073] The algorithm for scanning and analyzing the two-dimensional code is as follows:

[0074] c1. separate the time stamp from the two-dimensional code, if the time difference between the time indicated by the time stamp and the scanning and analyzing time exceeds the pre-set time range (such as 10 minutes), do not analyze, and feedback the result to the mobile terminal. The mobile terminal receives the feedback result, the user needs to refresh the two-dimensional code, and then re-scan and analyze the two-dimensional code.

[0075] If the time difference between the time indicated by the time stamp and the scanning and analyzing time exceeds the pre-set time range, the following steps c2-c5 are continued.

[0076] c2. separate the data code and the error correction code from the two-dimensional code.

[0077] c3. read the final carrier information bit string from the error correction code.

[0078] c4. Taking the data code and the final carrier information bit string XOR, obtaining the grouping data embedding position of the ship information bit string in the final carrier information bit string.

[0079] c5. Extracting the ship information bit string according to the obtained grouping data embedding position, to obtain the unique code of the ship.

[0080] S3. The mobile terminal sends the unique code to the server, and requests the server to query the current static information of the ship terminal. The static information includes MMSI, English ship name, Chinese ship name, ship type, ship length, ship width, call sign, IMO, draft, gross tonnage, year of construction, positioning antenna position and other information.

[0081] S4. The server queries the current static information of the ship according to the unique code, and sends it to the mobile terminal. The mobile terminal receives the current static information queried by the server, and displays it on the interface of the mobile terminal, as shown in Figure 4 .

[0082] S5. The user modifies the static information on the interface of the mobile terminal and uploads the certificate of registry ( Figure 5 shown as “ship register / certificate of ship nationality”) and the certificate of AIS identification code ( Figure 5 shown as “certificate of AIS identification code”). The certificate of registry refers to the collective name of various documents on the ship to prove the ownership of the ship and its technical operation performance, which in practice includes: certificate of ship nationality (cargo ship), certificate of ship inspection (fishing boat), ship register (cargo ship), ship plaque register (fishing boat) and the like. The certificate of registry and the certificate of AIS identification code are obtained by collecting images through the camera of the mobile phone. In this embodiment, a watermark is added to the image after the image is collected, to prevent the image from being modified.

[0083] After filling in and uploading, click Submit Authentication, and the mobile terminal will package the data and send it to the server.

[0084] S6. Receive feedback information and complete burning

[0085] The ship terminal receives the feedback information after the server authenticates the online burning request of the static information.

[0086] The method for the server to authenticate the online burning request of the static information is: authenticating the identity of the ship according to the certificate of registry and the certificate of AIS identification code. As shown in Figure 3 , specifically: reading the ship name and ship identification number from the certificate of registry, reading the ship name, ship identification number and MMSI code from the certificate of AIS identification code, and reading the ship name and MMSI code from the form information submitted by the user, comparing the three, and if the data is consistent, the identity authentication is passed, otherwise, the identity authentication is not passed.

[0087] The reading of the certificate of registry and the certificate of the automatic identification system (AIS) identification code when authenticating the ship identity is realized by the following algorithm:

[0088] a1. Obtain the image data of the certificate of registry and the certificate of the automatic identification system (AIS) identification code.

[0089] a2. Extract the text information and the text coordinates from the image.

[0090] a3. Align the text information according to the coordinate information.

[0091] a4. Merge the text with similar distances to form a text block.

[0092] a5. Match and determine the fields and values according to the size and coordinate relationship of the text box.

[0093] a6. Identify the text block content as the "field", match the key name in the database, and save the corresponding value as the value of the corresponding key name. At least, the certificate of registry needs to identify and obtain "ship name" and "ship identification number"; the certificate of the automatic identification system (AIS) identification code needs to identify and obtain "ship name", "ship identification number" and "MMSI code".

[0094] When the identity authentication fails, the server generates feedback information with the reason for the authentication failure according to the authentication result, and sends the feedback information to the ship terminal. Upon receiving the feedback information of the authentication failure, the ship terminal does not update the static information, and sends the reason for the authentication failure to the mobile phone, so as to facilitate the user to check the reason for the failure.

[0095] When the identity authentication is passed, the server stores the static information of the ship passed by the authentication into the ship information database, updates the association relationship between the ship information database and the equipment information database according to the machine number of the ship terminal, and takes out the encryption key of the AIS module of the corresponding ship terminal according to the machine number. The server generates feedback information according to the authentication result, and packs and sends the feedback information, the encryption key and the updated static information to the ship terminal. Upon receiving the feedback information of the successful authentication, the ship terminal receives the encryption key and the updated static information sent by the server, uses the encryption key to unlock and write the encryption module, updates the static information of the AIS module, and destroys the encryption key after the update is completed.

[0096] Embodiment Three

[0097] The online control system for the ship AIS static information writing of the present embodiment is the same as that of embodiment two.

[0098] In the present embodiment, the online control method for the ship AIS static information writing by using the above system includes the following processes:

[0099] S1. Initiate online burning request

[0100] The ship terminal initiates the online burning request of the static information of the ship, and the two-dimensional code generation module generates a two-dimensional code of the machine number and the current static information of the ship terminal.

[0101] The generation of the two-dimensional code is realized by the following algorithm:

[0102] b1. Convert the machine number, current static information and current timestamp of the ship terminal into a ship information bit string.

[0103] b2. Determine the final carrier information embedding packet length according to the preselected QR code error correction level.

[0104] b3. Determine the number of times of copying the basic carrier information bit string based on the final carrier information embedding packet length, the number of basic carrier information bit string packets and the number of ship information bit string packets.

[0105] b4. Copy the basic carrier information bit string according to the number of times of copying to obtain the final carrier information bit string.

[0106] b5. Under the preselected QR code error correction level, select a carrier QR code according to the symbol capacity of the QR code.

[0107] b6. Calculate the error correction code when writing the final carrier information bit string into the information by using the two-dimensional code error correction algorithm.

[0108] b7. Embed the ship information bit string into the final carrier information bit string by using the SNE algorithm to obtain the data code of the two-dimensional code.

[0109] b8. Embed the data code and the error correction code into the carrier QR code to obtain the two-dimensional code.

[0110] S2. Scan and analyze

[0111] Scan the two-dimensional code generated in step S1 by a mobile terminal (such as a mobile phone), and obtain the machine number and the current static information of the ship terminal of the ship by the two-dimensional code analysis module. The algorithm for scanning and analyzing the two-dimensional code is the same as that of Embodiment Two.

[0112] S3. The mobile terminal displays the analyzed current static information on the interface of the mobile terminal, as shown in Figure 4 S4. The user modifies the static information on the interface of the mobile terminal and uploads the registry certificate, as shown in

[0113] Figure 5 S4. The user modifies the static information on the interface of the mobile terminal and uploads the registry certificate, as shown inAs shown, the ship registration certificate and the ship automatic identification system (AIS) identification code certificate are obtained by collecting images through the camera of the mobile phone. After filling and uploading are completed, click on the submit authentication, and the mobile terminal will package the data and send it to the server.

[0114] S5. Receiving feedback information to complete the burning

[0115] The method for the server to authenticate the online burning request of the static information is: according to the ship registration certificate and the ship automatic identification system (AIS) identification code certificate, authenticate the ship identity. The specific method of identity authentication is the same as in Embodiment Two.

[0116] When the identity authentication fails, the server generates feedback information with the reason for the authentication failure according to the authentication result, and sends the feedback information to the ship terminal. Upon receiving the feedback information of the authentication failure, the ship terminal does not update the static information, and at the same time, sends the reason for the authentication failure to the mobile phone, so as to facilitate the user to check the reason for the failure.

[0117] When the identity authentication is passed, the server stores the static information of the authenticated ship into the ship information database, and updates the association between the ship information database and the equipment information database according to the mobile number of the ship terminal, and takes out the encryption key of the AIS module of the corresponding ship terminal according to the mobile number. The server generates feedback information according to the authentication result, and packages the feedback information, the encryption key and the updated static information and sends them to the ship terminal. Upon receiving the feedback information of the successful authentication, the ship terminal receives the encryption key and the updated static information sent by the server, uses the encryption key to unlock the burning encryption module, and updates the static information of the AIS module, and after the update is completed, destroys the encryption key.

[0118] The above is only the preferred specific implementation of the present application, but the protection scope of the present application is not limited to this. Any person skilled in the art can easily think of changes or replacements within the technical range disclosed by the present application, which should be covered within the protection scope of the present application.

Claims

1. An online control method for ship AIS static information burning, characterized in that: The process comprises the following steps: The ship terminal initiates a request for online burning of static information, and sends the unique code of the ship, the static information to be modified, and the identity authentication certificate to the server through the mobile terminal; the mobile terminal is a tablet computer or a mobile phone, and the specific steps of sending data from the mobile terminal to the server are as follows: The ship terminal generates a two-dimensional code by taking the unique code as a parameter; the unique code is the machine number or / and the MMSI code of the ship terminal; The mobile terminal scans the two-dimensional code to obtain the unique code by analysis; The mobile terminal sends the unique code to the server to request the server to query the current static information of the ship terminal; The mobile terminal receives the current static information obtained by the server query and displays it on the mobile terminal interface; The mobile terminal fills in the static information to be modified and uploads the identity authentication certificate, and sends the data to the server; The identity authentication certificate includes the certificate of registry and the certificate of automatic identification system (AIS) identification code, and the server authenticates the request for online burning of static information by the following method: the certificate of registry and the certificate of automatic identification system (AIS) identification code are used to authenticate the identity of the ship, the method of authentication is to read the ship name and ship identification number from the certificate of registry, read the ship name, ship identification number and MMSI code from the certificate of automatic identification system (AIS) identification code, read the ship name and MMSI code from the information submitted by the user, and compare the three, if the data is consistent, the identity authentication is passed, otherwise, the identity authentication is not passed; When the identity authentication is passed, the server stores the authenticated static information of the ship in the ship information database, updates the association between the ship information database and the equipment information database according to the unique code, and takes out the encryption key corresponding to the ship terminal; the server generates feedback information according to the authentication result, and sends the feedback information, the encryption key and the updated static information to the ship terminal; When the identity authentication is not passed, the server generates feedback information with the reason for the authentication failure according to the authentication result, and sends the feedback information to the ship terminal; The ship terminal receives the feedback information after the server authenticates the request for online burning of static information, if it is the feedback information of authentication failure, the ship terminal does not update the static information, if it is the feedback information of authentication success, the ship terminal receives the encryption key and the updated static information sent by the server at the same time; The ship terminal uses the encryption key to unlock and burn the static information of the AIS.

2. The online control method of ship AIS static information burning as claimed in claim 1, characterized in that: If the authentication fails, the ship terminal does not update the static information, and sends the reason for the authentication failure to the mobile terminal; If the authentication is successful, the ship terminal updates the static information, and then destroys the encryption key.

3. The online control method of ship AIS static information burning as claimed in claim 1, characterized in that: The reading of the certificate of registry and the certificate of automatic identification system (AIS) identification code during the authentication of the ship identity is realized by the following algorithm: a1. Obtain the image data of the certificate of registry and the certificate of automatic identification system (AIS) identification code; a2. Extract the text information and text coordinates from the image; a3. Align the text information according to the coordinate information; a4. Merge the text with similar distances to form a text block; a5. According to the size and coordinate relationship of the text box, the fields and values are matched and determined as a pair; a6. The text block content determined as the field is identified, the key name in the database is matched, and the corresponding value is identified and saved as the value of the corresponding key name, wherein the ship registration certificate at least needs to identify and obtain the ship name and ship identification number; the ship automatic identification system (AIS) identification code certificate at least needs to identify and obtain the ship name, ship identification number and MMSI code.

4. The online control method of ship AIS static information burning as claimed in claim 1, characterized in that: The generation of the two-dimensional code is realized by the following algorithm: b1. The unique code and the current timestamp, or the ship terminal number, the current static information and the current timestamp are converted into a ship information bit string; b2. The final carrier information embedding packet length is determined according to the preselected QR code error correction level; b3. The number of times of copying the basic carrier information bit string is determined based on the final carrier information embedding packet length, the number of basic carrier information bit string packets and the number of ship information bit string packets; b4. The basic carrier information bit string is copied according to the number of times of copying to obtain the final carrier information bit string; b5. Under the preselected QR code error correction level, the carrier QR code is selected according to the symbol capacity of the QR code; b6. The error correction code when writing the final carrier information bit string is calculated by using the two-dimensional code error correction algorithm; b7. The ship information bit string is embedded into the final carrier information bit string by using the SNE algorithm to obtain the data code of the two-dimensional code; b8. The data code and the error correction code are embedded into the carrier QR code to obtain the two-dimensional code; The algorithm for scanning and analyzing the two-dimensional code is as follows: c1. The timestamp is separated from the two-dimensional code, if the time difference between the timestamp and the scanning and analyzing time exceeds the preset time range, the analysis is not performed, and the result is fed back to the mobile terminal; If the time difference between the timestamp and the scanning and analyzing time is within the preset time range, steps c2-c5 are performed; c2. The data code and the error correction code are separated from the two-dimensional code; c3. The final carrier information bit string is read from the error correction code; c4. The data code and the final carrier information bit string are taken XOR to obtain the grouping data embedding position of the ship information bit string in the final carrier information bit string; c5. The ship information bit string is extracted according to the obtained grouping data embedding position.

Citation Information

Patent Citations

  • Ship verification hand-held device and method based on radio frequency identification devices (RFID) and image identification

    CN103218641A

  • Vehicle-mounted terminal identification code burning method

    CN112394955A

  • Stroke code generation method, reading method, verification method, mobile terminal and school registration management system

    CN113011543A

  • Structured information extraction method and device, electronic equipment and storage medium

    CN113568965A