A network configuration system and method for Internet of Things devices using NFC technology
Through the cooperation of NFC technology and cloud servers, the Internet of Things devices are simplified, secure and efficiently distributed, solving the problems of complex and security threats of traditional distribution network methods, and improving user experience and device security.
Patent Information
- Application Number
- CN202311240369.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-22
- Publication Date
- 2025-04-01
AI Technical Summary
Traditional IoT devices have complex methods of network distribution and security threats, making it difficult to seamlessly connect with mobile devices, resulting in poor user experience.
Using NFC technology, through NFC tag storage device identification information and distribution data, users only need to bring the NFC module of the mobile device close to the NFC tag on the Internet of Things device, the system will automatically complete the distribution process, and perform permission control and security verification through the cloud server.
It simplifies the distribution process, improves user experience, reduces security threats, and seamlessly connects with mobile devices, saving equipment power and other resources.
Smart Images

Figure SMS_1 
Figure SMS_2 
Figure SMS_3
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of Internet of Things, and in particular to an Internet of Things device network configuration system and method using NFC technology. Background Art
[0002] The Internet of Things (IoT) is an important trend in the development of science and technology in recent years. Its core is to connect various objects to the network to achieve intelligent control and management. With the increasing popularity of IoT devices, such as smart homes, smart wearables, and smart medical care, users have higher expectations for the experience of device connection and configuration. They hope to have a way to quickly, simply, and safely add newly purchased or adjusted devices to the existing system.
[0003] Traditional network configuration methods, such as Wi-Fi and Bluetooth connections, are widely used, but users often face a series of challenges. First, these methods usually require users to perform multiple steps, such as entering passwords, selecting networks, and waiting for devices to search and connect, which not only consumes users' time but may also lead to operational errors. Second, due to the wide communication range of these network configuration methods, they are vulnerable to multiple security threats such as man-in-the-middle attacks and counterfeit device attacks, increasing the risk of user data leakage, especially in smart home environments, which may involve user privacy and physical safety.
[0004] In addition, as mobile devices, especially smartphones and tablets, become increasingly important in people's lives, it becomes crucial to provide users with an easy way to work with these devices. However, the network configuration process of many IoT devices still cannot perfectly cooperate with these mobile devices, resulting in a poor user experience. Summary of the invention
[0005] In order to solve the above problems, the present invention provides an Internet of Things device network configuration system and method using NFC technology, which can effectively solve the deficiencies in the prior art.
[0006] The present invention is implemented by the following technical solution: an Internet of Things device network configuration system using NFC technology, the system comprising:
[0007] IoT devices;
[0008] NFC tag, the NFC tag is used to store device identification information and network configuration related data;
[0009] A user terminal having an NFC function and configured to interact with an NFC tag;
[0010] Cloud server, used to store device information, network configuration data and other information related to network configuration.
[0011] As a preferred technical solution, the NFC tag includes:
[0012] Record #1 is used to write a URL that supports the iOS Universal Links function and write the device identification information into the URL;
[0013] Record#2 is used to write the Android APP package name.
[0014] As a preferred technical solution, the cloud server further includes a permission control module, which is used to ensure that the network configuration request comes from an authorized user and set the network configuration permission level.
[0015] As a preferred technical solution, the IoT device is internally provided with a sensor for detecting any physical tampering with the device.
[0016] The present invention provides a method for network configuration of an Internet of Things device using NFC technology, the method comprising the following steps:
[0017] S1: The user brings the NFC module of the mobile device close to the NFC tag on the IoT device;
[0018] S2: The mobile device system identifies the NFC tag and determines whether the corresponding application is installed on the device;
[0019] S3: The application obtains and parses the URL information in the NFC tag;
[0020] S4: The application sends the parsed key ID data to the cloud server;
[0021] S5: The cloud server returns the corresponding Bluetooth identification information;
[0022] S6: The application communicates with the IoT device based on the Bluetooth identification information returned by the cloud server and completes the network configuration process.
[0023] As a preferred technical solution, the data transmission process includes the following security measures:
[0024] S1.1: Use digital signatures to ensure data integrity;
[0025] S1.2: Encrypt NFC tag data using AES or other advanced encryption standards;
[0026] S1.3: Establish a secure channel between the mobile phone and the IoT device;
[0027] S1.4: Dynamically generate a one-time verification code for verification;
[0028] S1.5: Use timestamp or random number technology to prevent replay attacks;
[0029] S1.6: Perform two-way identity authentication;
[0030] S1.7: Detect tampering of the device;
[0031] S1.8: Perform authority control and inspection.
[0032] As a preferred technical solution, the IoT device has an adaptive learning function, and its features include:
[0033] S7.1: The cloud server collects and analyzes operation data from IoT devices, user operation habits and external environmental conditions;
[0034] S7.2: The cloud server uses a machine learning algorithm based on the collected data to predict user needs and generate optimized equipment operating parameters;
[0035] S7.3: The cloud server sends the optimized device operating parameters to the IoT device through a secure channel established with the IoT device;
[0036] S7.4: The IoT device receives the optimization parameters sent by the cloud server and automatically adjusts its working mode based on these parameters to adapt to the user's predicted needs.
[0038] An NFC tag of the present invention is used to store device identification information and network configuration related data of an Internet of Things device, and the tag further comprises:
[0039] R1: A record used to write URLs that support the iOS Universal Links function;
[0040] R2: Record used to write the Android APP package name.
[0041] As a preferred technical solution, the data of the tag is digitally signed and highly encrypted to ensure the integrity and privacy of the data.
[0042] As a preferred technical solution, the NFC tag has a double-layer identity authentication function, specifically including:
[0043] R10.1: The NFC tag has a secure storage area inside for storing user-specific biometric data, such as fingerprints, irises or voice features;
[0044] R10.2: When a user attempts to use an NFC tag for network configuration, in addition to conventional device identification verification, the mobile device must also obtain the user's real-time biometric data;
[0045] R10.3: The mobile device matches the acquired biometric data with the biometric data stored in the NFC tag;
[0046] R10.4: Only when the two are matched successfully, the application will further execute the network configuration process, thus ensuring that only authorized users can complete the network configuration.
[0047] The beneficial effects of the present invention are as follows: the present invention uses NFC technology, and the user only needs to bring the mobile device close to the IoT device to complete the network configuration, which greatly simplifies the traditional multi-step operation and provides a more convenient experience for the user;
[0048] NFC technology has a short communication distance, which reduces the possibility of remote illegal eavesdropping or interference. In addition, NFC can be easily combined with other security technologies, such as encryption and authentication, to further ensure the security of the network configuration process.
[0049] The response time of the NFC network configuration process is short. Users no longer need to wait for devices to search and connect, which greatly shortens the entire network configuration time.
[0050] Considering that NFC technology has been widely integrated into various mobile devices, the IoT device network configuration system of the present invention can be seamlessly connected with a variety of devices and platforms. Compared with traditional Wi-Fi and Bluetooth network configuration, NFC network configuration does not require continuous broadcasting of signals, thereby saving power and other resources of the device.
[0051] In addition, the simplified operation process, enhanced security and efficient network distribution speed of the present invention together bring users a better experience, thereby improving their satisfaction and trust in IoT devices. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0053] Figure 1 The present invention is a flowchart of the use of the present invention. DETAILED DESCRIPTION
[0054] All features disclosed in this specification, or steps in all methods or processes disclosed, except mutually exclusive features and / or steps, can be combined in any manner.
[0055] Any feature disclosed in this specification (including any additional claims, abstract and drawings), unless otherwise stated, may be replaced by other equivalent or alternative features with similar purposes. That is, unless otherwise stated, each feature is only an example of a series of equivalent or similar features.
[0056] like Figure 1 As shown, a network configuration system for Internet of Things devices using NFC technology of the present invention, the system includes an Internet of Things device;
[0057] NFC tag, the NFC tag is used to store device identification information and network configuration related data;
[0058] A user terminal having an NFC function and configured to interact with an NFC tag;
[0059] Cloud server, used to store device information, network configuration data and other information related to network configuration.
[0060] Basic environment preparation:
[0061] 1.Android application configuration:
[0062] –Add NFC permission in AndroidManifest.xml:<uses-permission android:name="android.permission.NFC" / > .
[0063] –Use tags to receive NFC events. The following is an example of an AndroidManifest.xml file: [Official documentation attached]
[0064] –<? xml version="1.0" encoding="utf-8"? >
[0065]
[0066]
[0067]
[0068] 2.iOS environment configuration:
[0069] – Add the apple-app-site-association file to the website directory to support iOS UniversalLinks, ensuring that NFC scanning can directly navigate to the app instead of the web page. The following is an example of an apple-app-site-association file: [Official document attached]
[0070]
[0071]
[0072] NFC tag production
[0073] To ensure the integrity and security of data, encryption or signing methods are used to ensure that the data in the NFC tag is not tampered with during transmission. NFC tags should contain:
[0074] 1. Record#1: Write a URL that supports the iOS Universal Links function and write the device identification information into the URL so that the specific device can be located in the subsequent network configuration process. For example: https: / / nfc.rinoiot.com / {appId} / nfc-control? uuid={device uuid}&pid={product id}
[0075] 2. Record#2: Enter the Android APP package name, such as com.rinoiot.smart.
[0076] Usage Process
[0077] 1. The user brings the NFC module on the mobile device close to the NFC tag on the IoT device.
[0078] 2. The mobile device system recognizes the NFC tag and determines whether the application is installed on the device. If not, the app store is opened to prompt the user to install the application. If already installed, the application is opened to prompt the user to install the application.
[0079] 3. After the user opens the application according to the prompt, the application completely obtains the URL information in the NFC tag and parses the key ID data.
[0080] 4. The application sends the acquired key ID data to the cloud, and the cloud returns the Bluetooth identification information of the device.
[0081] 5. The application finds nearby IoT devices based on the Bluetooth identification information returned by the cloud and sends the network configuration information to the device.
[0082] 6. After receiving the network configuration data, the IoT device connects to the network and completes the network configuration process.
[0083] Security
[0084] 1. Short-distance feature: The working distance of NFC technology is usually within 4 cm, which greatly reduces the risk of being read by illegal devices.
[0085] 2. Data Integrity and Encryption:
[0086] – Data in NFC tags can be digitally signed to ensure data integrity during transmission. Any unauthorized modification of the data can be easily detected.
[0087] – Encrypt data stored on NFC tags using AES or other advanced encryption standards to ensure data privacy.
[0088] 3. Secure channel: Establish a secure channel between mobile phones and IoT devices to ensure that the network configuration information is not stolen or tampered with during transmission.
[0089] 4. Dynamic Verification:
[0090] – When the mobile phone reads the NFC tag, the cloud server can dynamically generate a one-time verification code, which the mobile app must enter to proceed to the next step, thus ensuring the security of the network configuration process.
[0091] – The information in an NFC tag can be changed periodically or based on specific conditions, making it dynamic and reducing the risk of illegal copying or tampering.
[0092] 5. Two-way authentication:
[0093] – During the network configuration process, not only does the mobile phone authenticate the IoT device, but the IoT device also authenticates the mobile phone to ensure that both parties are legitimate and trustworthy.
[0094] 6. Anti-replay attack:
[0095] – Use timestamp or random number technology to ensure that each network configuration request is unique, preventing attackers from capturing and resending network configuration requests;
[0096] 7. Device tampering detection:
[0097] – Sensors can be installed inside the device to detect any physical tampering with the device, such as attempts to open the device or access internal circuits. Once tampering is detected, the device can immediately sound an alarm and stop working;
[0098] 8. Permission control:
[0099] – During the network configuration process, the cloud server can perform permission checks on requests to ensure that the requests come from authorized users. In addition, network configuration permission levels can be set, such as administrators and ordinary users, to limit the network configuration capabilities of different users;
[0100] The above measures can further ensure that the NFC-based IoT device configuration experience is not only simple, efficient, but also secure. This is essential to ensure the privacy of user data and the integrity of the device.
[0101] The detailed steps are as follows:
[0102] NFC identification: The user uses the NFC module on the mobile device to approach the NFC tag on the IoT device.
[0103] Device response: The mobile device automatically recognizes the NFC tag and triggers related events. At this time, the system will check the URL or package name on the tag to determine whether the corresponding application needs to be launched or downloaded.
[0104] Data parsing: After the application is launched, it will read the URL information of the NFC tag. It will parse the device ID and other related information from the URL.
[0105] Communicate with the cloud: The application sends the device ID parsed from the NFC tag to the cloud server. The cloud server returns the network configuration information of the corresponding IoT device based on the device ID.
[0106] Complete network configuration: The application completes the device network configuration process based on the network configuration information received from the cloud server.
[0107] Here is an example:
[0108] Consider a user who has purchased a smart desk lamp with a built-in NFC module. The user wants to connect this desk lamp to the Wi-Fi at home. The user only needs to activate the NFC function of the mobile phone and bring it close to the NFC tag area of the desk lamp. The mobile phone automatically reads the NFC data, opens the corresponding application, and the user enters the password of the home Wi-Fi in the application. The application sends the password to the desk lamp, and the desk lamp automatically completes the Wi-Fi connection. The whole process is simple and fast.
[0109] Through this specific implementation, the present invention realizes a network configuration method for Internet of Things devices using NFC technology, ensuring the simplicity, speed and security of network configuration.
[0110] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that are not conceived through creative work should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope defined in the claims.
Claims
1. An Internet of Things device network configuration system using NFC technology, characterized in that: The system comprises: IoT devices; NFC tag, the NFC tag is used to store device identification information and network configuration related data; A user terminal having an NFC function and configured to interact with an NFC tag; Cloud server, used to store device information, network configuration data and other information related to network configuration.
2. The Internet of Things device network configuration system using NFC technology according to claim 1, characterized in that: The NFC tag comprises: Record #1 is used to write a URL that supports the iOS Universal Links function and write the device identification information into the URL; Record#2 is used to write the Android APP package name.
3. The Internet of Things device network configuration system using NFC technology according to claim 1, characterized in that: The cloud server further includes a permission control module, which is used to ensure that the network configuration request comes from an authorized user and set the network configuration permission level.
4. The Internet of Things device network configuration system using NFC technology according to claim 1 or 2, characterized in that: The IoT device is internally provided with a sensor for detecting any physical tampering with the device.
5. A method for network configuration of Internet of Things devices using NFC technology, characterized in that: The method comprises the following steps: S1: The user brings the NFC module of the mobile device close to the NFC tag on the IoT device; S2: The mobile device system identifies the NFC tag and determines whether the corresponding application is installed on the device; S3: The application obtains and parses the URL information in the NFC tag; S4: The application sends the parsed key ID data to the cloud server; S5: The cloud server returns the corresponding Bluetooth identification information; S6: The application communicates with the IoT device based on the Bluetooth identification information returned by the cloud server and completes the network configuration process.
6. The method for network configuration of Internet of Things devices using NFC technology according to claim 5, characterized in that: The data transmission process described includes the following security measures: S1.1: Use digital signatures to ensure data integrity; S1.2: Encrypt NFC tag data using AES or other advanced encryption standards; S1.3: Establish a secure channel between the mobile phone and the IoT device; S1.4: Dynamically generate a one-time verification code for verification; S1.5: Use timestamp or random number technology to prevent replay attacks; S1.6: Perform two-way identity authentication; S1.7: Detect tampering of the device; S1.8: Perform authority control and inspection.
7. The method for network configuration of IoT devices using NFC technology according to claim 5, characterized in that: The IoT device has an adaptive learning function, and its features include: S7.1: The cloud server collects and analyzes operation data from IoT devices, user operation habits and external environmental conditions; S7.2: The cloud server uses a machine learning algorithm based on the collected data to predict user needs and generate optimized equipment operating parameters; S7.3: The cloud server sends the optimized device operating parameters to the IoT device through a secure channel established with the IoT device; S7.4: The IoT device receives the optimization parameters sent by the cloud server and automatically adjusts its working mode based on these parameters to adapt to the user's predicted needs.
8. An NFC tag, characterized in that: The tag is used to store device identification information and network configuration related data of the IoT device, and the tag further includes: R1: A record used to write URLs that support the iOS Universal Links function; R2: Record used to write the Android APP package name.
9. The NFC tag according to claim 7, characterized in that: The data in the tag is digitally signed and highly encrypted to ensure the integrity and privacy of the data.
10. The NFC tag according to claim 8, characterized in that: The NFC tag has a double-layer identity authentication function, specifically including: R10.1: The NFC tag has a secure storage area inside for storing user-specific biometric data, such as fingerprints, irises or voice features; R10.2: When a user attempts to use an NFC tag for network configuration, in addition to conventional device identification verification, the mobile device must also obtain the user's real-time biometric data; R10.3: The mobile device matches the acquired biometric data with the biometric data stored in the NFC tag; R10.4: Only when the two are matched successfully, the application will further execute the network configuration process, thus ensuring that only authorized users can complete the network configuration.