METHODS AND SYSTEMS FOR MANAGING MESSAGE TRAFFIC IN AN INTERNET OF THINGS (IoT) NETWORK

A message counter system in IoT networks manages message traffic and prevents DoS attacks by monitoring and controlling device transmissions, enhancing security and reliability.

US20260379884A1Pending Publication Date: 2026-11-26HONEYWELL INTERNATIONAL INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
US19/216802
Authority / Receiving Office
US · United States
Patent Type
Applications(United States)
Current Assignee / Owner
Filing Date
2025-05-23
Publication Date
2026-11-26

AI Technical Summary

Technical Problem

Existing IoT networks face challenges in managing message traffic effectively, leading to service disruptions and security risks due to overwhelming message flooding and vulnerabilities to cyber-attacks, particularly from compromised devices.

Method used

Implementing a message counter system at the IoT hub to monitor and control message transmission from devices, including rate limiting and authentication mechanisms to manage message traffic and protect against Denial of Service (DoS) attacks.

Benefits of technology

Enhances security, performance, and reliability of IoT networks by preventing service disruptions and mitigating cyber-attacks through efficient message traffic management and device-level rate limiting.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure US20260379884A1-D00000_ABST
    Figure US20260379884A1-D00000_ABST
Patent Text Reader

Abstract

The present subject matter provides methods and systems for managing message traffic in an Internet of Things (IoT) network comprising an IoT hub and a plurality of devices connected to the IoT hub. The proposed solution provides the IoT hub with a plurality of message counters corresponding to the plurality of devices. Further, the proposed solution provides for: detecting at least one device whose corresponding message count is above a predefined message count level; and controlling message traffic from the at least one device.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD OF THE INVENTION

[0001] The present subject matter relates to Internet of Things (IoT) technology, and in particular, to managing message traffic in the IoT network.BACKGROUND OF THE INVENTION

[0002] In recent years, with the increase of internet speed, coverage and accessibility, the IoT has also become a critical technology for providing connected devices across domains i.e., from electrical appliances (fridges, stoves, furnaces, etc.) to lights (home lighting, traffic lights, car lights, etc.) to smartphones, tablets, (including televisions) to barcodes on non-electrical items (pill bottles, boxes) to cars, trucks, drones, etc. These things or devices may be connected by the internet and may exchange information and talk to each other, back and forth. Each of these connected things or devices may have embedded sensors to gather information / data about the environment in which they are operating and the way in which they are being operated. The devices then share the information / data in real time through the cloud to an IoT platform or IoT hub. Thus, the IoT platforms / networks collect and process massive amounts of data from the numerous connected devices.

[0003] However, with the increasing number of IoT devices, the number of messages containing data / information arising out of the IoT devices are increasing exponentially. The large number of such messages may sometime overload the communications channels, the resources handling these messages at the IoT hub as well as the resources of other connected IoT devices in the IoT network. Further, the IoT networks are also prone to cyber-attacks and the most common type of cyber-attack is the Distributed Denial of Service (DDoS) attack. Since the IoT networks comprise large as well as small connected devices, where the small devices often have low computational power and less storage capacity and hence security mechanisms are hard to implement on them due to their limited capabilities. As the small IoT devices may lack sufficient security mechanism, cyber criminals exploit their vulnerabilities and use them as a bot to attack the IoT network. In a few instances, the cyber criminals also target the large devices to penetrate the network.

[0004] However, current systems lack effective controls to manage the messages traffic from these devices. This limitation poses significant security risks, as a compromised device can flood the system with excessive messages, leading to service disruptions and failures in real-time monitoring and data analysis. Existing solutions, such as Azure IoT also lack adequate capabilities to address the flooding of the IoT network by overwhelming number of messages transmitted by devices.

[0005] Existing systems lack effective controls to regulate or manage the message traffic in the IoT networks. This limitation poses significant security risks, as a compromised device can flood the IoT network with excessive number of messages, leading to service disruptions and failures in real-time monitoring and data analysis. Existing solutions, such as Azure IoT also lack adequate capabilities to address the flooding of the IoT network by overwhelming number of messages transmitted by the connected devices.

[0006] Thus, there exists a technical challenge to address the flooding of the IoT network by overwhelming number of messages transmitted by the connected devices.SUMMARY OF THE INVENTION

[0007] The present subject matter provides methods and systems for managing message traffic in an Internet of Things (IoT) network.

[0008] In an embodiment, a method for managing message traffic in an Internet of Things (IoT) network comprising an IoT hub and a plurality of devices connected to the IoT hub, is disclosed. The method comprises providing the IoT hub with a plurality of message counters corresponding to the plurality of devices, wherein each of the plurality of message counters is configured to maintain a count of the messages received at the IoT hub from a corresponding device of the plurality of devices. The method further comprises receiving, by the IoT hub, a plurality of messages from the plurality of devices. The method further comprises updating, by the IoT hub, the plurality of counters based on the plurality of messages received from the plurality of devices. The method further comprises detecting, by the IoT hub, at least one device in the plurality of devices whose corresponding message count is above a predefined message count level based on the message counter corresponding to the at least one device. The method further comprises transmitting, by the IoT hub, a first transmission message to the at least one device, wherein the first transmission message comprises instructions for the at least one device to stop transmission of messages to the IoT hub.

[0009] In some embodiments, the method further comprises transmitting a second transmission message to the at least one device on expiry of a predetermined period, wherein the second transmission message comprises instructions permitting the at least one device to transmit the messages to the IoT hub. The method further comprises receiving, from the at least one device, at least one message during the predetermined period. The method further comprises determining whether the at least one message comprises a critical flag, wherein the critical flag is indicative that the at least one message comprises critical information. The method further comprises discarding the at least one message, when it is determined that the at least one message does not include the critical flag. The method further comprises processing the at least one message, when it is determined that the at least one message includes the critical flag.

[0010] In some embodiments, the first transmission message further comprises information about a predetermined period, wherein the predetermined period is a period for which the at least one device is instructed to stop transmission of messages to the IoT hub. The method further comprises receiving, by the IoT hub, a request from the at least one device to reset the message counter corresponding to the at least one device. The method further comprises performing, by the IoT hub using an authentication server, an authentication of the request to reset the message counter. The method further comprises resetting, by the IoT hub, the message counter when the authentication is successful. The method further comprises receiving, from an administrator device, an admin request for resetting the message counter corresponding to the at least one device. The method further comprises resetting the message counter corresponding to the at least one device based on the admin request.

[0011] In some embodiments, the method of transmitting the first transmission message to the at least one device, comprises identifying, by the IoT hub, one or more operation critical messages associated with at least one critical operation, being received from the at least one device. The method of transmitting the first transmission message to the at least one device, further comprises detecting, by the IoT hub, that the corresponding message count received from the at least one device is above the predefined message count level based on the message counter corresponding to the at least one device. The method of transmitting the first transmission message to the at least one device, further comprises querying an operation server to fetch a remaining duration of the at least one critical operation dependent on the one or more operation critical messages being received from the at least one device. The method of transmitting the first transmission message to the at least one device, further comprises transmitting the first transmission message to the at least one device after expiration of the remaining duration of the at least one critical operation.

[0012] In another embodiment, a system for managing message traffic in an Internet of Things (IoT) network comprising an IoT hub and a plurality of devices connected to the IoT hub, is provided. The system comprises a memory and a processing unit coupled to the memory. The processing unit is configured to provide the IoT hub with a plurality of message counters corresponding to the plurality of devices, wherein each of the plurality of message counters is configured to maintain a count of the messages received at the IoT hub from a corresponding device of the plurality of devices. The processing unit is further configured to receive, using the IoT hub, a plurality of messages from the plurality of devices. The processing unit is further configured to update, by using the IoT hub, the plurality of counters based on the plurality of messages received from the plurality of devices. The processing unit is further configured to detect, by using the IoT hub, at least one device in the plurality of devices whose corresponding message count is above a predefined message count level based on the message counter corresponding to the at least one device. The processing unit is further configured to transmit, by using the IoT hub, a first transmission message to the at least one device, wherein the first transmission message comprises instructions for the at least one device to stop transmission of messages to the IoT hub.

[0013] In yet another embodiment, computer-readable medium having computer-executable instructions stored thereon that, when executed by a processing unit, cause the processing unit to execute a method for managing message traffic in an Internet of Things (IoT) network comprising an IoT hub and a plurality of devices connected to the IoT hub, is disclosed. The computer-executable instructions, when executed by the processing unit, cause the processing unit to provide the IoT hub with a plurality of message counters corresponding to the plurality of devices, wherein each of the plurality of message counters is configured to maintain a count of the messages received at the IoT hub from a corresponding device of the plurality of devices. The computer-executable instructions, when executed by the processing unit, further cause the processing unit to receive, using the IoT hub, a plurality of messages from the plurality of devices. The computer-executable instructions, when executed by the processing unit, further cause the processing unit to update, by using the IoT hub, the plurality of counters based on the plurality of messages received from the plurality of devices. The computer-executable instructions, when executed by the processing unit, further cause the processing unit to detect, by using the IoT hub, at least one device in the plurality of devices whose corresponding message count is above a predefined message count level based on the message counter corresponding to the at least one device. The computer-executable instructions, when executed by the processing unit, further cause the processing unit to transmit, by using the IoT hub, a first transmission message to the at least one device, wherein the first transmission message comprises instructions for the at least one device to stop transmission of messages to the IoT hub.

[0014] The present subject matter provides methods and systems for managing message traffic in an Internet of Things (IoT) network. The proposed solution provides techniques for efficient management and control of message traffic from edge devices in an IoT network. The present solution enhances the security, performance, and reliability of the IoT networks by introducing a rate limiting mechanism at the device level.

[0015] This summary is provided to describe select concepts in a simplified form that are further described in the detailed description. This summary is not intended to identify key or essential features of the claimed subject matter, nor is it intended to be used as an aid in determining the scope of the claimed subject matter.

[0016] Implementations of the current subject matter can include, but are not limited to, methods consistent with the descriptions provided herein as well as articles that comprise a tangibly embodied machine-readable medium operable to cause one or more machines (e.g., computers, etc.) to result in operations implementing one or more of the described features. Similarly, computer systems are also described that may include one or more processors and one or more memories coupled to the one or more processors. A memory, which can include a non-transitory computer-readable or machine-readable storage medium, may include, encode, store, or the like one or more programs that cause one or more processors to perform one or more of the operations described herein. Computer implemented methods consistent with one or more implementations of the current subject matter can be implemented by one or more data processors residing in a single computing system or multiple computing systems. Such multiple computing systems can be connected and can exchange data and / or commands or other instructions or the like via one or more connections, including, for example, to a connection over a network (e.g. the Internet, a wireless wide area network, a local area network, a wide area network, a wired network, or the like), via a direct connection between one or more of the multiple computing systems, etc.

[0017] The details of one or more variations of the subject matter described herein are set forth in the accompanying drawings and the description below. Other features and advantages of the subject matter described herein will be apparent from the description and drawings, and from the claims. While certain features of the currently disclosed subject matter are described for illustrative purposes in relation to web application user interfaces, it should be readily understood that such features are not intended to be limiting. The claims that follow this disclosure are intended to define the scope of the protected subject matter.BRIEF DESCRIPTION OF DRAWINGS

[0018] Embodiments of the subject matter will hereinafter be described in conjunction with the following drawing figures, wherein like numerals denote like elements, and:

[0019] FIG. 1 is a schematic diagram of an illustrative environment implementing a technique for managing message traffic in an Internet of Things (IoT) network comprising an IoT hub and a plurality of devices connected to the IoT hub, according to one or more embodiments of the present disclosure;

[0020] FIG. 2 is a schematic block diagram of the system for implementing a technique for managing message traffic in the IoT network, according to one or more embodiments of the present disclosure;

[0021] FIG. 3 is a sequence diagram depicting an exemplary management of message traffic in the IoT network, according to one or more embodiments of the present disclosure;

[0022] FIG. 4 illustrates a flowchart of a method for managing message traffic in the IoT network, according to one or more embodiments of the present disclosure;

[0023] FIG. 5 illustrates a flowchart of a method for managing a critical message in the IoT network, according to one or more embodiments of the present disclosure;

[0024] FIG. 6 illustrates a flowchart of a method of resetting a message counter in the IoT network, according to one or more embodiments of the present disclosure;

[0025] FIG. 7 illustrates a flowchart of a method of managing message traffic associated with an ongoing critical operation in the IoT network, according to one or more embodiments of the present disclosure;

[0026] FIG. 8 illustrates a computer system, according to one or more embodiments of the present disclosure.

[0027] Further, skilled artisans will appreciate that elements in the drawings are illustrated for simplicity and may not have necessarily been drawn to scale. For example, the flow charts illustrate the method in terms of the most prominent steps involved to help to improve understanding of aspects of the present invention. Furthermore, in terms of the construction of the device, one or more components of the device may have been represented in the drawings by conventional symbols, and the drawings may show only those specific details that are pertinent to understanding the embodiments of the present invention so as not to obscure the drawings with details that will be readily apparent to those of ordinary skill in the art having benefit of the description herein.DETAILED DESCRIPTION OF INVENTION

[0028] The following description should be read with reference to the drawings, in which like elements in different drawings are numbered in like fashion. The drawings, which are not necessarily to scale, depict examples that are not intended to limit the scope of the disclosure. Although examples are illustrated for the various elements, those skilled in the art will recognize that many of the examples provided have suitable alternatives that may be utilized.

[0029] As used in this specification and the appended claims, the singular forms “a”, “an”, and “the” include the plural referents unless the content clearly dictates otherwise. As used in this specification and the appended claims, the term “or” is generally employed in its sense including “and / or” unless the content clearly dictates otherwise.

[0030] It is noted that references in the specification to “an embodiment”, “some embodiments”, “other embodiments”, etc., indicate that the embodiment described may include a particular feature, structure, or characteristic, but every embodiment may not necessarily include the particular feature, structure, or characteristic. Moreover, such phrases are not necessarily referring to the same embodiment. Further, when a particular feature, structure, or characteristic is described in connection with an embodiment, it is contemplated that the feature, structure, or characteristic may be applied to other embodiments whether or not explicitly described unless clearly stated to the contrary.

[0031] FIG. 1 is a schematic diagram of an illustrative environment 100 implementing a technique for managing message traffic in an Internet of Things (IoT) network comprising an IoT hub 102 and a plurality of devices connected to the IoT hub 102. The IoT hub 102 may, inter alia, comprise a system 104 and a plurality of message counters. In an aspect, each of the message counter of the plurality of message counters may correspond to at least one device of the plurality of devices connected to the IoT hub 102. The plurality of devices connected to the IoT hub 102 may include at least one equipment of a manufacturing / production facility or a factory 106, one or more computing device 108, one or printers 110, one or more connected vehicles 112, one or more smart wearables or smart watches 114, one or more smart handheld devices such as user equipment (UE) 116, one or more smart electrical appliances (like fridge, etc.) 118 or any other connected device n. Further, the IoT hub 102 may include a message (msg) counter 106-1 corresponding to the factory 106, a message counter 108-1 corresponding to the computing device 108, a message counter 110-1 corresponding to the printer 108, a message counter 112-1 corresponding to the connected vehicles 112, a message counter 114-1 corresponding to the connected vehicles 112 to smart wearables 114, a message counter 116-1 corresponding to the UE 116, a message counter 118-1 corresponding to the smart electrical appliances 118, and a message counter n-1 corresponding to nth device of the IoT network.

[0032] Further, the environment 100 depicts transmission of messages i.e., message traffic from each of the plurality of devices 106, 108, 110, 112, 114, 116, 118, . . . , n. The IoT hub 102 may receive each of the messages from each of the plurality of devices 106, 108, 110, 112, 114, 116, 118, . . . , n, and perform data analytics to take various actions for the functioning of these devices. Each of the plurality of message counters 106-1, 108-1, 110-1, 112-1, 114-1, 116-1, 118-1, . . . , n-1, may be configured to keep a latest count of messages received from a corresponding device of the IoT network. The system 104 may continuously scrutinize each of the plurality of message counters 106-1, 108-1, 110-1, 112-1, 114-1, 116-1, 118-1, . . . , n-1, and determine when the number of messages received from at least one device of the plurality of devices 106, 108, 110, 112, 114, 116, 118, . . . , n, exceeds a predefined threshold number (i.e., a predefined message count level). The system 104 may implement a message control logic to restrict the message transmission from the at least one device for a predefined duration.

[0033] In a non-limiting example scenario, a cybercriminal may plan to target the IoT network via the UE 116. In this regard, the cybercriminal may hack the UE 116 to send an overwhelming number of messages to the IoT hub 102. When the IoT hub 102 suddenly receives the overwhelming number of messages, one or more resources such as communications channel, storage units, processing capability, etc., may severely get affected due to a sudden flooding of messages. This may even cause a total disruption of services at the IoT hub 102 leading to denial of services for the entire IoT network.

[0034] To handle the above example scenario, the present solution may provide for implementation of the message control logic by the system 104. According to the present solution, the plurality of message counters 106-1, 108-1, 110-1, 112-1, 114-1, 116-1, 118-1, . . . , n-1, may be updated after receipt of each of the message from each of the devices. So, in case the number of messages received from the compromised device i.e., the UE 116 exceed the predefined threshold number, the system 104 may promptly suspend any further message transmission from the UE 116 until a predefined time / duration expires. In this way, the present solution may protect the IoT network from the flooding due to the overwhelming number of messages. Although the above example scenario is a simple non-limiting example for ease of understanding and must not be considered as a limitation.

[0035] FIG. 2 is a schematic block diagram 200 including the system 104 for implementing a technique for managing message traffic in the IoT network, according to one or more embodiments of the present disclosure. The system 104 may comprise at least one processing unit 202, at least one memory 204, at least one input / output (I / O) interface 206, communicatively and operatively coupled with each other. Further, the system 104 may be communicatively and operatively coupled with one or more components of the IoT hub 102 and the plurality devices 106, 108, 110, 112, 114, 116, 118, . . . , n. In an aspect, the block diagram 200 depicts an IoT device 214 as a reference to at least one device among the plurality devices 106, 108, 110, 112, 114, 116, 118, . . . , n. Further, the block diagram 200 depicts a message (msg) counter 208 as a reference to at least one message counter among the plurality of message counters 106-1, 108-1, 110-1, 112-1, 114-1, 116-1, 118-1, . . . , n-1.

[0036] In a non-limiting embodiment of the present disclosure, the message counter 208 may be combination of hardware and software modules which may be configured to maintain a count 210 of messages received from the IoT device 214. The count 210 may be updated after receipt of each of the message from the IoT device 214. The message counter 208 may be provided as a part of the IoT hub 102 configured to utilize at least a storage unit and a processing unit of the IoT hub 102. In an alternate non-limiting embodiment of the present disclosure, the message counter 208 may be configured as a part of the system 104 where the message counter 208 may utilize the resources (such as the processing unit 202, the memory 204, the I / O interface 206, etc.).

[0037] In some non-limiting examples, the processing unit 202 may be implemented or realized as a general purpose processor or a group of general purpose processors, a content addressable memory, a digital signal processor, an application specific integrated circuit (ASIC), a field programmable gate array, any suitable programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination designed to perform the functions described here. In some examples, the processing unit 202 may be realized as microprocessors, controllers, microcontrollers, or state machines. In some examples, the processing unit 202 may be realized as a combination of computing devices, such as, a combination of digital signal processors and microprocessors, a plurality of microprocessors, one or more microprocessors in conjunction with a digital signal processor core, or any other such combination / configuration. Furthermore, alternative software implementations including, but not limited to, distributed processing, parallel processing, or virtual machine processing can also be configured to perform the methods described herein.

[0038] In some non-limiting examples, the memory 204 may be disk drives, optical storage devices, solid-state storage devices such as a random-access memory (“RAM”) and / or a read-only memory (“ROM”), which can be programmable, flash-updateable and / or the like. The at least one input / output (I / O) interface 206 provides input / output operations for the system 104. In one implementation, the I / O interface 206 may be communicatively coupled with input / output devices such as transmitter(s), receiver(s), keyboard(s), pointing device(s), display device(s), etc., to transmit and / or receive signals and / or data to / from external devices.

[0039] In some embodiments, the system 104 may fetch the count 210 from the message counter 208 after every message is received from the IoT device 214. In an example scenario, when the count 210 of messages corresponding to the IoT device 214 exceeds a predefined message count level (or a predefined threshold number), the processing unit 202 may detect this an unusual phenomenon and may initiate handling of this scenario to protect the IoT hub 102 from probable disruption of services. In this regard, the processing unit 202 may transmit an instruction message or command 212 to the IoT device 214. The instruction message 212 once received at the IoT device 214 may execute a logic to stop transmission of messages to the IoT hub102. Along with transmitting the instructions message 212 to the IoT device 214, the processing unit 202 may start a timer for a predetermined period / duration (for example, 30 minutes, 01 hour, . . . , 12 hours, etc.) depending on the implementation requirements.

[0040] Further, the processing unit 202 may transmit another instruction message (i.e., a second instruction message) to the IoT device 214 upon expiration of the predetermined period / duration set on the timer. The second instruction message once received at the IoT device 214 may execute a logic to restart transmission of the messages to the IoT hub i.e., resumption of message traffic from the IoT device. Detailed explanation of the proposed solution regarding management of message traffic in the IoT network have been provided in the below paragraphs.

[0041] FIG. 3 is a sequence diagram 300 depicting an exemplary management of message traffic in the IoT network, according to one or more embodiments of the present disclosure. The sequence diagram 300 depicts an IoT device 302 connected to the IoT hub 102 in the IoT network. In an aspect, the IoT device 302 (like the IoT device 214) may be understood as a reference to at least one device among the plurality devices 106, 108, 110, 112, 114, 116, 118, . . . , n. Further, the IoT hub 102 may include an authentication server 312 and an operation server 314, operationally connected to the system 104. A message (msg) counter 302-1 corresponding to the IoT device 302 may be provided in the IoT hub 102. The message counter 302-1 may contain a message count 304 reflecting an updated count of messages received from the IoT device 302. For example, when the IoT device 302 sends nth message within a single day (or within any other predetermined duration), the message counter 302-1 may record this count i.e., ‘n’ as a count 304. Thus, until the IoT hub 102 receives a n+1th message from the IoT device 302, the message counter 302-1 maintains the count 304 as ‘n’. further, as soon as the n+1th message is received from the IoT device 302, the message counter 302-1 updates the count 304 as ‘n+1’. The count 304 may be continuously fetched by the system 104 (involving the processing unit 202 along with other components of the system 104) to determine whether the count 304 exceeds the predefined message count level (i.e., threshold).

[0042] In a non-limiting example scenario, let us assume that the IoT device 302 has been compromised by cybercriminal who wants to disrupt the IoT services for the plurality of devices 106, 108, 110, 112, 114, 116, 118, . . . , n, connected to the IoT hub 102. To conduct this attack, the cybercriminal may target one or more devices among the plurality of devices 106, 108, 110, 112, 114, 116, 118, . . . , n, to intrude into the IoT network. For example, popular ways for the cybercriminals to attack a particular device of the IoT network may include one or more of the following:Physical Attacks

[0043] Physical attacks may be conducted by the cybercriminals over one or more devices (say the IoT device 302) among the plurality of devices 106, 108, 110, 112, 114, 116, 118, . . . , n, to intrude into the IoT network. It may occur when the IoT device 302 can be physically accessed by an unauthorized user i.e., the cybercriminal. For example, the physical cybersecurity attacks may begin with the cybercriminal inserting any external device (like an infected pen drive or a memory card or hard disk, etc.) to spread malicious code into the IoT device 302 and further attacking the IoT network.Encryption Attacks

[0044] When the IoT device 302 is unencrypted, the cybercriminal may compromise the IoT device 302 by installing a malicious code or algorithm into the device, remotely, to take control of the compromised device. The intruder or the cybercriminal may simply utilize the wireless communication features of the IoT device 302 such as Bluetooth, infra-red, NFC, etc. and initiate the attack by sharing the malicious code via these features and convert the IoT device 302 into a gateway to penetrate the IoT network.

[0045] The above-mentioned ways used by the cybercriminals to attack the IoT device 302 are merely for ease of explanation and should not be seen as limitation in any way.

[0046] Now, once the IoT device 302 has been compromised, the cybercriminals may conduct multiple type of attacks on the IoT network via the IoT device 302. The most common type of cyber-attack on the IoT networks is the Denial of Service (DoS) attack or the Distributed Denial of Service (DDoS) attack. The DoS attack is an attempt to disrupt the normal functioning of the IoT network including the IoT hub 102 as well as the plurality of connected devices in the IoT network, rendering them unavailable to legitimate users. DoS attacks typically aim to overload or exhaust system resources, preventing access to critical services. In the IoT networks, the impact of a DoS attack can be particularly severe. The IoT devices often control critical systems such as home security, healthcare devices, and industrial processes. When these devices or their communication networks are targeted by the DoS attacks, the consequences can be catastrophic, ranging from service interruptions to physical harm in certain environments. There are several types of DoS attacks, and they can be particularly damaging to IoT networks due to the inherent limitations of IoT devices and their unprotected nature, like weaker or absent encryption at the device level, etc. The most common types of DoS attack may include, but not limited to the following:Flooding Attacks

[0047] Flooding is one of the most common types of the DoS attacks on the IoT networks. The attacker overwhelms a target device or the IoT network by sending an excessive amount of traffic, consuming all available bandwidth or resources, leading to a slowdown or complete denial of service to the connected devices. For example, the DoS attack may flood the IoT network with requests, rendering it unable to process legitimate traffic. In cases involving industrial IoT (IIoT), this could disrupt operations, such as assembly lines or control systems.Resource Exhaustion Attacks

[0048] These attacks aim to consume the limited resources of one or more devices among the plurality of devices 106, 108, 110, 112, 114, 116, 118, . . . , n, such as memory, processing power, or battery life. Given that IoT devices often have minimal computational resources, they are especially vulnerable to resource exhaustion attacks. For example, an attacker may exploit vulnerabilities in IoT device 302 to force it into performing resource-intensive tasks, such as complex calculations, causing the devices to crash or become unresponsive.Protocol-Based Attacks

[0049] Certain network protocols can be exploited to initiate a DoS attack. The IoT networks often rely on lightweight communication protocols (e.g., MQTT, CoAP) to reduce energy consumption. Attackers may exploit these protocols by sending malformed or excessive requests to IoT devices, leading to failures or crashes. For example, an attacker may send malformed CoAP messages to the IoT device 302, causing it to enter an error state or consume too many resources of the IoT device 302 as well as of the IoT Hub 102.Application Layer Attacks

[0050] These attacks target the application layer of the IoT network, where the services are being provided to end users. This type of DoS attack is typically harder to detect because it mimics normal user behavior. For example, an attacker may exploit an IoT service, such as a smart thermostat, by continuously sending legitimate-looking requests that overload the device's capabilities as well the resources of the IoT hub 102, leading to service interruptions.Physical Layer Attacks

[0051] In the IoT networks, the physical layer may be attacked by disrupting wireless communication links used by the plurality of devices 106, 108, 110, 112, 114, 116, 118, . . . , n. The impact of this type of DoS attack may include jamming or spoofing signals, rendering one or more connected devices among the plurality of devices 106, 108, 110, 112, 114, 116, 118, . . . , n, unable to communicate effectively. For example, in a smart city network, a jammer could disrupt the wireless communication between the IoT devices, such as traffic lights or sensors, leading to operational disruptions.

[0052] Thus, the impact of a Denial of Service (DoS) attack on the IoT networks is significant, particularly due to the reasons such as:

[0053] Disruption of critical services: The IoT networks often manage or control critical infrastructure, such as healthcare devices (e.g., pacemakers), home security systems, industrial automation, and even transportation systems. The DoS attack can render these services inoperable, leading to dangerous consequences. For example, the DoS attack on a smart home security system could leave homes vulnerable to intrusions, while an attack on an IoT-based medical device could disrupt vital healthcare services.

[0054] Economic loss: For businesses relying on the IoT networks for operational efficiency (e.g., the factory 106 or warehouses using IoT for inventory tracking), the DoS attack may lead to significant financial losses. Service outages, delayed operations, and resource wastage can cause businesses to incur heavy costs. For example, the DoS attack on an IoT-enabled smart grid may lead to power outages, affecting not only households but also businesses, leading to huge financial losses.

[0055] Loss of data integrity: The DoS attack may prevent the plurality of devices 106, 108, 110, 112, 114, 116, 118, . . . , n (IoT devices) from receiving or transmitting accurate data, resulting in data corruption or loss. In applications like IoT-enabled healthcare, such data loss can be disastrous, leading to misdiagnosis or even wrongful treatment. For example, in a smart farming system, a DoS attack could prevent the transmission of temperature or humidity data from sensors, causing crop damage or a loss of production.

[0056] Compromise of device security: Once the IoT device 302 is disabled or compromised by the DoS attack, it may become more vulnerable to other forms of attack, such as remote control or exploitation of further vulnerabilities. For example, attackers might disable an IoT camera using a DoS attack, only to later exploit it for unauthorized surveillance once the device is weakened.

[0057] Therefore, the Denial of Service (DoS) attacks pose a serious threat to the integrity and availability of the IoT networks, which are increasingly becoming central to many aspects of daily life and industry. The resource-constrained nature of IoT devices, coupled with their diverse protocols and wide deployment, makes them especially vulnerable to such attacks. The present solution provides an efficient solution to protect the resources of the IoT network from over utilization by a compromised device such as the IoT device 302.

[0058] In some embodiments, once the IoT device 302 is compromised, it may start sending a large overwhelming number of messages to the IoT hub 102 for processing which may lead to consumption of resource and time of the IoT hub 102 for the bogus messages received from the IoT device 302. The administrators or engineers overseeing the IoT network may define the threshold i.e., the predefined message count level for each of the plurality of devices 106, 108, 110, 112, 114, 116, 118, . . . , n. The threshold may be similar or different for the plurality of devices 106, 108, 110, 112, 114, 116, 118, . . . , n, as per the implementation requirements of each of the plurality of devices 106, 108, 110, 112, 114, 116, 118, . . . , n. These thresholds may be set via the admin device 316 or may be hard coded by the service providers.

[0059] Now, lets assume that the threshold set for the IoT device 302 is ‘1000’ messages in a day i.e., 24 hours. This threshold may be decided by the administrator based on the historical operational data of the IoT device 302 and the type of operations of the IoT device 302. Further, when the IoT device 302 starts sending frequent messages (i.e., unusual pattern for the IoT device 302) in large number, the count 304 in the message counter 302-1 may soon reach the threshold (i.e., 1000 messages) level well before the day ends. For example, due to the transmission of overwhelming number of messages, the IoT device 302 reaches the threshold count 10 hours before the end of 24 hours day.

[0060] Once the system 104 detects that the count 304 in the message counter 302-1 corresponding to the IoT device 302 is above the threshold (i.e., count 304>1000), the system 104 may transmit a first transmission message 306 to the IoT device 302. In a non-limiting embodiment, the first transmission message 306 may include instructions for the IoT device 302 to stop transmission of messages to the IoT hub 102 along with an information about the predetermined period / duration for which the IoT device 302 is instructed to stop transmission of messages to the IoT hub 102. The instructions once received at the IoT device 302 may execute a logic to stop transmission of messages to the IoT hub 102. Along with transmitting the first transmission message 306 to the IoT device 302, the system 104 may implement a timer 310 for a predetermined period / duration. This predetermined period / duration may be determined by the system 104 based on an instruction from the admin device 316 or based on a preconfigured duration. For example, 30 minutes, 01 hour, . . . , 12 hours, etc. According to the above mentioned non-limiting example, the timer 310 may be set for 10 hours which is the remaining period before end of the day. The system 104 may deactivate the timer 310 upon expiration of the predetermined period / duration.

[0061] Since, the system 104 restricts messages from the IoT device 302 for the predetermined period / duration, which might have been compromised protects the IoT hub 102 and other resources of the IoT network from the Denial of Service (DoS) attack. Further, the timer 310 is deactivated after the expiry of the predetermined period / duration. Subsequently, the system 104 may transmit a second transmission message 308 to the IoT device 302 after the expiry of the predetermined period / duration. In an aspect, the second transmission message 308 may include instructions to restart the message transmission i.e., permitting the IoT device 302 to transmit the messages to the IoT hub 102. In this way, the message transmissions from the IoT device 302 may be resumed.

[0062] In a non-limiting embodiment, the system 104 may notify the administrator via the admin device 316 regarding the receipt of overwhelmingly large number of messages from the IoT device 302 along with other details such as message logs, timestamps, etc., for the administrator to conduct detailed analysis. The notification sent by the system 104 may enable the admin device 316 to perform a security check of the IoT device 302 and sanitization of the IoT to remove any malicious content or other security risk posing content from the IoT device 302.

[0063] In yet another non limiting embodiment, the system 104 may perform an automatic scanning of the IoT device 302 after transmitting the first transmission message 306. In this regard, the system 104 may execute a code or logic to find and remove any malicious content or other security risk posing content from the IoT device 302. Malicious content on an IoT device may range from malware that compromises the device functionality to unwanted software or data that could lead to security vulnerabilities. Because many IoT devices have limited resources, removing malicious content is often more complicated than on traditional computing devices. The system 104 may perform a check for any visible signs of tampering, such as: Tampering with the firmware (e.g., a reset button being physically accessed) or External devices (e.g., malicious hardware like a keylogger or other malicious attachments) or in case any hardware tampering is found, the system 104 may document the findings. Further, the system 104 may eject any extra physical components connected to the IoT device 302.

[0064] Further, the system 104 may scan the IoT device 302 for known malware signatures. Further, the system 104 may perform inspection of running processes at the IoT device 302. Further, the system 104 may examine system logs of the IoT device 302 for any abnormal activity that could indicate a compromise, such as unauthorized login attempts or failed updates. Further, the system 104 may verify the integrity of device firmware and software by comparing it with known, clean versions. If any files or firmware have been altered, the system 104 may replace them with clean, known versions from the manufacturer. In some cases, system 104 may perform updating of the firmware at the IoT device 302 to the latest version released by the manufacturer. Many IoT device vulnerabilities are exploited through outdated firmware. Updating the firmware may ensure that any security patches provided by the manufacturer are applied.

[0065] Further, the system 104 may send the detailed report of the scanning and removal of malicious contents from the IoT device 302 to the admin device 316. This way the system 104 may perform an automated security risk mitigation at the compromised device i.e., the IoT device 302. However, when the system 104 fails to remove the malicious contents from the IoT device 302, it may transmit a warning message to the admin device 316 along with the details of the failed removal of malicious contents from the admin device 302. In this scenario, the system 104 may refrain from transmitting the second transmission message 308 to the IoT device 302 even after the expiry of the predetermined period / duration and the system 104 may send the second transmission message 308 to the IoT device 302 only upon receiving instructions from the admin device 316.

[0066] The purpose behind extending the restriction over the message transmissions from the IoT device 302 to the IoT hub 102 beyond the predetermined period / duration is to protect the IoT network from any further damage or risk that may arise due to receiving messages from the compromised IoT device. This may improve the security of the IoT network further.

[0067] In some embodiments, the IoT device 302 may not have been compromised and still transmits a large number of messages that exceeds the threshold, the system 104 resumes the transmission of messages upon expiration of the predetermined duration. Also, in some cases, the IoT device 302 may be a part of a critical infrastructure, such as healthcare devices (e.g., pacemakers), home security systems, industrial automation, and even transportation systems. Thus, completely blocking the IoT device 302 may not be an ideal given the criticality of its operations. To handle these situations, the system 104 may receive a message during the predetermined period / duration from the IoT device 302. Upon receiving the message from the IoT device 302, the system 104 may determine whether the message comprises a critical flag. In an aspect, the critical flag may indicate that the message comprises critical information. The critical information may be predefined at the IoT hub 102.

[0068] In some embodiments, the system 104 may discard the message received from the IoT device 302 during the predetermined period / duration, when it is determined that the message does not include the critical flag. Alternatively, the system 104 may process the message, when it is determined that the message includes the critical flag. In this way, the system 104 may not miss the messages which are needed to be transmitted from the critical infrastructures.

[0069] In this regard, the system 104 may identify one or more operation critical messages associated with at least one critical operation, being received from the IoT device 302. Further, the system 104 may detect that the corresponding message count 304 received from the IoT device 302 is above the threshold based on the message counter 302-1 corresponding to the IoT device 302. Further, the system 104 may send a query the operation server 314 to fetch a remaining duration of the at least one critical operation dependent on the one or more operation critical messages being received from the IoT device 302. Subsequently, the system 104 may transmit the first transmission message 306 to the IoT device 302 after expiration of the remaining duration of the at least one critical operation. This is to ensure that an ongoing critical operation does not get disrupted because of the count 304 exceeding the threshold. This is very crucial for critical sectors such as healthcare devices (e.g., pacemakers), home security systems, industrial automation, and even transportation systems.

[0070] In some embodiments, there may be scenarios where the administrator wishes to process the transmissions of messages from the IoT device 302. This may happen when the administrator is aware that the IoT device 302 is not compromised and the count 304 has exceeded due to a known reason and the same may not cause any disruption of the IoT network. In this scenario, the IoT device 302 may transmit a request to the IoT hub 102 to reset the message counter 302-1 corresponding to the IoT device 302. At the IoT hub 102, the system 104 may receive the request to reset the message counter 302-1 corresponding to the IoT device 302. The resetting of the message counter 302-1 is to allow a greater number of messages from the IoT device 302 beyond the threshold.

[0071] Upon receiving the request to reset the message counter 302-1corresponding to the IoT device 302, the system 104 may perform an authentication of the request to reset the message counter 302-1. In an aspect, the system 104 may send a query to the authentication server 312 along with an identifier of the IoT device 302. In response to the query, the authentication server 312 may perform a check in its database and may determine whether the request received from the IoT device 302 to reset the message counter 302-1 is authentic or not. In an aspect, the authentication server 312 may be maintained by the administrator of the IoT hub 102.

[0072] Once the authentication server 312 has determined that the request received from the IoT device 302 to reset the message counter 302-1 is authentic, the authentication server 312 sends a query response to the system 104. The query response may contain a flag indicating that the request received from the IoT device 302 to reset the message counter 302-1 is authentic i.e., the authentication is successful. In response to receiving the query response, the system 104 may reset the message counter 302-1 when the authentication is successful.

[0073] Alternatively, when the authentication server 312 determines that the request received from the IoT device 302 to reset the message counter 302-1 is not authentic, the authentication server 312 sends a query response to the system 104. The query response may contain a flag indicating that the request received from the IoT device 302 to reset the message counter 302-1 is not authentic i.e., the authentication has failed. In response to receiving the query response, the system 104 may not reset the message counter 302-1.

[0074] In a non-limiting example embodiment, the IoT device 302 may be the connected vehicle 112 which is operationally and communicatively connected to the IoT hub 102 for its functioning. A user of the vehicle 112 may decide the distance for which he / she wants to drive the vehicle 112 or the duration for which the vehicle 112 will be travelling. Since the distance or the duration for the vehicle 112 is supposed to be operated in one session may not be predicted by the IoT hub 102. In case the user of the vehicle 112 plans to take the vehicle 112 for a long journey, the vehicle 112 may transmit a large number of messages to the IoT hub 102 during the journey for various operations such as navigation, music and other functions of the vehicle 112. Thus, it is obvious that the number of messages that the vehicle 112 would require to transmit to the IoT hub 102 would breach the threshold count of messages.

[0075] In the above-mentioned scenario, if the count 304 at the message counter 112-1 (the message counter 302-1) corresponding to the vehicle 112 exceeds the threshold, the system 104 may transmit the first transmission message 306 instructing the vehicle 112 to stop message transmission. In the present scenario, if the vehicle 112 stops transmitting messages to the IoT hub 102, many critical operations of the vehicle 112 may suddenly get disrupted. Also, it is not an ideal situation for the vehicle 112 to wait till the timer 310 expires and the transmission of messages is resumed. To tackle this type of scenarios, when the vehicle 112 receives the first transmission message 306 to stop message transmission, an onboard system of the vehicle 112 may determine that the vehicle 112 is still travelling and the duration for which the vehicle 112 needs to transmit messages to the IoT hub 102. In an example, the onboard system of the vehicle 112 may determine the current status (i.e., travelling) and the duration based on the navigation system of the vehicle 112 or may receive said information from the user of the vehicle 112 via a prompt on a display unit of the onboard system (such as an infotainment system, etc).

[0076] Now, the onboard system of the vehicle 112 may transmit a request to the IoT hub 102 to reset the message counter 112-1 corresponding to the vehicle 112. Once the request to reset the message counter 112-1 is received at the IoT hub 102, the system 104 may initiate authentication process of the received request (for resetting the message counter 112-1). Authentication of the request to reset the message counter 112-1 may be necessary to ascertain that the request is a genuine one and the vehicle 112 requires to transmit messages more than the threshold due to a known / genuine reason. In a non-limiting example, the vehicle 112 being a part of IoT network may get compromised by a cyber-attack. For instance, a cyber-attack occurs on the vehicle 112 when it is not travelling and is not being used by its user. Once the vehicle 112 is compromised by the cyber-attack, the attacker may attempt to disrupt the IoT network by causing denial of service attack. In this regard, the attacker may initiate sending overwhelmingly large number of messages to the IoT hub 102 and once it breached the threshold count at the message counter 112-1, the system 104 may instruct the vehicle 112 to stop message transmission for the predefined duration. In this scenario, the attacker may hack the onboard system to send the request to the IoT hub 102 to reset the message counter 112-1. Now, if the system 104 does not authenticate the request received from the onboard system (compromised by the cyber-attack) of the vehicle 112, the attacker may succeed in resetting the message counter 112-1 for one or more times and may succeed in causing the denial of service to the IoT platform.

[0077] Thus, to check the above scenario, upon receiving the request to reset the message counter 112-1 corresponding to the vehicle 112, the system 104 may perform an authentication of the request. In an aspect, the system 104 may send a query to the authentication server 312 along with an identifier of the vehicle 112. In response to the query, the authentication server 312 may perform a check in its database and may determine whether the request received from the vehicle 112 to reset the message counter 112-1 is authentic or not. Now, in the situation when the vehicle 112 is compromised, the authentication server 312 may not have any entry in the database regarding an ongoing journey, etc. In this case, the system 104 may reject the request to reset the message counter 112-1 for failing the authenticity check. Alternatively, when the system 104 determines that the request to reset the message counter 112-1 is authentic, i.e., there is an entry present in the database of the authentication server 312 regarding a genuine requirement of message transmission from the vehicle 112, the system 104 may reset the message counter 112-1. Subsequently, the IoT hub 102 mat start receiving messages from the vehicle 112.

[0078] In some embodiments, assuming that vehicle 112 is not travelling but requires to transmit messages to the IoT hub 102 even when the count 304 is above the threshold. For example, the vehicle 112 may be at a service station and the service staff needs to send more messages to the IoT hub 102 for various inspection / servicing purposes. Now, the request to reset the message counter 112-1 may not be successful as there might not be an entry available in the database of the authentication server 312. Now, to handle this situation, the onboard system of the vehicle 112 may transmit a request to the admin device 316 to reset the message counter 112-1. Upon receiving the request, the admin device 316 after ensuring that the request to reset the message counter 112-1 is genuine / authentic, may transmit a request to the system 104 to reset the message counter 112-1. The system 104 may reset the message counter 112-1 upon receiving the request from the admin device 316.

[0079] FIG. 4 illustrates a flowchart of a method 400 for managing message traffic in the IoT network comprising the IoT hub 102 and a plurality of devices 106, 108, 110, 112, 114, 116, 118, . . . , n, connected to the IoT hub 102, according to one or more embodiments of the present disclosure. The steps of the method 400, described in connection with the embodiments disclosed herein, may be embodied directly in hardware, in firmware, in a software module executed by the processing unit 202 along with other components of the system 104, in any practical combination thereof.

[0080] At step 402, the method 400 may perform providing the IoT hub 102 with a plurality of message counters 106-1, 108-1, 110-1, 112-1, 114-1, 116-1, 118-1, . . . , n-1 corresponding to the plurality of devices 106, 108, 110, 112, 114, 116, 118, . . . , n. In an aspect, each of the plurality of message counters 106-1, 108-1, 110-1, 112-1, 114-1, 116-1, 118-1, . . . , n-1 may be configured to maintain a count of the messages received at the IoT hub 102 from a corresponding device of the plurality of devices 106, 108, 110, 112, 114, 116, 118, . . . , n.

[0081] At step 404, the method 400 may perform receiving (by the IoT hub 102) a plurality of messages from the plurality of devices 106, 108, 110, 112, 114, 116, 118, . . . , n. In the IoT network, the plurality of devices 106, 108, 110, 112, 114, 116, 118, . . . , n need to communicate with each other and with centralized systems i.e., the IoT hub 102 to exchange data / information. This data exchange may be done in form of messages and is crucial for enabling the automation and intelligence that characterize IoT applications. The types of data exchange in the IoT network may vary based on the communication models, protocols, and the specific needs of the IoT network.

[0082] At step 406, the method 400 may perform updating (by the IoT hub 102) the plurality of counters 106-1, 108-1, 110-1, 112-1, 114-1, 116-1, 118-1, . . . , n-1 based on the plurality of messages received from the plurality of devices 106, 108, 110, 112, 114, 116, 118, . . . , n. A typical message counter is commonly used to track the number of messages exchanged between a device among the plurality of devices 106, 108, 110, 112, 114, 116, 118, . . . , n, and the IoT hub 102 as well as other devices connected in the IoT network. The present solution may implement the plurality of message counters 106-1, 108-1, 110-1, 112-1, 114-1, 116-1, 118-1, . . . , n-1 based on any existing or conventional type of message counters.

[0083] At step 408, the method 400 may perform detecting (by the IoT hub 102) at least one device in the plurality of devices 106, 108, 110, 112, 114, 116, 118, . . . , n, whose corresponding message count is above a predefined message count level (threshold) based on the message counter (e.g., the message counters 208, 302-1), corresponding to the at least one device (e.g., the IoT devices 214, 302). In an aspect, the processing unit 202 may detect that the count in the message counter corresponding to at least one device is above the threshold (i.e., count >threshold).

[0084] At step 410, the method 400 may perform transmitting (by the IoT hub 102) the first transmission message 306 to the at least one device of the plurality of devices 106, 108, 110, 112, 114, 116, 118, . . . , n. In an aspect, the first transmission message 306 may include instructions for the at least one device to stop transmission of messages to the IoT hub 102. In an aspect, the first transmission message 306 may further include an information about a predetermined period / duration. The predetermined period / duration may be a period for which the at least one device is instructed to stop transmission of messages to the IoT hub 102.

[0085] FIG. 5 illustrates a flowchart of a method 500 for managing a critical message in the IoT network comprising the IoT hub 102 and a plurality of devices 106, 108, 110, 112, 114, 116, 118, . . . , n, connected to the IoT hub 102, according to one or more embodiments of the present disclosure. The steps of the method 500, described in connection with the embodiments disclosed herein, may be embodied directly in hardware, in firmware, in a software module executed by the processing unit 202 along with other components of the system 104, in any practical combination thereof.

[0086] At step 502, the method 500 may perform transmitting the second transmission message 308 to the at least one device on expiry of a predetermined period / duration. In an aspect, the second transmission message 308 may include instructions permitting the at least one device to transmit the messages to the IoT hub 102. For example, the timer 310 may be deactivated after the expiry of the predetermined period / duration. Subsequently, the second transmission message 308 may be transmitted to the at least one device after the expiry of the predetermined period / duration. In an aspect, the second transmission message 308 may include instructions to restart the message transmission i.e., permitting the at least one device to transmit the messages to the IoT hub 102. In this way, the message transmissions from the at least one device may be resumed.

[0087] At step 504, the method 500 may perform receiving at least one message during the predetermined period / duration from the at least one device. The at least one message may be received before the expiration of the timer 310 set for the at least one device which had exceeded the threshold of the messages.

[0088] At step 506, the method 500 may perform determining whether the at least one message comprises a critical flag. In an aspect, the critical flag is indicative that the at least one message comprises critical information. In some cases, the at least one device may be a part of a critical infrastructure, such as healthcare devices (e.g., pacemakers), home security systems, industrial automation, and even transportation systems. Thus, completely blocking the at least one device may not be an ideal given the criticality of its operations. To handle these situations, the IoT hub 102 may receive a message during the predetermined period / duration from the at least one device. Upon receiving the message from the at least one device, the determination is check whether the message comprises a critical flag. The critical information may be predefined at the IoT hub 102.

[0089] At step 508, the method 500 may perform discarding the at least one message, when it is determined that the at least one message does not include the critical flag. At step 510, the method 500 may perform processing the at least one message, when it is determined that the at least one message includes the critical flag.

[0090] FIG. 6 illustrates a flowchart of a method 600 for resetting a message counter in the IoT network comprising the IoT hub 102 and a plurality of devices 106, 108, 110, 112, 114, 116, 118, . . . , n, connected to the IoT hub 102, according to one or more embodiments of the present disclosure. The steps of the method 600, described in connection with the embodiments disclosed herein, may be embodied directly in hardware, in firmware, in a software module executed by the processing unit 202 along with other components of the system 104, in any practical combination thereof.

[0091] At step 602, the method 600 may perform receiving, by the IoT hub 102, a request from the at least one device to reset the message counter corresponding to the at least one device. In an aspect, there may be scenarios where the administrator wishes to process the transmissions of messages from the at least one device. This may happen when the administrator is aware that the at least one device is not compromised, and the message count has exceeded due to a known reason and the same may not cause any disruption of the IoT network. In this scenario, at least one device may transmit a request to the IoT hub 102 to reset the message counter corresponding to the at least one device. The IoT hub 102 may receive the request to reset the message counter corresponding to the at least one device. The resetting of the message counter is to allow a greater number of messages from at least one device beyond its threshold.

[0092] At step 604, the method 600 may perform, by the IoT hub 102 using an authentication server 312, an authentication of the request to reset the message counter. Upon receiving the request to reset the message counter corresponding to the at least one device, the system 104 at the IoT hub 102 may perform an authentication of the request to reset the message counter. In an aspect, the system 104 may send a query to the authentication server 312 along with an identifier of the at least one device. In response to the query, the authentication server 312 may perform a check in its database and may determine whether the request received from the at least one device to reset the message counter is authentic or not. In an aspect, the authentication server 312 may be maintained by the administrator of the IoT hub 102.

[0093] At step 606, the method 600 may perform resetting, by the IoT hub, the message counter when the authentication is successful. Once the authentication server 312 has determined that the request received from the at least one device to reset the message counter is authentic, the authentication server 312 sends a query response to the system 104. The query response may contain a flag indicating that the request received from the at least one device to reset the message counter is authentic i.e., the authentication is successful. In response to receiving the query response, the system 104 may reset the message counter when the authentication is successful. Alternatively, when the authentication server 312 determines that the request received from the at least one device to reset the message counter is not authentic, the authentication server 312 sends a query response to the system 104. The query response may contain a flag indicating that the request received from the at least one device to reset the message counter is not authentic i.e., the authentication has failed. In response to receiving the query response, the system 104 may not reset the message counter.

[0094] FIG. 7 illustrates a flowchart of a method 700 for managing message traffic associated with an ongoing critical operation in the IoT network comprising the IoT hub 102 and a plurality of devices 106, 108, 110, 112, 114, 116, 118, . . . , n, connected to the IoT hub 102, according to one or more embodiments of the present disclosure. The steps of the method 700, described in connection with the embodiments disclosed herein, may be embodied directly in hardware, in firmware, in a software module executed by the processing unit 202 along with other components of the system 104, in any practical combination thereof.

[0095] At step 702, the method 700 may perform identifying, by the IoT hub 102, one or more operation critical messages associated with at least one critical operation, being received from the at least one device such as the IoT device 302. For example, the IoT device 302 may be a part of a critical infrastructure, such as healthcare devices (e.g., pacemakers), home security systems, industrial automation, and even transportation systems. Thus, completely blocking the IoT device 302 may not be an ideal given the criticality of its operations.

[0096] At step 704, the method 700 may perform detecting, by the IoT hub 102, that the corresponding message count received from the at least one device (such as the IoT device 302) is above the predefined message count level based on the message counter corresponding to the at least one device.

[0097] At step 706, the method 700 may perform querying an operation server 314 to fetch a remaining duration of the at least one critical operation dependent on the one or more operation critical messages being received from the at least one device. In an aspect, the system 104 may send a query to the operation server 314 to receive information regarding the remaining duration of the critical operation dependent on the one or more operation critical messages being received from the IoT device 302. This become very critical where life support device are being operated and the message count exceeds the threshold.

[0098] At step 708, the method 700 may perform transmitting the first transmission message to the at least one device after expiration of the remaining duration of the at least one critical operation. In an aspect, the system 104 may hold sending the first transmission message 306 to the IoT device 302 till the critical operation is completed. This may enable successful completion of critical operations and may not hamper the critical operations dependent on the message transmission to the IoT hub 102.

[0099] FIG. 8 shows a computer system 800 that may be used with the embodiments and examples described herein. The computer system 800 includes components that may be in a server or another computer system. The computer system 800 may execute, by one or more processors or other hardware processing circuits, the methods, functions and other processes described herein. These methods, functions and other processes may be embodied as machine readable instructions stored on computer readable medium, which may be non-transitory, such as hardware storage devices (e.g., RAM (random access memory), ROM (read only memory), EPROM (erasable, programmable ROM), EEPROM (electrically erasable, programmable ROM), hard drives, and flash memory).

[0100] The computer system 800 includes at least one processor 802 that may implement or execute machine readable instructions performing some or all of the methods, functions and other processes described herein. Commands and data from the processor 802 are communicated over a communication bus 804. The computer system 800 also includes a main memory 806, such as a random-access memory (RAM), where the machine readable instructions and data for the processor 802 may reside during runtime, and a secondary data storage 808, which may be non-volatile and stores machine readable instructions and data. For example, machine readable instructions for the system 104 may reside in the memory 806 during runtime. The memory 806 and secondary data storage 808 are examples of computer readable mediums.

[0101] The computer system 800 may include an I / O device 810, such as a keyboard, a mouse, a display, etc. For example, the I / O device 810 includes a display for displaying various graphical user interfaces described herein. The computer system 800 may include a network interface 812 for connecting to a network. Other known electronic components may be added or substituted in the computer system 800.

[0102] The present subject matter provides various advantages compared to the existing techniques available for managing or regulating message traffic in an Internet of Things (IoT) network. The present subject matter provides methods and systems for managing message traffic in an Internet of Things (IoT) network. The proposed solution provides techniques for efficient management and control of message traffic from edge devices in an IoT network. The present solution enhances the security, performance, and reliability of the IoT networks by introducing a rate limiting mechanism at the device level. The proposed solution provides a comprehensive solution to control and manage message traffic from edge devices in the IoT platform. For example, the present solution may provide: Message Count Monitoring-real-time monitoring of message count for each device in the IoT network. Threshold Enforcement-restriction of message transmission once a predefined threshold is reached. Automatic Reset: Re-enablement of message transmission after a set period, ensuring service continuity.

[0103] The subject matter may be described herein in terms of functional and / or logical block components, and with reference to symbolic representations of operations, processing tasks, and functions that may be performed by various computing components or devices. It should be appreciated that the various block components shown in the figures may be realized by any number of hardware components configured to perform the specified functions. For example, an embodiment of a system or a component may employ various integrated circuit components, e.g., memory elements, digital signal processing elements, logic elements, look-up tables, or the like, which may carry out a variety of functions under the control of one or more microprocessors or other control devices.

[0104] Furthermore, embodiments of the subject matter described herein can be stored on, encoded on, or otherwise embodied by any suitable non-transitory computer-readable medium as computer-executable instructions or data stored thereon that, when executed (e.g., by a processing system), facilitate the processes described above. The term “computer readable medium” may include any medium that is capable of storing, encoding, or carrying instructions for execution by the system 104 and that cause the system 104 to perform any one or more of the techniques of the present disclosure, or that is capable of storing, encoding or carrying data structures used by or associated with such instructions. Non-limiting computer readable medium examples may include solid-state memories, and optical and magnetic media. In an example, a massed computer readable medium comprises a computer readable medium with a plurality of particles having invariant (e.g., rest) mass. Accordingly, massed computer-readable media are not transitory propagating signals. Specific examples of massed machine readable media may include: non-volatile memory, such as semiconductor memory devices (e.g., Electrically Programmable Read-Only Memory (EPROM). Electrically Erasable Programmable Read-Only Memory (EEPROM)) and flash memory devices; magnetic disks, such as internal hard disks and removable disks; magneto-optical disks; and CD-ROM and DVD-ROM disks.

[0105] The connecting lines shown in the various figures contained herein are intended to represent exemplary functional relationships and / or physical couplings between the various elements. It should be noted that many alternative or additional functional relationships or physical connections may be present in an embodiment of the subject matter.

[0106] The foregoing description refers to elements or nodes or features being “coupled” together. As used herein, unless expressly stated otherwise, “coupled” means that one element / node / feature is directly or indirectly joined to (or directly or indirectly communicates with) another element / node / feature, and not necessarily mechanically. Thus, although the drawings may depict one exemplary arrangement of elements directly connected to one another, additional intervening elements, devices, features, or components may be present in an embodiment of the depicted subject matter. In addition, certain terminology may also be used herein for the purpose of reference only, and thus are not intended to be limiting.

[0107] The foregoing detailed description is merely exemplary in nature and is not intended to limit the subject matter of the application and uses thereof. Furthermore, there is no intention to be bound by any theory presented in the preceding background, brief summary, or the detailed description.

[0108] While at least one exemplary embodiment has been presented in the foregoing detailed description, it should be appreciated that a vast number of variations exist. It should also be appreciated that the exemplary embodiment or exemplary embodiments are only examples, and are not intended to limit the scope, applicability, or configuration of the subject matter in any way. Rather, the foregoing detailed description will provide those skilled in the art with a convenient road map for implementing an exemplary embodiment of the subject matter. It should be understood that various changes may be made in the function and arrangement of elements described in an exemplary embodiment without departing from the scope of the subject matter as set forth in the appended claims. Accordingly, details of the exemplary embodiments or other limitations described above should not be read into the claims absent a clear intention to the contrary.

Claims

1. A method for managing message traffic in an Internet of Things (IoT) network comprising an IoT hub and a plurality of devices connected to the IoT hub, wherein the method comprises:providing the IoT hub with a plurality of message counters corresponding to the plurality of devices, wherein each of the plurality of message counters is configured to maintain a count of the messages received at the IoT hub from a corresponding device of the plurality of devices;receiving, by the IoT hub, a plurality of messages from the plurality of devices;updating, by the IoT hub, the plurality of message counters based on the plurality of messages received from the plurality of devices;detecting, by the IoT hub, at least one device in the plurality of devices whose corresponding message count is above a predefined message count level based on the message counter corresponding to the at least one device; andtransmitting, by the IoT hub, a first transmission message to the at least one device, wherein the first transmission message comprises instructions for the at least one device to stop transmission of messages to the IoT hub.

2. The method as claimed in claim 1, further comprising:transmitting a second transmission message to the at least one device on expiry of a predetermined period, wherein the second transmission message comprises instructions permitting the at least one device to transmit the messages to the IoT hub.

3. The method as claimed in claim 2, further comprising:receiving, from the at least one device, at least one message during the predetermined period; anddetermining whether the at least one message comprises a critical flag, wherein the critical flag is indicative that the at least one message comprises critical information;discarding the at least one message, when it is determined that the at least one message does not include the critical flag; andprocessing the at least one message, when it is determined that the at least one message includes the critical flag.

4. The method as claim in claim 1, wherein the first transmission message further comprises information about a predetermined period, wherein the predetermined period is a period for which the at least one device is instructed to stop transmission of messages to the IoT hub.

5. The method as claimed in claim 1, further comprising:receiving, by the IoT hub, a request from the at least one device to reset the message counter corresponding to the at least one device;performing, by the IoT hub using an authentication server, an authentication of the request to reset the message counter; andresetting, by the IoT hub, the message counter when the authentication is successful.

6. The method as claimed in claim 1, further comprising:receiving, from an administrator device, an admin request for resetting the message counter corresponding to the at least one device; andresetting the message counter corresponding to the at least one device based on the admin request.

7. The method as claimed in claim 1, wherein transmitting the first transmission message to the at least one device, further comprising:identifying, by the IoT hub, one or more operation critical messages associated with at least one critical operation, being received from the at least one device;detecting, by the IoT hub, that the corresponding message count received from the at least one device is above the predefined message count level based on the message counter corresponding to the at least one device;querying an operation server to fetch a remaining duration of the at least one critical operation dependent on the one or more operation critical messages being received from the at least one device; andtransmitting the first transmission message to the at least one device after expiration of the remaining duration of the at least one critical operation.

8. A system for managing message traffic in an Internet of Things (IoT) network comprising an IoT hub and a plurality of devices connected to the IoT hub, wherein the system comprises:a memory; anda processing unit operationally coupled to the memory, wherein the processing unit is configured to:provide the IoT hub with a plurality of message counters corresponding to the plurality of devices, wherein each of the plurality of message counters is configured to maintain a count of the messages received at the IoT hub from a corresponding device of the plurality of devices;receive, by using the IoT hub, a plurality of messages from the plurality of devices;update, by using the IoT hub, the plurality of message counters based on the plurality of messages received from the plurality of devices;detect, by using the IoT hub, at least one device in the plurality of devices whose corresponding message count is above a predefined message count level based on the message counter corresponding to the at least one device; andtransmit, by using the IoT hub, a first transmission message to the at least one device, wherein the first transmission message comprises instructions for the at least one device to stop transmission of messages to the IoT hub.

9. The system as claim in claim 8, wherein the processing unit is further configured to:transmit a second transmission message to the at least one device on expiry of a predetermined period, wherein the second transmission message comprises instructions permitting the at least one device to transmit the messages to the IoT hub.

10. The system as claimed in claim 9, wherein the processing unit is further configured to:receive, from the at least one device, at least one message during the predetermined period; anddetermine whether the at least one message comprises a critical flag, wherein the critical flag is indicative that the at least one message comprises critical information;discard the at least one message, when it is determined that the at least one message does not include the critical flag; andprocess the at least one message, when it is determined that the at least one message includes the critical flag.

11. The system as claimed in claim 8, wherein the first transmission message further comprises information about a predetermined period, wherein the predetermined period is a period for which the at least one device is instructed to stop transmission of messages to the IoT hub.

12. The system as claimed in claim 8, wherein the processing unit is further configured to:receive, by using the IoT hub, a request from the at least one device to reset the message counter corresponding to the at least one device;perform, by using the IoT hub using an authentication server, an authentication of the request to reset the message counter; andreset, by using the IoT hub, the message counter when the authentication is successful.

13. The system as claimed in claim 8, wherein the processing unit is further configured to:receive, from an administrator device, an admin request for resetting the message counter corresponding to the at least one device; andreset the message counter corresponding to the at least one device based on the admin request.

14. The system as claimed in claim 8, wherein to transmit the first transmission message to the at least one device, the processing unit is further configured to:identify, by using the IoT hub, one or more operation critical messages associated with at least one critical operation, being received from the at least one device;detect, by using the IoT hub, that the corresponding message count received from the at least one device is above the predefined message count level based on the message counter corresponding to the at least one device;query an operation server to fetch a remaining duration of the at least one critical operation dependent on the one or more operation critical messages being received from the at least one device; andtransmit the first transmission message to the at least one device after expiration of the remaining duration of the at least one critical operation.

15. A computer-readable medium having computer-executable instructions stored thereon that, when executed by a processing unit, cause the processing unit to execute a method for managing message traffic in an Internet of Things (IoT) network comprising an IoT hub and a plurality of devices connected to the IoT hub, wherein the processing unit is configured to:provide the IoT hub with a plurality of message counters corresponding to the plurality of devices, wherein each of the plurality of message counters is configured to maintain a count of the messages received at the IoT hub from a corresponding device of the plurality of devices;receive, by using the IoT hub, a plurality of messages from the plurality of devices;update, by using the IoT hub, the plurality of counters based on the plurality of messages received from the plurality of devices;detect, by using the IoT hub, at least one device in the plurality of devices whose corresponding message count is above a predefined message count level based on the message counter corresponding to the at least one device; andtransmit, by using the IoT hub, a first transmission message to the at least one device, wherein the first transmission message comprises instructions for the at least one device to stop transmission of messages to the IoT hub.

16. The computer-readable medium as claimed in claim 15, wherein the computer-executable instructions further cause the processing unit to:transmit a second transmission message to the at least one device on expiry of a predetermined period, wherein the second transmission message comprises instructions permitting the at least one device to transmit the messages to the IoT hub;receive, from the at least one device, at least one message during the predetermined period; anddetermine whether the at least one message comprises a critical flag, wherein the critical flag is indicative that the at least one message comprises critical information;discard the at least one message, when it is determined that the at least one message does not include the critical flag; andprocess the at least one message, when it is determined that the at least one message includes the critical flag.

17. The computer-readable medium as claimed in claim 15, wherein wherein the first transmission message further comprises information about a predetermined period, wherein the predetermined period is a period for which the at least one device is instructed to stop transmission of messages to the IoT hub.

18. The computer-readable medium as claimed in claim 15, wherein the computer-executable instructions further cause the processing unit to:receive, by using the IoT hub, a request from the at least one device to reset the message counter corresponding to the at least one device;perform, by using the IoT hub using an authentication server, an authentication of the request to reset the message counter; andreset, by using the IoT hub, the message counter when the authentication is successful.

19. The computer-readable medium as claimed in claim 15, wherein the computer-executable instructions further cause the processing unit to:receive, from an administrator device, an admin request for resetting the message counter corresponding to the at least one device; andreset the message counter corresponding to the at least one device based on the admin request.

20. The computer-readable medium as claimed in claim 15, wherein to transmit the first transmission message to the at least one device, the computer-executable instructions further cause the processing unit to:identify, by using the IoT hub, one or more operation critical messages associated with at least one critical operation, being received from the at least one device;detect, by using the IoT hub, that the corresponding message count received from the at least one device is above the predefined message count level based on the message counter corresponding to the at least one device;query an operation server to fetch a remaining duration of the at least one critical operation dependent on the one or more operation critical messages being received from the at least one device; andtransmit the first transmission message to the at least one device after expiration of the remaining duration of the at least one critical operation.