A certificateless identity authentication method and system for unmanned aerial vehicles
The key management system and timestamp signature authentication of the certificateless public key cryptography system are constructed through the SM2 algorithm, which solves the security problem of UAV wireless communication and realizes lightweight two-way identity authentication and high-security communication of the UAV system. Radio signal hijacking and network eavesdropping attacks are avoided.
Patent Information
- Application Number
- CN202410123545.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-29
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-01-29
AI Technical Summary
UAV wireless communication security technology lags behind and fails to form a closed loop of wireless communication security, resulting in frequent radio signal hijacking attacks and network eavesdropping attacks, affecting UAV flight control safety and information security.
Using the certificateless public key cryptography system based on the SM2 algorithm, a key management system is constructed to register and key initialize the data terminals in the UAV system, and realize the communication between the UAV ground terminal and the airborne terminal through timestamp signature authentication. Two-way identity authentication ensures the validity of key status and generates keys to achieve two-way identity authentication without certificate exchange.
In the drone system, lightweight two-way identity authentication without a center and certificate is realized, which improves the security of drone communication and solves the security risks caused by irregular key preset and lack of identity authentication in access. This ensures information security during flight.
Smart Images

Figure CN117998360B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of network information security, and in particular relates to a certificateless identity authentication method and system for unmanned aerial vehicles. Background Art
[0002] With the continuous improvement of the development level of drones and the increasing demand for drone applications in various industries, drone applications are becoming more and more widespread and their application areas are constantly expanding.
[0003] Compared with the development of drone technology, the development of drone wireless communication security technology is relatively lagging behind. At present, although some drones have enabled data encryption functions, they generally do not perform access authentication and key management with identity authentication, and fail to form a wireless communication security closed loop, which objectively opens the door to radio signal hijacking attacks and wireless network eavesdropping attacks, seriously affecting the safety of drone flight control and the security of transmitted information, and gradually becoming a bottleneck affecting the development of the drone industry, and has received more and more attention. Summary of the invention
[0004] To this end, the present invention provides a certificateless identity authentication method and system for drones, which can meet the wireless network security transmission requirements of drone systems with small transmission delay, high transmission rate and high security under limited network bandwidth, and can solve the identity authentication problem of drone systems from a practical application level.
[0005] In order to achieve the above object, the present invention provides the following technical solution: a certificateless identity authentication method for a drone, comprising:
[0006] Construct a key management system based on the certificateless public key cryptography system of the SM2 algorithm, and register the data terminal in the UAV system through the key management system;
[0007] The key management system is used to query the identity of the UAV ground terminal that is performing the flight mission preparation phase, and determine whether the key status of the UAV ground terminal that is performing the flight mission preparation phase is valid;
[0008] If the key state of the UAV ground terminal performing the flight mission preparation phase is invalid, generate a ground terminal key according to the user key generation algorithm of the certificateless public key cryptography system based on the SM2 algorithm, and update the key state of the ground terminal in the key management system;
[0009] The key management system is used to query the identity of the UAV airborne terminal that is performing the flight mission preparation phase, and determine whether the key status of the UAV airborne terminal that is performing the flight mission preparation phase is valid;
[0010] If the key status of the airborne terminal of the UAV executing the flight mission preparation phase is invalid, generate the airborne terminal key according to the user key generation algorithm of the certificateless public key cryptography system based on the SM2 algorithm, and update the key status of the airborne terminal in the key management system;
[0011] When the key states of the UAV ground terminal and the UAV airborne terminal in the flight mission preparation stage are both in a valid state, the UAV ground terminal and the UAV airborne terminal perform two-way identity authentication through the timestamp signature authentication method according to the certificateless public key cryptography identity authentication algorithm based on the SM2 algorithm.
[0012] As a preferred solution for the certificateless identity authentication method for drones, the certificateless public key cryptosystem based on the SM2 algorithm is a dual-key certificateless public key cryptosystem that uses elliptic curves and does not use double-line pair operations. The elliptic curve system parameters include the finite field F q The scale q; define the elliptic curve E(F q ) The two elements a, b∈F of the equation q ; E(F q ) on the base point G=(x G ,y G ), where x G and G Yes F q Two elements in; the key management system generates a random number ms∈[1,n-1] as the system master private key and calculates the system master public key P=[ms]G.
[0013] As a preferred solution for the certificateless identity authentication method for drones, the key management system performs system user identification registration before activation, enters and reviews user information, and records user identification status, which includes user name, identity ID, and user ID. A , public key identifier W A And the corresponding master private key version number, HID code version number, validity period, generation time; user A's actual public key P A It consists of elliptic curve system parameters, system master public key, user ID A , user public key identifier W A Parameter calculation generation.
[0014] As a preferred solution for the certificateless identity authentication method for drones, if the key status of the drone ground terminal during the flight mission preparation phase is invalid, the key initialization process for the drone ground terminal includes:
[0015] The UAV ground terminal applies to the key management system for key generation;
[0016] The key management system calculates the key information of the drone ground terminal equipment and returns the key information of the drone ground terminal to the drone ground terminal;
[0017] The UAV ground terminal calculates the final UAV ground terminal private key and public key identifier based on the key information obtained;
[0018] The UAV ground terminal stores the finally generated UAV ground terminal key pair and public key identifier locally;
[0019] After the key of the UAV ground terminal is initialized, the key status of the UAV ground terminal in the key management system is updated and the user identification information is released. The user identification information includes the user name, identity ID A , public key identifier W A As well as the corresponding master private key version number, HID code version number, validity period, and generation time.
[0020] As a preferred solution for the certificateless identity authentication method for drones, the certificateless public key cryptography system based on the SM2 algorithm also includes the use of a unique identification ID for user A. A Representing the user identity, user A and the key management system jointly generate user A's user private key d A , public key identifier W A , the user's public key P A By user A's identity ID A and public key identifier W A Calculated.
[0021] As a preferred solution for the certificateless identity authentication method for drones, if the key state of the drone airborne terminal is invalid during the flight mission preparation phase, the key initialization process for the drone airborne terminal includes:
[0022] The drone onboard terminal sends a heartbeat packet to the drone ground terminal;
[0023] After receiving the heartbeat packet, the drone ground terminal establishes a communication connection with the drone onboard terminal;
[0024] The drone onboard terminal sends a key request to the drone ground terminal;
[0025] The UAV ground terminal forwards the key application of the UAV airborne terminal to the key management system;
[0026] The key management system returns the generated drone airborne terminal partial private key information to the drone ground terminal;
[0027] The UAV ground terminal returns the UAV airborne terminal key information to the UAV airborne terminal;
[0028] The drone airborne terminal calculates the final drone airborne terminal private key and the corresponding public key identifier based on the key information content;
[0029] The drone’s onboard terminal stores the private key locally;
[0030] After the key of the drone airborne terminal is initialized, the key status of the drone airborne terminal in the key management system is updated, and the user identification information is released. The user identification information includes the user name, identity ID A , public key identifier W A As well as the corresponding master private key version number, HID code version number, validity period, and generation time.
[0031] As a preferred solution for the certificateless identity authentication method for drones, the certificateless public key cryptography system based on the SM2 algorithm also includes a signature algorithm for user A to message M and a verification algorithm for user B to the signature of user A.
[0032] As a preferred solution for the certificateless identity authentication method for drones, the drone ground terminal and the drone airborne terminal perform the first two-way authentication, including the process of establishing communication between the drone ground terminal and the drone airborne terminal:
[0033] The drone onboard terminal sends a heartbeat packet to the drone ground terminal;
[0034] After receiving the heartbeat packet, the drone ground terminal establishes a communication connection with the drone onboard terminal;
[0035] The subsequent two-way authentication steps between the drone ground terminal and the drone onboard terminal include:
[0036] The drone onboard terminal initiates an identity authentication request to the drone ground terminal;
[0037] The UAV ground terminal sends its own signature information of the timestamp to the UAV airborne terminal and initiates an identity authentication request to the UAV airborne terminal;
[0038] After the drone onboard terminal verifies the signature of the drone ground terminal, it sends the signature information of the drone onboard terminal to the drone ground terminal;
[0039] The drone ground terminal verifies the signature of the drone onboard terminal to complete two-way identity authentication.
[0040] As a preferred solution for the certificateless identity authentication method for drones, it also includes determining whether the drone ground terminal and the drone onboard terminal have the clock synchronization capability of specified accuracy. If so, the current time data is generated by one side, otherwise the current time data generated and sent by the other side is received.
[0041] The present invention also provides a certificateless identity authentication system for a drone, which adopts the certificateless identity authentication method for a drone, and comprises:
[0042] A key management module is used to construct a key management system of a certificateless public key cryptographic system based on the SM2 algorithm, and register the data terminal in the UAV system through the key management system;
[0043] A first identity query module is used to query the identity of the UAV ground terminal executing the flight mission preparation stage through the key management system to determine whether the key status of the UAV ground terminal executing the flight mission preparation stage is valid;
[0044] A ground terminal key generation module is used to generate a ground terminal key if the key state of the UAV ground terminal performing the flight mission preparation phase is invalid, according to the certificateless public key cryptography system user key generation algorithm based on the SM2 algorithm, and update the key state of the ground terminal in the key management system;
[0045] A second identity query module is used to query the identity of the UAV airborne terminal executing the flight mission preparation stage through the key management system to determine whether the key status of the UAV airborne terminal executing the flight mission preparation stage is valid;
[0046] The airborne terminal key generation module generates an airborne terminal key according to a user key generation algorithm of a certificateless public key cryptography system based on the SM2 algorithm if the key state of the airborne terminal of the UAV executing the flight mission preparation phase is invalid, and updates the key state of the airborne terminal in the key management system;
[0047] The two-way identity authentication module is used to perform two-way identity authentication between the UAV ground terminal and the UAV airborne terminal through the timestamp signature authentication method according to the certificateless public key cryptography system identity authentication algorithm based on the SM2 algorithm when the key status of the UAV ground terminal and the UAV airborne terminal during the flight mission preparation stage are both in a valid state.
[0048] The beneficial effects of the present invention are as follows: a key management system of a certificateless public key cryptography system based on the SM2 algorithm is constructed, and a data terminal in a UAV system is registered through the key management system; the identity identification of the UAV ground terminal executing the flight mission preparation stage is queried through the key management system to determine whether the key status of the UAV ground terminal executing the flight mission preparation stage is valid; if the key status of the UAV ground terminal executing the flight mission preparation stage is invalid, a ground terminal key is generated according to a user key generation algorithm of a certificateless public key cryptography system based on the SM2 algorithm, and the key status of the ground terminal in the key management system is updated; the identity identification of the UAV ground terminal executing the flight mission preparation stage is queried through the key management system The present invention can register and manage the airborne terminal of the unmanned aerial vehicle and the ground terminal of the unmanned aerial vehicle and initialize the key of the unmanned aerial vehicle in the flight mission preparation stage, and realize lightweight, centerless, certificateless exchange bidirectional identity authentication between the airborne terminal of the unmanned aerial vehicle system and the ground terminal according to the user identification and user public key identification without transmitting the digital certificate when the unmanned aerial vehicle is flying, and the security level is equivalent to the security of digital certificate authentication, and at the same time, solves the security risks caused by the non-standard presetting of the key of the unmanned aerial vehicle system data terminal and the lack of identity authentication of the unmanned aerial vehicle access. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the implementation methods of the present invention or the technical solutions in the prior art, the drawings required for the implementation methods or the prior art descriptions are briefly introduced below. Obviously, the drawings in the following description are only exemplary, and for ordinary technicians in this field, other implementation drawings can be derived from the provided drawings without creative work.
[0050] The structures, proportions, sizes, etc. illustrated in this specification are only used to match the contents disclosed in the specification so as to facilitate understanding and reading by persons familiar with the technology. They are not used to limit the conditions under which the present invention can be implemented, and therefore have no substantial technical significance. Any structural modification, change in proportion or adjustment of size shall still fall within the scope of the technical contents disclosed in the present invention without affecting the effects and purposes that can be achieved by the present invention.
[0051] Figure 1 A schematic diagram of a flow chart of a certificateless identity authentication method for a drone provided by an embodiment of the present invention;
[0052] Figure 2 A schematic diagram of a technical architecture for certificateless identity authentication for drones provided by an embodiment of the present invention;
[0053] Figure 3 A schematic diagram of a system architecture for certificateless identity authentication of a drone provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0054] The following is a description of the implementation of the present invention by specific embodiments. People familiar with the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0055] Example 1
[0056] See also Figure 1 , a certificateless identity authentication method for a drone provided by embodiment 1 of the present invention comprises the following steps:
[0057] S01. Construct a key management system of a certificateless public key cryptographic system based on the SM2 algorithm, and register the data terminal in the drone system through the key management system;
[0058] S02, querying the identity of the UAV ground terminal executing the flight mission preparation stage through the key management system, and determining whether the key status of the UAV ground terminal executing the flight mission preparation stage is valid;
[0059] S03. If the key state of the UAV ground terminal executing the flight mission preparation phase is invalid, generate a ground terminal key according to a user key generation algorithm of a certificateless public key cryptography system based on the SM2 algorithm, and update the key state of the ground terminal in the key management system;
[0060] S04, querying the identity of the UAV airborne terminal executing the flight mission preparation stage through the key management system, and determining whether the key status of the UAV airborne terminal executing the flight mission preparation stage is valid;
[0061] S05. If the key status of the airborne terminal of the UAV executing the flight mission preparation phase is invalid, generate an airborne terminal key according to the user key generation algorithm of the certificateless public key cryptography system based on the SM2 algorithm, and update the key status of the airborne terminal in the key management system;
[0062] S06. When the key status of the UAV ground terminal and the UAV airborne terminal in the flight mission preparation stage are both in a valid state, according to the certificateless public key cryptographic system identity authentication algorithm based on the SM2 algorithm, the UAV ground terminal and the UAV airborne terminal perform two-way identity authentication through the timestamp signature authentication method.
[0063] In this embodiment, in step S01, when the drone system is built, in order to realize lightweight identity authentication of the drone and ensure password security, it is necessary to register and initialize the keys of each data terminal in the drone system through a key management system based on the certificateless public key cryptographic system of the SM2 algorithm. The certificateless public key cryptographic system based on the SM2 algorithm is a dual-key certificateless public key cryptographic system based on elliptic curves and does not use double-line pair operations. It combines the advantages of CA, IBC and certificateless cryptographic systems, adopts a new key generation method, uses a user's unique identifier to represent the user's identity, and the user's public key is calculated from the user's identifier. The calculation process has the public key self-certification. Using this system for identity authentication and signature verification can be completed as long as the user's identifier is known, without the participation of the center, and can be realized offline.
[0064] Among them, the certificateless public key cryptosystem based on the SM2 algorithm is a dual-key certificateless public key cryptosystem that uses elliptic curves and does not use double-line operations. The elliptic curve system parameters include the finite field F q The scale q; define the elliptic curve E(F q ) The two elements a, b∈F of the equation q ; E(F q ) on the base point G=(x G ,y G ), where x G and G Yes F q Two elements in; the key management system generates a random number ms∈[1,n-1] as the system master private key and calculates the system master public key P=[ms]G.
[0065] See also Figure 2In this embodiment, the drone system network is divided into three security domains: core domain, management domain and service domain. Among them, the core domain and management domain need to be established and deployed in a secure physical environment. The core domain provides key management configuration services; the management domain provides user registration services and is an interface for external users to access internal functions; the service domain is the network where the drone system data terminal is located. After completing the key management configuration, the service domain disconnects from the core domain and the management domain before the drone takes off. The drone system identity authentication adopts a centerless authentication mode.
[0066] In a possible embodiment, the key management system needs to register the system user ID before activation, enter and review the user information, ensure that the user ID corresponds to the user entity, and record the user ID status, including the user name, identity ID A , public key identifier W A And the corresponding master private key version number, HID code version number, validity period, generation time, etc. User A's actual public key P A The elliptic curve system parameters, system master public key, user ID A , user public key identifier W A And other parameters are calculated according to the prescribed algorithm.
[0067] In this embodiment, in step S02, when the UAV performs the flight mission preparation phase, it is necessary to query the identity of the UAV ground terminal in the registration management system to confirm its key status.
[0068] In one embodiment, if the key status of the drone ground terminal is found to be available, the subsequent query process of the drone onboard terminal can be continued; if the key status of the drone ground terminal is found to be unavailable, such as none, revoked, or lost, the key initialization process of the drone ground terminal must be performed first.
[0069] When initializing the configuration of the drone ground terminal, the drone ground terminal can be placed in the same safe place as the key management system, and a permanent device key can be applied to the key management system through the security gateway. After the key initialization is completed, it can be transported to the work site. The drone ground terminal key initialization process is as follows:
[0070] The UAV ground terminal applies to the key management system for key generation;
[0071] The key management system calculates the key information of the drone ground terminal equipment and returns the drone ground terminal key information to the drone ground terminal;
[0072] The UAV ground terminal calculates the final UAV ground terminal private key and public key identifier based on the obtained key information;
[0073] The drone ground terminal stores the finally generated drone ground terminal key pair and public key identifier locally.
[0074] In a possible embodiment, after the key of the drone ground terminal is initialized, the key status of the drone ground terminal in the key management system is updated, and the user identification information is released. The user identification information includes the user name, identity ID A , public key identifier W A As well as the corresponding master private key version number, HID code version number, validity period, and generation time. For invalid user keys, they should be securely stored in the historical key library for subsequent query, and the retention period is determined by the system policy.
[0075] In this embodiment, in step S03, when the UAV ground terminal has no valid key available, it is necessary to generate the UAV ground terminal key according to the user key generation algorithm of the certificateless public key cryptography system based on the SM2 algorithm, and update the key status of the UAV ground terminal in the registration management system.
[0076] Among them, the certificateless public key cryptography system based on the SM2 algorithm adopts a new key generation method, and user A uses a unique identification ID A Representing the user identity, user A and the key management system jointly generate A's user private key d A , public key identifier W A , the user's public key P A Can be identified by user A's ID A and public key identifier W A The calculation shows that the calculation process has the public key self-certification property. User A and the key management system (KGS) jointly generate A's user private key d A , public key identifier W A and the public key P A The method steps are as follows:
[0077] A 11 :User A generates a random number d' A ∈[1,n-1];
[0078] A 12 :User A calculates U A =[d' A ]G, and set the ID A and U A Submit KGS;
[0079] K 11 :KGS calculates H A =H(ENTLA‖ID A ‖a‖b‖x G ‖y G ‖x Pub ‖yPub );
[0080] K 12 : KGS generates a random number w∈[1,n-1];
[0081] K 13 :KGS calculates W A =[w]G+U A ;
[0082] K 14 :KGS calculates λ=H(x WA ‖y WA ‖H A )mod n;
[0083] K 15 :KGS calculation t A =(w+λ*ms)mod n, and KGS returns t to user A A and W A ;
[0084] A 13 :User A calculates d A =(t A +d' A )mod n;
[0085] A 14 :If d A =0, then return to A1; otherwise output (d A ,W A );
[0086] And, user A verifies the generated key pair (d A ,W A ) is correct as follows:
[0087] A 21 : Calculate H A =H(ENTLA‖ID A ‖a‖b‖x G ‖y G ‖x Pub ‖y Pub );
[0088] A 22 : Calculate λ = H(x WA ‖y WA ‖H A )mod n;
[0089] A 23 :Calculate P A =W A +[λ]P pub ;
[0090] A 24 :Calculate P' A =[d A ]G;
[0091] A 25 :Check P A =P' A Is it true? If so, the verification is successful; otherwise, the verification fails.
[0092] And, other users can also follow the above step A 21 , A 22 , A 23 , using user A's identity ID A and public key identifier W A Calculate user A's public key P A .
[0093] In this embodiment, in step S04, when the drone performs the flight mission preparation phase, it is necessary to query the identity identification of the drone's onboard terminal in the registration management system to confirm its key status; if the key status of the drone's onboard terminal is found to be available, the subsequent two-way identity authentication process can continue; if the key status of the drone's onboard terminal is found to be unavailable, such as none, revoked, or reported lost, the key initialization process of the drone's onboard terminal must be performed first.
[0094] Among them, the drone airborne terminal can apply for a permanent device key or obtain a temporary key at the work site. When the drone airborne terminal is performing permanent key initialization configuration, it can be placed in the same safe place as the key management system, and apply for a permanent device key from the key management system through a secure gateway. After the key initialization is completed, it can be transported to the work site; the drone airborne terminal can also apply to the key management system through a secure gateway to calculate a temporary public-private key pair at the work site in debugging mode. The drone airborne terminal key initialization process is as follows:
[0095] The drone onboard terminal sends a heartbeat packet to the drone ground terminal;
[0096] After receiving the heartbeat packet, the drone ground terminal establishes a communication connection with the drone onboard terminal;
[0097] The drone onboard terminal sends a key request to the drone ground terminal;
[0098] The UAV ground terminal forwards the key application of the UAV airborne terminal to the key management system;
[0099] The key management system returns the generated drone airborne terminal partial private key information to the drone ground terminal;
[0100] The UAV ground terminal returns the UAV airborne terminal key information to the UAV airborne terminal;
[0101] The drone airborne terminal calculates the final drone airborne terminal private key and the corresponding public key identifier based on the key information content;
[0102] The drone onboard terminal stores the private key locally.
[0103] In a possible embodiment, after the key of the drone airborne terminal is initialized, the key status of the drone airborne terminal in the key management system is updated, and the user identification information is released. The user identification information includes the user name, identity ID A , public key identifier W A As well as the corresponding master private key version number, HID code version number, validity period, and generation time. For invalid user keys, they should be securely stored in the historical key library for subsequent query, and the retention period is determined by the system policy.
[0104] In this embodiment, in step S05, when the drone airborne terminal has no valid key available, it is necessary to generate the drone airborne terminal key according to the user key generation algorithm of the certificateless public key cryptography system based on the SM2 algorithm, and update the key status of the drone airborne terminal in the registration management system.
[0105] Among them, the steps for updating the key status of the drone onboard terminal in the registration and management system and updating the key status of the drone ground terminal in the registration and management system are the same and will not be repeated here.
[0106] In this embodiment, in step S06, when the keys of the drone ground terminal and the drone airborne terminal of the drone system are both in an available state, according to the certificateless public key cryptographic system identity authentication algorithm based on the SM2 algorithm, the drone ground terminal and the drone airborne terminal perform two-way identity authentication by signing and authenticating the timestamp.
[0107] Among them, the first two-way authentication between the drone ground terminal and the drone airborne terminal includes the process of establishing communication between the drone ground terminal and the drone airborne terminal:
[0108] The drone onboard terminal sends a heartbeat packet to the drone ground terminal;
[0109] After receiving the heartbeat packet, the drone ground terminal establishes a communication connection with the drone onboard terminal;
[0110] The subsequent two-way authentication steps between the drone ground terminal and the drone onboard terminal include:
[0111] The drone onboard terminal initiates an identity authentication request to the drone ground terminal;
[0112] The UAV ground terminal sends its own signature information of the timestamp to the UAV airborne terminal and initiates an identity authentication request to the UAV airborne terminal;
[0113] After the drone onboard terminal verifies the signature of the drone ground terminal, it sends the signature information of the drone onboard terminal to the drone ground terminal;
[0114] The drone ground terminal verifies the signature of the drone onboard terminal to complete two-way identity authentication.
[0115] In a possible embodiment, the certificateless public key cryptographic system identity authentication algorithm based on the SM2 algorithm includes a signature algorithm for message M by user A and a verification algorithm for user A's signature by user B. The steps of the signature algorithm for message M by user A are as follows:
[0116] The steps for user A to sign message M (r, s):
[0117] A 31 : Generate timestamp M;
[0118] A 32 :Execute SIGN(param,H A ,x WA ‖y WA ‖M,O,d A ), sign M;
[0119] A 33 :Output signature (r, s);
[0120] User B verifies user A's signature using the following steps:
[0121] B 11 : Calculate H A =H(ENTLA‖ID A ‖a‖b‖x G ‖y G ‖x Pub ‖y Pub );
[0122] B 12 : Calculate λ = H(x WA ‖y WA ‖H A )mod n;
[0123] B 13 :Calculate P A =W A +[λ]P pub ;
[0124] B 14 :Execute VERIFY(param,HA ,x WA ‖y WA ‖M,P A ,(r',s')) and verify the accuracy of timestamp M.
[0125] Among them, in the signature verification process of user B for user A, if the transmission performance allows, the timestamp can be generated by user B and sent to user A. In this way, the clock error of both users will not affect the reliability of identity authentication.
[0126] In a possible embodiment, depending on whether the UAV ground terminal and the UAV airborne terminal have high-precision clock synchronization capabilities, if so, the current time data is generated by one side, otherwise the current time data generated and sent by the other side is received, so that the signature verification party can confirm whether it is a signature for the current time after decrypting the signature data, thereby preventing replay attacks.
[0127] In summary, the embodiment of the present invention constructs a key management system of a certificateless public key cryptography system based on the SM2 algorithm, and registers the data terminal in the UAV system through the key management system; queries the identity of the UAV ground terminal that performs the flight mission preparation stage through the key management system, and determines whether the key status of the UAV ground terminal that performs the flight mission preparation stage is valid; if the key status of the UAV ground terminal that performs the flight mission preparation stage is invalid, generates a ground terminal key according to the user key generation algorithm of the certificateless public key cryptography system based on the SM2 algorithm, and updates the key status of the ground terminal in the key management system; queries the identity of the UAV ground terminal that performs the flight mission preparation stage through the key management system The present invention can register and manage the airborne terminal of the unmanned aerial vehicle and the ground terminal of the unmanned aerial vehicle and initialize the key of the unmanned aerial vehicle in the flight mission preparation stage, and realize lightweight, centerless, certificateless exchange bidirectional identity authentication between the airborne terminal of the unmanned aerial vehicle system and the ground terminal according to the user identification and user public key identification without transmitting the digital certificate when the unmanned aerial vehicle is flying, and the security level is equivalent to the security of digital certificate authentication, and at the same time, solves the security risks caused by the non-standard presetting of the key of the unmanned aerial vehicle system data terminal and the lack of identity authentication of the unmanned aerial vehicle access.
[0128] An application scenario of an embodiment of the present invention includes a key management device, a registration management device, a UAV ground terminal authentication device, and a UAV airborne terminal authentication device.
[0129] Among them, the key management device is deployed in the core domain, responsible for generating and saving the system master key, responsible for generating some private keys for each data terminal of the drone system, and providing services such as key generation, key loss reporting, key cancellation and key recovery, and archiving the generated keys. The key management device is a key management system for the certificateless public key cryptographic system based on the SM2 algorithm. This public key cryptographic system is a dual-key certificateless public key cryptographic system based on elliptic curves and does not use double-line operations. It adopts a new key generation method to distribute and manage user keys. Based on this new certificateless public key cryptographic system, identity-based signature schemes, identity-based authentication protocols and identity-based key negotiation protocols can be constructed, as well as cryptographic schemes for ordinary digital signatures, public key encryption, key exchange and signcryption. The certificateless public key cryptographic system key management system based on the SM2 algorithm is a new, efficient and lightweight key distribution system. Since it does not need to generate and exchange digital certificates during the identity authentication process, and does not require the participation of an online third-party authentication center, it reduces the number of information exchange rounds between the two parties during the authentication process. It is particularly suitable for applications such as drone systems with small transmission bandwidth, high transmission time sensitivity and high security requirements.
[0130] The key management device is responsible for generating system elliptic curve parameters and system master private key and master public key. The key management system elliptic curve parameter construction refers to GB / T 32918.2-2016 "Information Security Technology SM2 Elliptic Curve Public Key Cryptography Algorithm Part 2: Digital Signature Algorithm", including finite field F q The scale q (when q = 2 m , including the identification of element representation and the reduced polynomial); define the elliptic curve E(F q ) The two elements a, b∈F of the equation q ; E(F q ) on the base point G=(x G ,y G )(G≠O), where x G and G Yes F q The two elements in G; the order n of G and other options (such as the cofactor of n); the key management system generates a random number ms∈[1,n-1] as the system master private key and calculates the system master public key P=[ms]G. The key management device is responsible for user key generation and verification. User A's private key and declared public key are jointly generated by the key management device and user A. User A discloses his user ID A and public key identifier W A The actual public key is composed of the elliptic curve system parameters, the system master public key and the user ID ACalculated and generated according to the prescribed method. The key management device is responsible for the key initialization of the drone ground terminal. The drone ground terminal can be placed in the same safe place as the key management system, and apply for a permanent device key from the key management system through a secure gateway. After the key initialization is completed, it is transported to the work site. The key management device is responsible for the key initialization of the ground airborne terminal. The drone airborne terminal can apply for a permanent device key or obtain a temporary key at the work site. When performing permanent key initialization configuration, the drone airborne terminal can be placed in the same safe place as the key management system, and apply for a permanent device key from the key management system through a secure gateway. After the key initialization is completed, it is transported to the work site. The drone airborne terminal can also apply to the key management system through a secure gateway to calculate a temporary public-private key pair at the work site in debugging mode.
[0131] The registration management device is deployed in the management domain and is responsible for accepting applications for password registration, key generation, key loss reporting, key revocation, etc. for each data terminal of the drone system, entering and reviewing user information, ensuring that the user identification and user entity truly correspond, and realizing service functions such as information registration and review; publishing all user public key identification and user key status in the system, and providing user public key identification download and key status query services.
[0132] The drone ground terminal authentication device is deployed on the drone ground terminal in the service domain to realize the identity authentication service. Its main functions include cooperating with the key management device to generate the drone ground terminal public-private key pair and public key identification, supporting the use of the drone ground terminal private key to sign the timestamp; and using the drone airborne terminal identity and public key identification to calculate the drone airborne terminal public key, and using the public key to verify the drone airborne terminal signature information to determine the authenticity and legitimacy of its identity. The drone airborne terminal authentication device is deployed on the drone airborne terminal in the service domain to realize the identity authentication service. Its main functions include cooperating with the key management device to generate the drone airborne terminal public-private key pair and public key identification, supporting the use of the drone airborne terminal private key to sign the timestamp; and using the drone ground terminal identity and public key identification to calculate the drone ground terminal public key, and using the public key to verify the drone ground terminal signature information to determine the authenticity and legitimacy of its identity. The drone ground terminal and the drone airborne terminal public-private key pair and public key identification are generated by the drone ground terminal and the drone airborne terminal in collaboration with the key management device respectively. User A represents the UAV ground terminal and the UAV airborne terminal respectively, KGS represents the key management device, and the cryptographic hash function H() complies with GB / T32905-2016 "Information Security Technology SM3 Cryptographic Hash Algorithm".
[0133] It should be noted that the method of the embodiment of the present disclosure can also be applied in a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices may only perform one or more steps in the method of the embodiment of the present disclosure, and the multiple devices will interact with each other to complete the described method.
[0134] It should be noted that the above describes some embodiments of the present disclosure. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0135] Example 2
[0136] See also Figure 3 Embodiment 2 of the present invention provides a certificateless identity authentication system for a drone, using a certificateless identity authentication method for a drone according to the above embodiment, including:
[0137] The key management module 001 is used to construct a key management system of a certificateless public key cryptographic system based on the SM2 algorithm, and register the data terminal in the UAV system through the key management system;
[0138] The first identity query module 002 is used to query the identity of the UAV ground terminal executing the flight mission preparation stage through the key management system to determine whether the key status of the UAV ground terminal executing the flight mission preparation stage is valid;
[0139] The ground terminal key generation module 003 is used to generate a ground terminal key according to a certificateless public key cryptography user key generation algorithm based on the SM2 algorithm if the key state of the ground terminal of the UAV performing the flight mission preparation phase is invalid, and update the key state of the ground terminal in the key management system;
[0140] The second identity query module 004 is used to query the identity of the UAV airborne terminal executing the flight mission preparation stage through the key management system to determine whether the key status of the UAV airborne terminal executing the flight mission preparation stage is valid;
[0141] The airborne terminal key generation module 005 generates an airborne terminal key according to a user key generation algorithm of a certificateless public key cryptography system based on the SM2 algorithm if the key state of the airborne terminal of the UAV executing the flight mission preparation phase is invalid, and updates the key state of the airborne terminal in the key management system;
[0142] The two-way identity authentication module 006 is used to perform two-way identity authentication between the UAV ground terminal and the UAV airborne terminal by means of timestamp signature authentication according to the certificateless public key cryptographic system identity authentication algorithm based on the SM2 algorithm when the key states of the UAV ground terminal and the UAV airborne terminal in the flight mission preparation stage are both in a valid state;
[0143] It should be noted that the information interaction, execution process and other contents between the modules of the above-mentioned system are based on the same concept as the method embodiment in Example 1 of the present application, and the technical effects they bring are the same as those of the method embodiment of the present application. For specific contents, please refer to the description in the method embodiment shown in the previous part of the present application, and will not be repeated here.
[0144] Example 3
[0145] Embodiment 3 of the present invention provides a non-transitory computer-readable storage medium, in which a program code for a certificateless authentication method for a drone is stored, and the program code includes instructions for executing the certificateless authentication method for a drone of Embodiment 1 or any possible implementation thereof.
[0146] The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center that includes one or more available media. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)).
[0147] Example 4
[0148] Embodiment 4 of the present invention provides an electronic device, including: a memory and a processor;
[0149] The processor and the memory communicate with each other through a bus; the memory stores program instructions that can be executed by the processor, and the processor calls the program instructions to execute the certificateless identity authentication method for a drone of Example 1 or any possible implementation thereof.
[0150] Specifically, the processor can be implemented by hardware or by software. When implemented by hardware, the processor can be a logic circuit, an integrated circuit, etc.; when implemented by software, the processor can be a general-purpose processor implemented by reading software codes stored in a memory. The memory can be integrated in the processor or can be located outside the processor and exist independently.
[0151] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center.
[0152] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
[0153] Although the present invention has been described in detail above by general description and specific embodiments, it is obvious to those skilled in the art that some modifications or improvements can be made to the present invention. Therefore, these modifications or improvements made without departing from the spirit of the present invention all belong to the scope of protection claimed by the present invention.
Claims
1. A certificateless identity authentication method for a drone, characterized in that: include: Construct a key management system based on the certificateless public key cryptography system of the SM2 algorithm, and register the data terminal in the UAV system through the key management system; The key management system is used to query the identity of the UAV ground terminal that is performing the flight mission preparation phase, and determine whether the key status of the UAV ground terminal that is performing the flight mission preparation phase is valid; If the key state of the UAV ground terminal performing the flight mission preparation phase is invalid, generate a ground terminal key according to the user key generation algorithm of the certificateless public key cryptography system based on the SM2 algorithm, and update the key state of the ground terminal in the key management system; The key management system is used to query the identity of the UAV airborne terminal that is performing the flight mission preparation phase, and determine whether the key status of the UAV airborne terminal that is performing the flight mission preparation phase is valid; If the key status of the airborne terminal of the UAV executing the flight mission preparation phase is invalid, generate the airborne terminal key according to the user key generation algorithm of the certificateless public key cryptography system based on the SM2 algorithm, and update the key status of the airborne terminal in the key management system; When the key states of the UAV ground terminal and the UAV airborne terminal in the flight mission preparation stage are both in a valid state, the UAV ground terminal and the UAV airborne terminal perform two-way identity authentication through the timestamp signature authentication method according to the certificateless public key cryptography identity authentication algorithm based on the SM2 algorithm.
2. A certificateless identity authentication method for a drone according to claim 1, characterized in that: The certificateless public key cryptosystem based on the SM2 algorithm is a dual-key certificateless public key cryptosystem that uses elliptic curves and does not use double-line operations. The elliptic curve system parameters include the finite field F q The scale q; define the elliptic curve E(F q ) The two elements a, b∈F of the equation q ; E(F q ) on the base point G=(x G ,y G ), where x G and G Yes F q Two elements in; the key management system generates a random number ms∈[1,n-1] as the system master private key and calculates the system master public key P=[ms]G.
3. A certificateless identity authentication method for a drone according to claim 2, characterized in that: The key management system performs system user ID registration before activation, enters and reviews user information, and records user ID status, which includes user name, identity ID A , public key identifier W A And the corresponding master private key version number, HID code version number, validity period, generation time; user A's actual public key P A It consists of elliptic curve system parameters, system master public key, user ID A , user public key identifier W A Parameter calculation generation.
4. The certificateless identity authentication method for a drone according to claim 1, characterized in that: If the key status of the drone ground terminal is invalid during the flight mission preparation phase, the key initialization process for the drone ground terminal includes: The UAV ground terminal applies to the key management system for key generation; The key management system calculates the key information of the drone ground terminal equipment and returns the drone ground terminal key information to the drone ground terminal; The UAV ground terminal calculates the final UAV ground terminal private key and public key identifier based on the obtained key information; The UAV ground terminal stores the finally generated UAV ground terminal key pair and public key identifier locally; After the key of the UAV ground terminal is initialized, the key status of the UAV ground terminal in the key management system is updated and the user identification information is released. The user identification information includes the user name, identity ID A , public key identifier W A As well as the corresponding master private key version number, HID code version number, validity period, and generation time.
5. The certificateless identity authentication method for a drone according to claim 1, characterized in that: The certificateless public key cryptography system based on the SM2 algorithm also includes the use of a unique ID for user A A Representing the user identity, user A and the key management system jointly generate user A's user private key d A , public key identifier W A , the user's public key P A By user A's identity ID A and public key identifier W A Calculated.
6. A certificateless identity authentication method for a drone according to claim 1, characterized in that: If the key status of the UAV airborne terminal is invalid during the flight mission preparation phase, the key initialization process for the UAV airborne terminal includes: The drone onboard terminal sends a heartbeat packet to the drone ground terminal; After receiving the heartbeat packet, the drone ground terminal establishes a communication connection with the drone onboard terminal; The drone onboard terminal sends a key request to the drone ground terminal; The UAV ground terminal forwards the key application of the UAV airborne terminal to the key management system; The key management system returns the generated drone airborne terminal partial private key information to the drone ground terminal; The UAV ground terminal returns the UAV airborne terminal key information to the UAV airborne terminal; The drone airborne terminal calculates the final drone airborne terminal private key and the corresponding public key identifier based on the key information content; The drone onboard terminal stores the private key locally; After the key of the drone airborne terminal is initialized, the key status of the drone airborne terminal in the key management system is updated, and the user identification information is released. The user identification information includes the user name, identity ID A , public key identifier W A As well as the corresponding master private key version number, HID code version number, validity period, and generation time.
7. A certificateless identity authentication method for a drone according to claim 1, characterized in that: The certificateless public key cryptography system based on the SM2 algorithm also includes a signature algorithm for user A to message M and a verification algorithm for user B to the signature of user A.
8. A certificateless identity authentication method for a drone according to claim 1, characterized in that: The first two-way authentication between the drone ground terminal and the drone airborne terminal includes the process of establishing communication between the drone ground terminal and the drone airborne terminal: The drone onboard terminal sends a heartbeat packet to the drone ground terminal; After receiving the heartbeat packet, the drone ground terminal establishes a communication connection with the drone onboard terminal; The subsequent two-way authentication steps between the drone ground terminal and the drone onboard terminal include: The drone onboard terminal initiates an identity authentication request to the drone ground terminal; The UAV ground terminal sends its own signature information of the timestamp to the UAV airborne terminal and initiates an identity authentication request to the UAV airborne terminal; After the drone onboard terminal verifies the signature of the drone ground terminal, it sends the signature information of the drone onboard terminal to the drone ground terminal; The drone ground terminal verifies the signature of the drone onboard terminal to complete two-way identity authentication.
9. A certificateless identity authentication method for a drone according to claim 8, characterized in that: It also includes determining whether the drone ground terminal and the drone airborne terminal have the clock synchronization capability of specified accuracy. If so, the current time data is generated by the user. Otherwise, the current time data generated and sent by the other party is received.
10. A certificateless identity authentication system for drones, characterized in that: include: A key management module is used to construct a key management system of a certificateless public key cryptographic system based on the SM2 algorithm, and register the data terminal in the UAV system through the key management system; A first identity query module is used to query the identity of the UAV ground terminal executing the flight mission preparation stage through the key management system to determine whether the key status of the UAV ground terminal executing the flight mission preparation stage is valid; A ground terminal key generation module is used to generate a ground terminal key if the key state of the UAV ground terminal performing the flight mission preparation phase is invalid, according to the certificateless public key cryptography system user key generation algorithm based on the SM2 algorithm, and update the key state of the ground terminal in the key management system; A second identity query module is used to query the identity of the UAV airborne terminal executing the flight mission preparation stage through the key management system to determine whether the key status of the UAV airborne terminal executing the flight mission preparation stage is valid; The airborne terminal key generation module generates an airborne terminal key according to a user key generation algorithm of a certificateless public key cryptography system based on the SM2 algorithm if the key state of the airborne terminal of the UAV executing the flight mission preparation phase is invalid, and updates the key state of the airborne terminal in the key management system; The two-way identity authentication module is used to perform two-way identity authentication between the UAV ground terminal and the UAV airborne terminal through the timestamp signature authentication method according to the certificateless public key cryptography system identity authentication algorithm based on the SM2 algorithm when the key status of the UAV ground terminal and the UAV airborne terminal during the flight mission preparation stage are both in a valid state.
Citation Information
Patent Citations
Method of enhancing UVA (Unmanned Aerial Vehicle) MANET network security
CN108521401A
Identity-based unmanned aerial vehicle key management and networking authentication system and method
CN109218018A
