A lightweight fuzzy authentication and key negotiation method and system for wearable devices
By using lightweight fuzzy authentication and key agreement methods in wearable devices, combined with face recognition network structure compression and fuzzy extractors, the security and privacy issues of wearable device data transmission in the medical Internet of Things are solved and achieved Secure communications in the post-quantum era.
Patent Information
- Application Number
- CN202410587942.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-13
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2044-05-13
AI Technical Summary
Existing wearable devices are difficult to achieve lightweight secure communication in the medical IoT environment, and have limited computing and storage resources and cannot effectively resist quantum attacks, resulting in threats to the privacy and security of data transmission.
Using lightweight fuzzy authentication and key agreement methods, through trusted center initialization and system parameter distribution, combined with face recognition network structure compression optimization strategy and fuzzy extractor to extract biometric information, a three-factor user private key is generated and passed twice Message interaction realizes mutual authentication and key negotiation between both parties, and builds a secure communication channel.
Under the premise of ensuring privacy, it provides a lighter communication process, improves the security between wearable devices and hospitals, can resist quantum attacks, reduces computing and communication overhead, and is suitable for devices with limited resources.
Smart Images

Figure CN118174867B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of wearable devices, and in particular to a lightweight fuzzy authentication and key negotiation method and system for wearable devices. Background Art
[0002] With the popularity of wearable IoT devices, the fields of smart healthcare and personalized healthcare have experienced rapid development, and the Medical IoT has emerged. The infrastructure of the Medical IoT includes wearable devices, gateways, and control servers. Wearable device sensors collect vital signs data by monitoring the user's vital signs. Due to their limited computing and storage capabilities, they cannot provide enough storage space for a large amount of health data, so the data needs to be stored in wearable terminal devices. The gateway aggregates this data from the wearable terminal devices and uploads it to the hospital's cloud server. Medical staff can obtain medical data in the cloud server through internal terminal devices and conduct health checks on users.
[0003] Publication number CN112468490A, the invention name is an authentication method for access to power grid terminal layer devices, which simulates the SSL communication protocol between the device and the edge proxy device and combines the traditional RSA encryption method, through the exchange of two random numbers for identity authentication and the generation of session keys in two-way authentication, the number of communications between the two parties. Wearable devices and data acquisition terminals are mostly resource-constrained devices. In order to enhance security, the use of longer keys will cause the terminal to run unsmoothly and cause system operation problems; at the same time, the method of simulating SSL to only exchange random numbers is more unsafe than the exchange on the elliptic curve prime field;
[0004] Publication number CN113312639A, the invention name is a method and system for smart grid terminal access authentication based on identification encryption algorithm. This method uses iris to verify the identity of terminal operators and SM9 to authenticate the terminal. The server will also perform irregular verification of the successfully authenticated device during operation to ensure that there are no abnormalities during terminal operation. For the authentication of multiple terminals in the medical Internet of Things environment, the use of traditional SM9 will result in identity confusion and decryption authentication failure. At the same time, the operation of bilinear groups is not friendly to resource-constrained terminals and the computing pressure is too high.
[0005] Considering that most of these wearable devices have limited computing power and are vulnerable to various attacks in a public network environment. For example, in the medical Internet of Things, sensitive personal information is transmitted in an untrusted network environment, which may be eavesdropped and tampered by hackers. While people enjoy the convenience brought by wearable devices, how to ensure the secure communication of wearable device data upload and how to protect the privacy of patients from being leaked are very important issues.
[0006] In order to solve these problems, it is necessary to design robust post-quantum cryptography methods to realize data interaction between wearable terminals and cloud data server gateways, provide a lighter communication process between the two parties while ensuring their privacy, and establish a secure communication channel between wearable devices and hospitals. Summary of the invention
[0007] In view of the above-mentioned problems, the present invention is proposed.
[0008] Therefore, the technical problem solved by the present invention is: how to realize the interaction of data between the wearable terminal and the cloud data server gateway, and provide a lighter communication process between the two parties while ensuring their privacy.
[0009] To solve the above technical problems, the present invention provides the following technical solutions: a lightweight fuzzy authentication and key negotiation method for wearable devices, comprising: initializing a trusted center and distributing system parameters; the wearable device registers and extracts keys in the trusted center, and in the process, a face recognition network structure compression optimization strategy is adopted for lightweighting, and biometric information is extracted through a fuzzy extractor, and a three-factor user private key is generated by combining identity and password; a cloud data server gateway extracts a message and a decryption key based on the gateway identity from the trusted center; the wearable device and the cloud data server gateway realize mutual authentication of the two parties through two message interactions, and then realize key negotiation between the two parties.
[0010] As a preferred solution of the lightweight fuzzy authentication and key negotiation method for a wearable device according to the present invention, the distribution of the system parameters includes:
[0011] The trusted center TC randomly selects integers m and n, prime numbers q and full-rank matrix lattice ;
[0012] Randomly select a private key And calculate the public key ;
[0013] Choose a family of hash functions , , , , public parameters Keep the private key .
[0014] As a preferred solution of the lightweight fuzzy authentication and key negotiation method for the wearable device described in the present invention, wherein: the face recognition network structure compression optimization strategy includes a compression strategy based on convolution kernels and a compression strategy based on channel pruning, and the compression strategy based on convolution kernels includes splitting the multi-channel feature map from the upper layer, and applying a single-channel convolution operation to each single-channel feature map respectively, and then stacking all the convolution results together, and using a filter to perform secondary processing on the stacked feature map after convolution, to ensure that the number of convolution kernels contained in the filter is consistent with the number of channels in the upper layer;
[0015] The channel pruning-based compression strategy involves designing a pruning factor for each channel in the convolutional layer. , by integrating the network weights and these pruning factors for joint training, during the training process, the pruning factors are weighted and penalized. After the training is completed, the channels with coefficient values less than 0.1 are pruned. The joint training formula is expressed as:
[0016] ;
[0017] in, represents the input and output of training, represents the model training function, represents the loss function of conventional training, W represents the model weight, and the weight coefficient Used to balance the loss function and the regularization term, It is a penalty function for the pruning factor.
[0018] As a preferred solution of the lightweight fuzzy authentication and key negotiation method for wearable devices described in the present invention, the fuzzy extractor includes an initialization Init algorithm, a key string generation Gen algorithm and a key string regeneration Rep algorithm, and the initialization Init algorithm includes a security parameter based on the provided Generate public parameters To start the fuzzy extractor setup, ;
[0019] The key string generation Gen algorithm includes using a compressed face recognition model to extract biometric information Extract n feature points and corresponding feature vectors to form a biological feature matrix , set the threshold for the minimum number of feature points that can be restored , the threshold for measuring parameter similarity in the key string regeneration algorithm , the biometric matrix B is subjected to security analysis to obtain a part S of the auxiliary string, S is processed to obtain another part C of the auxiliary string, and C is combined with S to obtain the auxiliary string , using timestamp T and feature matrix B to construct a secure and reusable key string , and delete all other parameters;
[0020] The key string regeneration Rep algorithm includes firstly inputting new biometric information The compressed face recognition model is also used to extract n feature points and corresponding feature vectors to form a biometric matrix , calculate the feature matrix in the same way as in the key string generation Gen algorithm Obtained through security overview and , from the auxiliary string Extract S and calculate S and Does the similarity meet the threshold? and If satisfied, you can restore , Represents the recovery function, which eventually recovers from the auxiliary string Extract C from By extracting the function That is, the key string can be regenerated .
[0021] As a preferred solution of the lightweight fuzzy authentication and key agreement method for a wearable device according to the present invention, generating the three-factor user private key includes:
[0022] The wearable device Initiate a registration request. Sent to the trusted center TC, the trusted center TC selects a random number , calculate the number of registered assistants And issued a false identity , using the fuzzy extractor Processing of biological information , get the key string and auxiliary string , calculate the auxiliary parameters for private key generation And use it as a wearable device Generate a private key , public key , returned to the wearable device parameter ;
[0023] in, They respectively represent the wearable device's identity, password, biometric information to be entered, random number, registration auxiliary number, XOR symbol, hash function labeled 1, TC's private key, and pseudo-identity bit string length.
[0024] As a preferred solution of the lightweight fuzzy authentication and key negotiation method for wearable devices of the present invention, wherein: the cloud data server gateway extracts from the trusted center the following:
[0025] The cloud data server gateway Will Sent to the trusted center TC, the trusted center TC selects a random number , calculate the auxiliary parameters for private key generation , a cloud data server gateway Generate a private key , public key , returned to the cloud data server gateway parameter ,in They respectively represent the cloud server gateway identity, random number, hash function labeled 2, group of positive integers modulo q, and group of m-dimensional column vectors modulo q.
[0026] As a preferred solution of the lightweight fuzzy authentication and key negotiation method for a wearable device according to the present invention, the key negotiation includes:
[0027] Wearable devices choose , , generate mutual authentication auxiliary parameters , using the private key to generate the authentication signature ,hair Gateway to cloud data servers After receiving the mutual authentication request, determine If satisfied, continue verification The identity of the user is verified using the fuzzy extractor. If successful, continue to verify the security of other parameters and calculate ,judge , if they are equal, it means Realize Authentication, then select , , and generate mutual authentication auxiliary parameters , generate authentication signature ,Will Send to After receiving the mutual authentication request, determine If satisfied, continue verification identity, calculation ,judge , if they are equal, it means Realize The mutual authentication between the user and the gateway is now completed;
[0028] at last calculate Auxiliary parameters for private key generation , get the session key: ;
[0029] calculate Auxiliary parameters for private key generation , you can get the session key:
[0030] ;
[0031] in They represent random numbers, ideal grids, encrypted random numbers, hash functions numbered 3, The private key, the input biometric information and the current timestamp, Respectively represent the timestamp when the application is received, The generated mutual authentication auxiliary parameters and The public key of Represent the random number, encrypted random number, private key and current timestamp respectively, where Respectively represent the timestamp when the application is received, The generated mutual authentication auxiliary parameters and The public key of They represent the hash function numbered 4 and the matrix transpose operation respectively.
[0032] Another object of the present invention is to provide a lightweight fuzzy authentication and key negotiation system for wearable devices, which can solve the problem of ensuring security and confidentiality of data transmission by building a remote secure communication system, and the problem that using a third-party platform is not conducive to data confidentiality.
[0033] To solve the above technical problems, the present invention provides the following technical solutions: a lightweight fuzzy authentication and key negotiation system for wearable devices, comprising: a trusted center, a wearable device and a cloud data server gateway; the trusted center collects the patient's physiological data through the sensors thereon, and uploads the data to the cloud data server through a public channel; the wearable device interacts with the wearable device as the only entrance to the cloud data server, and receives the physiological data uploaded by the user through mutual authentication and key negotiation; the cloud data server gateway is used to distribute system parameters and extract keys for the wearable device and the cloud data server gateway.
[0034] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the lightweight fuzzy authentication and key negotiation method for the wearable device as described above are implemented.
[0035] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the lightweight fuzzy authentication and key negotiation method for a wearable device as described above.
[0036] Beneficial effects of the present invention: The lightweight fuzzy authentication and key negotiation method and system for wearable devices provided by the present invention are aimed at the fact that the authentication and key negotiation process between existing wearable devices and hospitals cannot resist quantum attacks. The present invention uses the small integer problem on the lattice to construct the communication process, which can ensure the communication security in the post-quantum era;
[0037] As the existing fuzzy extractors cannot be reused when extracting key strings and cannot provide security in the post-quantum era, a secure and reusable fuzzy extractor is built based on lattice, which uses the extracted key strings to construct message keys to improve security.
[0038] As wearable devices have limited computing and storage resources, the running speed of the fuzzy extractor on the end side is improved, and a facial feature extraction network compression strategy is designed to adapt to resource-constrained devices, improve feature extraction efficiency, and accelerate key string generation.
[0039] By comparing with the existing solutions, the present invention is superior to the existing solutions in terms of time overhead and communication overhead, and its security and effectiveness can be formally analyzed through BAN logic. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0041] Figure 1 An overall flow chart of a lightweight fuzzy authentication and key negotiation method for a wearable device provided by an embodiment of the present invention;
[0042] Figure 2 A technical roadmap for a lightweight fuzzy authentication and key negotiation method for a wearable device is provided for one embodiment of the present invention. DETAILED DESCRIPTION
[0043] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.
[0044] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.
[0045] Example 1
[0046] Reference Figure 1 , as an embodiment of the present invention, provides a lightweight fuzzy authentication and key negotiation method for a wearable device, comprising:
[0047] S1: The trusted center is initialized to distribute system parameters;
[0048] Furthermore, the trusted center TC is used in wearable devices Registration and key extraction phase, cloud data server gateway Before the key extraction phase, the hash function and related parameters are selected, and the private key and public key are calculated and then made public. This phase takes place in a secure channel and includes:
[0049] TC randomly selects integers m and n, prime numbers q, and full-rank matrices . Then, a private key is randomly selected And calculate the public key Finally, choose a family of hash functions , , , . Public parameters Keep the private key .
[0050] S2: The wearable device registers with the trusted center and extracts the key. In the process, the face recognition network structure compression optimization strategy is adopted to make it lightweight, and the biometric information is extracted through the fuzzy extractor, and the three-factor user private key is generated by combining the identity and password;
[0051] Going a step further, wearable devices The patient's biometric information is extracted through the trusted center TC fuzzy extractor, and the three-factor user private key is generated by combining the identity and password. At the same time, a dynamic identity is issued to ensure the security of subsequent interactions. This process occurs in a secure channel and includes:
[0052] (1) In order to improve the running speed of fuzzy extraction on wearable devices, a face recognition network structure compression optimization strategy is designed to achieve lightweight, including:
[0053] Compression optimization strategy based on convolution kernels: First, split the multi-channel feature maps from the upper layer, apply single-channel convolution operations to each single-channel feature map, and stack all the convolution results together. Then, use filters to perform secondary processing on the stacked feature maps after convolution, ensuring that the number of convolution kernels contained in the filter is consistent with the number of channels in the upper layer;
[0054] Compression optimization strategy based on channel pruning: Design a pruning factor for each channel in the convolutional layer, and then jointly train the network weights and these pruning factors, forcing the pruning factors to be penalized during training. The loss function of joint training is expressed as:
[0055] ;
[0056] in represents the input and output of training, represents the model training function, represents the loss function of conventional training, W represents the model weight, and the weight coefficient Used to balance the loss function and the regularization term, The penalty function for the pruning factor, during the sparse training process, is forced to reduce the pruning factor due to the existence of the regularization term. After the training is completed, the channels with coefficient values less than 0.1 are pruned, which is equivalent to pruning all input connections and output connections connected to this channel. The network structure is not changed before and after the model channel is pruned. Only by deleting the channels with too low compression factors, the pruned network model is made more compact, and the number of parameters of the entire network is reduced to be suitable for wearable resource-constrained terminals.
[0057] (2) In order to improve the reusability and robustness of the fuzzy extractor, the designed secure reusable fuzzy extractor includes initialization , key string generation and keychain regeneration Three algorithms, such as Figure 2 As shown, specifically including:
[0058] initialization Algorithm: Based on the provided security parameters Generate public parameters To start the fuzzy extractor setup, ;
[0059] Keychain Generation Algorithm: First, a compressed face recognition model is used to extract biometric information Extract n feature points and corresponding feature vectors to form a biological feature matrix ,in , and set the threshold This is the worst case for the number of feature points that can be restored. Set the similarity threshold to is a measure of parameter similarity in the key string regeneration algorithm, where Represents the column vector of the biometric matrix (a total of n), express dimensional linear space, represents the m-dimensional column vector, and T represents the transpose of the matrix. Then, the characteristic matrix B is safely approximated to obtain , where S represents the transformed biometric matrix, represents the column vector of S (n in total), represents the ideal grid, express dimensional linear space, represents the security summary function. Then Convert them separately to get , and then combined into .in Indicates the converted , represents the n-1 dimensional column vector, P represents the transformed S, represents the random permutation function, Represents a dimensional linear space. Using the vertical superposition of timestamps T and P, we can get ,in Indicates that a bit string of any length Convert to n-dimensional column vector Finally, construct a secure and reusable key string and auxiliary string ,in Indicates that the n-dimensional column vector Convert to a bit string of length l .
[0060] Keychain Regeneration Algorithm: First, input new biological information The compressed face recognition model is also used to extract n feature points and corresponding feature vectors to form a biometric matrix ,in Then, The same method is used in the algorithm to calculate the feature matrix Over-security and . From the auxiliary string Extract S and calculate S and Does the similarity meet the threshold? and If satisfied, you can restore ,in represents the recovery function. Finally, from the auxiliary string Extract C from By extracting the function That is, the key string can be regenerated .
[0061] (3) First, wearable devices Initiate a registration request. Sent to the trusted center TC. Then TC randomly selects , and calculate Issue a fake identity Then, the constructed fuzzy extractor is used to Processing of biological information , get the key string and auxiliary string , calculate the auxiliary parameters for private key generation and use it as Generate a private key , public key , return to parameter .
[0062] S3: The cloud data server gateway extracts the gateway identity-based message and decryption key from the trusted center;
[0063] Furthermore, cloud data server gateway Extract the message encryption and decryption key based on the identity information from the trusted center TC. This stage occurs in a secure channel and includes:
[0064] first Will Sent to TC, and then TC randomly selects , and calculate the auxiliary parameters for private key generation Finally, Generate a private key , public key , return to .
[0065] S4: The wearable device and the cloud data server gateway achieve mutual authentication through two message interactions, and then achieve key negotiation between the two parties.
[0066] It should be noted that wearable devices and cloud data server gateway Through two message exchanges, mutual authentication is achieved between the two parties, and then key negotiation between the two parties is achieved for subsequent data exchange encryption. This stage occurs in the public channel and specifically includes:
[0067] first Random Selection , , generate mutual authentication auxiliary parameters , using the private key to generate the authentication signature ,hair Give After receiving the mutual authentication request, determine If satisfied, continue verification The identity of the user is verified using the fuzzy extractor. If successful, calculate ,judge , if they are equal, it means Realize Then randomly select , , and generate mutual authentication auxiliary parameters , generate authentication signature ,Will Send to After receiving the mutual authentication request, determine If satisfied, continue verification identity, calculation ,judge , if they are equal, it means Realize The mutual authentication between the user and the gateway is now complete. calculate , you can get the session key:
[0068] ;
[0069] calculate , you can get the session key:
[0070] .
[0071] It should be noted that all identity information (user-side devices, gateways) refers to ID. User-side devices use biometric information to generate keys for subsequent authentication and negotiation.
[0072] Example 2
[0073] As an embodiment of the present invention, a digital construction system for typical planning scenarios of county distribution networks is provided, including:
[0074] Trusted center, wearable devices, and cloud data server gateway;
[0075] The trusted center, as the authoritative center in the network structure, implements system parameter distribution and key extraction for wearable devices and cloud data server gateways. Only users authorized by the trusted center can participate in the data upload process;
[0076] Wearable devices are a type of resource-constrained devices that collect physiological data from various patients through sensors and upload the data to cloud data servers through public channels;
[0077] The cloud data server gateway, as the only entrance to the cloud data server, interacts with wearable devices and receives physiological data uploaded by users through mutual authentication and key negotiation, thus realizing remote medical information integration.
[0078] Example 3
[0079] An embodiment of the present invention is different from the first two embodiments in that:
[0080] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.
[0081] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.
[0082] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.
[0083] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0084] Example 4
[0085] As an embodiment of the present invention, a lightweight fuzzy authentication and key negotiation method for a wearable device is provided. In order to verify the beneficial effects of the present invention, scientific demonstration is carried out through economic benefit calculation and simulation experiments.
[0086] In order to improve the adaptability of the fuzzy extractor on wearable resource-constrained devices, that is, to increase the running speed, the facial feature extraction network is optimized by designing a compression strategy, which greatly reduces the amount of network parameters and reduces the storage consumption of wearable devices. The specific data comparison is shown in Table 1:
[0087] Table 1 Comparison of parameters before and after model compression (convolution kernel compression, channel pruning)
[0088]
[0089] Among them, P-Net, R-Net and O-Net represent the three parts of the facial feature point extraction network respectively. It can be seen that the parameter compression rate of the present invention before and after model compression decreases with the complexity of the neural network, and the maximum compression rate reaches 74%, which is more suitable for wearable devices with limited computing and storage resources, and can improve the extraction speed of facial feature points.
[0090] In order to improve the reusability of facial information and enhance the robustness of the authentication process, a secure and reusable fuzzy extractor is designed. It can effectively increase the reusability of facial information while improving the accuracy of facial features. That is, multiple key strings and auxiliary strings can be extracted from one face input for subsequent authentication.
[0091] In order to reduce the computational and communication overhead of wearable resource-constrained devices in the authentication and key negotiation process, a lightweight lattice-based fuzzy authentication scheme is designed. Compared with the existing scheme, it greatly reduces the computational and communication overhead while ensuring post-quantum security. The specific data comparison is shown in Table 2 and Table 3:
[0092] Table 2 Comparison of computing overhead of wearable devices
[0093]
[0094] in, They represent the time required for bilinear pairing, modular exponentiation, hashing, elliptic curve point multiplication, elliptic curve point addition, lattice multiplication, and symmetric encryption operations, respectively. Compared with the existing schemes (the schemes proposed by Shamshad, Zhang, Nikravan, Srinivas, and Hossain), the present invention has a significant improvement in computational overhead and is more suitable for authentication and key negotiation processes on wearable resource-constrained devices.
[0095] Table 3. Communication overhead comparison
[0096]
[0097] in, and They represent identity or pseudo-identity, random number, point on elliptic curve, matrix on lattice, timestamp, encrypted message and output bit length of hash function respectively. The present invention is superior to the existing scheme (the scheme proposed by Shamshad, Zhang, Nikravan, Srinivas and Hossain) not only in terms of number of communications, but also in terms of obvious improvement of total communication overhead.
[0098] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.
Claims
1. A lightweight fuzzy authentication and key negotiation method for a wearable device, characterized in that: include: The trusted center is initialized to distribute system parameters, and the distribution of system parameters includes: The trusted center TC randomly selects integers m and n, prime numbers q and full-rank matrix lattice Randomly select a private key And calculate the public key Choose a family of hash functions H1: H2: H3: H4:{0,1} * →{0, 1} l , public parameters {m,n,q,L,pk,H(·)} while retaining the private key sk; The wearable device registers with the trusted center and extracts the key. In the process, the face recognition network structure compression optimization strategy is adopted to make it lightweight, and the biometric information is extracted through the fuzzy extractor. The three-factor user private key is generated by combining the identity and the password. The face recognition network structure compression optimization strategy includes a compression strategy based on convolution kernels and a compression strategy based on channel pruning. The compression strategy based on convolution kernels includes splitting the multi-channel feature map from the upper layer, applying a single-channel convolution operation to each single-channel feature map, and stacking all the convolution results together. The filter is used to perform secondary processing on the stacked feature map after the convolution, ensuring that the number of convolution kernels contained in the filter is consistent with the number of channels in the upper layer; The compression strategy based on channel pruning includes designing a pruning factor λ for each channel in the convolution layer, integrating the network weights and these pruning factors for joint training, performing weighted penalties on the pruning factors during the training process, and pruning the channels with coefficient values less than 0.1 after the training is completed. The joint training formula is expressed as: L=∑ (x,y) l(f(x,W),y)+λ∑ γ∈Η g(γ) Where (x, y) represents the input and output of the training, f(·) represents the model training function, l(·) represents the loss function of the regular training, W represents the model weight, the weight coefficient λ is used to balance the loss function and the regularization term, and g(·) is the penalty function for the pruning factor; The fuzzy extractor includes an initialization Init algorithm, a key string generation Gen algorithm and a key string regeneration Rep algorithm. The initialization Init algorithm includes a key string generation algorithm based on the provided security parameters 1 λ Generate a public parameter pp to start the setting of the fuzzy extractor, that is, pp = Init (1 λ ); The key string generation algorithm Gen includes extracting n feature points and corresponding feature vectors from the biometric information Bio using a compressed face recognition model to form a biometric feature matrix B = {B1, B2, ..., B n }∈R m×n , set the threshold κ≤n when the number of feature points that can be restored is the minimum, and the threshold θ for measuring the similarity of parameters in the key string regeneration algorithm, perform a secure summary on the biometric matrix B to obtain a part S of the auxiliary string, process S to obtain another part C of the auxiliary string, combine C and S to obtain the auxiliary string μ, use the timestamp T and the feature matrix B to construct a secure and reusable key string σ, and delete all other parameters; The key string regeneration Rep algorithm includes inputting new biometric information Bio * The compressed face recognition model is also used to extract n feature points and corresponding feature vectors to form a biometric matrix Calculate the feature matrix B in the same way as in the key string generation Gen algorithm * Obtained through security overview and Extract S from the auxiliary string μ and calculate S and S * Does the similarity satisfy the thresholds κ and θ? If so, we can recover B←Rec(B * ,S), Rec(·) represents the recovery function, and finally C is extracted from the auxiliary string μ and combined with P * By extracting the function Ext(·), we can regenerate the key string σ←Ext(C,P * ); Generating the three-factor user private key includes: the wearable device D i Initiate a registration request and pass {ID i ,PW i ,Bio i }Sent to the trusted center TC, the trusted center TC selects a random number Calculate the number of registered assists And issued a false identity Using the fuzzy extractor to i Bioinformatics processing i )=<σ,μ>, get the key string σ and auxiliary string μ, calculate the auxiliary parameters for private key generation And use it as a wearable device i Generate a private key Public Key Return to wearable device D i Parameter {PID i ,τ i ,sk i ,pk i ,σ,μ}; in, Respectively represent the wearable device's identity, password, biometric information to be entered, random number, registration auxiliary number, XOR symbol, hash function labeled 1, TC's private key, and pseudo-identity bit string length; The cloud data server gateway extracts a message and a decryption key based on the gateway identity from the trusted center, wherein the cloud data server gateway extracts the message and the decryption key based on the gateway identity from the trusted center, wherein: j {ID j }Sent to the trusted center TC, the trusted center TC selects a random number Calculate auxiliary parameters for private key generation Cloud data server gateway GW j Generate a private key Public Key Return to the cloud data server gateway GW j Parameters {sk j ,pk j },in They represent the cloud server gateway identity, random number, hash function numbered 2, group of positive integers modulo q, and group of m-dimensional column vectors modulo q respectively; The wearable device and the cloud data server gateway realize mutual authentication between the two parties through two message interactions, and then realize key negotiation between the two parties. The key negotiation includes: Wearable devicesD i choose Generate mutual authentication auxiliary parameter δ i =H3(PID i ||σ,X i ), use the private key to generate the authentication signature sign i =(sk i +δ i ·x i )mod q, send To cloud data server gateway GW j , after receiving the mutual authentication request, judge |T i ′-T i |≤ε, if satisfied, continue to verify D i The identity of the user is verified using the fuzzy extractor. If the security of other parameters is successfully verified, calculate Judgement sign j =(sk j +δ j ·y j )modq, if they are equal, it means GW j Realize D i Authentication, then select And generate mutual authentication auxiliary parameter δ j =H3(ID j ,Y j ), generate authentication signature sign j =(sk j +δ j ·y j )modq, replace {ID j ,Y j ,T j ,sign j }Send to D i After receiving the mutual authentication request, determine |T′ j -T j |≤ε, if satisfied, continue to verify GW j identity, calculation judge If they are equal, it means D i Realize GW j The mutual authentication between the user and the gateway is now completed; Last D i Calculate GW j Auxiliary parameters for private key generation The session key can be obtained: GW j Calculate D i Auxiliary parameters for private key generation Get the session key: in They represent random numbers, ideal lattices, encrypted random numbers, hash functions numbered 3, and D i The private key, the input biometric information and the current timestamp, Respectively represent the timestamp when the application is received, GW j The generated mutual authentication auxiliary parameters and D i The public key of i ,Y i ,sk j ,T j Represent the random number, encrypted random number, private key and current timestamp respectively, where They represent the timestamp when the application is received, the mutual authentication auxiliary parameters generated by Di and the public key of GWj respectively. H4(·), T represent the hash function numbered 4 and the matrix transposition operation respectively.
2. A system using the lightweight fuzzy authentication and key agreement method of a wearable device as claimed in claim 1, characterized in that: include: Trusted center, wearable devices, and cloud data server gateway; The trusted center collects the patient's physiological data through sensors thereon and uploads the data to a cloud data server through a public channel; The wearable device interacts with the wearable device as the only entry point of the cloud data server and receives physiological data uploaded by the user through mutual authentication and key negotiation; The cloud data server gateway is used to distribute system parameters and extract keys for wearable devices and cloud data server gateways.
3. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the lightweight fuzzy authentication and key negotiation method for the wearable device described in claim 1 are implemented.
4. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the lightweight fuzzy authentication and key negotiation method for the wearable device according to claim 1 are implemented.
