IoT device gateway configuration method, router and platform suitable for multi-family environment

Through the dynamic identification and configuration mechanism of portable routers, the problems of complex equipment configuration and low security in multi-household construction environments are solved, efficient, safe and reliable IoT equipment deployment is achieved, and construction efficiency is improved.

CN119789067APending Publication Date: 2025-04-08XIAMEN LEELEN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411959484.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-30
Publication Date
2025-04-08

AI Technical Summary

Technical Problem

In multi-family construction environments, existing portable routers cannot automatically sense environmental changes, resulting in complex equipment configuration, low security, and serious cross-family interference, which cannot meet the needs of efficient, safe and reliable IoT device deployment.

Method used

Through the hardware detection module and the wireless network search module, the portable router adopts a trigger mechanism of dynamic identification and configuration, including cold start detection, surrounding WiFi environment scanning and key operation, and automatically generates new SSID, password and network identifiers to ensure independent configuration every time you enter a new user environment.

Benefits of technology

It realizes intelligent perception and automatic configuration of portable routers in multi-family environments, improves the independence, security and reliability of IoT device configuration, significantly improves construction efficiency, and reduces operational complexity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119789067A_ABST
    Figure CN119789067A_ABST
Patent Text Reader

Abstract

The present invention discloses an IoT device gateway configuration method, a router and a platform suitable for a multi-household environment, which relates to the field of electrical communication technology. Through an intelligent network identification and generation mechanism, the invention fundamentally solves the independence, security and reliability problems of IoT device configuration in a multi-household construction environment, significantly improves construction efficiency, reduces operational complexity, and provides strong support for the large-scale deployment of smart homes and IoT devices.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of electrical communication technology, and in particular to an IoT device gateway configuration method, a router and a platform suitable for a multi-household environment. Background Art

[0002] In large-scale deployments of smart homes and IoT devices, construction workers often rely on portable routers to provide necessary network access for devices that have not yet been configured. However, when multiple user devices are connected to the same portable router, problems such as cross-region connection errors or improper gateway selection may occur, which may cause device configuration failures or network interference.

[0003] The existing technology has the following problems: (1) Figure 1 As shown in the figure, for example, in a multi-household construction environment, if the portable router of the previous user (household A) is not powered off or reset after the construction is completed, when the construction is carried out for the next user (household B), the device of the previous user may be mistakenly connected to the portable router of the next user, resulting in confusion in device configuration and even affecting the normal use of the device. (2) Construction personnel need to manually configure the SSID and password of the portable router. At the same time, they may forget to update the network ID or password every time they switch user environments, resulting in low configuration efficiency and prone to errors. (3) Existing portable routers cannot automatically sense changes in the environment (such as changes in power status, changes in surrounding WiFi signals, device access status, etc.), and need to rely entirely on manual judgment to determine whether to enter a new user environment, which is inefficient and prone to errors. (4) When multiple construction teams are working at the same time, signal interference may occur between portable routers due to channel overlap or SSID conflict, making it difficult for devices to correctly connect to the target portable router, increasing the complexity of construction.

[0004] It can be seen that the existing technology has many defects in multi-household construction scenarios, mainly manifested in complex manual operation, low security, serious cross-household interference and lack of environmental perception capabilities, which cannot meet the requirements of efficient, safe and reliable IoT device deployment. Therefore, realizing the intelligent perception of new environments by portable routers and being able to automatically generate independent network identifiers and security credentials has become a key technical challenge to improve the efficiency and reliability of IoT device configuration. Summary of the invention

[0005] The purpose of the present invention is to provide an IoT device gateway configuration method, a router and a platform suitable for a multi-household environment, which aims to overcome the above-mentioned problems existing in the prior art.

[0006] To achieve the above object, the present invention provides the following technical solutions: A method for configuring IoT device gateways in a multi-household environment uses a portable router to provide temporary network connections for IoT devices. The portable router uses the following triggering mechanism for dynamic identification and configuration: (1) Through the hardware detection module, determine whether the portable router is cold started; if a cold start is detected, the portable router generates a new SSID and password; (2) The wireless network search module periodically scans the BSSID list of the surrounding WIFI networks, and compares the scan results with the historical records. If the change of the surrounding network environment is detected to exceed the first threshold, it is determined that the portable router has entered a new network environment, and the portable router generates a new network identifier.

[0007] Furthermore, the first threshold is specifically that the number of newly added or disappeared SSIDs is greater than 5, or the BSSID change exceeds 50%.

[0008] Furthermore, the portable router also adopts the following triggering mechanism: (3) The portable router and / or the configuration page of the portable router is equipped with at least one button. If the construction personnel sends a first operation instruction to the portable router through the button, the portable router generates a new SSID and password; if the construction personnel sends a second operation instruction to the portable router through the button, the portable router generates a new network identifier.

[0009] Furthermore, by long pressing the button once, a first operation instruction is sent to the portable router; by long and short pressing the button twice, a second operation instruction is sent to the portable router.

[0010] Furthermore, in the trigger mechanism (1), if a cold start is detected, the hardware detection module issues a first prompt message, prompting the construction personnel to issue a first operation instruction to the portable router; after receiving the first operation instruction, the portable router generates a new SSID and password; In the trigger mechanism (2), if it is detected that the change in the surrounding network environment exceeds a first threshold, it is determined that the portable router has entered a new network environment, and the wireless network search module sends a second prompt message to prompt the construction personnel to send a second operation instruction to the portable router; after receiving the first operation instruction, the portable router generates a new network identifier.

[0011] Furthermore, after the portable router completes the configuration and binding of the IoT device of the current user, it records the number and MAC addresses of the bound IoT devices and makes them into a whitelist; the whitelist, BSSID list, and network identifier are stored in association; The method also includes a trigger mechanism (4): when the trigger mechanism (1) and the trigger mechanism (2) occur simultaneously, the portable router converts the white list into a black list, and stores the black list and its associated BSSID list and network identifier as a set of historical data in a database, and then generates a new SSID, password and new network identifier.

[0012] Furthermore, it also includes a trigger mechanism (5): if the wireless network search module detects that the overlap between the currently scanned BSSID list and the BSSID list in one set of historical data exceeds a second threshold, the blacklist in the set of historical data is converted into a whitelist.

[0013] The present invention also discloses a portable router, in which a computer-readable program is stored, and the computer-readable program is used to execute any of the above-described IoT device gateway configuration methods applicable to a multi-household environment.

[0014] The present invention also discloses a construction platform based on the Internet of Things, including a plurality of IoT devices and the router as described above.

[0015] Compared with the prior art, the present invention has the following beneficial effects: The present invention fundamentally solves the independence, security and reliability issues of IoT device configuration in multi-family construction environments through intelligent network identification and generation mechanisms, significantly improves construction efficiency, reduces operational complexity, and provides strong support for the large-scale deployment of smart homes and IoT devices. The beneficial effects are specifically divided into the following points: 1. Solve the gateway selection problem in a multi-tenant environment Through automatic triggering mechanisms (such as power status detection, WiFi environment scanning, etc.), it is possible to accurately identify whether the portable router has entered a new construction environment, thereby dynamically generating an independent SSID and password, avoiding IoT device connection confusion caused by incorrect gateway selection in multi-household construction environments.

[0016] 2. Improve construction efficiency The automated new environment recognition and network generation mechanism reduces manual operations of construction personnel and improves configuration efficiency. At the same time, channel allocation and MAC address filtering mechanisms are used to effectively avoid interference between portable routers in multi-person construction scenarios, further improving construction fluency.

[0017] 3. Reduce the risk of manual configuration errors The present invention reduces manual configuration errors to the maximum extent through a fully automatic or semi-automatic detection and generation mechanism, and avoids failures caused by human factors such as incorrect passwords and failure to switch networks.

[0018] 4. Ensure the security and independence of network configuration Use dynamically generated SSIDs and passwords (based on UUID, timestamp, random numbers, and encryption algorithms) to provide unique network credentials during each configuration process, ensuring that the network of each user environment is completely isolated and avoiding the risk of password leakage or device misconnection.

[0019] 5. Adapt to complex construction scenarios Optimized solutions that support multiple people working simultaneously (such as dynamic channel allocation and SSID extension identification) avoid interference problems caused by overlapping signals from multiple portable routers, and ensure the reliability and stability of IoT device configuration. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 A schematic diagram of a situation in which a misconnection occurs in a multi-family construction environment. DETAILED DESCRIPTION

[0021] The specific implementation of the present invention is described below with reference to the accompanying drawings. In order to fully understand the present invention, many details are described below, but for those skilled in the art, the present invention can be implemented without these details.

[0022] Embodiment 1 A method for configuring an IoT device gateway suitable for a multi-household environment uses a portable router to provide a temporary network connection for IoT devices.

[0023] The portable router includes a data storage module. In the process of establishing a temporary network connection, after the portable router completes the configuration and binding of the IoT device of the current user, it records the number and MAC addresses of the bound IoT devices and makes them into a whitelist, so that the IoT device can still connect to the portable router when the SSID and password are changed.

[0024] The whitelist, BSSID list, and network identifier are then associated and stored to form a set of current data.

[0025] The portable router includes a hardware detection module and a wireless network search module. When establishing and maintaining a temporary network connection, the portable router also uses the following trigger mechanisms for dynamic identification and configuration: Trigger mechanism (1): The hardware detection module determines whether the portable router is cold started (i.e., started for the first time after power-on); if a cold start is detected, the portable router automatically generates a new SSID and password.

[0026] 1. SSID generation: Generate a unique SSID using the UUID algorithm combined with the portable router MAC address, timestamp, and random number. For example: IoT_Setup_<first 6 digits of the portable router MAC>_<timestamp>.

[0027] Example: IoT_Setup_A1B2C3_1698777745 2. Password generation: Use the SHA256 encryption algorithm to combine the portable router MAC address, timestamp and random number to generate a high-strength dynamic password. The password is 8-12 characters long and contains uppercase and lowercase letters and numbers.

[0028] Example: X9k7L2A8 In addition, the generation of SSID and password has an anti-duplicate mechanism: the portable router has a built-in historical data recording function to ensure that the generated SSID and password are not repeated in a short period of time (such as 7 days).

[0029] Trigger mechanism (2): The wireless network search module periodically scans the BSSID list of the surrounding WIFI networks, and compares the scan result with the historical record. If the change of the surrounding network environment is detected to exceed the first threshold, it is determined that the portable router has entered a new network environment, and the portable router automatically generates a new network identifier.

[0030] Preferably, the first threshold is that the number of newly added or disappeared SSIDs is greater than 5, or the BSSID change exceeds 50%.

[0031] Trigger mechanism (3): The portable router is equipped with at least one button. If the construction personnel sends a first operation instruction to the portable router through the button, the portable router generates a new SSID and password; if the construction personnel sends a second operation instruction to the portable router through the button, the portable router generates a new network identifier. The button is a mechanical button or a touch button set on the portable router. Preferably, the first operation instruction is sent to the portable router by long pressing the button once; the second operation instruction is sent to the portable router by long and short pressing the button twice. Of course, the button can also be a button set on the configuration page of the portable router, or a button set on the remote control.

[0032] Trigger mechanism (4): When trigger mechanism (1) and trigger mechanism (2) occur simultaneously, the portable router converts the whitelist to a blacklist to prevent the IoT device of the previous user from mistakenly connecting to the portable router when the portable router enters the next user for construction; the portable router then stores the blacklist and its associated BSSID list and network identifier as a set of historical data in the database; then, the portable router automatically generates a new SSID and password and a new network identifier. After the portable router completes the configuration and binding of the new IoT device, it records the number and MAC address of the newly bound IoT devices and makes them into a new whitelist.

[0033] In addition, if an IoT device in the whitelist is abnormally disconnected, the router will try to restore the connection.

[0034] Trigger mechanism (5): If the wireless network search module detects that the overlap between the currently scanned BSSID list and the BSSID list in one of the sets of historical data exceeds a second threshold, the blacklist in the set of historical data is converted to a whitelist, so that the IoT devices on the whitelist can reconnect to the portable router. Trigger mechanism (5) is used to deal with the situation where construction personnel need to return to the site (i.e., return to the site of the previous user for construction) for some reason, so that the portable router can quickly complete the automatic configuration and rebuild the temporary network when returning to the previous user.

[0035] Preferably, the overlap degree can be calculated by the following formula: Overlapping degree = (number of overlapping records / number of records in the minimum data table) × 100%, and the second threshold includes but is not limited to 90%.

[0036] In addition, in the trigger mechanism (5), if the number of IoT devices connected to the portable router does not exceed the third threshold, the whitelist is converted back to the blacklist, and the wireless network search module sends a third prompt message to prompt the construction personnel to manually configure the portable router.

[0037] Preferably, the third threshold is: 50% of the total number of IoT devices in the whitelist.

[0038] To avoid interference caused by multiple portable routers working at the same time for different users, the portable routers also use the following mechanisms: (a): Channel optimization, that is, each portable router dynamically selects non-overlapping WiFi channels (such as 1, 6, 11).

[0039] Specifically, when the wireless network search module periodically scans the BSSID list of the surrounding WIFI networks, it will also periodically scan the SSID list of the surrounding WIFI networks. If it finds another portable router with the same SSID format as "IoT_Setup_<first 6 digits of the portable router MAC>_<timestamp>", when configuring the WiFi channel, select a WiFi channel that does not overlap with the other portable router. Then, the ChannelAlgApCnt algorithm is used to calculate the interference value by counting the APs (wireless access points) of each WiFi channel, and select a WiFi channel with fewer APs to further reduce interference. In addition, during operation, the portable router will also dynamically adjust the WiFi channel by scanning the surrounding signal strength and channel occupancy to further avoid conflicts.

[0040] (b): MAC address filtering, that is, each portable router is only allowed to bind the MAC address of IoT devices within the specified range to avoid cross-portable router connections.

[0041] (C): SSID identification extension, that is, the rules for dynamically generating a unique SSID and password.

[0042] Specifically, when the wireless network search module periodically scans the BSSID list of surrounding WIFI networks, it will also periodically scan the SSID list of surrounding WIFI networks. If it is found that there is another portable router with the same SSID format as "such as IoT_Setup_<first 6 digits of the portable router MAC>_<timestamp>", when configuring the SSID, select the SSID that does not overlap with the other portable router.

[0043] The first, second and third prompt information mentioned above include but are not limited to prompts through voice broadcast. Of course, prompts can also be given through flashing indicator lights or screen displays, or through pop-up windows on the configuration page. If the user does not respond in time, the portable router will issue a reminder through a buzzer and provide detailed information on the current status of the portable router on the configuration page.

[0044] The present invention also discloses a portable router, in which a computer-readable program is stored, and the computer-readable program is used to execute any of the above-described IoT device gateway configuration methods applicable to a multi-household environment.

[0045] The present invention also discloses a construction platform based on the Internet of Things, including a plurality of IoT devices and the router as described above.

[0046] Embodiment 2 The difference between the second embodiment and the first embodiment is that: In the trigger mechanism (1), the hardware detection module sends a first prompt message to prompt the construction personnel to send a first operation instruction to the portable router; after receiving the first operation instruction, the portable router generates a new SSID and password. After the hardware detection module sends the first prompt message, if the first operation instruction is not received for a certain period of time (such as 10 seconds), the portable router does not generate a new SSID and password, cancels the operation and records a log. Preferably, the portable router or its mobile control terminal also sends a reminder sound through a buzzer, and provides detailed information on the current status of the portable router on the configuration page.

[0047] In the trigger mechanism (2), if it is detected that the change in the surrounding network environment exceeds the first threshold, it is determined that the portable router has entered a new network environment, and the wireless network search module sends a second prompt message to prompt the construction personnel to send a second operation instruction to the portable router; after receiving the first operation instruction, the portable router generates a new network identifier. This prevents the trigger mechanism (2) from being accidentally triggered. After the wireless network search module sends the second prompt message, if the first operation instruction is not received for a certain period of time (such as 10 seconds), the portable router does not generate a new SSID and password, cancels the operation and records the log. Preferably, the portable router or its mobile control terminal will also send a reminder sound through a buzzer, and provide detailed information on the current status of the portable router on the configuration page.

[0048] The above is only a specific implementation of the present invention, but the design concept of the present invention is not limited to this. Any non-substantial changes to the present invention using this concept shall be deemed as an infringement of the protection scope of the present invention.

Claims

1. A method for configuring an IoT device gateway in a multi-household environment, using a portable router to provide a temporary network connection for IoT devices, characterized in that: The portable router uses the following triggering mechanism for dynamic identification and configuration: (1) Determine whether the portable router is cold started through the hardware detection module; if a cold start is detected, the portable router generates a new SSID and password; (2) The wireless network search module periodically scans the BSSID list of the surrounding WIFI networks, and compares the scan results with the historical records. If the change of the surrounding network environment is detected to exceed the first threshold, it is determined that the portable router has entered a new network environment, and the portable router generates a new network identifier.

2. According to claim 1, a method for configuring an IoT device gateway suitable for a multi-household environment is characterized in that: The first threshold is specifically that the number of newly added or disappeared SSIDs is greater than 5, or the BSSID change exceeds 50%.

3. According to claim 1, a method for configuring an IoT device gateway suitable for a multi-household environment is characterized in that: The portable router also adopts the following triggering mechanism: (3) The portable router and / or the configuration page of the portable router is equipped with at least one button. If the construction personnel sends a first operation instruction to the portable router through the button, the portable router generates a new SSID and password; if the construction personnel sends a second operation instruction to the portable router through the button, the portable router generates a new network identifier.

4. The IoT device gateway configuration method suitable for a multi-household environment according to claim 3, characterized in that: By long pressing the button once, a first operation instruction is sent to the portable router; by long and short pressing the button twice, a second operation instruction is sent to the portable router.

5. A method for configuring an IoT device gateway suitable for a multi-household environment according to claim 1, 3 or 4, characterized in that: In the trigger mechanism (1), if a cold start is detected, the hardware detection module issues a first prompt message to prompt the construction personnel to issue a first operation instruction to the portable router; after receiving the first operation instruction, the portable router generates a new SSID and password; In the trigger mechanism (2), if it is detected that the change in the surrounding network environment exceeds a first threshold, it is determined that the portable router has entered a new network environment, and the wireless network search module sends a second prompt message to prompt the construction personnel to send a second operation instruction to the portable router; after receiving the first operation instruction, the portable router generates a new network identifier.

6. The IoT device gateway configuration method applicable to a multi-household environment according to claim 5, characterized in that: After the portable router completes the configuration and binding of the IoT device of the current user, it records the number and MAC addresses of the bound IoT devices and makes them into a whitelist; the whitelist, BSSID list, and network identifier are associated and stored; The method also includes a trigger mechanism (4): when the trigger mechanism (1) and the trigger mechanism (2) occur simultaneously, the portable router converts the white list into a black list, and stores the black list and its associated BSSID list and network identifier as a set of historical data in a database, and then generates a new SSID, password and new network identifier.

7. The IoT device gateway configuration method applicable to a multi-household environment according to claim 6, characterized in that: The method also includes a trigger mechanism (5): if the wireless network search module detects that the overlap between the currently scanned BSSID list and the BSSID list in one set of historical data exceeds a second threshold, the blacklist in the set of historical data is converted into a whitelist.

8. A portable router, characterized in that: The portable router stores a computer-readable program, and the computer-readable program is used to execute an IoT device gateway configuration method applicable to a multi-household environment as described in any one of claims 1-8.

9. A construction platform based on the Internet of Things, characterized by: The invention comprises several IoT devices and the router as claimed in claim 8.