Systems and methods for internet of things (iot) network management

By introducing controlled whitelists and artificial intelligence models into IoT networks, the problems of complex device configuration and insufficient security are solved, achieving efficient and secure IoT network management and improving system resilience and management efficiency.

CN123187422APending Publication Date: 2026-11-27SHURUI TECHNOLOGY INTERNATIONAL CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202580031085.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-19
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing IoT network management solutions face problems such as complex device configuration, insufficient security, high computational complexity, and inefficient fault management when expanding, especially in large-scale deployments where automation and efficient management are difficult to achieve.

Method used

The system uses IoT management devices to generate a controlled whitelist, restricting communication between devices. It combines artificial intelligence models to cluster devices and predict maintenance needs, dynamically updates the whitelist, enables device upgrades and fault recovery, and improves network security through encrypted key management.

Benefits of technology

It improves the security and management efficiency of IoT networks, reduces computational complexity, enhances system resilience, and enables efficient and secure communication and automated management between devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123187422A_ABST
    Figure CN123187422A_ABST
Patent Text Reader

Abstract

The present disclosure relates to an Internet of Things (IoT) network having an IoT management device configured to manage a plurality of IoT devices (such as IoT end devices, gateways, and servers) of the IoT network. The IoT management device is configured to generate a controlled whitelist for each IoT device based on a corresponding device profile, where the controlled whitelist includes a set of IoT devices from the plurality of IoT devices that the IoT device is configured to only communicate with. Further, the IoT management device installs the plurality of IoT devices based on their corresponding controlled whitelists. The IoT management device also updates the controlled whitelists to ensure high availability, perform maintenance without interruption, upgrade the IoT devices, and the like.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of network management. In particular, this disclosure relates to systems and methods for managing Internet of Things (IoT) networks. Background Technology

[0002] The Internet of Things (IoT) is experiencing exponential growth, with applications penetrating into areas including, but not limited to, smart buildings, smart cities, industrial automation, transportation, and healthcare. The use of IoT devices and networks enables operators to increase the volume and quality of data collection, enhance the monitoring and processing of collected data, and allow for real-time data-driven decision-making, among other things. However, as IoT networks expand, the sheer number and diversity of IoT devices used (i.e., the communication protocols they employ, the functions they perform, and the coordination required between them) present several technical challenges.

[0003] For example, managing thousands or even millions of devices with varying capabilities, communication protocols, and security requirements is becoming increasingly complex and resource-intensive. Existing solutions are typically designed for smaller, more homogeneous networks and are insufficient to handle the sheer volume of IoT networks. This can lead to problems such as increased traffic congestion, rising costs (if IoT devices are connected one-to-one), and / or a heavier computational burden on routers / switches that facilitate communication between IoT devices. Furthermore, the heterogeneity of IoT networks can cause compatibility issues, where an IoT device using a first communication protocol cannot communicate with another IoT device using a second communication protocol. Therefore, existing solutions present significant computational and scheduling coordination challenges when scaling.

[0004] Furthermore, existing IoT networks also present technical challenges during expansion. For example, configuring and registering new devices added to an IoT network typically requires manual intervention, which is time-consuming and error-prone, especially in large-scale deployments.

[0005] Insecure management can introduce vulnerabilities into the process of connecting new devices to existing IoT networks. Current registration and configuration methods may lack automated security checks and verification steps, potentially allowing compromised or misconfigured devices to join the network, thus expanding the attack surface. These challenges are exacerbated by the diversity of IoT devices, each of which may require unique configuration steps and security protocols, making standardized and automated access processes difficult to achieve with existing solutions.

[0006] Existing solutions offer insufficient security mechanisms and lack the means to update these mechanisms as the network expands and / or shrinks. Current security solutions may also lack the granularity to enforce fine-grained access control and communication restrictions between devices, potentially leading to unauthorized data access or device manipulation due to lateral movement. Furthermore, existing security mechanisms may fail to dynamically adapt to evolving security threats discovered / developed by malicious attackers, further increasing the complexity of the network topology.

[0007] Furthermore, as IoT networks expand, the complexity of operation and maintenance, ensuring high availability, fault management, and / or upgrades also increases. Existing solutions typically rely on centralized push mechanisms or manual intervention, which often have polynomial or quadratic computational complexity relative to the number of IoT devices, leading to a sharp increase in computational and communication overhead as IoT networks expand. Moreover, current high availability strategies may lack the necessary automated orchestration, resulting in inefficient fault management at the IoT level, prolonged recovery times, and reduced system resilience as the network expands.

[0008] Therefore, there is a need for a solution for systems and methods for managing IoT networks that addresses the technical challenges associated with the scaling up and optimizing the operation of IoT networks. Summary of the Invention

[0009] This disclosure relates to an IoT management device for managing an IoT network comprising multiple Internet of Things (IoT) devices. The IoT management device includes a processor and a memory operatively coupled to the processor. The memory stores instructions that cause the processor to generate a controlled whitelist for each IoT device based on a corresponding device profile, wherein the controlled whitelist includes a set of IoT devices from the multiple IoT devices, the IoT devices being configured to communicate only with this set of IoT devices, and the multiple IoT devices are installed based on their corresponding controlled whitelists. This allows for enhanced security in the IoT network by restricting communication between devices to only those explicitly authorized devices.

[0010] In one or more implementations, the controlled whitelists of multiple IoT devices can be mutually referencing each other.

[0011] In one or more implementations, the processor may also be configured to dynamically update the controlled whitelist of multiple IoT devices based on changes in network conditions.

[0012] In one or more embodiments, when updating the controlled whitelist, the processor may be configured to monitor at least one of the following: the signal strength, performance, or workload of multiple IoT devices, and update the controlled whitelist of multiple IoT devices based on at least one of the following: the signal strength, performance, or workload of multiple IoT devices, wherein the controlled whitelist is updated iteratively until the multiple IoT devices operate within corresponding performance thresholds.

[0013] In one or more implementations, the processor may also be configured to upgrade at least one of a plurality of IoT devices.

[0014] In one or more embodiments, the processor may also be configured to restore multiple IoT devices to a previous version based on problems identified when updating at least one of the multiple IoT devices.

[0015] In one or more implementations, the processor can also be configured to incrementally upgrade multiple IoT devices.

[0016] In one or more implementations, the processor may also be configured to cluster multiple IoT devices into one or more clusters via an artificial intelligence (AI) model and predict maintenance requirements for the one or more clusters.

[0017] In one or more embodiments, when at least one IoT device from a plurality of IoT devices is unavailable, the processor may be configured to identify alternative paths for a group of IoT devices in a controlled whitelist of at least one IoT device, and update the group of IoT devices and the controlled whitelist of at least one IoT device.

[0018] In one or more embodiments, when at least one IoT device from a plurality of IoT devices is unavailable, the processor may be configured to: identify alternative IoT devices from the plurality of IoT devices based on corresponding device profiles to replace at least one IoT device, update the controlled whitelist of the plurality of IoT devices to add the alternative IoT device, and remove the at least one IoT device.

[0019] In one or more embodiments, the processor may also be configured to: receive an encryption key request from a requesting IoT device among a plurality of IoT devices to encrypt data transmitted from a first IoT device to a second IoT device; generate an encryption key based on the first IoT device and the second IoT device; and transmit the encryption key to the requesting IoT device, wherein the requesting IoT device is configured to encrypt the data using the encryption key.

[0020] In one or more embodiments, managing access to the decryption key may include: receiving a decryption key request from another IoT device among a plurality of IoT devices; determining a data role associated with the other IoT device; and transmitting a decryption key corresponding to the encryption key when the data role is authorized to access a data type associated with the encrypted data, wherein the other IoT device is configured to decrypt the encrypted data.

[0021] In one or more embodiments, the processor may also be configured to maintain an audit trail of the generation and / or transmission of encryption and / or decryption keys.

[0022] This disclosure relates to an IoT device in an Internet of Things (IoT) network. The IoT device includes a processor and a memory operatively coupled to the processor. The memory stores instructions that, when executed by the processor, cause the IoT device to: concatenate a message with a unique identifier (ID) of another IoT device; encrypt the concatenated message and the unique ID using a private key of the IoT device, wherein each pair of IoT devices in the IoT network has a corresponding public-private key pair; and transmit the encrypted message to the other IoT device.

[0023] In one or more embodiments, the processor may also be configured to: receive another encrypted message from another IoT device; decrypt the other encrypted message using the public key of the other IoT device; and verify the other encrypted message based on another unique ID of the IoT device.

[0024] In one or more embodiments, the processor may be configured to: retrieve an encryption key from an IoT management device; encrypt data received from a first IoT device in the IoT network using the encryption key; and transmit the encrypted data to a second IoT device in the IoT network.

[0025] In one or more embodiments, the processor may be configured to: transmit a decryption key request to an IoT management device, the decryption key request being associated with encrypted IoT data received by the IoT device; receive a decryption key from the IoT management device in response to the decryption key request, the decryption key being transmitted by the IoT management device when a data role associated with the IoT device is authorized to access the data type of the encrypted data; and decrypt the encrypted IoT data using the decryption key.

[0026] This disclosure relates to a method for managing an IoT network comprising multiple IoT devices. The method includes a processor generating a controlled whitelist for each IoT device based on corresponding device profiles, wherein the controlled whitelist includes a set of IoT devices from the multiple IoT devices, each IoT device being configured to communicate only with that set of IoT devices, and the processor installing the multiple IoT devices based on the corresponding controlled whitelists for the multiple IoT devices. This provides a method for establishing secure communication channels within an IoT network.

[0027] In one or more embodiments, the method may further include dynamically updating a controlled whitelist of each of the IoT devices by a processor based on changes in network conditions.

[0028] In one or more embodiments, the method may further include monitoring at least one of the signal strength, performance, or workload of a plurality of IoT devices by a processor, and updating a controlled whitelist of a plurality of IoT devices based on at least one of the signal strength, performance, and workload of the plurality of IoT devices, wherein the controlled whitelist of the plurality of IoT devices is updated iteratively until the plurality of IoT devices operate within corresponding performance thresholds.

[0029] Various objects, features, aspects and advantages of the inventive subject matter will become more apparent from the following detailed description of preferred embodiments and the accompanying drawings, in which similar reference numerals denote similar parts. Attached Figure Description

[0030] The accompanying drawings are included to provide an additional understanding of this disclosure, and are incorporated in and constitute a part of this specification. The drawings illustrate exemplary embodiments of this disclosure and, together with the description, serve to explain the principles of this disclosure.

[0031] Figure 1 This is a schematic diagram illustrating an exemplary Internet of Things (IoT) network architecture according to an embodiment of the present disclosure, which includes IoT terminal devices, gateways, servers, and IoT management devices.

[0032] Figure 2 This is a schematic diagram illustrating a mutually pointing controlled whitelist between two registered IoT devices according to an embodiment of the present disclosure.

[0033] Figure 3 This illustrates an embodiment of the present disclosure. Figure 2 A diagram illustrating the mutual pointing to the removal of connections from the controlled whitelist.

[0034] Figure 4This is a schematic diagram illustrating a controlled whitelist of sensor devices and gateway devices according to embodiments of the present disclosure.

[0035] Figure 5 This illustrates the removal according to an embodiment of the present disclosure. Figure 4 A schematic diagram of the connection between the sensor device and the gateway device.

[0036] Figure 6 This is a schematic diagram illustrating an external device in a controlled whitelist of registered IoT devices according to an embodiment of this disclosure.

[0037] Figure 7 This illustrates an embodiment of the present disclosure. Figure 6 A diagram illustrating the removal of external applications from a controlled whitelist.

[0038] Figure 8A and Figure 8B This is a schematic diagram illustrating the addition of a new IoT device to an existing IoT network according to an embodiment of this disclosure.

[0039] Figure 9 This is a schematic diagram illustrating an alternative high availability (HA) path in the event of a gateway failure in an IoT network according to an embodiment of this disclosure.

[0040] Figure 10 This illustrates an embodiment of the present disclosure when the gateway fails. Figure 9 A diagram illustrating how the alternative HA path becomes active.

[0041] Figure 11 This is a schematic diagram illustrating an alternative gateway for a faulty gateway in an IoT network according to an embodiment of the present disclosure.

[0042] Figure 12 This is a schematic diagram illustrating the alternative gateway connection after replacing a faulty gateway in an IoT network according to an embodiment of the present disclosure.

[0043] Figure 13 This is a schematic diagram illustrating an encrypted data format for protecting IoT data according to an embodiment of the present disclosure.

[0044] Figure 14 An example computer system according to an embodiment of the present disclosure is shown, in which, or using, an embodiment of the system can be implemented. Detailed Implementation

[0045] The details shown herein are merely illustrative and for the purpose of discussing various embodiments only, and are presented to provide what is considered the most useful and readily understandable description of the principles and concepts of the methods and compositions described herein. In this regard, no further details beyond those necessary for a basic understanding are presented; this description enables those skilled in the art to understand how several forms can be embodied in practice.

[0046] The large-scale deployment of Internet of Things (IoT) networks, such as in smart buildings, smart cities, smart manufacturing, and smart transportation, is becoming increasingly common. The massive number of IoT devices using various IoT network protocols presents challenges to the management of these devices within the IoT network. IoT device management encompasses the installation, security, operation, and maintenance of the IoT network.

[0047] This disclosure provides an IoT device manager or IoT management device for managing an IoT network. Raw data collected by IoT devices within the IoT network can be cleaned and preprocessed before being sent to a backend server for processing and analysis. The backend server may be located in a corporate data center, hosting facility, or public cloud, but is not limited to these locations, where data is stored, processed, modeled, and analyzed.

[0048] In some implementations, the IoT device manager or management device can be an application, computing device, or module / engine that performs device management functions, which may include, but are not limited to, device registration, secure configuration, secure communication, installation, and maintenance. Due to the large number of devices added to the IoT network during expansion, automation is likely to be a major part of the operation of the IoT management device.

[0049] IoT network architecture

[0050] Reference Figure 1 The IoT network 100 may include multiple IoT devices and an IoT management device 108. In some embodiments, the IoT terminal device 102 may have three types (i.e., IoT terminal device 102, gateway 104, server 106), which can communicate using any or a combination of IoT network protocols and / or Internet Protocol (IP) network protocols. Furthermore, the IoT management device 108 may be configured to manage the operation of the IoT network 100. In some embodiments, the IoT network 100 may also include a data storage unit 110 and an application layer / engine 112 operatively coupled to the IoT management device 108.

[0051] like Figure 1As shown, IoT network 100 may include three types of IoT devices. In some embodiments, IoT terminal device 102 may be a high-end IoT device, which may be configured to establish a secure IP connection (i.e., according to IP network protocols) directly or indirectly with server 106. In some embodiments, IoT terminal device 102 may include a low-cost terminal device, which may be configured to communicate via a specific IoT network protocol (such as between other low-cost terminal devices and / or with gateway 104 that understands the specific IoT network protocol). In some embodiments, IoT terminal device 102 may be configured to sense and collect data. For example, IoT terminal device 102 may be a temperature sensor configured to measure the temperature in different areas or rooms of a building. IoT terminal device 102 may collect raw data and transmit the raw data to other entities that can process and analyze the raw data and make decisions accordingly (such as transmitting to server 106 via gateway 104). For example, if IoT terminal device 102 is a temperature sensor that provides temperature readings in real time, the temperature readings may be processed and analyzed to determine which areas or rooms need to be cooled and / or heated to maintain an optimal temperature.

[0052] In some implementations, raw data may be transmitted in the form of data packets or signals. Data packets may be transmitted according to a specific IoT network protocol implemented by the IoT terminal device 102. Examples of specific IoT network protocols may include, but are not limited to, Long Range Wide Area Network (LoRaWAN), Zigbee, etc.

[0053] In some implementations, the IoT terminal device 102 can be configured to perform and conduct automated / remote control actions. In such implementations, the IoT terminal device 102 can directly access data from server 106 or external entities (such as backend or cloud servers). Figure 1 (Not shown) Receives instructions (in the form of data packets or signals), or receives instructions through gateway 104. In some embodiments, IoT terminal device 102 may be implemented within or connected to another device or entity, enabling IoT terminal device 102 to control that other device or entity. For example, when IoT network 100 is implemented in a smart building application, IoT terminal device 102 may be configured to measure the temperature of each room in the building and receive instructions to use cooling devices or heat pumps in the corresponding rooms to control the temperature.

[0054] In some embodiments, gateway 104 may be a device that facilitates communication of raw data from IoT terminal device 102 to other entities. In some embodiments, gateway 104 may be configured to transform data packets into a form compatible with the network protocols used by the source (i.e., IoT terminal device 102), the destination (i.e., server 106), and / or intermediate entities (such as routers or switches) through which the data packets can communicate. Therefore, gateway 104 may be a smart device. For example, gateway 104 may be configured to extend the reach of an IoT protocol network by allowing communication with other networks, such as Wi-Fi, Ethernet, or cellular networks, but not limited to these. In some embodiments, gateway 104 may be configured to communicate only with IoT terminal device 102 using a specific IoT network protocol and may be configured to support secure IP network protocols for communicating with other smart devices.

[0055] In some implementations, gateway 104 may be configured to collect raw data from IoT terminal device 102 and send the raw data to server 106, or directly to an external entity, such as a backend server in the cloud or on-premises, via an IP network. Gateway 104 may also be configured to send / transmit data packets or signals to IoT terminal device 102, such as controlling IoT terminal device 102 to perform a set of actions by controlling devices or entities associated with IoT terminal device 102.

[0056] In some implementations, the IoT network 100 may also include a server 106. Server 106 may be an IoT-related server, such as an edge server and / or other servers (e.g., an IoT application server). The edge server may be configured to perform edge computing functions, such as preprocessing raw data from the IoT terminal device 102 before sending preprocessed data to a backend server in the cloud or locally for further analysis. Based on the proximity of the edge server to the IoT terminal device 102, the edge server may also be able to process and analyze the raw data. In other implementations, server 106 may be optional and may not be implemented in the IoT network 100.

[0057] As previously described, in some embodiments, IoT network 100 may include one or more IoT devices communicating using different IoT communication protocols (such as LoRaWAN, Zigbee, etc.). In some embodiments, a secure IP network or IP network protocol may be used for communication between servers 106 and with the cloud or external devices. In some embodiments, the IP network protocol may be considered as one of the IoT networks (and accordingly used by IoT terminal device 102), and / or used by gateway 104 and server 106. In this disclosure, the secure IP network protocol may be different from the IoT network protocol used by the IoT devices and / or their smart devices (i.e., gateway 104 and server 106).

[0058] exist Figure 1 In the diagram, communication / connections via IP networks or IP network protocols are shown using thick lines between components of the IoT network 100. Meanwhile, communication / connections via IoT networks or IoT network protocols are shown using dashed lines.

[0059] In some implementations, the IoT network 100 may be managed by an IoT management device 108. The IoT management device 108 may be located locally (e.g., within the IoT network 100, such as...). Figure 1 (as shown), or located in the cloud or as an external device.

[0060] In some implementations, the IoT management device 108 may be implemented as a combination of hardware and / or software. In some implementations, the IoT management device 108 may include a processor and a memory (not shown) operatively coupled to the processor. The memory may store instructions that can be executed by the processor. The processor may be implemented as one or more microprocessors, microcomputers, microcontrollers, digital signal processors, central processing units, logic circuits, and / or any device that manipulates data based on operating instructions. Among other capabilities, the processor may be configured to fetch and execute computer-readable instructions stored in the memory. The memory may store computer-readable or processor-executable instructions or routines that can be fetched and executed to create data units or share data units with other elements of the IoT network 100. The processor-executable instructions may be associated with the management of the IoT network 100 and its components. The memory may include any non-transitory storage device, including, for example, volatile memory such as random access memory (RAM), or non-volatile memory such as erasable programmable read-only memory (EPROM), flash memory, etc.

[0061] IoT device profiles and registration

[0062] In some implementations, the IoT management device 108 may include a profile for uniquely defining or identifying the IoT management device 108. This profile may also uniquely identify the IoT network 100 managed by the IoT management device 108. In some implementations, the profile may be stored externally or internally to the IoT management device 108, depending on its size. When the profile is stored externally, it can be accessed via a Uniform Resource Locator (URL) or a Uniform Resource Identifier (URI).

[0063] In some implementations, the profile of the IoT management device 108 may include two parts: the first part includes product data / information from the manufacturer, and the second part includes data generated during the installation and customization of the IoT management device 108 in the operating environment.

[0064] In some implementations, the first part of the profile for the IoT management device 108 provided by the product company or manufacturer may include, but is not limited to, the name of the product / manufacturing company of the IoT management device 108, the official name and product code of the product, an identifier (ID) for the product copy of the IoT management device 108, the initial (software) version and release date, links to subsequent (software) updates and changelogs, system requirements, product specifications, user guides and support information, product warranty information, etc. In some implementations, the ID for the product copy of the IoT management device 108 may be a unique ID (such as a unique 128-bit code), which may be assigned to each released copy or version of the IoT management device 108. In some implementations, system requirements may include supported operating systems and versions, recommended hardware (such as central processing unit (CPU) processing power and memory and data storage size), network requirements (such as communication bandwidth), and recommended system security (such as firewalls and secure IP networks).

[0065] In some implementations, the second part of the profile of the IoT management device 108 may include data / information generated during the installation or configuration of the IoT management device 108. The second part of the profile may relate to the daily operation of the IoT management device 108.

[0066] In some implementations, the second part of the profile of IoT management device 108 may include, but is not limited to, a unique name of IoT management device 108 for IoT network 100, network addresses for accessing IoT management device 108 (such as URL, IP address + port number, etc.), the location where IoT management device 108 is hosted (such as the name and location of a cloud data center, and a link to cloud account information), a link to an X.509 type security certificate, a link to a list of system administrators / operators and the authentication methods used by each system administrator / operator to access IoT management device 108, a link to a list of registered devices and their profiles, ownership of IoT network 100, the three-dimensional (3D) geolocation of IoT network 100, event logs of IoT management device 108, and links to software releases for all devices (and their applications).

[0067] In some implementations, the unique name of the IoT management device 108 may be provided by the user or administrator of the IoT network 100, and this unique name is easily identifiable for the managed IoT network 100, for example, such as "Financial-Tower-IoT-Dev-Manager". In some implementations, the ownership of the IoT network 100 may be private, public (institutional, organizational, or governmental entity), or a combination of public and / or private entities, and may be reflected accordingly in the documentation.

[0068] In some implementations, the 3D geographic location of the IoT network 100 can be used for 3D spatial visualization and analysis, and can be based on common standards such as 3D Geographic Information System (GIS) that can be converted into 3D coordinates, coordinates plus elevation, or building address (for smart buildings), city name, etc.

[0069] Furthermore, in some implementations, each event log in the event log of the IoT management device 108 may include a date and time, as well as descriptive information about the event, and the event log may be read-only and cannot be deleted or modified. In some implementations, the type of events recorded may depend on customer requirements. The type of events recorded may include important events such as installation, code upgrades, error detection / recovery / reporting, maintenance, shutdown, restart, etc. In some implementations, for each IoT terminal device 102, software releases may include the currently running code release and at least one previous code release.

[0070] In some implementations, IoT devices in IoT network 100 (i.e., IoT terminal device 102, gateway 104, and / or server 106) can register with IoT management device 108. In some implementations, only registered IoT devices may be allowed to communicate with each other. Access to any registered IoT device in IoT network 100 from an unregistered IoT device (or an unregistered application, such as application 112) may be rejected, discarded, or ignored by the registered IoT device. In some implementations, all three types of IoT devices can be registered. Furthermore, a device profile may be generated for each of the IoT devices in IoT network 100.

[0071] In some implementations, IoT devices can be manually registered by a user / operator / administrator through a portal / platform / interface (such as a graphical user interface (GUI)) of the IoT management device 108 by providing a device profile, or automatically registered by uploading all device profiles to the IoT management device 108. In some implementations, the IoT management device 108 can be configured to communicate with IoT devices and / or obtain device profiles from the IoT devices or their associated URLs or links (where the corresponding device profiles are available).

[0072] In some implementations, the IoT management device 108 can be configured to register (low-cost) IoT terminal devices 102. As previously described, each (low-cost) IoT terminal device 102, such as a temperature sensor, can communicate using a specific IoT network protocol (such as Zigbee, LoRaWAN, etc.). While not highly intelligent, such IoT terminal devices 102 can connect to a "smart" gateway 104 that understands those specific IoT network protocols. The gateway 104 can also connect to a general secure IP network. In some implementations, the gateway 104 can act as a proxy for the (low-cost) IoT terminal devices 102 to communicate with the IoT management device 108, server 106, and / or other devices, such as... Figure 1 As shown. In some implementations, IoT device registration can be performed before the device is installed.

[0073] In some implementations, the device profile of a registered IoT device may include two parts. The first part may be data / information provided by the manufacturer, while the second part may be data / information generated or provided by the system administrator and IoT management device 108 during installation and operation. In some implementations, because (at least some) IoT devices may be low-cost, the size of the device profile may exceed the storage capacity within the IoT device. In such implementations, IoT management device 108 may have a master copy of all device profiles. In some implementations, when the device profile is stored externally, it may be accessible via a corresponding URL or URI.

[0074] In some implementations, the first part of the device profile for the IoT terminal device 102 provided by the manufacturer may include, but is not limited to, the device type (such as a "temperature sensor," indoor air quality (IAQ) sensor, water leakage sensor, etc.), manufacturer name, a unique global ID assigned by the manufacturer (if available), model ID, serial number, production date (if available), initial software version, subsequent software updates and changelogs, supported IoT communication protocols (such as LoRaWAN, Zigbee, etc.) and related connection parameters / information, links to product specifications, links to user guides, customer support information, and links to warranty and customer support information. In some implementations, supported IoT communication protocols may include unique connection protocol parameters for each supported protocol, such as DevEUI, JoinEUI, and AppKey for LoRaWAN OTAA.

[0075] In some implementations, a device profile for the IoT terminal device 102, provided by the user or generated by the IoT management device 108 during installation and operation, may be considered. The device profile may be related to device operation. In some implementations, the second part of the device profile for the IoT terminal device 102, provided by the user or generated by the IoT management device 108 during installation and operation, may include, but is not limited to, a unique device name, device status, 3D location of the installed terminal device, IoT network address or access method of the terminal device, a “controlled whitelist” of allowed network connections, links to device maintenance information (such as dates, schedules, and records), links to event logs, etc., and may also include, but is not limited to, information such as device maintenance information (such as dates, schedules, and records), and links to event logs.

[0076] In some implementations, the unique device name may be provided by the user or administrator and may be unique and easily identifiable for its operation, such as “Room2-Temperature-Sensor”, and the unique device name may also be formatted as an “easily identifiable” asset ID.

[0077] In some implementations, device states may include "unregistered," "installation in progress," "standby," "active," "power off," "paused," "maintenance mode," "error mode," etc. More device states can be added if needed. In some implementations, communication between the IoT terminal device 102 and the IoT management device 108 may always be allowed except when the device state is "unregistered," as this allows the IoT management device 108 to perform maintenance, error handling, device recovery, etc., for the IoT terminal device 102. In some implementations, for the "installation in progress" device state, errors detected during installation may not be reported, and communication with any IoT terminal device 102 or application other than the IoT management device 108 may be prohibited. In some implementations, for the "standby" device state, the IoT terminal device 102 may be ready to perform normal operation, but may not be allowed to communicate with any other IoT terminal device 102 or application other than the IoT management device 108. In some implementations, for the "active" device state, the device can operate normally and is allowed to communicate with other IoT terminal devices 102 and applications on its "controlled whitelist." In some implementations, the IoT terminal device 102 may be inactive in the "power off" device state, and this state may include "logical power off" and power failure.

[0078] In some implementations, for the "paused" device state, normal operation of the IoT terminal device 102 can be paused, and communication to / from the IoT terminal device 102 or application, except through the IoT management device 108, may be disabled. This state can be set by an administrator through a portal or interface associated with the IoT management device 108, or automatically by the IoT management device 108 as needed. In some implementations, for the "maintenance mode" device state, errors detected during maintenance mode may not be reported. In some implementations, for the "error mode" device state, errors have been reported, recovery or pending recovery may be in progress, and recurring errors may not be displayed.

[0079] In some implementations, the 3D location of the installed terminal device can be used for 3D spatial analysis and visualization, and can be based on common standards such as 3D GIS, coordinates plus elevation, etc., and the 3D location of the IoT terminal device 102 can also be a relative location with respect to the geographic location of the IoT network 100.

[0080] In some implementations, each event log entry in the event log may include a date and time, as well as descriptive information about the event. The event log may be read-only and cannot be deleted or modified, and the type of events recorded may depend on requirements. Recorded events may include important events such as installation, code upgrades, error detection / recovery / reporting, maintenance, shutdown, and restart.

[0081] In some implementations, gateway 104 and server 106 may also be registered. As previously mentioned, gateway 104 and server 106 may be "smart devices" with sufficient processing power, memory, and storage. Gateway 104 and server 106 can securely connect to other IoT terminal devices 102 and applications via a secure IP network, and securely connect to external clouds / devices via the Internet. In some implementations, gateway 104 may also support one or more IoT network protocols for communicating with various IoT terminal devices 102.

[0082] In some implementations, gateway 104 and / or server 106 can use application programming interfaces (APIs) to send requests and information to / receive requests and information from other IoT terminal devices 102, IoT management devices 108, and other applications. For example, using APIs, gateway 104 and server 106 can upload information (such as performance information, debug data, fault / alarm notifications, etc.) to IoT management devices 108, other applications, and / or cloud storage. Furthermore, in addition to receiving information from IoT terminal devices 102, server 106 and IoT management devices 108 can also send data and commands to IoT terminal devices 102 through gateway 104, and in this case, gateway 104 can act as a proxy for terminal devices 102.

[0083] In some implementations, smart device profiles for gateway 104 and server 106 can be created during registration and may also have corresponding first and second parts. The first part may be information / data provided by the manufacturer. The second part may be information / data generated during installation and operation. In some implementations, after successful registration, IoT management device 108 may send a copy of the smart device profile to be stored in the smart device, so both the smart device and IoT management device 108 have copies of the smart device profile, and the copy in IoT management device 108 is the master copy.

[0084] In some implementations, the first part of the smart device profile information from the manufacturer may include, but is not limited to, the device type (such as “Zigbee Gateway,” “Edge Server - Data Filter and Format Converter,” “Edge Server - API Gateway,” etc.), manufacturer name, a unique global ID assigned by the manufacturer (if any), model ID, processor manufacturer and model + memory & storage capacity (if available), serial number, a link to warranty information, operating system type and version (if present), initial application software version and subsequent updates and changelogs, an X.509 type certificate if installed by the manufacturer, a list of supported network communication protocols, a link to the device user guide, etc. In some implementations, for external devices and / or backend servers, the supported network communication protocols may be IP network protocols. In some implementations, for gateway 104, the supported network communication protocols may include one or more communication protocols, a specific IoT network protocol (such as LoRaWAN, Zigbee, etc., for communicating with IoT terminal device 102), and IP network protocols for communicating with other smart devices and applications.

[0085] In some implementations, the second part of the smart device profile, provided by the user or generated by the IoT management device 108 during registration, installation, and operation, may include a unique device name, device status, 3D location of the installed device, installed X.509 type certificate (if the device is not installed by the manufacturer), a link to device maintenance information, a link to the smart device's event log, and a controlled "whitelist" of allowed connections or a list of trusted devices and trusted applications. In some implementations, the unique device name may be provided by the user or administrator and may be unique and easily identifiable for its operation, such as "Room2-Temperature-Sensor," and the unique device name may also be formatted as an "easily identifiable" asset ID.

[0086] In some implementations, device states may include "unregistered," "installation in progress," "standby," "active," "power off," "paused," "maintenance mode," "error mode," etc. Additional device states may be added if necessary. In some implementations, communication between the device and the IoT management device 108 may always be allowed, except in the "unregistered" device state. In some implementations, for the "installation in progress" device state, errors detected during installation may not be reported, and communication with any IoT terminal device 102 may be disabled except with the IoT management device 108. In some implementations, for the "standby" device state, the smart device may be ready to perform normal operation, but may not be allowed to communicate with any IoT device or application other than the IoT management device 108. In some implementations, for the "active" device state, the smart device may operate normally and is allowed to communicate with other IoT devices and applications on its "controlled whitelist." In some implementations, for the "power off" device state, the smart device may be inactive, and this state may include "logical power off" and power failure. In some implementations, for the "paused" device state, communication to / from any IoT device or application, except for the IoT management device 108, can be paused, and this state can be set by an administrator via the IoT management device 108, or automatically by the IoT management device 108 as needed. In some implementations, for the "maintenance mode" device state, detected errors may not be reported. In some implementations, for the "error mode" device state, errors have been reported, recovery or pending recovery may be in progress, and recurring errors may not be presented. In some implementations, the 3D location of the installed device can be used for 3D spatial analysis and visualization, can be based on common standards such as 3D GIS, coordinates plus elevation, etc., which is acceptable, and the 3D location of the smart device can also be a relative location to the geographic location of the IoT network 100, and the installation location can be integrated with 3D / 2D maps, such as with digital twins, and the location can be added later during installation.

[0087] In some implementations, smart device maintenance information may include maintenance dates, schedules, and records. In some implementations, each event log in the smart device's event log may include a date and time, as well as descriptive information about the event. The event logs may be read-only and cannot be deleted or modified, and the type of events recorded may depend on requirements. Furthermore, the type of events recorded may include (critical) events such as installation, code upgrades, error detection / recovery / reporting, maintenance, shutdown, restart, etc. As previously mentioned, IoT device registration can be performed manually (by providing a device profile through the interface of IoT management device 108) or automatically. The IoT management device 108 may be input into a data structure containing the device profile of the IoT device or configured to retrieve a data structure containing the device profile of the IoT device, which can be parsed for registration.

[0088] Controlled whitelist

[0089] The connectivity between IoT devices in IoT network 100 can be complex because IoT network 100 may need to support the interconnection of IoT terminal devices 102 using different network protocols. In some implementations, whitelists can be used in IoT network 100 for security, performance tuning, efficient maintenance, etc., but are not limited to these. In some implementations, IoT network 100 may include two types of whitelists: an "IoT network whitelist" and a "controlled whitelist".

[0090] In some implementations, the IoT network whitelist may include a list of all trusted IoT devices in IoT network 100. In some implementations, trusted devices may correspond to IoT devices registered with IoT management device 108. Depending on the application, the number of IoT devices in the IoT network whitelist may be very large. Since IoT management device 108 may be the first entity to be installed in IoT network 100, it may also be the first entity listed in the IoT network whitelist. In some implementations, since IoT management device 108 may own / store profiles of all registered IoT devices, it may have a master copy of the IoT network whitelist. In some implementations, the purpose of the IoT network whitelist may be to prevent any unknown device or application from communicating with any trusted device or application in IoT network 100. If an unknown device attempts to connect to any IoT device, the IoT device may (via an API call) request IoT management device 108 to check the IoT network whitelist for details associated with the unknown device and decide whether to accept or reject / ignore the connection request based on whether the unknown device is present or absent from the IoT network whitelist.

[0091] In some implementations, the controlled whitelist for each of the IoT devices (i.e., IoT terminal device 102, gateway, and / or server 106) can be a group of IoT devices that form part of the IoT network whitelist. The controlled whitelist can be part of the profiles of trusted / registered IoT devices. In some implementations, the controlled whitelist can be established by the IoT management device 108 during IoT device / application installation and can also be dynamically updated by the IoT management device 108 via API calls under various conditional requirements.

[0092] In some implementations, controlled whitelists can be used to restrict communication to only a few necessary registered and trusted devices and applications, preventing unintended and unrestricted chaotic arbitrary-to-arbitrary communication between IoT devices on the IoT network whitelist. Controlled whitelists can also optimize the performance of IoT network 100 by carefully selecting / compiling the whitelist to balance data flow and transactions on each device / application. Furthermore, controlled whitelists can enable easy automated high-availability (HA) recovery via IoT management device 108. For example, when one of gateways 104 fails, all controlled whitelist entities can be moved to other gateways 104. The use of controlled whitelists can also minimize unintended device / application connections when adding new devices or applications, thereby minimizing / preventing interruptions due to maintenance (such as device replacement or repair).

[0093] In some implementations, a controlled whitelist can be defined for each of the IoT devices in the IoT network 100, and other IoT devices that the IoT device can communicate with can be listed. Each IoT device can communicate only with other IoT devices in its controlled list.

[0094] In some implementations, by default, the IoT management device 108 may always be on a controlled whitelist of any IoT devices registered with it, thereby enabling the IoT management device 108 to always communicate with any "registered" IoT device or IoT device in a "registration in progress" state, even if the device or application is in an error or abnormal situation. Furthermore, in some implementations, by default, all "registered" and "registration in progress" IoT devices may also be on the controlled whitelist of the IoT management device 108. Therefore, IoT devices and the IoT management device 108 may have a reciprocal relationship or mutual authentication between them.

[0095] In some implementations, users or administrators can establish a controlled whitelist through the IoT management device 108 or its associated interface. In some implementations, the IoT management device 108 can automatically update the controlled whitelist of IoT devices during performance tuning or HA operation. In some implementations, registered IoT devices may not attempt or initiate connections to any other IoT devices not listed in their controlled whitelist. In some implementations, connection attempts from any IoT device not on the controlled whitelist (such as through API calls) can be rejected, dropped, or ignored. In some implementations, the manner in which connection attempts are rejected, dropped, or ignored can depend on the protocol and product implementation. For example, gateway 104 may have a built-in firewall capable of dropping / rejecting any unwanted connections.

[0096] Reference Figure 2 and Figure 3 Controlled whitelists can be mutually referential. For example, IoT network 100 may include multiple IoT devices (which may be any of IoT terminal devices 102, gateways 104, and / or servers 106), such as IoT devices 202A to 202D and IoT devices 202X to 202Y (which may be collectively referred to as IoT devices 202), these devices... Figure 2 The topology interconnection is shown. In some examples, IoT devices 202A and 202X can be registered devices that are allowed to communicate with each other. Therefore, "Device A" can be listed on the controlled whitelist of IoT device 202X, and "Device X" can also be on the controlled whitelist of IoT device 202A. Similarly, if the communication link between IoT device 202A and IoT device 202X is removed or not allowed, "Device A" in the controlled whitelist of IoT device 202X and "Device X" in the controlled whitelist of IoT device 202A can be removed together, as shown. Figure 3 As shown.

[0097] In some implementations, a set of parameters associated with each of the IoT devices may be included in a controlled whitelist. In some implementations, the parameters may include a unique device name for the IoT device. In some implementations, the unique device name may be a corresponding profile for the IoT device, and a link to the device profile may be provided. In some implementations, the unique device name may allow identification of the IoT device's profile. The identified profile may then indicate any supported network connectivity protocols and corresponding connectivity parameters for accessing the IoT device, the IoT device's status, and the authentication method for accessing the IoT device, etc. In an example, supported network connectivity protocols and corresponding connectivity parameters for accessing the IoT device may include the IoT network protocol, such as LoRaWAN OTAA, and protocol parameters such as DevEUI, JoinEUI, and AppKey. Furthermore, the secure IP network protocol used by the IoT device may be an IP network protocol, and its protocol parameters may be an IP address and port number.

[0098] For low-cost IoT terminal device 102, the controlled whitelist can be enforced in different ways because the controlled whitelist for such IoT devices may not be stored in other "smart" IoT devices (such as gateway 104). See reference. Figure 4 The diagram illustrates the controlled whitelist of a registered (low-cost) IoT terminal device 102Y and the controlled whitelist of a registered IoT gateway device 104X (also referred to as gateway device 104X). Gateway device 104X can also connect to other IoT devices, such as IoT terminal device 102Z and gateway device 104A. IoT terminal device 102Y may not store its controlled whitelist internally and may not have the "intelligence" (or processing power) to understand and enforce the controlled whitelist. IoT terminal device 102Y can rely on intelligent connected devices (such as gateway device 104X) to enforce its controlled whitelist. For example, IoT terminal device 102Y (i.e., "Device Y") may support the IoT protocol LoRaWAN ABP and be on the controlled whitelist of gateway device 104X, and gateway device 104X may have LoRaWAN ABP parameters (of Device Y) to be able to communicate with Device Y. The controlled whitelist of IoT terminal device 102Y can be enforced by gateway device 104X. That is, gateway device 104X can be configured to reject, ignore and / or discard incoming and / or outgoing requests or packets that come from / go to IoT terminal device 102Y.

[0099] Furthermore, the controlled whitelist can be updated to reflect changes in IoT Network 100. (See reference...) Figure 5 This illustrates the controlled whitelist after the allowed connection between IoT terminal device 102Y and gateway device 104X is removed. When IoT terminal device 102Y (which may be a sensor) is removed from the controlled whitelist of gateway device 104X, its LoRaWAN ABP connection information is also removed from gateway device 104X. Without connection information, gateway device 104X may be unable to connect to and understand broadcast messages from IoT terminal device 102Y, and therefore ignore messages from it. Since IoT terminal device 102Y may not be on the controlled whitelist of gateway device 104X, gateway device 104X may also choose not to initiate any communication with IoT terminal device 102Y.

[0100] In some implementations, the IoT management device 108 can be the default entity on a controlled whitelist of all registered IoT devices in the IoT network 100, since all registered devices and applications in the IoT network 100 must be managed by the IoT management device 108 at all times. However, the IoT management device 108 can be configured to communicate via an IP network protocol, while the low-cost IoT terminal device 102 can communicate via a corresponding IoT network protocol. Therefore, the IoT management device 108 and the low-cost IoT terminal device 102 cannot communicate directly. In some implementations, the IoT management device 108 can communicate via a gateway device (such as referenced...) Figure 4 and Figure 5 Gateway device 104X communicates with IoT terminal devices (such as IoT terminal device 102Y). In such implementations, gateway device 104X can act as a proxy for IoT terminal device 102Y. To enable IoT management device 108 to communicate with IoT terminal device 102Y, IoT management device 108 can use a set of APIs (such as RESTful APIs) to communicate with gateway device 104X, and gateway device 104X can be configured to translate the APIs into another set of APIs (or communication methods) that can be interpreted by IoT terminal device 102Y, and vice versa.

[0101] However, as Figure 5 As shown, the IoT management device 108 can be the only entity on the controlled whitelist of the IoT terminal device 102Y. The IoT terminal device 102Y can be restricted from communicating with any gateway devices 104X, 104A. In this implementation, the IoT management device 108 will not be able to communicate with the IoT terminal device 102Y.

[0102] Connection to external devices

[0103] In some implementations, IoT devices in IoT network 100 may need to communicate with external devices / modules or applications (modules / engines), such as for sending IoT data to a cloud or external backend server. The raw data collected by IoT terminal device 102 at the cloud or external backend server may be processed and / or analyzed. IoT management device 108 may have a whitelist of trusted external applications and devices established by a user or administrator.

[0104] In some implementations, external devices can be registered by the IoT management device 108. Since "trusted" external devices may not be under the management of the IoT management device 108, the corresponding external device profiles stored in the IoT management device 108 can be much simpler. External device profiles can be created by users (or administrators) through interfaces provided by the IoT management device 108.

[0105] In some implementations, the external device profile of a trusted external device may include, but is not limited to, a unique name provided by a user or administrator, the product company name, the official name and product code of the product, the current software version and release date, the network type and network address of the accessing application or device, the cloud provider name and data center location (if located in the cloud), the authentication method for accessing the application or device, a controlled whitelist of the external application or device, and links to event logs limited to interactions with IoT network 100. In some implementations, the unique name can be easily identified by the managed IoT network 100. In some implementations, the network type and network address of the accessing application or device may be associated with an IP network, such as an IP address + port number, or a URL.

[0106] In some implementations, the controlled whitelist of external applications or devices may include a list of "smart" IoT devices and applications of the IoT network 100 that can communicate with external devices. In some implementations, the controlled whitelist of external devices may be stored in the IoT management device 108. In some implementations, each event log in the event log may include a date and time, as well as descriptive information about the event. The event log may be read-only and cannot be deleted or modified, and the type of event recorded may depend on requirements. The type of event recorded may include important events such as registration, changes to the controlled whitelist, error detection / recovery / reporting, maintenance, shutdown, etc.

[0107] Reference Figure 6 and Figure 7This illustrates an exemplary representation of an IoT network 100 with registered IoT devices connected to a registered, trusted external device 602. During the installation of server 106A, the administrator of external device 602 may need to create an account and set up authentication methods (such as ID and password) for server 106A. Since server 106A can communicate with external device 602, external device 602 can be included in a controlled whitelist associated with server 106A.

[0108] In some implementations, the IoT management device 108 may decide to remove the external device 602 from the controlled whitelist, such as Figure 7 As shown. Since external device 602 may be unaware of the controlled whitelist, server 106A can be configured to enforce this change and accordingly discard or reject any connection attempts from external device 602, and not initiate any connection with external device 602. In some implementations, the controlled whitelist of each of the IoT devices can be dynamically updated by IoT management device 108. In some implementations, the controlled whitelist can be updated based on changes in network conditions, such as maintenance, adding or removing IoT devices from IoT network 100, IoT device failures, and corresponding reconfiguration of IoT network 100 for high availability, but is not limited to these.

[0109] Device installation in IoT networks

[0110] Device installation can be of two types: adding new IoT devices to an existing / operational IoT network 100, and / or installing a new IoT network 100.

[0111] In some implementations, adding a new device to the IoT network 100 can be performed via an interface associated with the IoT management device 108. For example, the interface can be used to add new IoT devices (such as…) Figure 8A and Figure 8B The new IoT device (802X) shown is registered to the IoT network 100. To avoid interference from unintended connections between the new device and existing devices, the IoT management device 108 can be configured to add other IoT devices to a controlled whitelist of the new IoT device based on its device profile when the new IoT device (such as 802X) is physically installed and powered on.

[0112] Reference Figure 8A and Figure 8BA new IoT device 802X can be added to an IoT network 100 that has registered IoT devices 802A to 802E. In some implementations, the device status of the new IoT device 802X can be set to "Installation in Progress," and the new device registration process can be initiated by adding all known and planned information / data associated with the new IoT device 802X to the corresponding device profile. Initially, the controlled whitelist for the new IoT device 802X may only include the IoT management device 108. In some implementations, the new IoT device 802X can be physically installed into the IoT network 100 and then powered on. Upon power-on, the device status can be changed to "Standby" in the device profile of the new IoT device 802X. Since the controlled device whitelist may only contain "IoT management device 108," no other registered IoT devices can attempt to connect to the new IoT device 802X. In some implementations, to initiate normal operation of the new IoT device 802X in the IoT network 100, the controlled whitelists of the new IoT device 802X and other affected IoT devices 802A to 802E can be updated. Other IoT devices, such as IoT devices 802A and 802E, can be added to the controlled whitelist of the new IoT device 802X, and the controlled whitelists of other IoT devices (i.e., IoT devices 802A and 802E) can be updated as needed. The device status of the new IoT device 802X can be changed to "Active" after the controlled whitelist is updated to begin normal operation in the IoT network 100.

[0113] In some implementations, for the installation of a new IoT network 100, an IoT management device 108 can be installed and configured. To avoid unexpected alarms or error messages, all new devices can register with the IoT management device 108 before physical installation, and their IoT device status can be set to "installation in progress". External devices that the new IoT devices can communicate with can also be registered.

[0114] Then, all IoT devices can be physically installed into IoT network 100 and powered on. In some implementations, the location parameters of the IoT devices can be updated in the corresponding device profiles. Since the controlled whitelist of IoT devices may initially only include IoT management device 108, other registered IoT devices may not be able to attempt to connect to other installed IoT devices, and the device state of each of the IoT devices can be changed to "standby". The user or system administrator can then complete the configuration of the controlled whitelist for registering IoT devices. To start IoT network 100, the state of IoT devices can be changed from "standby" to "active", and this process can begin from upstream devices to downstream low-cost terminal devices. In some implementations, server 106 can be considered upstream of gateway 104, and gateway 104 can be considered upstream of IoT terminal device 102. IoT terminal device 102 can be the most downstream of the IoT devices. For example, first, the state of server 106 can be changed from "standby" to "active". Next, the state of gateway 104 can be changed from "standby" to "active". The controlled whitelist of gateway 104 may include IoT terminal device 102, and the state of IoT terminal device 102 may remain in "standby" mode, and any communication initiated by IoT terminal device 102 may not be sent to upstream server 106, such as cloud or backend server. Finally, the state of IoT terminal device 102 can change from "standby" to "active". Once IoT terminal device 102 is active, it can transmit raw data to server 106 and then to the backend server through IoT network 100.

[0115] Performance monitoring

[0116] In some implementations, the IoT management device 108 can be configured to monitor the performance of each registered IoT device. In some implementations, performance can be monitored by continuously analyzing statistics / data from the gateway 104. In some implementations, the gateway 104 can be a smart device / intelligent device that stores statistics and / or transactions to and from the gateway 104. In some implementations, the IoT management device 108 can be configured to communicate with the gateway 104 via a proprietary API. The IoT management device 108 can be configured to continuously monitor the performance of each registered device by requesting statistics from the gateway 104. Because the gateway 104 coordinates communication with multiple IoT terminal devices in the IoT terminal device 102, the gateway 104 can provide significantly more performance information / data about the IoT network 100 than any other single IoT device type.

[0117] Each gateway 104 can monitor and store statistics related to the amount of data and the number of transactions for each connected IoT terminal device 102 in its corresponding controlled whitelist. Each gateway 104 can also monitor and store statistics related to the amount of data and the number of transactions for each server 106 in its controlled whitelist. Each server 106 may have a list of connected gateways 104 in its controlled whitelist, thus the amount of IoT data or raw data and the number of IoT transactions with each connected gateway 104 can also be known.

[0118] In some implementations, performance monitoring can be based on statistical data collected and stored by gateway 104. In some implementations, IoT management device 108 can be configured to request performance numbers or statistics associated with the performance of IoT terminal devices 102 on a controlled whitelist of gateway 104. Gateway 104 can be configured to provide, but is not limited to, the following information in its response: the unique name or device ID of IoT terminal device 102 (as requested by IoT management device 108), the count start time, the current time or the count end time, the frequency of transactions initiated by IoT terminal device 102 (such as the frequency of temperature sensing) and the total number of transactions, the frequency of transactions initiated by gateway 104 (if applicable) and the total number of transactions, the total number of bytes received from IoT terminal device 102 and the total number of bytes sent to IoT terminal device 102.

[0119] In some implementations, the IoT management device 108 can be configured to analyze statistical data from IoT devices for performance analysis and tuning. For example, the IoT management device 108 can be configured to determine the number of transactions and data volume per hour, day, week, etc., for any registered device, and plot curves of the number of transactions and data volume relative to time of day, time of week, etc., based on statistical data obtained from API calls to gateway 104, but is not limited thereto. The IoT management device 108 can also be configured to request performance values / statistics data for all IoT terminal devices 102 in a controlled whitelist from each gateway 104 at a time.

[0120] In some implementations, the IoT management device 108 may be configured to optimize the operation of the IoT network 100 for performance tuning. In some implementations, the IoT management device 108 may be configured to evenly distribute the workload of the IoT devices in the IoT network 100. In such implementations, the IoT management device 108 may be configured to add IoT terminal devices 102 to a controlled whitelist of gateways 104 with lower workloads and remove IoT terminal devices 102 from the controlled whitelist of gateways 104 with relatively higher workloads.

[0121] In some implementations, if the workload of gateway 104 is too heavy (i.e., greater than a threshold), such as due to high transaction frequency and / or high data transfer volume, the IoT management device 108 may be configured to automatically move one or more IoT terminal devices 102 from the controlled whitelist of gateway 104 experiencing heavy workload to the controlled whitelist of other gateways 104 with relatively low workload, thereby exchanging the heavy usage IoT terminal devices 102 with the low usage IoT terminal devices 102 in the controlled whitelist of another gateway 104.

[0122] In some implementations, when more than one IoT terminal device 102 from a controlled whitelist needs to be moved and / or exchanged, the IoT terminal device 102 may be moved or exchanged with multiple gateways 104. In some implementations, the IoT management device 108 may be configured to iteratively move or exchange the IoT terminal device 102 one at a time between each pair of gateways 104 until a satisfactory result is achieved.

[0123] During movement or exchange, the IoT management device 108 may be biased towards moving the IoT terminal device 102 to another gateway 104 adjacent to the original gateway 104 to which the IoT terminal device 102 belonged. In such implementations, the IoT terminal device 102 may be moved to a controlled whitelist of other gateways 104, ensuring that the wireless signal between the IoT terminal device 102 and the gateway 104 to which the IoT terminal device 102 is moved is strong enough for normal operation. However, moving the IoT terminal device 102 from one controlled whitelist to another may be a trial-and-error process, and unexpected performance degradation may occur afterward.

[0124] An unusual degradation in the performance of IoT terminal device 102 or gateway 104 after a change in connection path may be caused by two possible reasons: either the involved IoT terminal device 102 and / or gateway 104 has intermittent or permanent errors and requires maintenance, or the wireless signal becomes too weak or insufficient to function properly / perform after the move. In some implementations, when the performance degradation is attributed to a decrease or weakening of signal strength, the involved (low-performance) IoT terminal device 102 may be moved to a controlled whitelist of another gateway 104. The IoT terminal device 102 may be moved until it is moved to a gateway 104 with sufficient signal strength (i.e., a strength metric such as Received Signal Strength Indication (RSSI) and / or Signal-to-Noise Ratio above a corresponding threshold). In some implementations, if the IoT management device 108 fails to fix the signal strength-related problem even after at least a threshold number of iterations of moving the IoT terminal device 102 to another gateway 104, it may be necessary to visit the site (where the IoT network 100 / IoT terminal device 102 is installed) to check for unexpected signal interference or other problems. In some implementations, IoT devices can be moved iteratively (or the controlled whitelist can be updated iteratively) until the IoT devices operate optimally.

[0125] maintain

[0126] In some implementations, the IoT management device 108 may be configured to perform maintenance on the IoT network 100. In some implementations, maintenance may include, but is not limited to, (code) upgrades (or version updates) of IoT devices, non-disruptive maintenance of IoT devices, optimization by grouping devices for maintenance, high availability (HA) of smart devices, etc.

[0127] In some implementations, for (code) upgrades, IoT management device 108 may be configured to maintain at least two versions of (software) releases for each of IoT terminal device 102, gateway 104, and server 106: the currently running software release and a previous software release. In some implementations, if IoT management device 108 identifies a problem with the current software release (such as suboptimal performance determined by comparing corresponding statistics with corresponding performance thresholds and / or statistics from other similar IoT devices), IoT management device 108 may be configured to revert the IoT device to the previous software release. When IoT management device 108 receives a new software release for any IoT device in IoT network 100, the current software release may be stored as the "previous" software release, and the new software release may be identified as the "current" release running on the IoT device after installation. If the new release exhibits problems after the software upgrade, IoT management device 108 will revert to the "previous" release.

[0128] IoT network 100 may include a large number of IoT devices of the same model. Each of these IoT devices may require a software upgrade when new software is released and available. The administrator of IoT network 100 can set appropriate dates and times for automatic software upgrades of IoT management device 108. IoT management device 108 can be configured to upgrade the software of IoT devices as described below.

[0129] In some implementations, the IoT management device 108 can be configured to incrementally upgrade the IoT devices in the IoT network. For example, initially, the IoT management device 108 can be configured to set the device state (in its device profile) of the IoT devices to "maintenance mode" before the actual code upgrade. The IoT management device 108 can then be configured to upgrade the software of one or a group of IoT devices in the IoT network 100. In the example, the group may include approximately one to five IoT devices. The device state of the upgraded IoT devices can be changed to "active" during the upgrade.

[0130] The operation of upgraded IoT devices can be monitored for a reasonable period, such as one day or more, to ensure that the new software has been adequately tested and tested without issues. If any anomalies, errors, and / or malfunctions are detected due to the upgrade, the IoT management device 108 can revert the IoT devices to their previous software version. If no problems occur after the IoT device upgrade, the IoT management device 108 can be configured to incrementally upgrade other IoT devices in the IoT network 100, such as 20 to 50 devices. Then, after another monitoring period, if no problems are encountered, more IoT devices in the IoT network 100 can be upgraded. The number of IoT devices upgraded in each iteration can increase. For example, 100 to 200 IoT devices can be upgraded in the third iteration. The cycle of upgrading and monitoring IoT devices can be iterated (assuming no malfunctions / errors / anomalies are encountered) until all similar IoT devices in the IoT network 100 have been upgraded.

[0131] In some implementations, the IoT management device 108 can be configured to perform non-disruptive maintenance on IoT devices. Maintenance, such as code upgrades, device repairs, and device replacements, can result in service loss at the IoT device being upgraded or maintained. In some cases, when maintenance is performed on multiple IoT devices, the interruption can be significant.

[0132] For (low-cost) IoT terminal device 102, IoT management device 108 can be configured to perform maintenance on one device at a time, such that at any given time, at most one IoT terminal device in IoT terminal device 102 is undergoing an upgrade, and IoT terminal device 102 may become unavailable due to the upgrade.

[0133] For smart devices (i.e., gateway 104 and / or server 106), all IoT devices in the controlled whitelist of the smart device may also be affected and may fail to operate properly. If the controlled whitelist includes other smart devices, the IoT devices on the corresponding controlled whitelist of the IoT device may also be affected. In order to maintain the high availability (HA) of the IoT network 100 when performing maintenance on smart devices, the IoT management device 108 may be configured to find alternative paths to communicate with IoT devices in the controlled whitelist of the smart device being maintained, and / or identify and connect to alternative smart / IoT devices that the IoT devices in the controlled whitelist of the smart device can communicate with.

[0134] In some implementations, IoT management device 108 can be configured to group IoT devices in IoT network 100 for optimized and uninterrupted maintenance. Due to the massive number of IoT end devices 102 (such as in smart cities), performing frequent maintenance (e.g., daily) can be costly. For example, dispatching human users or personnel / administrators daily to replace several batteries in IoT devices can be expensive. Utilizing artificial intelligence (AI) analytics and machine learning (ML) algorithms, IoT devices can be grouped and / or clustered into one or more clusters for maintenance, reducing the number of trips (by human personnel) for on-site maintenance and thus lowering maintenance costs. There may be trade-offs in grouping, where some IoT devices can undergo maintenance (slightly) earlier than their scheduled maintenance time (thus slightly reducing their service time between maintenance), while some IoT devices can undergo maintenance slightly later than their scheduled maintenance (thus slightly extending the service time beyond the scheduled maintenance, which may increase the risk of failure before the delayed maintenance). In some implementations, pre-trained AI, ML, and / or statistical models can be used to cluster / group IoT devices and predict their maintenance needs. In some implementations, an alert or notification may be generated to instruct the administrator that at least one cluster of IoT devices needs maintenance.

[0135] In some implementations, the AI ​​and / or ML model can be configured to group / cluster IoT devices to maximize the probability of optimized group maintenance, i.e., maximizing the probability that IoT devices in the group simultaneously require maintenance. In some implementations, the AI ​​and / or ML model can be configured to take several parameters as input, including but not limited to recommended maintenance schedules from the manufacturer, remaining device battery capacity (or other attributes of the IoT devices), and the location of the IoT devices (since IoT devices that are close to each other can be grouped preferentially over those that are far apart), etc., but not limited to these. In some implementations, the AI ​​and / or ML model can be configured to take predictive maintenance schedules, the cost of shortening service intervals between planned maintenance, and the cost of extending service beyond planned maintenance due to increased risk of device failure, etc., as input, but not limited to these. The AI / ML model can be configured to select the types of IoT devices for which maintenance can be performed by the same group of human personnel. The AI / ML model can output maintenance requirements accordingly, i.e., the time or expected date of maintenance.

[0136] In some implementations, the AI / ML model can be configured to estimate the cost of shortening service intervals between scheduled maintenance. The amount of time shortened can be proportional to the number of IoT devices that can be grouped for maintenance. The AI / ML model can be configured to determine the optimal amount of time shortening, which affects the estimated cost. In some implementations, the AI / ML model can be configured to estimate the cost of extending service beyond scheduled maintenance due to increased device failure risk, and the greater the time extension, the more IoT devices can be grouped for maintenance. The number of IoT devices grouped together can be a trade-off between device failure risk and the amount of time extension, as the amount of time extension is also proportional to the device failure risk.

[0137] High availability

[0138] In some implementations, IoT management device 108 can be configured to manage IoT network 100 to provide high availability (HA) for its IoT devices. Enabling HA capability for IoT devices (such as smart devices) may be necessary because the number of entities listed in the corresponding controlled whitelist can be large, and any instance of a smart device going offline during maintenance or failure (or general unavailability) could result in a loss of service to other IoT devices (such as IoT terminal device 102). Furthermore, a failure of one smart device can have a domino effect on other smart devices in the controlled whitelist of that failed smart device.

[0139] In some implementations, the IoT management device 108 may be configured to use an HA algorithm to ensure HA during smart device failures in the IoT network. In some implementations, the HA algorithm may include identifying alternative HA paths for IoT devices in a controlled whitelist of the failed smart device. Alternatively or additionally, the HA algorithm may also include identifying alternative smart devices that the failed smart device in the controlled whitelist can connect to.

[0140] In some implementations, the identified alternative HA paths can be used to provide a means of communication when the current active path through the faulty intelligent device is unavailable.

[0141] Reference Figure 9The IoT network 100 may include IoT terminal device sensors 902B that have an active path connection to gateway 902A. The IoT network 100 may include IoT devices (such as IoT terminal device sensors 902B, 902C, 902H, 902I, and 902Y; gateways 902A, 902D, 902E, 902F, 902G, and 902X; and servers 902U and 902W, collectively referred to as IoT devices 902), and external devices 904. In some embodiments, the IoT management device 108 may be configured to find an alternative path for communication between the IoT device sensor 902B and other IoT devices in its controlled whitelist if the active path becomes inoperable due to maintenance or failure of gateway 902A. Alternative paths are indicated by dashed lines, while the originally intended path is shown using solid lines.

[0142] In some implementations, the alternative path identified for the IoT terminal device sensor 902B can be a path pointing to any gateway in the IoT network, since each gateway can ultimately reach the same destination. Since the IoT network 100 can include wireless connectivity, any other gateway capable of establishing sufficient signal strength (such as 902X) can be used to determine the alternative path. In some implementations, the alternative path can be selected / determined based on the "location" information in the device profile of the IoT terminal device sensor 902B. The IoT management device 108 can be configured to select the gateway with the shortest distance to the IoT terminal device sensor 902B from all gateways (in... Figure 9 The gateway 902A (which could be a gateway 902X) can be used to determine alternative paths. Similarly, using a controlled whitelist of gateway 902A, all IoT terminal devices connected to gateway 902A can be identified. For each IoT terminal device in the IoT network 100, the gateway with the shortest distance to the IoT terminal device can be identified, enabling the establishment of alternative paths.

[0143] In some implementations, gateway 902A can be isolated when it is damaged or needs to be in maintenance mode (or is generally unavailable). In some implementations, IoT management device 108 can be configured to identify IoT terminal devices that have a connection path or connection to gateway 902A. Such IoT terminal devices can be found in a controlled whitelist of gateway 902A. IoT management device 108 can then determine an operational alternative path (via a “new” gateway) for each IoT terminal device one at a time. Then, for each IoT terminal device, the “active path” with gateway 902A is removed. IoT management device 108 then activates the alternative path by adding the new gateway to the corresponding controlled whitelist of the IoT terminal device by moving the IoT terminal device to the controlled whitelist of its “new” gateway. Furthermore, IoT management device 108 can remove gateway 902A from the controlled whitelist of each of the IoT devices to 902Y. For example, gateway 902A (also referred to as device A) can be removed from the controlled whitelist of server 902W, and gateway 902A can be disconnected from the IP network. Gateway 902A can now be like Figure 10 As shown, it is isolated.

[0144] In other implementations, the IoT management device 108 can be configured to identify alternative gateways (or IoT devices) as replacements, since data received by any gateway can reach the same destination. In some implementations, the faulty gateway can be automatically assigned an alternative gateway by the IoT management device 108. If the IoT devices in the controlled whitelist of the faulty gateway are wireless, the selected alternative gateway can be the one closest to / near the faulty gateway. For example, as... Figure 11 As shown, Gateway 904E can be selected as an alternative gateway device to Gateway 904A. All IoT devices in the controlled whitelist of Gateway 904A can be moved to the controlled whitelist of the alternative gateway 904E.

[0145] Reference Figure 9 , Figure 11 and Figure 12 The IoT network 100 may include an alternative path in the event of a failure of gateway 902A. In such implementations, the IoT management device 108 may be configured to identify / determine the nearest / closest gateway as an alternative. The nearest / closest gateway can be identified by comparing its position in the device profile of gateway 104. In this example, the alternative gateway closest to the failed gateway 904A could be alternative gateway 904E.

[0146] After selecting a replacement gateway 904E, the IoT management device 108 can move IoT device 902 from the controlled whitelist of the faulty gateway 904A to the controlled whitelist of the replacement gateway 904E. In some implementations, the replacement gateway 904E can also replace the faulty gateway 904A in the controlled whitelist of the moved IoT device 902. Furthermore, in addition to the IoT management device 108, other allowed connections identified in the controlled whitelist of the faulty gateway 904A can also be removed, so that the only entity / IoT device remaining on the controlled whitelist of the faulty gateway 904A can be the IoT management device 108 (referred to as "DevManager"), thereby isolating the faulty gateway 904A. New connections to the replacement gateway 904E are as follows: Figure 12 As shown.

[0147] As previously mentioned, when the IoT management device 108 moves the IoT device 902 from one gateway's controlled whitelist to another gateway (or typically from one IoT device 902 to another), the workload distribution of the IoT device 902 may change. Some gateways / IoT devices 902 may experience heavy workloads due to too many IoT devices 902 being added to their controlled whitelists, and / or other gateways / IoT devices 902 may have low performance due to low signal strength. In such implementations, the IoT device 902 can be iteratively moved to other gateways, monitoring for performance degradation until an optimal gateway is found.

[0148] Security Mechanism

[0149] In some implementations, the IoT network 100 may include additional security features, such as authentication methods, IoT data security, dynamic key encryption of IoT data, dynamic key decryption processes, and dynamic key audit trail maintenance, but is not limited to these. In addition to using a controlled whitelist, authentication mechanisms / methods can be used to add another layer of security, such as providing zero-trust network segmentation.

[0150] In some implementations, the authentication method can be implemented for communication between IoT devices 902. In some implementations, only secure IoT networks, such as LoRaWAN and Zigbee, can be deployed between IoT terminal devices 102. IoT network protocols can implement connectivity and data security protocols and can specify their own authentication methods (or equivalents). For example, IoT network protocols can implement Advanced Encryption Standard (AES) 128 data encryption, so that the connection between IoT terminal devices 102 and gateway 104 can be protected.

[0151] Meanwhile, because IoT devices 902 communicate via IP networks and are exposed to the internet, they may be at greater risk of hacking from around the world and thus require more authentication methods. In some implementations, IoT devices 902 can be configured to implement mutual authentication methods or protocols for authentication over IP networks.

[0152] In some implementations, for authentication over an IP network, any two IoT devices 902 (e.g., Device A and Device B) may be allowed to communicate if both are on each other's controlled whitelists. However, before IoT devices 902 can communicate sensitive information / data to each other, they may need to undergo a mutual authentication process; that is, IoT devices 902 may have to authenticate each other. In some implementations, the mutual authentication process may include asynchronous cryptographic encryption of messages using a public key and / or private key associated with each of the IoT devices 902.

[0153] In some implementations, the IoT management device 108 can be configured to generate a set of public and private key pairs for each of the IoT devices 902. In some implementations, a set of public and private key pairs can be generated for each IoT device 902, and the public key can be shared among the IoT devices. For example, a public-private key pair can be generated for Device A, and the private key can be provided to Device A, while the public key is provided to Device B. Furthermore, the IoT management device 108 can generate another set of public and private key pairs for Device B, providing the private key to Device B and the public key to Device A. To transmit a message to another IoT device 902, each of the IoT devices 902 can be configured to concatenate a unique device ID with the message to be transmitted. The concatenated message and the unique ID can be encrypted using the private key. For example, when Device A wants to initiate communication with Device B, Device A can use its private key to encrypt a message consisting of "Device B's Unique Name + MA" and send the encrypted message to Device B. Here, "MA" can be a message of at least 32 characters and can be dynamically generated and changed with each authentication attempt. Furthermore, another IoT device can be configured to receive the encrypted message and decrypt it using the public key of the IoT device that transmitted the message. The other IoT device can then verify the encrypted message based on the unique device ID provided therein; that is, verification is performed when the other IoT device derives its unique device ID from the decryption of the encrypted message. For example, Device B's Unique Name (as provided in its device profile) can be part of a parameter in Device A's controlled whitelist. Device B can use Device A's public key to decrypt messages and verify Device B's Unique Name and messages. Device B can respond by encrypting another message "Device A's Unique Name + MB" with Device B's private key and sending it to Device A. The MB can be a message of at least 32 characters and changes with each authentication attempt.Device B's Unique Name can be part of a parameter in Device B's controlled whitelist. Device A can use Device B's public key to decrypt messages and verify Device A's Unique Name and the message.

[0154] Mutual authentication methods can have specific characteristics. Each connection path can have its own unique public / private key pair. If one of the IoT devices 902 has 8 devices on its controlled whitelist, then that IoT device can have 8 public / private key pairs, and can also have 8 public keys from the other 8 connected devices. Having separate public / private key pairs allows for zero-trust network segmentation.

[0155] In some implementations, the public / private key pair can be used for authentication. The IoT device 902 may have another digital certificate for Transport Layer Security (TLS) protection of the transmission. The public / private key pair can be protected and stored in a secure storage, such as a secure database. Furthermore, the public / private key pair can be changed periodically to further ensure security.

[0156] Furthermore, additional authentication / security mechanisms can be incorporated for communication with external devices (such as external devices 602 / 904). In some implementations, authentication / security measures for communication with external devices (such as a cloud or backend server where raw data from IoT terminal device 102 can be processed) can be based on authentication methods defined by a third-party application. In other implementations, the IoT devices of IoT network 100 can be configured to communicate using a mutual authentication protocol.

[0157] Because the raw data is collected by the IoT terminal device 102, it can be transmitted through paths including unknown networks, devices, and / or nodes (including routers and switches) before reaching its intended destination (such as the cloud or backend server). Any networks, hardware processing nodes, servers, or even operating systems (OS) through which the raw data passes may be outside the control of the IoT network 100, making it vulnerable to attack or potential compromise. Furthermore, internal risks and threats also pose security risks to the IoT network 100.

[0158] In some implementations, an encryption process can be used such that only authorized entities are allowed access to the raw data, regardless of the path the data is routed through. In some implementations, the encryption process may include dynamic key encryption.

[0159] In some implementations, raw data from IoT terminal device 102 can be encrypted as quickly as possible. The raw data can be encrypted at a first smart / intelligent device on the data transmission path where encryption can be performed. In some implementations, the first / nearest / closest gateway 104 on the data transmission path to IoT terminal device 102 can be configured to encrypt the raw data.

[0160] For dynamic key encryption performed by gateway 104, after receiving data from IoT terminal device 102, gateway 104 can be configured to send an API request to retrieve the encryption key from IoT management device 108. The API request may include parameters / payloads having the IoT terminal device 102 (sensor) ID and the type of raw data to be encrypted (such as temperature). In some implementations, IoT management device 108 can be configured to respond to the API request with a response having parameters / payloads including, but not limited to, the encrypted data format, encryption key, encryption key ID, encryption algorithm to be used (such as AES256, AES128, Triple DES, Blowfish, etc.), dynamic key platform ID, IoT management device ID, and hash algorithm (such as SHA-256, SHA-512, SHA3-256, etc.). In some examples, the dynamic key platform ID may be at least 16 bytes and identify the data format belonging to the dynamic key format, and the IoT management device ID may identify the IoT management device 108 that manages the IoT network 100. For flexibility, encrypted data can be in different formats.

[0161] Reference Figure 13 The encrypted data format can include a dynamic key platform ID, an IoT management device ID, an encryption key ID, a data type, encrypted data, and a hash. The hash can be generated by a hash algorithm and has the aforementioned parameters. The hash can be appended to these parameters to obtain the encrypted data format.

[0162] In some implementations, the encrypted data format can be transmitted to the destination entity / device via multiple other known / unknown entities. In some implementations, the encrypted data format can be decrypted by the destination device. Similarly, when the destination device processes raw data and transmits commands or instructions to IoT device 902, the commands / instructions can be encrypted and decrypted at the intended IoT device 902.

[0163] In some implementations, the encrypted data can be decrypted by an entity, which can be any of the user, application, or IoT device 902. In some implementations, only trusted entities may be allowed to decrypt the encrypted data. In some implementations, successful registration may indicate that the entity is a trusted entity. In some implementations, the entity's role may be identified during registration. This role may indicate which IoT data the entity is authorized to access. For example, if IoT terminal device 102 corresponds to an indoor air quality (IAQ) monitor, its associated gateway 104 may be allowed to access only IAQ type data.

[0164] As previously mentioned, data roles can be assigned to registered entities. Each data role can be created by a system administrator / user / operator, who can define the restrictions on allowed data access, the data types that the role can access / decrypt, and the data types that each role can encrypt. The number of data roles and their corresponding permissions can be set by the system administrator, who can also determine which registered entities belong to which data roles. The IoT management device 108 has access to the definition of "data roles" and the data roles of each registered entity. Therefore, the IoT management device 108 can be configured to enforce permissions.

[0165] For decryption, the IoT device 902 can retrieve the decryption key from the IoT management device 108. In some implementations, the IoT device 902 can log in to the IoT management device 108, which may include understanding... Figure 13 The encrypted data format ID is shown (i.e., if the data format ID value is not as expected, it exits with "Unknown Data Error"). The IoT device 902 can then extract the "Dynamic Key Platform ID" from the data format and verify the value. If the value is not as expected, the IoT device 902 exits with "Unknown Data Error". In some implementations, the use of the platform ID may depend on the customer and can be used to identify the company associated with the user. The IoT device 902 can be configured to hash the data, such as... Figure 13As shown, the hash value is compared with the hash value in the encrypted data format. In some implementations, if the two hash values ​​are not the same, the IoT device 902 can exit with a "Corrupted Data Error". If the hash values ​​match, the IoT device 902 can be configured to extract the IoT management device ID, which can be used to identify the IoT management device 108 that has the decryption key. The IoT management device ID can also be mapped to an IP address or URL associated with the IoT management device 108 that generated the encryption key. The IoT management device ID may be important because multiple IoT networks 100 may each maintain their own corresponding IoT management device 108. After performing the above steps, the IoT device 902 can log in to the IoT management device 108 and authenticate.

[0166] In some implementations, once logged in, a decryption key API request can be used to retrieve the decryption key. The API request can include the encryption key ID as a parameter, because Advanced Encryption Standard (AES) encryption can be symmetric encryption, and the encryption and decryption keys can be the same.

[0167] In some implementations, upon receiving a decryption key API request, the IoT management device 108 can be configured to identify the type of data being encrypted based on the API key and determine the data role of the decrypting IoT device 902. In some implementations, the IoT management device 108 can determine whether the data role allows the IoT device 902 to access the identified data type, and use the key ID to identify the decryption key and respond to the decryption / request IoT device 902 with the decryption key. If the data role is not allowed to access the identified data type, the IoT management device 108 can be configured to respond to the decrypting IoT device 902 with "Access Not Authorized". In some implementations, the data type is determined during encryption.

[0168] In some implementations, the IoT management device 108 may be configured to maintain a dynamic key audit trail having an event log for each dynamic key generated and used for encryption. In some implementations, each event log may include the encryption event status (success or failure reason), event time (assumed to be the encryption time), IoT device ID (i.e., the IoT device ID that decrypted / requested the IoT device 902), data type and data source (such as temperature and / or device ID), and the location of the IoT device 902 that requested the decryption key. In some implementations, the audit trail may be used to track the entity that requests the decryption key and uses that key to decrypt encrypted data.

[0169] In some implementations, the generated dynamic keys may be based on a mutual key authentication protocol, and the IoT management device 108 may be configured to manage and store encryption keys and audit logs, and manage key security. In some implementations, mutual key authentication may also use a dynamic key service to distribute public / private key pairs. Managing and storing a large number of encryption keys and audit logs may require sufficient processing power, with large memory and storage capacity. Key security may be critical, and key protection may need to be another design consideration, similar to a key server, and may require high availability (HA) and backups to ensure key security.

[0170] Performance improvements in dynamic key encryption can be achieved by reducing the key usage overhead of IoT data and by aggregating the data used for encryption. Key usage overhead for IoT data can result from managing too many keys (each with its own audit trail), receiving too many encryption key requests, and receiving too many decryption key requests. In some implementations, the same key can be used over an extended period to minimize key usage overhead. For example, if it is the same data type from the same IoT terminal device 102, the same encryption key can be used over an extended period, such as one month, and new key requests can be made only once a month. This could indicate that multiple encrypted data files or packets can have the same key ID.

[0171] In some implementations, data can be aggregated for encryption. In such implementations, if IoT terminal device 102 sends information / data to gateway 104, gateway 104 can aggregate the data over a period of time (such as 10 minutes) before encryption. The aggregated data can then be sent to an upstream server (such as a cloud and / or a backend server).

[0172] IoT management device 108 and IoT device 902 can be implemented on a computer system. (See reference...) Figure 14The block diagram illustrates a computer system 1400, which includes an external storage device 1410, a bus 1420, main memory 1430, read-only memory (ROM) 1440, mass storage device 1450, a communication port 1460, and a processor 1470. Those skilled in the art will understand that the computer system 1400 may include more than one processor 1470 and communication port 1460. The processor 1470 may include various modules associated with embodiments of this disclosure. The communication port 1460 may be any of the following: a recommended standard 232 port for modem-based dial-up connections, a 10 / 100 Ethernet port, a Gigabit or 10 Gigabit port using copper or fiber optic cabling, a serial port, a parallel port, or other existing or future ports. The communication port 1460 may be selected depending on the network, such as a local area network (LAN), a wide area network (WAN), or any network to which the computer system 1400 is connected.

[0173] In this implementation, main memory 1430 may be RAM or any other dynamic storage device generally known in the art. ROM 1440 may be any static storage device, such as, but not limited to, a programmable read-only memory (PROM) chip for storing static information. Mass storage 1450 may be any current or future mass storage solution that can be used to store information and / or instructions. Exemplary mass storage solutions may include, but are not limited to, Parallel Advanced Technology Attachment (PATA) or Serial Advanced Technology Attachment (SATA) hard disk drives or solid-state drives (internal or external, such as those with Universal Serial Bus (USB) and / or Firewire interfaces), one or more optical discs, and redundant array of independent disks (RAID) storage, such as a disk array (e.g., a SATA array).

[0174] In this implementation, bus 1420 communicatively couples processor 1470 with other memory, storage units, and communication blocks. Bus 1420 may be, for example, a Peripheral Component Interconnect (PCI) / PCI Expansion (PCI-X) bus, a Small Computer System Interface (SCSI), USB, etc., for connecting expansion cards, drives, and other subsystems, as well as other buses, such as connecting processor 1470 to the front side bus (FSB) of computer system 1400.

[0175] In another embodiment, operator and management interfaces, such as a display, keyboard, and cursor control devices, may also be coupled to bus 1420 to support direct operator interaction with computer system 1400. Other operator and management interfaces may be provided via a network connection connected through communication port 1460. In some embodiments, external storage device 1410 may be any type of external hard disk drive, floppy disk drive, CD-ROM, CD-RW, or DVD-ROM. The components described above are intended only to illustrate various possibilities. The foregoing exemplary computer system 1400 should in no way limit the scope of this disclosure.

[0176] Another aspect of this disclosure relates to a method for managing an IoT network (such as IoT network 100) comprising multiple IoT devices (such as IoT devices 902 and their types). The method includes a processor (such as...) Figure 1 The IoT management device 108 (associated with each IoT device) generates a controlled whitelist for each IoT device based on its corresponding device profile. This controlled whitelist includes a set of IoT devices from among multiple IoT devices, each configured to communicate only with that set. The processor then installs the multiple IoT devices based on their corresponding controlled whitelists. This provides a method for establishing secure communication channels within an IoT network.

[0177] In one or more embodiments, the method may further include dynamically updating a controlled whitelist of each of the IoT devices by a processor based on changes in network conditions.

[0178] In one or more embodiments, the method may further include monitoring at least one of the signal strength, performance, or workload of a plurality of IoT devices by a processor, and updating a controlled whitelist of a plurality of IoT devices based on at least one of the signal strength, performance, and workload of the plurality of IoT devices, wherein the controlled whitelist is updated iteratively until the plurality of IoT devices operate within corresponding performance thresholds.

[0179] While various embodiments of this disclosure have been described for the foregoing, other and additional embodiments of this disclosure may be devised without departing from its essential scope. The scope of this disclosure is defined by the appended claims. This disclosure is not limited to the described embodiments, versions, or examples, which are included to enable those skilled in the art to make and use this disclosure when combined with information and knowledge available to them.

Claims

1. An IoT management device for managing an IoT network comprising multiple Internet of Things (IoT) devices, the IoT management device comprising: processor; as well as A memory operably coupled to the processor, the memory storing instructions that cause the processor to: A controlled whitelist is generated for each IoT device based on the corresponding device profile. The controlled whitelist includes a group of IoT devices from the plurality of IoT devices, and the IoT devices are configured to communicate only with the group of IoT devices. as well as The installation is performed on the multiple IoT devices based on their corresponding controlled whitelists.

2. The IoT management device according to claim 1, wherein, The controlled whitelists of the multiple IoT devices are mutually referencing each other.

3. The IoT management device according to claim 1, wherein, The processor is also configured to dynamically update the controlled whitelist of the plurality of IoT devices based on changes in network conditions.

4. The IoT management device according to claim 1, wherein, When updating the controlled whitelist, the processor is configured to: Monitor at least one of the following: the signal strength, performance, or workload of the plurality of IoT devices; and The controlled whitelist of the plurality of IoT devices is updated based on at least one of the following: the signal strength, the performance, or the workload of the plurality of IoT devices, wherein the controlled whitelist of the plurality of IoT devices is updated iteratively until the plurality of IoT devices operate within the corresponding performance threshold.

5. The IoT management device according to claim 1, wherein, The processor is also configured to upgrade at least one of the plurality of IoT devices.

6. The IoT management device according to claim 5, wherein, The processor is also configured to restore the plurality of IoT devices to a previous version based on problems identified when updating at least one of the plurality of IoT devices.

7. The IoT management device according to claim 5, wherein, The processor is also configured to incrementally upgrade the plurality of IoT devices.

8. The IoT management device according to claim 1, wherein, The processor is also configured to: Clustering the multiple IoT devices into one or more clusters using an artificial intelligence (AI) model; and Predict the maintenance requirements for one or more of the clusters.

9. The IoT management device according to claim 1, wherein, When at least one of the plurality of IoT devices is unavailable, the processor is configured to: Identify alternative paths for a group of IoT devices from the controlled whitelist of the at least one IoT device; and Update the controlled whitelist of the group of IoT devices and the at least one IoT device.

10. The IoT management device according to claim 1, wherein, When at least one of the plurality of IoT devices is unavailable, the processor is configured to: Based on the corresponding device profile, identify alternative IoT devices from the plurality of IoT devices to replace the at least one IoT device; as well as The controlled whitelist of the plurality of IoT devices is updated to add the alternative IoT device and remove the at least one IoT device.

11. The IoT management device according to claim 1, wherein, The processor is also configured to: The requesting IoT device among the plurality of IoT devices receives an encryption key request to encrypt data transmitted from the first IoT device to the second IoT device. An encryption key is generated based on the first IoT device and the second IoT device; as well as The encryption key is transmitted to the requesting IoT device, wherein the requesting IoT device is configured to encrypt the data using the encryption key.

12. The IoT management device according to claim 11, wherein, Managing access to the decryption key includes: Receive a decryption key request from another IoT device among the plurality of IoT devices; Determine the data role associated with the other IoT device; and When the data role is authorized to access a data type associated with the encrypted data, a decryption key corresponding to the encryption key is transmitted, wherein the other IoT device is configured to decrypt the encrypted data.

13. The IoT management device according to claim 12, wherein, The processor is also configured to maintain an audit trail of the generation and / or transmission of the encryption key and / or the decryption key.

14. An IoT device for an Internet of Things (IoT) network, the IoT device comprising: processor; A memory operably coupled to the processor, the memory storing instructions that, when executed by the processor, cause the IoT device to: Concatenate the message with the unique identifier (ID) of another IoT device; The concatenated message and unique ID are encrypted using the private key of the IoT device, wherein each pair of IoT devices in the IoT network has a corresponding public-private key pair; and The encrypted message is transmitted to the other IoT device.

15. The IoT device according to claim 14, wherein, The processor is also configured to: Receive another encrypted message from the other IoT device; Decrypt the other encrypted message using the public key of the other IoT device; and The other encrypted message is verified based on another unique ID of the IoT device.

16. The IoT device according to claim 14, wherein, The processor is configured to: Retrieve encryption keys from IoT management devices; The data received from the first IoT device in the IoT network is encrypted using the encryption key; and The encrypted data is transmitted to a second IoT device in the IoT network.

17. The IoT device according to claim 14, wherein, The processor is configured to: A decryption key request is transmitted to an IoT management device, the decryption key request being associated with encrypted IoT data received by the IoT device; In response to the decryption key request, a decryption key is received from the IoT management device, the decryption key being transmitted by the IoT management device when a data role associated with the IoT device is authorized to access the data type of the encrypted data; as well as The encrypted IoT data is decrypted using the decryption key.

18. A method for managing an IoT network comprising multiple IoT devices, the method comprising: The processor generates a controlled whitelist for each IoT device based on a corresponding device profile. The controlled whitelist includes a group of IoT devices from the plurality of IoT devices, each IoT device being configured to communicate only with this group of IoT devices. The processor installs the software on the multiple IoT devices based on the corresponding controlled whitelists of the multiple IoT devices.

19. The method of claim 18, further comprising the processor dynamically updating the controlled whitelist of each of the IoT devices based on changes in network conditions.

20. The method according to claim 19, further comprising: The processor monitors at least one of the following: the signal strength, performance, or workload of the plurality of IoT devices; as well as The processor updates the controlled whitelist of the plurality of IoT devices based on at least one of the following: the signal strength, the performance, and the workload of the plurality of IoT devices, wherein the controlled whitelist of the plurality of IoT devices is updated iteratively until the plurality of IoT devices operate within the corresponding performance threshold.