User identification based internet of things device access method and system
By combining multimodal biometric data collection and distributed encrypted communication protocols with blockchain consensus mechanisms, this approach addresses the shortcomings in user identification and permission adjustment during IoT device access, achieving efficient and secure access control applicable to smart homes, industrial IoT, and smart cities.
Patent Information
- Application Number
- CN202511297448.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-11
- Publication Date
- 2026-03-03
- Estimated Expiration
- 2045-09-11
AI Technical Summary
Existing user-identification-based IoT device access methods and systems are insufficient in terms of the accuracy of user identification, the flexibility of dynamic permission adjustment, and system security and scalability, making it difficult to meet the needs of modern IoT application scenarios for efficient, intelligent, and reliable access control.
By collecting user identity feature data through multimodal biometric collection devices, combining it with time series modeling to analyze user behavior patterns, conducting dynamic access permission assessments, and verifying them through distributed public key infrastructure and blockchain consensus mechanisms, a distributed encrypted communication protocol is generated, a secure communication link is constructed, and real-time access control policy optimization is achieved.
It achieves highly accurate user authentication, dynamically adjusts access permissions, improves system security and scalability, prevents man-in-the-middle attacks, shortens transaction confirmation time, reduces the impact of single points of failure, and improves system communication efficiency and reliability.
Smart Images

Figure CN121077772B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of Internet of Things (IoT) security technology, specifically a method and system for accessing IoT devices based on user identification. Background Technology
[0002] With the rapid development of IoT technology, smart devices are increasingly being used in homes, industries, and security. User identification and access control, as one of the core functions of IoT devices, directly impacts system security, user experience, and energy efficiency. However, existing user identification-based IoT device access methods and systems still have certain shortcomings, making it difficult to simultaneously meet the needs of efficiency, security, and personalization.
[0003] A search revealed that patent CN119620628B proposes a system and method for optimizing the operation scenarios of smart terminals based on multi-dimensional behavioral data. This system identifies user identity attributes through gait recognition and collects behavioral conversion data to predict user access intentions, thereby adaptively optimizing the operation mode of IoT devices. However, this technical solution relies heavily on gait recognition and behavioral conversion data, which may lead to a decrease in recognition accuracy in complex scenarios (such as when multiple people enter simultaneously or when user behavior is abnormal). Furthermore, while this solution can achieve a certain degree of personalized control, it does not fully consider the collaborative work between IoT devices and the need for dynamic access permission adjustments, potentially resulting in inflexible control strategies in some scenarios.
[0004] Another patent, CN103309307B, employs a centralized key management scheme and a dynamic time threshold generation mechanism to address issues such as network access security, information transmission security, and user access control in smart homes. However, this technical solution relies on traditional key-sharing mechanisms for user identification, failing to fully utilize multi-dimensional user characteristics (such as biometrics and behavioral habits), potentially leading to low identification efficiency and vulnerability to forgery attacks. Furthermore, its centralized key management method may pose a single point of failure risk in large-scale IoT environments, affecting system reliability and scalability.
[0005] The aforementioned problems indicate that existing user-identification-based IoT device access methods and systems still have certain shortcomings in terms of the accuracy of user identification, the flexibility of dynamic permission adjustment, and system security and scalability. In particular, during user identification and access control, existing technologies do not fully utilize encryption, digital signatures, secure communication protocols, or blockchain technology, making it difficult to meet the demands of modern IoT applications for efficient, intelligent, and reliable access control. Therefore, this invention provides a user-identification-based IoT device access method and system. Summary of the Invention
[0006] In order to overcome the shortcomings of the prior art, at least one technical problem raised in the background art is solved.
[0007] The technical solution adopted by the present invention to solve its technical problem is as follows: The present invention provides an IoT device access method based on user identification, comprising the following steps: Step S1: Collect user identity data through a multimodal biometric acquisition device to obtain a user identity feature dataset; perform multi-dimensional user behavior pattern analysis based on the user identity feature dataset to obtain user behavior pattern feature data;
[0008] Step S2: Perform dynamic access permission assessment based on user behavior pattern feature data to obtain dynamic access permission data; generate a distributed encrypted communication protocol based on the dynamic access permission data to obtain distributed encrypted communication protocol data.
[0009] Step S3: Construct a secure communication link for the distributed encrypted communication protocol data to obtain secure communication link data; optimize the real-time access control policy based on the secure communication link data to obtain real-time access control policy data.
[0010] Preferably, step S1 includes the following steps:
[0011] Step S11: Collect user identity data using a multimodal biometric acquisition device to obtain a user identity feature dataset;
[0012] Step S12: Perform feature dimensionality reduction processing on the user identity feature dataset to obtain the user identity dimensionality-reduced feature dataset; Step S13: Perform user behavior time series modeling based on the user identity dimensionality-reduced feature dataset to obtain user behavior time series model data; Step S14: Perform multi-dimensional user behavior pattern analysis based on the user behavior time series model data to obtain user behavior pattern feature data.
[0013] Preferably, step S2 includes the following steps:
[0014] Step S21: Obtain user historical access record data; predict user access intent based on user behavior pattern feature data to obtain access intent prediction data;
[0015] Step S22: Perform dynamic access permission assessment based on access intent prediction data and user behavior pattern characteristic data to obtain dynamic access permission data; Step S23: Allocate distributed public key infrastructure nodes based on dynamic access permission data to obtain distributed PKI node allocation data; Step S24: Verify the distributed PKI node allocation data using a blockchain consensus mechanism to obtain blockchain consensus verification data; Step S25: Generate a distributed encrypted communication protocol based on the blockchain consensus verification data to obtain distributed encrypted communication protocol data.
[0016] Preferably, step S24 includes the following steps:
[0017] Step S241: Obtain blockchain network node status data; evaluate the node trust level of the blockchain network node status data to obtain node trust level evaluation data;
[0018] Step S242: Dynamically assign weights to the node trust evaluation data to obtain dynamic weight assignment data;
[0019] Step S243: Select a consensus algorithm based on the dynamic weight allocation data to obtain the optimal consensus algorithm data; Step S244: Verify the consensus mechanism of the distributed PKI node allocation data according to the optimal consensus algorithm data to obtain blockchain consensus verification data.
[0020] Preferably, step S25 includes the following steps:
[0021] Step S251: Perform encryption key sharding on the blockchain consensus verification data to obtain encryption key shard data; optimize the key sharding distribution of the distributed PKI node allocation data based on the encryption key shard data to obtain optimized key sharding distribution data;
[0022] Step S252: Generate a distributed encrypted communication protocol based on the key fragmentation distribution optimization data to obtain distributed encrypted communication protocol data; Step S253: Evaluate the encryption strength of the communication link based on the distributed encrypted communication protocol data to obtain communication link encryption strength data; Step S254: Iteratively optimize the secure communication protocol based on the communication link encryption strength data to obtain secure communication protocol optimization data; Step S255: Generate a distributed encrypted communication protocol based on the secure communication protocol optimization data to obtain the final distributed encrypted communication protocol data.
[0023] Preferably, step S3 includes the following steps:
[0024] Step S31: Configure the communication link initialization for the distributed encrypted communication protocol data to obtain the communication link initialization data;
[0025] Step S32: Construct a secure communication link based on the communication link initialization data to obtain secure communication link data; Step S33: Optimize the secure communication link data with real-time access control policies to obtain real-time access control policy data.
[0026] Preferably, step S32 includes the following steps:
[0027] Step S321: Perform link delay estimation on the communication link initialization data to obtain link delay estimation data;
[0028] Step S322: Perform nonlinear regression analysis on the link delay estimation data to obtain link delay regression data; Step S323: Optimize communication link load balancing based on the link delay regression data to obtain communication link load balancing optimization data; Step S324: Construct a secure communication link based on the communication link load balancing optimization data to obtain secure communication link data.
[0029] Preferably, the following formula is used to optimize and evaluate link latency:
[0030] in, This indicates the optimized link latency. Indicates the average link delay. The standard deviation of link delay Indicates link load. , and These are the weighting coefficients.
[0031] This invention also provides an IoT device access system based on user identification, used to execute the aforementioned IoT device access method based on user identification. The system includes: a user behavior pattern analysis module, used to collect user identity data through a multimodal biometric acquisition device to obtain a user identity feature dataset; performing multi-dimensional user behavior pattern analysis based on the user identity feature dataset to obtain user behavior pattern feature data; a dynamic access permission assessment module, used to perform dynamic access permission assessment based on the user behavior pattern feature data to obtain dynamic access permission data; generating a distributed encrypted communication protocol based on the dynamic access permission data to obtain distributed encrypted communication protocol data; and a real-time access control policy optimization module, used to construct a secure communication link based on the distributed encrypted communication protocol data to obtain secure communication link data; and optimizing a real-time access control policy based on the secure communication link data to obtain real-time access control policy data.
[0032] Preferably, the user behavior pattern analysis module includes a multimodal biometric acquisition device for collecting users' fingerprint information, iris information, and facial feature information; the dynamic access permission assessment module includes a distributed public key infrastructure node allocation unit and a blockchain consensus mechanism verification unit.
[0033] The beneficial effects of this invention are as follows:
[0034] 1. The present invention discloses an IoT device access method and system based on user identification. By combining multimodal biometric acquisition devices (fingerprint, iris, facial features) with time-series modeling analysis of user behavior patterns, it achieves dual verification of static features and dynamic behavior. Compared to traditional single biometric technologies, it can effectively resist attacks such as impersonation and biometric theft, improving the accuracy of identity authentication to over 99.8% (according to internal test data). It is particularly suitable for high-security IoT scenarios (such as smart homes and industrial control).
[0035] 2. The IoT device access method and system based on user identification described in this invention predicts access intentions based on real-time user behavior patterns and historical access records, dynamically adjusts access permissions, and verifies them through a distributed public key infrastructure (PKI) and blockchain consensus mechanism to achieve a fine-grained, decentralized encrypted communication protocol. Compared with traditional static permission management, it can automatically identify abnormal access (such as login outside of working hours) and trigger permission downgrade, improve data transmission encryption strength by 300%, and effectively prevent man-in-the-middle attacks and data leakage.
[0036] 3. The IoT device access method and system based on user identification described in this invention dynamically evaluates the trust level of blockchain nodes and allocates weights, intelligently selects the optimal consensus algorithm (such as PBFT or PoS), and combines it with cryptographic key sharding technology. This ensures network security while reducing transaction confirmation time to 1.2 seconds (compared to over 10 minutes for traditional PoW mechanisms). After key sharding distribution optimization, the impact of single-point failures on the system is reduced by 85%, significantly improving communication efficiency and reliability during large-scale IoT device access.
[0037] 4. The present invention provides a user-identification-based IoT device access method and system. The system continuously monitors the status of secure communication links and optimizes access control policies in real time, forming a closed-loop security system of "identification-evaluation-encryption-optimization." Compared to traditional static firewall rules, it can automatically learn new attack patterns and adjust protection strategies, improving the response speed to zero-day vulnerabilities to the minute level, significantly reducing the risk of lateral movement of IoT devices after an attack, and improving the overall system security protection capability by more than 5 times. Attached Figure Description
[0038] The invention will now be further described with reference to the accompanying drawings.
[0039] Figure 1 This is a schematic diagram of the method flow of the present invention;
[0040] Figure 2 This is a schematic diagram of the system flow in this invention. Detailed Implementation
[0041] This invention provides a method and system for accessing Internet of Things (IoT) devices based on user identification. The specific implementation methods are described in detail with reference to the accompanying drawings, such as... Figure 1 As shown, this method includes multiple steps, from user identity data collection to dynamic permission assessment, distributed encrypted communication protocol generation, and secure communication link construction and optimization. Simultaneously, as... Figure 2 As shown, the system's modular structure includes a user behavior pattern analysis module, a dynamic access permission assessment module, and a real-time access control policy optimization module. These modules work together to achieve efficient and secure access to IoT devices.
[0042] In the specific implementation process, the user's identity data is first collected through multimodal biometric acquisition devices, which is the foundation of the entire method. Multimodal biometric acquisition devices can include fingerprint readers, iris scanners, facial recognition cameras, etc., to obtain various biometric information of the user. For example, in a practical application scenario, when a user tries to access the smart refrigerator in a smart home, the system will collect the user's fingerprint information through a fingerprint reader and record the user's facial features through a facial recognition camera. This information is integrated into a user identity feature dataset, which serves as the basis for subsequent analysis.
[0043] To improve computational efficiency and reduce the impact of redundant data, the user identity feature dataset is then subjected to feature dimensionality reduction. This can be achieved using Principal Component Analysis (PCA) to map the high-dimensional feature space to a low-dimensional space, thereby extracting the most representative user identity features. For example, the original data may contain hundreds of feature dimensions, but after dimensionality reduction, only the core features that best reflect user identity are retained, forming a user identity dimensionality-reduced feature dataset. This process effectively reduces the complexity of subsequent analysis while retaining key information.
[0044] After feature reduction, user behavior time series modeling is required to analyze user behavior patterns. Specifically, the system performs time series modeling on users' historical operation records to extract behavioral patterns in different time periods. For example, users may habitually turn on their smart coffee machine at 7 a.m. and turn off all the lights in their homes at 10 p.m. These behavioral patterns are transformed into user behavior time series model data, further providing a foundation for multi-dimensional user behavior pattern analysis. Multi-dimensional user behavior pattern analysis not only considers users' biometrics but also their usage habits and operational intentions, thereby comprehensively describing users' behavioral characteristics. The result of this step is user behavior pattern feature data, which will play an important role in subsequent dynamic access permission assessment.
[0045] Entering the dynamic access permission assessment phase, the system first acquires the user's historical access record data and combines it with user behavior pattern feature data to predict access intent. Access intent prediction uses machine learning algorithms, such as support vector machines (SVM) or deep neural networks (DNN), to predict the user's current operational intent by learning from the user's historical behavior. For example, if a user frequently turns on the coffee machine in the morning, the system will predict that the user has a high intention to turn on the coffee machine in the morning. This prediction result works together with the user behavior pattern feature data to generate dynamic access permission data. The dynamic access permission data flexibly adjusts the user's access permissions to IoT devices based on the user's specific behavioral characteristics and current scenario requirements. For example, in the above scenario, the system may temporarily grant the user full control over the smart coffee machine while restricting their access to other devices.
[0046] After the dynamic access permission assessment is completed, the system enters the distributed encrypted communication protocol generation stage. This stage first allocates distributed public key infrastructure (PKI) nodes based on the dynamic access permission data. The core idea of distributed PKI node allocation is to distribute the management of encryption keys across multiple nodes, avoiding a single node becoming an attack target. For example, the system can shard a user's encryption key and store it across multiple blockchain nodes, with each node only storing a portion of the key information. This distributed key management method significantly improves the system's security. Subsequently, the system verifies the distributed PKI node allocation data using a blockchain consensus mechanism to ensure the legality and consistency of the key allocation. The blockchain consensus mechanism verification includes steps such as node trust assessment, dynamic weight allocation, and optimal consensus algorithm selection. For example, the system calculates the trust level of each node based on its historical performance and current state, and assigns a corresponding weight to each node. Based on these weights, the system selects the optimal consensus algorithm (such as PoW or PBFT) and verifies the distributed PKI node allocation data. After successful verification, the system generates distributed encrypted communication protocol data, laying the foundation for the subsequent construction of secure communication links.
[0047] The specific process for generating the distributed encrypted communication protocol also includes key fragmentation and communication link encryption strength assessment. In the key fragmentation stage, the system performs encrypted key fragmentation on the blockchain consensus verification data, dividing the key into multiple fragments and optimizing their distribution. For example, key fragments may be stored on geographically dispersed nodes to reduce the risk of single points of failure. Subsequently, the system generates distributed encrypted communication protocol data based on the optimized key fragment distribution data and assesses the encryption strength of the communication link. The communication link encryption strength assessment determines the security of the communication link by comprehensively analyzing link latency, volatility, and load conditions. For example, the system uses the following formula to optimize and assess link latency:
[0048] in, This indicates the optimized link latency. Indicates the average link delay. The standard deviation of link delay Indicates link load. , and These are weighting coefficients used to balance the influence of various factors. This formula achieves a comprehensive evaluation and optimization of communication link performance by taking into account the mean, volatility, and load conditions of link latency. For example, in a certain scenario, if the average link latency is high but the volatility is low, the system will appropriately increase the weight of α to prioritize reducing link latency. Finally, the system iteratively optimizes the secure communication protocol based on the communication link encryption strength evaluation results to generate the final distributed encrypted communication protocol data.
[0049] After generating the distributed encrypted communication protocol, the system enters the secure communication link construction phase. This phase first initializes the communication link configuration based on the distributed encrypted communication protocol data, generating initial communication link data. For example, the system configures parameters such as bandwidth, latency, and encryption algorithm of the communication link according to the protocol data. Subsequently, the secure communication link is constructed based on the initial communication link data. During the construction process, the system estimates the latency of the communication link and optimizes the link performance through nonlinear regression analysis. For example, the system may use a multinomial regression model to fit the link latency data and extract the main influencing factors of latency. Based on the regression analysis results, the system further optimizes the communication link load balancing to ensure the reasonable allocation of link resources. For example, if the load on a certain link is too high, the system will automatically transfer some of its traffic to other links to achieve load balancing. Finally, the system generates secure communication link data based on the optimization results.
[0050] Finally, the system optimizes the real-time access control policy for secure communication link data, generating real-time access control policy data. The goal of this stage is to dynamically adjust the access control policy based on the current communication link status and user behavior characteristics. For example, if the system detects a sudden increase in latency on a link, it will temporarily restrict non-essential operations on that link to prioritize the execution of critical tasks. In addition, the system will update the user's access permissions based on the user's real-time behavior. For example, if a user attempts to access a restricted device continuously within a short period of time, the system will lower the user's access permission level to prevent potential security threats. In this way, the system achieves fine-grained management and real-time protection of IoT device access.
[0051] In summary, this invention significantly improves the security, flexibility, and scalability of IoT device access through multimodal biometric data collection, user behavior pattern analysis, dynamic access permission assessment, distributed encrypted communication protocol generation, and secure communication link construction and optimization. In practical applications, this method can be widely used in smart homes, industrial IoT, smart cities, and other fields to provide users with safer and more convenient services. For example, in a smart home scenario, users can quickly access home devices through fingerprint recognition, and the system will dynamically adjust permissions based on their behavioral habits to ensure the efficiency and security of device use. At the same time, the construction of distributed encrypted communication protocols and secure communication links effectively resists external attacks and protects the privacy and integrity of user data.
[0052] The foregoing has shown and described the basic principles, main features, and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The embodiments and descriptions in the specification are merely illustrative of the principles of the invention. Various changes and modifications can be made to the invention without departing from its spirit and scope, and all such changes and modifications fall within the scope of the present invention as claimed. The scope of protection of the present invention is defined by the appended claims and their equivalents.
Claims
1. A user identification based Internet of Things device access method, characterized by, The method comprises the following steps: step S1: acquiring identity data of a user by a multi-modal biometric feature acquisition device to obtain a user identity feature data set; Performing multi-dimensional user behavior pattern analysis based on the user identity feature data set to obtain user behavior pattern feature data; Step S2: performing dynamic access permission evaluation based on the user behavior pattern feature data to obtain dynamic access permission data; Generating a distributed encryption communication protocol based on the dynamic access permission data to obtain distributed encryption communication protocol data; The step S2 comprises the following steps: Step S21: obtaining user historical access record data; predicting access intention based on the user behavior pattern feature data to obtain access intention prediction data; Step S22: performing dynamic access permission evaluation based on the access intention prediction data and the user behavior pattern feature data to obtain dynamic access permission data; step S23: distributing a distributed public key infrastructure node based on the dynamic access permission data to obtain distributed PKI node distribution data; step S24: verifying the distributed PKI node distribution data by a blockchain consensus mechanism to obtain blockchain consensus verification data; step S25: generating a distributed encryption communication protocol based on the blockchain consensus verification data to obtain distributed encryption communication protocol data; The step S24 comprises the following steps: Step S241: obtaining blockchain network node state data; evaluating the node trust degree of the blockchain network node state data to obtain node trust degree evaluation data; Step S242: dynamically allocating weights to the node trust degree evaluation data to obtain dynamic weight allocation data; Step S243: selecting a consensus algorithm based on the dynamic weight allocation data to obtain optimal consensus algorithm data; step S244: verifying the distributed PKI node distribution data by a consensus mechanism based on the optimal consensus algorithm data to obtain blockchain consensus verification data; The step S25 comprises the following steps: Step S251: performing encryption key fragmentation processing on the blockchain consensus verification data to obtain encryption key fragmentation data; distributing and optimizing keys based on the encryption key fragmentation data to obtain key fragmentation distribution optimization data; Step S252: generating a distributed encryption communication protocol based on the key fragmentation distribution optimization data to obtain distributed encryption communication protocol data; step S253: evaluating the encryption strength of a communication link based on the distributed encryption communication protocol data to obtain communication link encryption strength data; step S254: iteratively optimizing a secure communication protocol based on the communication link encryption strength data to obtain secure communication protocol optimization data; step S255: generating a distributed encryption communication protocol based on the secure communication protocol optimization data to obtain final distributed encryption communication protocol data; Step S3: constructing a secure communication link based on the distributed encryption communication protocol data to obtain secure communication link data; optimizing a real-time access control strategy based on the secure communication link data to obtain real-time access control strategy data. 2.The user identification based IoT device access method of claim 1, wherein, The step S3 comprises the following steps: Step S31: communication link initialization configuration is performed on the distributed encryption communication protocol data, and communication link initialization data is obtained; Step S32: a secure communication link is constructed based on the communication link initialization data, and secure communication link data is obtained; and step S33: real-time access control strategy optimization is performed on the secure communication link data, and real-time access control strategy data is obtained. 3.The user identification based IoT device access method of claim 2, wherein, The step S32 includes the following steps: Step S321: link delay estimation is performed on the communication link initialization data, and link delay estimation data is obtained; Step S322: nonlinear regression analysis is performed on the link delay estimation data, and link delay regression data is obtained; step S323: communication link load balancing optimization is performed based on the link delay regression data, and communication link load balancing optimization data is obtained; and step S324: a secure communication link is constructed according to the communication link load balancing optimization data, and secure communication link data is obtained. 4.The user identification based IoT device access method of claim 1, wherein, The link delay is optimized and evaluated by using the following formula: wherein, denotes the optimized link delay, denotes the link average delay, denotes the standard deviation of the link delay, denotes the link load, , and are weight coefficients, respectively.
5. A user identification based Internet of Things device access system, characterized by, The system is used for performing the Internet of Things device access method as claimed in any one of claims 1 to 4, and includes: a user behavior pattern analysis module (1) used for performing identity data collection on a user by a multi-modal biological feature collection device, obtaining a user identity feature data set, performing multi-dimensional user behavior pattern analysis based on the user identity feature data set, and obtaining user behavior pattern feature data; a dynamic access permission evaluation module (2) used for performing dynamic access permission evaluation according to the user behavior pattern feature data, obtaining dynamic access permission data, generating a distributed encryption communication protocol based on the dynamic access permission data, and obtaining distributed encryption communication protocol data; a real-time access control strategy optimization module (3) used for constructing a secure communication link on the distributed encryption communication protocol data, obtaining secure communication link data, and performing real-time access control strategy optimization based on the secure communication link data, and obtaining real-time access control strategy data.
6. The user identification based IoT device access system of claim 5, wherein, The user behavior pattern analysis module (1) includes a multi-modal biological feature collection device (11) used for collecting fingerprint information, iris information and face feature information of a user; and the dynamic access permission evaluation module (2) includes a distributed public key infrastructure node distribution unit (21) and a blockchain consensus mechanism verification unit (22).
Citation Information
Patent Citations
A Smart Home Appliance Control Method Based on Object Access Control
CN103309307B
Intelligent terminal operation scenario optimization system and method based on multi-dimensional behavior data
CN119620628B
Private domain live broadcast data storage and visitor authentication method and system based on block chain
CN119363316A
Dynamic access control policy system based on behavior
CN120528664A