A ship-shore identification method and system based on domestic encryption

Through the ship-shore identity identification method based on domestic cryptography, the three-party authentication and key verification are carried out using the Guomi SM2 algorithm and the elliptic curve cryptography technology, and combined with the Guomi SM3 one-way hash function and the exclusive OR logic algorithm, the existing technology is solved The problems of man-in-the-middle attacks and session key leakage improve the security of ship-shore communication and key security.

CN118647018BActive Publication Date: 2024-11-29CHINA WATERBORNE TRANSPORT RES INST +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410605741.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-16
Publication Date
2024-11-29
Estimated Expiration
2044-05-16

AI Technical Summary

Technical Problem

The prior art cannot effectively resist man-in-the-middle attacks and simulated attacks, session key leakage attacks, and is not suitable for secure ship-shore communication systems.

Method used

The ship-shore identity identification method based on domestic passwords is adopted, and the mutual authentication and key verification of ship-side equipment, shore-side gateway and shore-side wireless equipment are used to perform encryption calculations using the elliptic curve E(GFq) function in the National Secret SM2 algorithm. The session key SKu is encrypted by a random number mi, cj, shore gateway identifier Ki and timestamp T3, and is hidden by a national secret SM3 one-way hash function and an exclusive-or logical algorithm when transmitted in the public channel.

Benefits of technology

It improves the security of ship-shore communication authentication and communication processes, resists offline password guessing attacks and session key leakage attacks, reduces the computing pressure between devices, and enhances the security of session keys.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118647018B_ABST
    Figure CN118647018B_ABST
Patent Text Reader

Abstract

The present application provides a ship-shore identity recognition method and system based on domestic encryption, the method comprising: the ship-side device submits a login request to the shore-side gateway; the ship-side device, the shore-side gateway and the shore-side wireless device perform mutual authentication and key verification, identify the ship-side device, and negotiate a session key for communication between the ship-side device and the shore-side wireless device to complete the identity recognition. The method improves the security of the entire authentication process by introducing a series of national encryption algorithms to encrypt the key parameters in the authentication process, while also reducing the computing pressure on the shore-side wireless device. The present application can effectively resist offline password guessing attacks, session key leakage attacks and man-in-the-middle attacks through the identity authentication method, making the entire authentication process safe and efficient, especially in the ship-shore public communication scenario, it has high application value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of information security technology, and specifically relates to a ship-shore identity recognition method and system based on domestic encryption. Background Art

[0002] In recent years, with the rapid development of the Internet of Things, wireless communication networks have been widely used in medical, military, agriculture, etc. In a complex ship-to-shore communication environment, each device transmits public information through a distributed network of wireless communication devices, so the authentication method used for wireless communication networks plays an important role in secure transmission.

[0003] The Chinese invention "A lightweight anonymous authentication method suitable for resource-constrained devices" with application publication number CN111130758A discloses a lightweight anonymous authentication method suitable for resource-constrained devices. The method is implemented using an information system model, and its information system model includes three entities: a network management center, a constrained device, and an information center. Identity is verified through two-way authentication, and only one elliptic curve point multiplication operation needs to be performed on the authentication end. Compared with traditional algorithms, the overhead of computing resources and communication resources is further reduced while ensuring security. However, the authentication method cannot solve the problem of man-in-the-middle attacks well, and is therefore not suitable for secure ship-to-shore communication systems.

[0004] Academic literature A novel user authentication and key agreement scheme for heterogeneous ad hoc wireless sensor networks, based on the Internet of Thingsnotion[J]. Ad Hoc Networks, 2014, 20:96-112 discloses a two-factor authentication scheme based on hash functions, which is suitable for communication systems under wireless sensor networks. However, this method is vulnerable to simulation attacks and session key leakage attacks and is not suitable for secure ship-to-shore communication systems. Summary of the invention

[0005] The purpose of this application is to overcome the defects of the prior art that it cannot overcome the problem of man-in-the-middle attacks and is easily susceptible to simulation attacks and session key leakage attacks.

[0006] In order to achieve the above purpose, this application proposes a ship-shore identity recognition method based on domestic encryption, including:

[0007] Step 1: The ship-side device submits a login request to the shore-side gateway;

[0008] Step 2: The ship-side device, shore-side gateway and shore-side wireless device perform mutual authentication and key verification, identify the ship-side device, and negotiate the session key SK for communication between the ship-side device and the shore-side wireless device. u , complete identity recognition.

[0009] As an improvement to the above method, the three parties perform mutual authentication and key verification, and the process includes:

[0010] Step 2-1: The ship-side device generates the current timestamp T1 and random number m through registration information i , and calculate the verification parameters, and send the information MES1 to the shore gateway;

[0011] Step 2-2: After receiving the information MES1, the shore gateway verifies the legitimacy of the timestamp T1 and the verification parameters in the information MES1. If they are not legal, the authentication process is terminated; if they are legal, the shore gateway authentication is successful;

[0012] Step 2-3: After the shore gateway successfully authenticates, it generates the current timestamp T2 and calculates the verification parameters, and sends the message MES2 to the shore wireless device;

[0013] Step 2-4: The shore-side wireless device receives the information MES2, verifies the legitimacy of the timestamp T2 and the verification parameters in the information MES2, and terminates the authentication process if they are not legal; if they are legal, the shore-side wireless device is successfully authenticated;

[0014] Step 2-5: After the shore-side wireless device is successfully authenticated, a random number c is generated j , current timestamp T3 and session key SK u , and calculate the verification parameters, and send the information MES3 to the shore gateway;

[0015] Step 2-6: After receiving the information MES3, the shore gateway verifies the legitimacy of the timestamp T3 and the verification parameters in the information MES3. If they are not legal, the authentication process is terminated; if they are legal, the shore gateway verification is successful;

[0016] Step 2-7: After the shore gateway successfully verifies, it generates the current timestamp T4 and calculates the verification parameters, and sends the message MES4 to the ship-side device;

[0017] Step 2-8: After receiving the message MES4, the ship-side device verifies the legitimacy of the timestamp T4 and the verification parameters in the message MES4. If they are not legal, the authentication process is terminated; if they are legal, the session key SK is successfully established between the ship-side device, the shore gateway and the shore wireless device. u .

[0018] As an improvement to the above method, the method for verifying the legitimacy of the timestamp is to calculate |T′ n -T n |≤ΔT, where T n is the timestamp contained in the information sent in the previous stage, T′ n is the current timestamp obtained by the device when receiving the information, and ΔT is the set time threshold;

[0019] When the time difference between the timestamp contained in the information sent in the previous stage and the current timestamp obtained by the device when receiving the information is greater than the set time threshold, the timestamp is legal; when the time difference is less than the set time threshold, the timestamp is illegal.

[0020] As an improvement to the above method, the verification parameter and the session key SK u The elliptic curve E(GF q ) function for encryption calculation.

[0021] As an improvement of the above method, the session key SK u Use random number m i 、Random number c j , Shore gateway identification K i The random number m is generated by hybrid encryption with the timestamp T3; i Only generated in the ship-side equipment, random number c j The timestamp T3 is only generated in the shore-side wireless device, and the shore-side gateway identifier K i Only generated in shore gateways.

[0022] As an improvement of the above method, the information MES1, information MES2, information MES3 and information MES4 are all transmitted in the ship-shore public channel; during the transmission process, the identity ID of the ship-side device i With the shore gateway identification K i Use the national secret SM3 one-way hash function and XOR logic algorithm for hiding.

[0023] As an improvement of the above method, the shore gateway needs to be initialized when it is started. The initialization process includes: the shore gateway selects an elliptic curve E(GF q ) function, and select a base point P on the elliptic curve; then select a shore gateway key KGW N The secret is stored in the shore gateway, which uses the elliptic curve E(GF q ) function calculates the public key PK G , and finally the public parameter {E(GF q ), P, PKG}.

[0024] As an improvement to the above method, before the ship-side device communicates with the shore-side gateway for the first time, the ship-side device needs to register on the shore-side gateway. The process includes:

[0025] Step A1: The ship-side device sends the identity ID i to the shore gateway;

[0026] Step A2: The shore gateway receives and verifies the identity ID i After the legitimacy of the calculation, the secret value a between the ship-side device and the shore-side gateway is obtained. i , and send the registration information to the ship-side device; the verification identity ID i The legitimacy of the ID is to check i Whether it has been used, if it has not been used, it is legal, if it has been used, it is illegal;

[0027] Step A3: The shore gateway selects an identity SID for the shore wireless device j , and calculate the secret value b between the shore wireless device and the shore gateway j , stored in the shore wireless device; the shore gateway sends the identity SID j To the ship's equipment.

[0028] The present application also provides a ship-shore identity recognition system based on domestic cryptography, which is implemented based on the above method, and the system includes:

[0029] The shore gateway is used to receive registration requests and login requests from ship-side devices and perform corresponding processing; it is used to generate and publish public keys according to the national secret algorithm; it is also used to perform mutual authentication with ship-side devices and shore-side wireless devices and negotiate session keys;

[0030] The ship-side device is used to send a registration request and a login request to the shore-side gateway; it is also used to perform mutual authentication with the shore-side gateway and the shore-side wireless device and negotiate a session key; and

[0031] The shore-side wireless device is used to authenticate each other with the shore-side gateway and ship-side equipment and negotiate the session key.

[0032] Compared with the prior art, the advantages of this application are:

[0033] 1. This application method uses the national secret SM2 key exchange and introduces elliptic curve cryptography to encrypt and protect the key parameters in the authentication process. At the same time, a three-party mutual authentication method is adopted, and the session key SK is encrypted through independently generated parameters. u Encryption processing is performed to resist offline password guessing attacks and session key leakage attacks, thereby improving the security of the entire ship-to-shore communication authentication and communication process;

[0034] 2. The verification parameters and session keys in the communication link are encrypted and calculated through the elliptic curve function selected by the shore gateway, which reduces the computing pressure between devices;

[0035] 3. Session key SK u By random number m i , random number c j , shore gateway identifier K i Mixed encryption with timestamp T3, random number m i Only generated in the ship-side equipment, random number c j The timestamp T3 is only generated in the shore-side wireless device, and the shore-side gateway identifier K i It is only generated in the shore gateway, and the generation time of all parameters is different from that of the device, thus strengthening the session key SK u safety;

[0036] 4. Information MES1, MES2, MES3 and MES4 are all transmitted in the ship-shore public channel. During the transmission process, the identity ID of the ship-side equipment i With the shore gateway identification K i Hidden encryption is performed through the national secret SM3 one-way hash function and the XOR exclusive OR logic algorithm, so that key parameters cannot be directly obtained in the public channel. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 The diagram shows the relationship between the ship-side equipment, the shore-side gateway and the shore-side wireless equipment;

[0038] Figure 2 Shown is a flow chart of a ship-shore identification method based on domestically produced cryptography;

[0039] Figure 3 The diagram shows the mutual authentication and key verification between the ship-side device, the shore-side gateway and the shore-side wireless device. DETAILED DESCRIPTION

[0040] The technical solution of the present application is described in detail below with reference to the accompanying drawings.

[0041] Compared with some common encryption algorithms, the national secret algorithm system has the advantages of short key, high strength, few parameters, fast digital signature, and small amount of calculated data. It is particularly suitable for devices with limited computing resources and storage resources. Therefore, the present invention selects to apply the national secret algorithm to the wireless communication security protocol.

[0042] like Figure 1As shown, the present invention provides a ship-shore identity recognition method and system based on domestic cryptography, involving three entities: ship-side equipment, shore-side gateway and shore-side wireless equipment equipped with a ship-shore communication system, wherein the shore-side wireless device node can collect and store information, and the shore-side wireless device can be connected to the Internet through a trusted shore-side gateway, so that users can access the information and communications stored in the wireless sensor nodes through the Internet. During the access process, the ship-side equipment, the shore-side gateway and the shore-side wireless device mutually authenticate and negotiate session keys for communication.

[0043] Example 1

[0044] like Figure 2 As shown, a ship-shore identity recognition method based on domestic cryptography includes:

[0045] S1. Initialization of the shore gateway: The shore gateway selects an elliptic curve E(GF q ) function, and select a base point P on the elliptic curve; then select a shore gateway key K GWN The secret is stored in the shore gateway, which uses the elliptic curve E(GF q ) function calculates the public key PK G =K GWN ·P, the last public parameter {E(GF q ), P, PK G};

[0046] S2. The user submits a registration request to the shore gateway through the ship-side device. After verification, the shore gateway feeds back the registration information to the ship-side device and stores it in the smart card. The registration request only needs to be submitted once, and after registration, the user only needs to log in directly for identity recognition.

[0047] S3. The user submits a login request to the shore gateway through the ship-side device;

[0048] S4. After the ship-side device, shore-side gateway and shore-side wireless device have completed mutual authentication, a session key SK for the ship-side device and shore-side wireless device is negotiated. u .

[0049] The specific steps in S2 are:

[0050] S2.1. After the user inserts the smart card into the ship-side card reader, the user sends the identity ID through the ship-side device i In the shore gateway;

[0051] S2.2. The shore gateway receives and verifies the identity ID i The legitimacy of the identity (legitimacy refers to the identity iAfter that, the secret value a between the ship-side device and the shore-side gateway is obtained by calculation i =h(ID i ||K GWN ) and sent to the ship-side device, where h(.) is a one-way hash function and || is a connector. Then the user enters the personal password PW i The ship-side device uses the user's ID i and password PW i , calculate the login verification parameter MPW i =h(ID i ||PW i ), used to hide the secret value ai here The shore gateway stores the registration information {MPW i , F i} in smart card;

[0052] S2.3. The shore gateway randomly selects an unused identity SID for the shore wireless device equipped with the ship-to-shore communication system j , and calculate the secret value b between the shore wireless device and the shore gateway j =h(SID j ||K GwN ), stored in the node of the wireless device on the shore side; at the same time, the shore side gateway sends the identity SID j To the shipside equipment and stored in the smart card.

[0053] like Figure 3 As shown, the specific steps of mutual authentication and key negotiation between the ship-side device, the shore-side gateway and the shore-side wireless device are as follows:

[0054] S4.1. The user inserts the smart card into the ship's card reader and enters the ID and password Calculate and compare login verification parameters when MPW stored in smart card i If they are not equal, the login fails; if they are equal, the login succeeds;

[0055] After the user logs in successfully, the ship-side device generates a random number m i With the current timestamp T1, through the elliptic curve E(GF q ) function calculates E1 = m i P, and recover the secret value between the shore gateway and the ship device from the registration information At the same time, the hidden IDi and SIDj are calculated. With validation parameters Finally, send the information MES1: {E1, E2, E3, T1} to the shore gateway;

[0056] S4.2. After receiving the information MES1, the shore gateway generates the current timestamp T′1 and makes a judgment based on |T′1-T1|≤ΔT. If it is not true, the authentication process is terminated; if it is true, it recovers from E2. After that, calculate Verify information by comparing if If it is not equal to E3 in information MES1, the authentication process is terminated; if they are equal, the authentication is successful;

[0057] S4.3. After the shore gateway is successfully authenticated, the current timestamp T2 is generated, and the shore gateway identifier is calculated using the immediacy of timestamp T. Let the shore gateway identify K i It is also instant and unpredictable. The secret value between the shore gateway and the shore wireless device Finally, the hidden shore gateway identifier K is calculated. i of With validation parameters Send information MES2{E1, N1, N2, T2} to the shore wireless device;

[0058] S4.4. The shore-side wireless device receives the information MES2, generates the current timestamp T′2, and makes a judgment based on |T′2-T2|≤ΔT. If it is not true, the authentication process is terminated; if it is true, the shore-side gateway identifier is restored from N1. And calculate the comparison verification parameters if If it is not equal to N2 in the information MES2, the authentication process is terminated; if they are equal, the shore-side wireless device is authenticated successfully;

[0059] S4.5. After the shore-side wireless device is successfully authenticated, a random number c is generated. j With the current timestamp T3, through the elliptic curve E(GF q ) function calculates N3 = c j P, negotiate the session key And calculate the verification parameters Send information MES3{N3, N4, T3} to the shore gateway;

[0060] S4.6. After receiving the information MES3, the shore gateway generates the current timestamp T′3 and makes a judgment based on |T′3-T3|≤ΔT. If it is not true, the authentication process is terminated; if it is true, the verification parameter is calculated and compared. if If it is not equal to N4 in information MES3, the authentication process is terminated; if they are equal, the authentication is successful.

[0061] S4.7. After the shore wireless device is successfully authenticated, the current timestamp T4 is generated and the time for hiding the shore gateway identifier K is calculated. i of and validation parameters And send the information MES4{N3, N5, N6, T3, T4} to the ship-side equipment;

[0062] S4.8. After receiving the information MES4, the ship-side device generates the current timestamp T′4 and makes a judgment based on |T′4-T4|≤ΔT. If it is not established, the authentication process is terminated; if it is established, the shore gateway identification is restored from N5. And calculate the comparison verification parameters if If it is not equal to N6 in the information MES4, the authentication process is terminated; if it is equal, the session key is negotiated.

[0063] In the above steps, the parameters marked with * are information contents that may be stolen or imitated by outsiders during the authentication process.

[0064] Example 2

[0065] The present application also provides a ship-shore identity recognition system based on domestic cryptography, which is implemented based on the above method, and the system includes:

[0066] The shore gateway is used to receive registration requests and login requests from ship-side devices and perform corresponding processing; it is used to generate and publish public keys according to the national secret algorithm; it is also used to perform mutual authentication with ship-side devices and shore-side wireless devices and negotiate session keys;

[0067] The ship-side device is used to send a registration request and a login request to the shore-side gateway; it is also used to perform mutual authentication with the shore-side gateway and the shore-side wireless device and negotiate a session key; and

[0068] The shore-side wireless device is used to authenticate each other with the shore-side gateway and ship-side equipment and negotiate the session key.

[0069] The present application may also provide a computer device, comprising: at least one processor, a memory, at least one network interface and a user interface. The various components in the device are coupled together through a bus system. It is understood that the bus system is used to achieve connection and communication between these components. In addition to the data bus, the bus system also includes a power bus, a control bus and a status signal bus.

[0070] The user interface may include a display, a keyboard or a pointing device, such as a mouse, a trackball, a touch pad or a touch screen.

[0071] It is understood that the memory in the disclosed embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus random access memory (DRRAM). The memories described herein are intended to include, but are not limited to, these and any other suitable types of memories.

[0072] In some embodiments, the memory stores the following elements, executable modules or data structures, or a subset thereof, or an extended set thereof: an operating system and applications.

[0073] The operating system includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic services and process hardware-based tasks. The application includes various application programs, such as a media player (Media Player), a browser (Browser), etc., which are used to implement various application services. The program for implementing the method of the embodiment of the present disclosure can be included in the application.

[0074] In the above embodiment, the processor may also call a program or instruction stored in the memory, specifically, a program or instruction stored in an application program, and is used to:

[0075] Execute the steps of the above method.

[0076] The above method can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor or an instruction in the form of software. The above processor may be a general processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The above-disclosed methods, steps and logic block diagrams can be implemented or executed. The general processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the above-disclosed method can be directly embodied as a hardware decoding processor to execute, or the hardware and software modules in the decoding processor are combined to execute. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0077] It is understood that the embodiments described in the present application can be implemented by hardware, software, firmware, middleware, microcode or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), general-purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described in the present application or a combination thereof.

[0078] For software implementation, the technology of the present application can be implemented by executing the functional modules (such as procedures, functions, etc.) of the present application. The software code can be stored in a memory and executed by a processor. The memory can be implemented in the processor or outside the processor.

[0079] The present application may also provide a non-volatile storage medium for storing a computer program. When the computer program is executed by a processor, each step in the above method embodiment can be implemented.

[0080] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application and are not intended to limit the present application. Although the present application is described in detail with reference to the embodiments, a person skilled in the art should understand that any modification or equivalent replacement of the technical solutions of the present application does not depart from the spirit and scope of the technical solutions of the present application and should be included in the scope of the claims of the present application.

Claims

1. A ship-shore identification method based on domestic encryption, include: Step 1: The ship-side device submits a login request to the shore-side gateway; Step 2: The ship-side device, shore-side gateway and shore-side wireless device perform mutual authentication and key verification, identify the ship-side device, and negotiate the session key for communication between the ship-side device and the shore-side wireless device. , complete identity recognition; The three parties perform mutual authentication and key verification, and the process includes: Step 2-1: The ship-side device generates the current timestamp through registration information and random numbers , and calculate the verification parameters and send the information to the shore gateway; Step 2-2: The shore gateway receives the information After that, verify the information Timestamp in Verify the validity of the parameters. If not, the authentication process is terminated. If valid, the shore gateway authentication is successful. Step 2-3: After the shore gateway successfully authenticates, the current timestamp is generated And calculate the verification parameters and send the information To shore wireless equipment; Step 2-4: The shore wireless device receives the information , verification information Timestamp in Verify the legitimacy of the parameters. If not, the authentication process is terminated. If legal, the shore-side wireless device is successfully authenticated. Step 2-5: After the shore-side wireless device is successfully authenticated, a random number is generated , Current timestamp With session key , and calculate the verification parameters and send the information to the shore gateway; Step 2-6: The shore gateway receives the information After that, verify the information Timestamp in Verify the validity of the parameters. If not, the authentication process is terminated. If valid, the shore gateway verification is successful. Step 2-7: After the shore gateway successfully verifies, the current timestamp is generated And calculate the verification parameters and send the information To the ship side equipment; Step 2-8: The ship-side equipment receives the information After that, verify the information Timestamp in The legitimacy of the verification parameters is verified. If it is not legal, the authentication process is terminated; if it is legal, the session key is successfully established between the ship-side device, the shore-side gateway and the shore-side wireless device. ; The shore gateway needs to be initialized when it starts. The initialization process includes: the shore gateway selects an elliptic curve according to the national secret SM2 algorithm function, and select a base point P on the elliptic curve; then select a shore gateway key The secret is stored in the shore gateway, which uses the elliptic curve Function to calculate the public key , and finally public parameters .

2. The ship-shore identity recognition method based on domestic encryption according to claim 1, Features: Method for verifying the legitimacy of timestamp, specifically by calculating ,in It is the timestamp contained in the information sent in the previous stage. The current timestamp obtained by the device when receiving the information. To set a time threshold; When the time difference between the timestamp contained in the information sent in the previous stage and the current timestamp obtained by the device when receiving the information is greater than the set time threshold, the timestamp is legal; when the time difference is less than the set time threshold, the timestamp is illegal.

3. The ship-shore identity recognition method based on domestic encryption according to claim 1, It is characterized in that The authentication parameters and session key The elliptic curve in the national secret SM2 algorithm selected by the shore gateway The function is encrypted and calculated.

4. The ship-shore identification method based on domestic encryption according to claim 1, It is characterized in that The session key Using random numbers , random numbers , Shore Gateway Logo With timestamp Perform hybrid encryption generation; among them, the random number Only generated in the ship-side device, random number Only generated in the shore wireless device, shore gateway identification Only generated in shore gateways.

5. The ship-shore identity recognition method based on domestic encryption according to claim 1, It is characterized in that The information ,information ,information and Information All are transmitted in the ship-shore public channel; during the transmission process, the identity of the ship-side equipment With the shore gateway logo Use the national secret SM3 one-way hash function and XOR logic algorithm for hiding.

6. The ship-shore identity recognition method based on domestic encryption according to claim 1, It is characterized in that Before the ship-side device communicates with the shore-side gateway for the first time, the ship-side device needs to be registered on the shore-side gateway. The process includes: Step A1: Shipside equipment sends identity to the shore gateway; Step A2: The shore gateway receives and verifies the identity After the legitimacy of the calculation, the secret value between the ship-side device and the shore-side gateway is obtained. , and send the registration information to the ship-side device; the identity verification The legitimacy of Whether it has been used, if it has not been used, it is legal, if it has been used, it is illegal; Step A3: The shore gateway selects an identity for the shore wireless device , and calculate the secret value between the shore wireless device and the shore gateway , stored in the wireless device on the shore; the shore gateway sends the identity To the ship's equipment.

7. A ship-shore identification system based on domestic encryption, implemented based on any of the methods described in claims 1-6, It is characterized in that The system comprises: The shore gateway is used to receive registration requests and login requests from ship-side devices and perform corresponding processing; it is used to generate and publish public keys according to the national secret algorithm; it is also used to perform mutual authentication with ship-side devices and shore-side wireless devices and negotiate session keys; The ship-side device is used to send a registration request and a login request to the shore-side gateway; it is also used to perform mutual authentication with the shore-side gateway and the shore-side wireless device and negotiate a session key; and The shore-side wireless device is used to authenticate each other with the shore-side gateway and ship-side equipment and negotiate the session key.

Citation Information

Patent Citations

  • Lightweight anonymous authentication method suitable for resource-limited equipment

    CN111130758A

  • Marine data collecting gateway and data collecting method

    CN103916312A

  • PUF-based three-factor anonymous user authentication protocol method in Internet of Things

    CN111818039A