Internet of Things equipment management and control method and system based on equipment model
By building device models and setting protocols to distinguish domains, monitoring and analyzing the operating characteristic data of IoT devices, and configuring the equipment to enter the working mode, the problem of cumbersome and unreliable equipment management methods in the existing technology is solved, and flexible management of IoT devices and high-reliability operations are achieved.
Patent Information
- Application Number
- CN202411944553.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-27
- Publication Date
- 2025-04-11
AI Technical Summary
The existing IoT device management method based on device model can only configure a single device. The configuration process is cumbersome and cannot fully cover all the operation of the device, reducing the flexibility and reliability of management of IoT devices.
By building a device model and setting up several protocol distinction domains, monitoring and analyzing the operating characteristic data of IoT devices, the device is connected to the matching protocol distinction domain, so that it is compatible with the device model. Configure the protocol to distinguish the domain-connected devices, let them enter the working mode, listen to the devices to obtain the work log, analyze the logs to identify the alarm conditions and send alarm notifications to the IoT platform, and adjust the connection relationship between the device and the device model.
It realizes flexible management of IoT devices, can accurately respond to the increase in equipment, fully cover all operational situations of the equipment, and improves the operational security and reliability of IoT systems.
Smart Images

Figure CN119814539A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Internet of Things, and in particular to an Internet of Things device management and control method and system based on a device model. Background Art
[0002] With the development of digitalization and information technology, the Internet of Things has been widely used in enterprise operations. As the types and numbers of devices used by enterprises gradually increase, the difficulty of device configuration and management will increase. In this context, device models came into being. Device models can realize flexible configuration of devices and effectively deal with management problems caused by the increasing types and numbers of devices within the Internet of Things. Specifically, device models are widely used in industrial software to improve the management efficiency of devices and reduce the difficulty of management. However, the current device management method based on device models can only configure a single device, and the configuration process is cumbersome, and the device configuration content is limited, which cannot fully cover all operating conditions of the device, reducing the management flexibility and reliability of IoT devices. Summary of the invention
[0003] The purpose of the present invention is to provide an Internet of Things device management and control method and system based on a device model, construct a device model and set a number of protocol distinction domains for it, check and analyze the operating characteristic data of the Internet of Things device, thereby connecting the Internet of Things device to the matching protocol distinction domain, so that the Internet of Things device can be connected to the device model for compatible protocols, ensuring the flexible management of the Internet of Things device by the device model; configuring the Internet of Things device connected to the protocol distinction domain, so that the Internet of Things device is in working mode, monitoring the Internet of Things device through the device model, obtaining a work log, and comprehensively recording and characterizing the task processing process of the Internet of Things device; analyzing the work log, so that the Internet of Things device that triggers the alarm condition of the device model, and notifying the Internet of Things platform of the alarm through the device model, thereby adjusting the connection relationship between the Internet of Things device and the device model, and timely and flexibly managing the Internet of Things device through the device module, can accurately respond to the increase in equipment on the Internet of Things platform, completely cover all operating conditions of the equipment, and improve the operational safety and reliability of the Internet of Things.
[0004] The present invention is achieved through the following technical solutions:
[0005] IoT device management and control methods based on device models include:
[0006] Based on the attribute information of the IoT platform, a device model matching the IoT platform is constructed, and several protocol distinction domains are set for the device model; operating characteristic data of all IoT devices are monitored and analyzed, and each IoT device is connected to the protocol distinction domain matching the device model;
[0007] Connect the device model to the IoT platform, and configure all IoT devices connected to the protocol domain so that all IoT devices enter corresponding working modes; monitor all IoT devices respectively through the device model to obtain the corresponding working logs of all IoT devices;
[0008] The work log is analyzed to identify whether the IoT device triggers the alarm condition of the device model; when the IoT device triggers the alarm condition, an alarm notification is sent to the IoT platform through the device model, and then based on the feedback of the IoT platform on the alarm notification, the connection relationship between the IoT device and the device model is adjusted.
[0009] Optionally, based on the attribute information of the Internet of Things platform, a device model matching the Internet of Things platform is constructed, and several protocol distinction domains are set for the device model; operating characteristic data of all Internet of Things devices are monitored and analyzed, and each Internet of Things device is connected to the protocol distinction domain matching the device model, including:
[0010] Acquire network structure attribute information of the Internet of Things platform, wherein the network structure attribute information includes gateway node distribution location information and gateway node bandwidth size information within the Internet of Things platform; determine the capacity and type of the device model matched by the Internet of Things platform based on the network structure attribute information, thereby constructing a device model matched with the Internet of Things platform;
[0011] Based on the protocol types supported by the device model, a plurality of protocol distinction domains are set for the device model; wherein all the protocol distinction domains correspond one-to-one to all the protocol types supported by the device model;
[0012] All IoT devices are periodically monitored to obtain hardware operation characteristic data and software operation characteristic data of all IoT devices; the hardware operation characteristic data and the software operation characteristic data are analyzed to determine the docking engine that matches each IoT device; based on the docking engine, each IoT device is connected to the protocol domain that matches the device model.
[0013] Optionally, extracting the bandwidth size information of the gateway node and the bandwidth utilization rate of the gateway node during the historical communication operation process, and determining whether the bandwidth allocation of the gateway node is reasonable according to the bandwidth utilization rate, including:
[0014] Extract the bandwidth size information of the gateway node;
[0015] Retrieve the historical communication operation records of each gateway node;
[0016] Acquire the bandwidth utilization rate of each gateway node from the historical communication operation record of each gateway node;
[0017] Acquire the data transmission rate of each gateway node from the historical communication operation record of each gateway node;
[0018] Obtaining a gateway node operation load factor using the bandwidth utilization rate of each gateway node and the data transmission rate of each gateway node;
[0019] The gateway node operation load factor is obtained by the following formula:
[0020]
[0021] Where K represents the operation load factor of the gateway node; n represents the number of unit times contained in the historical communication operation records of the gateway node; P i represents the bandwidth utilization rate corresponding to the i-th unit time; B i represents the data transmission rate corresponding to the i-th unit time; B e Indicates the preset data transmission rate reference value; P bi represents the standard deviation of bandwidth utilization corresponding to the i-th unit time; P bmax Indicates the maximum value of the standard deviation of bandwidth utilization that occurs in n units of time; B bi represents the standard deviation of the data transmission rate corresponding to the i-th unit time; B bmax represents the maximum value of the standard deviation of the data transmission rate occurring in n unit time; k represents the adjustment coefficient, and the adjustment coefficient is obtained by the following formula:
[0022]
[0023] Where k represents the adjustment coefficient; P max Indicates the maximum bandwidth utilization corresponding to n unit time; P min Indicates the minimum bandwidth utilization corresponding to n unit time; B max Indicates the maximum data transmission rate corresponding to n unit time; B min Indicates the minimum data transmission rate corresponding to n unit time; B m01 Indicates the data transmission rate corresponding to the maximum bandwidth utilization; B m02 Indicates the data transmission rate corresponding to the minimum bandwidth utilization; P m01 represents the bandwidth utilization corresponding to the minimum data transmission rate of n; P m02 Indicates the bandwidth utilization corresponding to the maximum value of n data transmission rate;
[0024] Comparing the gateway node operation load factor with a preset load factor threshold;
[0025] When the gateway node operation load factor is greater than a preset load factor threshold, it is determined that the gateway node bandwidth allocation of the gateway node is unreasonable, and an abnormal bandwidth allocation alarm is issued.
[0026] Optionally, the device model is connected to the Internet of Things platform, and all Internet of Things devices connected to the protocol domain are configured so that all Internet of Things devices enter corresponding working modes; all Internet of Things devices are monitored respectively through the device model to obtain working logs corresponding to all Internet of Things devices, including:
[0027] Based on the data interaction bandwidth requirements of the device model, the device model is connected to the corresponding gateway node in the IoT platform; based on the protocol, the respective to-be-processed task queues of all IoT devices connected to the domain are distinguished, and the interfaces and data processing threads of all IoT devices are configured respectively, so that all IoT devices enter the corresponding working mode;
[0028] Based on the connection links of all IoT devices within the device model, all IoT devices are monitored separately to identify whether all IoT devices have completed all tasks under the pending task queue; if completed, the work log corresponding to the IoT device is extracted; if not completed, the work log corresponding to the IoT device is not extracted until all tasks under the pending task queue are completed.
[0029] Optionally, analyzing the work log to identify whether the IoT device triggers an alarm condition of the device model; when the IoT device triggers the alarm condition, sending an alarm notification to the IoT platform through the device model, and then adjusting the connection relationship between the IoT device and the device model based on feedback from the IoT platform on the alarm notification, including:
[0030] Analyze the work log to obtain data interaction behavior feature information during the task processing of the IoT device; wherein the data interaction behavior feature information includes the interval location corresponding to the occurrence of the data interaction behavior and the interaction data type;
[0031] Based on the data interaction behavior characteristic information, determine whether the IoT device violates the data interaction rules allowed by the device model during task processing; if so, determine that the IoT device triggers the alarm condition of the device model; if not, determine that the IoT device does not trigger the alarm condition of the device model;
[0032] When the IoT device triggers the alarm condition, an alarm notification message containing the identity information of the IoT device that triggered the alarm condition is sent to the IoT platform through the device model; in response to the IoT platform's response feedback on the alarm notification message, a timed disconnection operation is performed on the IoT device and the device module.
[0033] IoT device management and control system based on device model, including:
[0034] A device model building and setting module, used to build a device model matching the IoT platform based on the attribute information of the IoT platform, and set several protocol distinction domains for the device model;
[0035] An IoT device connection module, used to monitor and analyze the operational characteristic data of all IoT devices, and connect each IoT device to the protocol domain matching the device model;
[0036] An IoT device configuration module, used to connect the device model to the IoT platform and configure all IoT devices connected to the protocol domain so that all IoT devices enter corresponding working modes;
[0037] A work log acquisition module is used to monitor all IoT devices respectively through the device model to obtain the work logs corresponding to all IoT devices;
[0038] An alarm trigger identification module, used to analyze the work log and identify whether the IoT device triggers the alarm condition of the device model;
[0039] The IoT device connection adjustment module is used to send an alarm notification to the IoT platform through the device model when the IoT device triggers the alarm condition, and then adjust the connection relationship between the IoT device and the device model based on the feedback of the IoT platform on the alarm notification.
[0040] Optionally, the device model construction and setting module is used to construct a device model matching the Internet of Things platform based on the attribute information of the Internet of Things platform, and set several protocol distinction domains for the device model, including:
[0041] Acquire network structure attribute information of the Internet of Things platform, wherein the network structure attribute information includes gateway node distribution location information and gateway node bandwidth size information within the Internet of Things platform; determine the capacity and type of the device model matched by the Internet of Things platform based on the network structure attribute information, thereby constructing a device model matched with the Internet of Things platform;
[0042] Based on the protocol types supported by the device model, a plurality of protocol distinction domains are set for the device model; wherein all the protocol distinction domains correspond one-to-one to all the protocol types supported by the device model;
[0043] The IoT device connection module is used to monitor and analyze the operation characteristic data of all IoT devices, and connect each IoT device to the protocol domain matched by the device model, including:
[0044] All IoT devices are periodically monitored to obtain hardware operation characteristic data and software operation characteristic data of all IoT devices; the hardware operation characteristic data and the software operation characteristic data are analyzed to determine the docking engine that matches each IoT device; based on the docking engine, each IoT device is connected to the protocol domain that matches the device model.
[0045] Optionally, extracting the bandwidth size information of the gateway node and the bandwidth utilization rate of the gateway node during the historical communication operation process, and determining whether the bandwidth allocation of the gateway node is reasonable according to the bandwidth utilization rate, including:
[0046] Extract the bandwidth size information of the gateway node;
[0047] Retrieve the historical communication operation records of each gateway node;
[0048] Acquire the bandwidth utilization rate of each gateway node from the historical communication operation record of each gateway node;
[0049] Acquire the data transmission rate of each gateway node from the historical communication operation record of each gateway node;
[0050] Obtaining a gateway node operation load factor using the bandwidth utilization rate of each gateway node and the data transmission rate of each gateway node;
[0051] The gateway node operation load factor is obtained by the following formula:
[0052]
[0053] Where K represents the operation load factor of the gateway node; n represents the number of unit times contained in the historical communication operation records of the gateway node; P i represents the bandwidth utilization rate corresponding to the i-th unit time; B i represents the data transmission rate corresponding to the i-th unit time; B e Indicates the preset data transmission rate reference value; P bi represents the standard deviation of bandwidth utilization corresponding to the i-th unit time; P bmax Indicates the maximum value of the standard deviation of bandwidth utilization that occurs in n units of time; Bbi represents the standard deviation of the data transmission rate corresponding to the i-th unit time; B bmax represents the maximum value of the standard deviation of the data transmission rate occurring in n unit time; k represents the adjustment coefficient, and the adjustment coefficient is obtained by the following formula:
[0054]
[0055] Where k represents the adjustment coefficient; P max Indicates the maximum bandwidth utilization corresponding to n unit time; P min Indicates the minimum bandwidth utilization corresponding to n unit time; B max Indicates the maximum data transmission rate corresponding to n unit time; B min Indicates the minimum data transmission rate corresponding to n unit time; B m01 Indicates the data transmission rate corresponding to the maximum bandwidth utilization; B m02 Indicates the data transmission rate corresponding to the minimum bandwidth utilization; P m01 represents the bandwidth utilization corresponding to the minimum data transmission rate of n; P m02 Indicates the bandwidth utilization corresponding to the maximum value of n data transmission rate;
[0056] Comparing the gateway node operation load factor with a preset load factor threshold;
[0057] When the gateway node operation load factor is greater than a preset load factor threshold, it is determined that the gateway node bandwidth allocation of the gateway node is unreasonable, and an abnormal bandwidth allocation alarm is issued.
[0058] Optionally, the IoT device configuration module is used to connect the device model to the IoT platform and configure all IoT devices connected to the protocol domain so that all IoT devices enter corresponding working modes, including:
[0059] Based on the data interaction bandwidth requirements of the device model, the device model is connected to the corresponding gateway node in the IoT platform; based on the protocol, the respective to-be-processed task queues of all IoT devices connected to the domain are distinguished, and the interfaces and data processing threads of all IoT devices are configured respectively, so that all IoT devices enter the corresponding working mode;
[0060] The work log acquisition module is used to monitor all IoT devices respectively through the device model to obtain the work logs corresponding to all IoT devices, including:
[0061] Based on the connection links of all IoT devices within the device model, all IoT devices are monitored separately to identify whether all IoT devices have completed all tasks under the pending task queue; if completed, the work log corresponding to the IoT device is extracted; if not completed, the work log corresponding to the IoT device is not extracted until all tasks under the pending task queue are completed.
[0062] Optionally, the alarm trigger identification module is used to analyze the work log to identify whether the IoT device triggers the alarm condition of the device model, including:
[0063] Analyze the work log to obtain data interaction behavior feature information during the task processing of the IoT device; wherein the data interaction behavior feature information includes the interval location corresponding to the occurrence of the data interaction behavior and the interaction data type;
[0064] Based on the data interaction behavior characteristic information, determine whether the IoT device violates the data interaction rules allowed by the device model during task processing; if so, determine that the IoT device triggers the alarm condition of the device model; if not, determine that the IoT device does not trigger the alarm condition of the device model;
[0065] The IoT device connection adjustment module is used to send an alarm notification to the IoT platform through the device model when the IoT device triggers the alarm condition, and then adjust the connection relationship between the IoT device and the device model based on the feedback of the IoT platform on the alarm notification, including:
[0066] When the IoT device triggers the alarm condition, an alarm notification message containing the identity information of the IoT device that triggered the alarm condition is sent to the IoT platform through the device model; in response to the IoT platform's response feedback on the alarm notification message, a timed disconnection operation is performed on the IoT device and the device module.
[0067] Compared with the prior art, the present invention has the following beneficial effects:
[0068] The device model-based IoT device management and control method and system provided in the present application construct a device model and set a number of protocol distinction domains for it, check and analyze the operating characteristic data of the IoT device, thereby connecting the IoT device to the matching protocol distinction domain, so that the IoT device can be connected to the device model for compatible protocols, ensuring the flexible management of the IoT device by the device model; configure the IoT device connected to the protocol distinction domain, so that the IoT device is in working mode, monitor the IoT device through the device model, obtain the work log, and comprehensively record and characterize the task processing process of the IoT device; analyze the work log, so that the IoT device that triggers the alarm condition of the device model, and sends an alarm notification to the IoT platform through the device model, so as to adjust the connection relationship between the IoT device and the device model, and timely and flexibly manage the IoT device through the device module, which can accurately respond to the increase in equipment on the IoT platform, completely cover all operating conditions of the equipment, and improve the operational security and reliability of the IoT. BRIEF DESCRIPTION OF THE DRAWINGS
[0069] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. Among them:
[0070] Figure 1 A schematic diagram of the process of the IoT device management and control method based on the device model provided by the present invention.
[0071] Figure 2 A schematic diagram of the structure of the IoT device management and control system based on the device model provided by the present invention. DETAILED DESCRIPTION
[0072] In order to make the above-mentioned purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are described in detail below in conjunction with the accompanying drawings. It is to be understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for ease of description, only some structures related to the present application are shown in the accompanying drawings, rather than all structures. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0073] The terms "including" and "having" and any variations thereof in this application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices.
[0074] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0075] See also Figure 1 As shown, an IoT device management method based on a device model is provided in one embodiment of the present application. The IoT device management method based on a device model includes:
[0076] Based on the attribute information of the IoT platform, a device model matching the IoT platform is constructed, and several protocol domains are set for the device model; the operation characteristic data of all IoT devices are monitored and analyzed, and each IoT device is connected to the protocol domain matching the device model;
[0077] Connect the device model to the IoT platform, and configure all IoT devices connected to the protocol domain so that all IoT devices enter the corresponding working mode; monitor all IoT devices separately through the device model to obtain the corresponding working logs of all IoT devices;
[0078] The work log is analyzed to identify whether the IoT device triggers the alarm condition of the device model; when the IoT device triggers the alarm condition, an alarm notification is sent to the IoT platform through the device model, and then based on the feedback of the IoT platform on the alarm notification, the connection relationship between the IoT device and the device model is adjusted.
[0079] The beneficial effects of the above embodiments are as follows: the IoT device management and control method based on the device model constructs a device model and sets several protocol distinction domains for it, checks and analyzes the operating characteristic data of the IoT device, thereby connecting the IoT device to the matching protocol distinction domain, so that the IoT device can be connected to the device model for compatible protocols, ensuring the flexible management of the IoT device by the device model; configuring the IoT device connected to the protocol distinction domain, so that the IoT device is in working mode, monitoring the IoT device through the device model, obtaining the work log, and comprehensively recording and characterizing the task processing process of the IoT device; analyzing the work log, so that the IoT device that triggers the alarm condition of the device model, and notifying the IoT platform of the alarm through the device model, thereby adjusting the connection relationship between the IoT device and the device model, and timely and flexibly managing the IoT device through the device module, can accurately respond to the increase in equipment on the IoT platform, completely cover all operating conditions of the equipment, and improve the operational security and reliability of the IoT.
[0080] In another embodiment, based on the attribute information of the IoT platform, a device model matching the IoT platform is constructed, and several protocol distinction domains are set for the device model; operating characteristic data of all IoT devices are monitored and analyzed, and each IoT device is connected to the protocol distinction domain matching the device model, including:
[0081] Acquire network structure attribute information of the Internet of Things platform, wherein the network structure attribute information includes gateway node distribution location information and gateway node bandwidth size information within the Internet of Things platform; determine the capacity and type of the device model matched by the Internet of Things platform based on the network structure attribute information, thereby constructing a device model matched with the Internet of Things platform;
[0082] Based on the protocol types supported by the device model, a number of protocol distinction domains are set for the device model; wherein all the protocol distinction domains correspond one-to-one to all the protocol types supported by the device model;
[0083] All IoT devices are periodically monitored to obtain the hardware operation characteristic data and software operation characteristic data of all IoT devices; the hardware operation characteristic data and the software operation characteristic data are analyzed to determine the docking engine that matches each IoT device; based on the docking engine, each IoT device is connected to the protocol domain that matches the device model.
[0084] The beneficial effects of the above embodiments are that the Internet of Things platform serves as the access management end for the Internet of Things devices, and the Internet of Things platform has a corresponding network structure inside. The device model, as a software-level tool template, needs to be constructed according to the network structure of the Internet of Things platform to ensure a stable and continuous connection between the device model and the Internet of Things platform. To this end, network structure attribute information such as the distribution location information of the gateway nodes and the bandwidth size of the gateway nodes inside the Internet of Things platform is obtained, so as to comprehensively and accurately characterize the network structure of the Internet of Things platform, thereby determining the capacity and type of the device model matched by the Internet of Things platform, wherein the capacity of the device model may be but not limited to the number of Internet of Things devices that the device model needs to connect to and the size of its data interaction bandwidth, and the type of the device model may be but not limited to the number and type of model layers contained in the device model. Based on the capacity and type of the device model matched by the Internet of Things platform, a device model matching the Internet of Things platform is constructed, thereby ensuring the compatibility of the constructed device model with the Internet of Things platform at the software level and the device model itself has sufficient operating capabilities to connect to the Internet of Things devices, meeting the increasing scenario requirements of devices in the Internet of Things platform. In addition, different IoT devices have different compatible protocols during operation. For example, IoT devices mainly include two categories: industrial equipment and visual equipment. The protocols supported by industrial equipment and visual equipment are different. In order to ensure that each IoT device can interact with the device model normally after connecting to the device model, several protocol distinction domains are set for the device model based on the protocol types supported by the device model, so that all protocol distinction domains correspond to all protocol types supported by the device model. In this way, all IoT devices that support the same protocol can be connected to the same protocol distinction domain under the device model, realizing differentiated and flexible connection of all IoT devices. In addition, all IoT devices are periodically monitored separately to obtain the hardware operation characteristic data and software operation characteristic data of all IoT devices, and the hardware operation and software operation of each IoT device are comprehensively monitored and characterized. Among them, the hardware operation characteristic data may include but is not limited to the hardware operation load data of the IoT device, and the software operation characteristic data may include but is not limited to the software operation computing resources and memory resource occupancy data of the IoT device. The hardware operation characteristic data and software operation characteristic data are then analyzed to determine the docking engine that matches each IoT device within the device model, so that each IoT device is connected to the protocol domain that matches the device model, ensuring that each IoT device can be stably and reliably connected to the device model.
[0085] In another embodiment, extracting the bandwidth size information of the gateway node and the bandwidth utilization rate of the gateway node during the historical communication operation process, and determining whether the bandwidth allocation of the gateway node is reasonable according to the bandwidth utilization rate, includes:
[0086] Extract the bandwidth size information of the gateway node;
[0087] Retrieve the historical communication operation records of each gateway node;
[0088] Acquire the bandwidth utilization rate of each gateway node from the historical communication operation record of each gateway node;
[0089] Acquire the data transmission rate of each gateway node from the historical communication operation record of each gateway node;
[0090] Obtaining a gateway node operation load factor using the bandwidth utilization rate of each gateway node and the data transmission rate of each gateway node;
[0091] The gateway node operation load factor is obtained by the following formula:
[0092]
[0093] Where K represents the operation load factor of the gateway node; n represents the number of unit times contained in the historical communication operation records of the gateway node; P i represents the bandwidth utilization rate corresponding to the i-th unit time; B i represents the data transmission rate corresponding to the i-th unit time; B e Indicates the preset data transmission rate reference value; P bi represents the standard deviation of bandwidth utilization corresponding to the i-th unit time; P bmax Indicates the maximum value of the standard deviation of bandwidth utilization that occurs in n units of time; B bi represents the standard deviation of the data transmission rate corresponding to the i-th unit time; B bmax represents the maximum value of the standard deviation of the data transmission rate occurring in n unit time; k represents the adjustment coefficient, and the adjustment coefficient is obtained by the following formula:
[0094]
[0095] Where k represents the adjustment coefficient; P max Indicates the maximum bandwidth utilization corresponding to n unit time; P min Indicates the minimum bandwidth utilization corresponding to n unit time; B max Indicates the maximum data transmission rate corresponding to n unit time; B min Indicates the minimum data transmission rate corresponding to n unit time; B m01 Indicates the data transmission rate corresponding to the maximum bandwidth utilization; B m02 Indicates the data transmission rate corresponding to the minimum bandwidth utilization; P m01 represents the bandwidth utilization corresponding to the minimum data transmission rate of n; P m02 Indicates the bandwidth utilization corresponding to the maximum value of n data transmission rate;
[0096] Comparing the gateway node operation load factor with a preset load factor threshold;
[0097] When the gateway node operation load factor is greater than a preset load factor threshold, it is determined that the gateway node bandwidth allocation of the gateway node is unreasonable, and an abnormal bandwidth allocation alarm is issued.
[0098] The beneficial effect of the above embodiment is that by extracting the bandwidth size information and historical communication operation records of the gateway node, the actual operation status of the gateway node can be fully and accurately understood. The operation load factor of the gateway node is calculated by using bandwidth utilization and data transmission rate, which provides a quantitative indicator to evaluate the rationality of bandwidth allocation. This method is more accurate than simple threshold judgment because it takes into account information in multiple dimensions. Considering the dynamic changes in the network communication environment, the scheme analyzes the fluctuations of bandwidth utilization and data transmission rate through historical data, so as to better adapt to the bandwidth requirements under different time periods and network conditions. The introduction of the adjustment coefficient further enhances the flexibility of the scheme, so that the calculation of the load factor can be adjusted according to different network environments and bandwidth utilization. By comparing the operation load factor of the gateway node with the preset load factor threshold, it is possible to timely discover the situation of unreasonable bandwidth allocation and perform abnormal bandwidth allocation alarm. This early warning mechanism helps to timely discover and solve potential network bottleneck problems and improve the stability and reliability of the network. Through in-depth analysis of bandwidth utilization, the scheme can help network administrators better understand the characteristics and trends of network traffic, so as to make more reasonable bandwidth allocation decisions. This helps to optimize the utilization of network resources and improve the overall performance and user experience of the network. The design of this technical solution allows adjustment and optimization according to specific network environments and requirements. For example, the parameters in the load factor calculation formula can be adjusted to adapt to different application scenarios. In addition, the solution can also be integrated with other network monitoring and management tools to achieve more comprehensive network management and optimization.
[0099] In summary, the technical effects of this technical solution in terms of performance indicators are mainly reflected in accurate bandwidth allocation rationality assessment, dynamic adaptability, early warning and problem location, optimized resource utilization, scalability and customizability, etc. These effects jointly improve the efficiency and accuracy of network management and help build a more stable, efficient and reliable network environment.
[0100] In another embodiment, the device model is connected to the Internet of Things platform, and all the Internet of Things devices connected to the protocol domain are configured so that all the Internet of Things devices enter the corresponding working mode; all the Internet of Things devices are monitored respectively through the device model to obtain the corresponding working logs of all the Internet of Things devices, including:
[0101] Based on the data interaction bandwidth requirements of the device model, the device model is connected to the corresponding gateway node in the IoT platform; based on the protocol, the respective pending task queues of all IoT devices connected to the domain are distinguished, and the interfaces and data processing threads of all IoT devices are configured respectively, so that all IoT devices enter the corresponding working mode;
[0102] Based on the connection links of all IoT devices within the device model, all IoT devices are monitored separately to identify whether all IoT devices have completed all tasks under the pending task queue; if completed, the work log corresponding to the IoT device is extracted; if not completed, the work log corresponding to the IoT device is not extracted until all tasks under the pending task queue are completed.
[0103] The beneficial effect of the above embodiment is that the device model and the Internet of Things platform are connected through the corresponding gateway node inside the platform, that is, the device model is connected to the Internet of Things platform through the gateway node as the intermediary. In order to ensure continuous and stable data interaction between the device model and the Internet of Things platform, based on the data interaction bandwidth requirements of the device model, a gateway node that can provide a corresponding bandwidth link is selected, and the device model is connected to the corresponding gateway node inside the Internet of Things platform. Then, based on the respective pending task queues of all Internet of Things devices connected to the discussion area domain, the interface and data processing thread configuration of all Internet of Things devices are respectively performed, so that all Internet of Things devices enter the corresponding working mode, ensuring that all Internet of Things devices can accurately process their own pending task queues. In addition, based on the connection links of all Internet of Things devices inside the device model, all Internet of Things devices are respectively monitored to identify whether all Internet of Things devices have completed all tasks under the pending task queue, thereby extracting the corresponding work log of the Internet of Things device, and completely recording the processing process of all tasks under the pending task queue of the Internet of Things device, providing a reliable basis for the subsequent judgment of whether the Internet of Things device triggers the alarm condition of the device model.
[0104] In another embodiment, the work log is analyzed to identify whether the IoT device triggers an alarm condition of the device model; when the IoT device triggers the alarm condition, an alarm notification is sent to the IoT platform through the device model, and then based on the feedback of the IoT platform on the alarm notification, the connection relationship between the IoT device and the device model is adjusted, including:
[0105] The work log is analyzed to obtain data interaction behavior characteristic information during the task processing of the IoT device; wherein the data interaction behavior characteristic information includes the interval position corresponding to the occurrence of the data interaction behavior and the interaction data type;
[0106] Based on the data interaction behavior characteristic information, determine whether the IoT device violates the data interaction rules allowed by the device model during task processing; if so, determine that the IoT device triggers the alarm condition of the device model; if not, determine that the IoT device does not trigger the alarm condition of the device model;
[0107] When the IoT device triggers the alarm condition, an alarm notification message containing the identity information of the IoT device that triggered the alarm condition is sent to the IoT platform through the device model; in response to the IoT platform's response feedback on the alarm notification message, a timed disconnection operation is performed on the IoT device and the device module.
[0108] The beneficial effect of the above embodiment is that the work log is analyzed to obtain the interval position and interaction data type corresponding to the data interaction behavior during the task processing of the IoT device, and the task processing process of the IoT device is analyzed and identified in detail. Then the data interaction behavior feature information of the IoT device is compared with the data interaction rules allowed by the device model to determine whether the IoT device violates the data interaction rules allowed by the device model during the task processing. In this way, it is possible to accurately identify whether the IoT device triggers the alarm condition of the device model, thereby effectively narrowing the adjustment range of the IoT device. In addition, when the IoT device triggers the alarm condition, an alarm notification message containing the identity information of the IoT device that triggers the alarm condition is sent to the IoT platform through the device model; in response to the IoT platform's response feedback on the alarm notification message, the IoT device and the device module are disconnected at a scheduled time. In this way, when the IoT platform increases the number of devices, the IoT devices are managed in a timely and flexible manner to avoid the IoT devices that trigger the alarm condition from affecting the normal operation of the device model, thereby improving the operational security and reliability of the IoT.
[0109] See also Figure 2 As shown, an IoT device management and control system based on a device model is provided in one embodiment of the present application. The IoT device management and control system based on a device model includes:
[0110] The device model building and setting module is used to build a device model matching the IoT platform based on the attribute information of the IoT platform, and set several protocol distinction domains for the device model;
[0111] The IoT device connection module is used to monitor and analyze the operating characteristic data of all IoT devices and connect each IoT device to the protocol domain that matches the device model;
[0112] The IoT device configuration module is used to connect the device model to the IoT platform and configure all IoT devices connected to the protocol domain so that all IoT devices enter the corresponding working mode;
[0113] The work log acquisition module is used to monitor all IoT devices separately through the device model to obtain the work logs corresponding to all IoT devices;
[0114] An alarm trigger identification module is used to analyze the work log and identify whether the IoT device triggers the alarm condition of the device model;
[0115] The IoT device connection adjustment module is used to send an alarm notification to the IoT platform through the device model when the IoT device triggers the alarm condition, and then adjust the connection relationship between the IoT device and the device model based on the feedback of the IoT platform on the alarm notification.
[0116] The beneficial effects of the above embodiments are as follows: the IoT device management and control system based on the device model constructs the device model and sets several protocol distinction domains for it, checks and analyzes the operating characteristic data of the IoT device, thereby connecting the IoT device to the matching protocol distinction domain, so that the IoT device can be connected to the device model for compatible protocols, ensuring the flexible management of the IoT device by the device model; configuring the IoT device connected to the protocol distinction domain, so that the IoT device is in working mode, monitoring the IoT device through the device model, obtaining the work log, and comprehensively recording and characterizing the task processing process of the IoT device; analyzing the work log, so that the IoT device that triggers the alarm condition of the device model, and notifying the IoT platform of the alarm through the device model, thereby adjusting the connection relationship between the IoT device and the device model, and timely and flexibly managing the IoT device through the device module, can accurately respond to the increase in equipment on the IoT platform, completely cover all operating conditions of the equipment, and improve the operational security and reliability of the IoT.
[0117] In another embodiment, the device model building and setting module is used to build a device model matching the IoT platform based on the attribute information of the IoT platform, and set several protocol distinction domains for the device model, including:
[0118] Acquire network structure attribute information of the Internet of Things platform, wherein the network structure attribute information includes gateway node distribution location information and gateway node bandwidth size information within the Internet of Things platform; determine the capacity and type of the device model matched by the Internet of Things platform based on the network structure attribute information, thereby constructing a device model matched with the Internet of Things platform;
[0119] Based on the protocol types supported by the device model, a number of protocol distinction domains are set for the device model; wherein all the protocol distinction domains correspond one-to-one to all the protocol types supported by the device model;
[0120] The IoT device connection module is used to monitor and analyze the operating characteristic data of all IoT devices, and connect each IoT device to the protocol domain matching the device model, including:
[0121] All IoT devices are periodically monitored to obtain the hardware operation characteristic data and software operation characteristic data of all IoT devices; the hardware operation characteristic data and the software operation characteristic data are analyzed to determine the docking engine that matches each IoT device; based on the docking engine, each IoT device is connected to the protocol domain that matches the device model.
[0122] The beneficial effects of the above embodiments are that the Internet of Things platform serves as the access management end for the Internet of Things devices, and the Internet of Things platform has a corresponding network structure inside. The device model, as a software-level tool template, needs to be constructed according to the network structure of the Internet of Things platform to ensure a stable and continuous connection between the device model and the Internet of Things platform. To this end, network structure attribute information such as the distribution location information of the gateway nodes and the bandwidth size of the gateway nodes inside the Internet of Things platform is obtained, so as to comprehensively and accurately characterize the network structure of the Internet of Things platform, thereby determining the capacity and type of the device model matched by the Internet of Things platform, wherein the capacity of the device model may be but not limited to the number of Internet of Things devices that the device model needs to connect to and the size of its data interaction bandwidth, and the type of the device model may be but not limited to the number and type of model layers contained in the device model. Based on the capacity and type of the device model matched by the Internet of Things platform, a device model matching the Internet of Things platform is constructed, thereby ensuring the compatibility of the constructed device model with the Internet of Things platform at the software level and the device model itself has sufficient operating capabilities to connect to the Internet of Things devices, meeting the increasing scenario requirements of devices in the Internet of Things platform. In addition, different IoT devices have different compatible protocols during operation. For example, IoT devices mainly include two categories: industrial equipment and visual equipment. The protocols supported by industrial equipment and visual equipment are different. In order to ensure that each IoT device can interact with the device model normally after connecting to the device model, several protocol distinction domains are set for the device model based on the protocol types supported by the device model, so that all protocol distinction domains correspond to all protocol types supported by the device model. In this way, all IoT devices that support the same protocol can be connected to the same protocol distinction domain under the device model, realizing differentiated and flexible connection of all IoT devices. In addition, all IoT devices are periodically monitored separately to obtain the hardware operation characteristic data and software operation characteristic data of all IoT devices, and the hardware operation and software operation of each IoT device are comprehensively monitored and characterized. Among them, the hardware operation characteristic data may include but is not limited to the hardware operation load data of the IoT device, and the software operation characteristic data may include but is not limited to the software operation computing resources and memory resource occupancy data of the IoT device. The hardware operation characteristic data and software operation characteristic data are then analyzed to determine the docking engine that matches each IoT device within the device model, so that each IoT device is connected to the protocol domain that matches the device model, ensuring that each IoT device can be stably and reliably connected to the device model.
[0123] In another embodiment, extracting the bandwidth size information of the gateway node and the bandwidth utilization rate of the gateway node during the historical communication operation process, and determining whether the bandwidth allocation of the gateway node is reasonable according to the bandwidth utilization rate, includes:
[0124] Extract the bandwidth size information of the gateway node;
[0125] Retrieve the historical communication operation records of each gateway node;
[0126] Acquire the bandwidth utilization rate of each gateway node from the historical communication operation record of each gateway node;
[0127] Acquire the data transmission rate of each gateway node from the historical communication operation record of each gateway node;
[0128] Obtaining a gateway node operation load factor using the bandwidth utilization rate of each gateway node and the data transmission rate of each gateway node;
[0129] The gateway node operation load factor is obtained by the following formula:
[0130]
[0131] Where K represents the operation load factor of the gateway node; n represents the number of unit times contained in the historical communication operation records of the gateway node; P i represents the bandwidth utilization rate corresponding to the i-th unit time; B i represents the data transmission rate corresponding to the i-th unit time; B e Indicates the preset data transmission rate reference value; P bi represents the standard deviation of bandwidth utilization corresponding to the i-th unit time; P bmax Indicates the maximum value of the standard deviation of bandwidth utilization that occurs in n units of time; B bi represents the standard deviation of the data transmission rate corresponding to the i-th unit time; B bmax represents the maximum value of the standard deviation of the data transmission rate occurring in n unit time; k represents the adjustment coefficient, and the adjustment coefficient is obtained by the following formula:
[0132]
[0133] Where k represents the adjustment coefficient; P max Indicates the maximum bandwidth utilization corresponding to n unit time; P min Indicates the minimum bandwidth utilization corresponding to n unit time; B max Indicates the maximum data transmission rate corresponding to n unit time; B min Indicates the minimum data transmission rate corresponding to n unit time; B m01 Indicates the data transmission rate corresponding to the maximum bandwidth utilization; B m02 Indicates the data transmission rate corresponding to the minimum bandwidth utilization; P m01 represents the bandwidth utilization corresponding to the minimum data transmission rate of n; P m02 Indicates the bandwidth utilization corresponding to the maximum value of n data transmission rate;
[0134] Comparing the gateway node operation load factor with a preset load factor threshold;
[0135] When the gateway node operation load factor is greater than a preset load factor threshold, it is determined that the gateway node bandwidth allocation of the gateway node is unreasonable, and an abnormal bandwidth allocation alarm is issued.
[0136] The beneficial effect of the above embodiment is that by extracting the bandwidth size information and historical communication operation records of the gateway node, the actual operation status of the gateway node can be fully and accurately understood. The operation load factor of the gateway node is calculated by using bandwidth utilization and data transmission rate, which provides a quantitative indicator to evaluate the rationality of bandwidth allocation. This method is more accurate than simple threshold judgment because it takes into account information in multiple dimensions. Considering the dynamic changes in the network communication environment, the scheme analyzes the fluctuations of bandwidth utilization and data transmission rate through historical data, so as to better adapt to the bandwidth requirements under different time periods and network conditions. The introduction of the adjustment coefficient further enhances the flexibility of the scheme, so that the calculation of the load factor can be adjusted according to different network environments and bandwidth utilization. By comparing the operation load factor of the gateway node with the preset load factor threshold, it is possible to timely discover the situation of unreasonable bandwidth allocation and perform abnormal bandwidth allocation alarm. This early warning mechanism helps to timely discover and solve potential network bottleneck problems and improve the stability and reliability of the network. Through in-depth analysis of bandwidth utilization, the scheme can help network administrators better understand the characteristics and trends of network traffic, so as to make more reasonable bandwidth allocation decisions. This helps to optimize the utilization of network resources and improve the overall performance and user experience of the network. The design of this technical solution allows adjustment and optimization according to specific network environments and requirements. For example, the parameters in the load factor calculation formula can be adjusted to adapt to different application scenarios. In addition, the solution can also be integrated with other network monitoring and management tools to achieve more comprehensive network management and optimization.
[0137] In summary, the technical effects of this technical solution in terms of performance indicators are mainly reflected in accurate bandwidth allocation rationality assessment, dynamic adaptability, early warning and problem location, optimized resource utilization, scalability and customizability, etc. These effects jointly improve the efficiency and accuracy of network management and help build a more stable, efficient and reliable network environment.
[0138] In another embodiment, the IoT device configuration module is used to connect the device model to the IoT platform and configure all IoT devices connected to the protocol domain so that all IoT devices enter corresponding working modes, including:
[0139] Based on the data interaction bandwidth requirements of the device model, the device model is connected to the corresponding gateway node in the IoT platform; based on the protocol, the respective pending task queues of all IoT devices connected to the domain are distinguished, and the interfaces and data processing threads of all IoT devices are configured respectively, so that all IoT devices enter the corresponding working mode;
[0140] The work log acquisition module is used to monitor all IoT devices through the device model and obtain the work logs corresponding to all IoT devices, including:
[0141] Based on the connection links of all IoT devices within the device model, all IoT devices are monitored separately to identify whether all IoT devices have completed all tasks under the pending task queue; if completed, the work log corresponding to the IoT device is extracted; if not completed, the work log corresponding to the IoT device is not extracted until all tasks under the pending task queue are completed.
[0142] The beneficial effect of the above embodiment is that the device model and the Internet of Things platform are connected through the corresponding gateway node inside the platform, that is, the device model is connected to the Internet of Things platform through the gateway node as the intermediary. In order to ensure continuous and stable data interaction between the device model and the Internet of Things platform, based on the data interaction bandwidth requirements of the device model, a gateway node that can provide a corresponding bandwidth link is selected, and the device model is connected to the corresponding gateway node inside the Internet of Things platform. Then, based on the respective pending task queues of all Internet of Things devices connected to the discussion area domain, the interface and data processing thread configuration of all Internet of Things devices are respectively performed, so that all Internet of Things devices enter the corresponding working mode, ensuring that all Internet of Things devices can accurately process their own pending task queues. In addition, based on the connection links of all Internet of Things devices inside the device model, all Internet of Things devices are respectively monitored to identify whether all Internet of Things devices have completed all tasks under the pending task queue, thereby extracting the corresponding work log of the Internet of Things device, and completely recording the processing process of all tasks under the pending task queue of the Internet of Things device, providing a reliable basis for the subsequent judgment of whether the Internet of Things device triggers the alarm condition of the device model.
[0143] In another embodiment, the alarm trigger identification module is used to analyze the work log to identify whether the IoT device triggers the alarm condition of the device model, including:
[0144] The work log is analyzed to obtain data interaction behavior characteristic information during the task processing of the IoT device; wherein the data interaction behavior characteristic information includes the interval position and interaction data type corresponding to the occurrence of the data interaction behavior; based on the data interaction behavior characteristic information, it is determined whether the IoT device violates the data interaction rules allowed by the device model during the task processing; if so, it is determined that the IoT device triggers the alarm condition of the device model; if not, it is determined that the IoT device does not trigger the alarm condition of the device model;
[0145] The IoT device connection adjustment module is used to send an alarm notification to the IoT platform through the device model when the IoT device triggers the alarm condition, and then adjust the connection relationship between the IoT device and the device model based on the feedback of the IoT platform on the alarm notification, including:
[0146] When the IoT device triggers the alarm condition, an alarm notification message containing the identity information of the IoT device that triggered the alarm condition is sent to the IoT platform through the device model; in response to the IoT platform's response feedback on the alarm notification message, a timed disconnection operation is performed on the IoT device and the device module.
[0147] The beneficial effect of the above embodiment is that the work log is analyzed to obtain the interval position and interaction data type corresponding to the data interaction behavior during the task processing of the IoT device, and the task processing process of the IoT device is analyzed and identified in detail. Then the data interaction behavior feature information of the IoT device is compared with the data interaction rules allowed by the device model to determine whether the IoT device violates the data interaction rules allowed by the device model during the task processing. In this way, it is possible to accurately identify whether the IoT device triggers the alarm condition of the device model, thereby effectively narrowing the adjustment range of the IoT device. In addition, when the IoT device triggers the alarm condition, an alarm notification message containing the identity information of the IoT device that triggers the alarm condition is sent to the IoT platform through the device model; in response to the IoT platform's response feedback on the alarm notification message, the IoT device and the device module are disconnected at a scheduled time. In this way, when the IoT platform increases the number of devices, the IoT devices are managed in a timely and flexible manner to avoid the IoT devices that trigger the alarm condition from affecting the normal operation of the device model, thereby improving the operational security and reliability of the IoT.
[0148] In general, the IoT device management and control method and system based on the device model constructs a device model and sets several protocol domains for it, checks and analyzes the operating characteristic data of the IoT device, thereby connecting the IoT device to the matching protocol domain, so that the IoT device can be connected to the device model for compatible protocols, ensuring the flexible management of the IoT device by the device model; configures the IoT device connected to the protocol domain, so that the IoT device is in working mode, monitors the IoT device through the device model, obtains the work log, and comprehensively records and represents the task processing process of the IoT device; analyzes the work log, so that the IoT device that triggers the alarm condition of the device model, and sends an alarm notification to the IoT platform through the device model, thereby adjusting the connection relationship between the IoT device and the device model, and timely and flexibly managing the IoT device through the device module, can accurately respond to the increase in equipment on the IoT platform, completely cover all operating conditions of the equipment, and improve the operational security and reliability of the IoT.
[0149] The above is only a specific implementation of the present invention, and any other improvements made based on the concept of the present invention are considered to be within the protection scope of the present invention.
Claims
1. The IoT device management and control method based on device model is characterized by: include: Based on the attribute information of the Internet of Things platform, a device model matching the Internet of Things platform is constructed, and several protocol distinction domains are set for the device model; Monitor and analyze the operational characteristic data of all IoT devices, and connect each IoT device to the protocol domain matching the device model; Connect the device model to the IoT platform, and configure all IoT devices connected to the protocol domain so that all IoT devices enter corresponding working modes; All IoT devices are monitored separately through the device model to obtain the corresponding work logs of all IoT devices; Analyze the work log to identify whether the IoT device triggers an alarm condition of the device model; When the IoT device triggers the alarm condition, an alarm notification is sent to the IoT platform through the device model, and then based on the feedback of the IoT platform on the alarm notification, the connection relationship between the IoT device and the device model is adjusted.
2. The method for managing and controlling IoT devices based on device models according to claim 1, characterized in that: Based on the attribute information of the Internet of Things platform, a device model matching the Internet of Things platform is constructed, and several protocol distinction domains are set for the device model; Monitor and analyze the operational characteristic data of all IoT devices, and connect each IoT device to the protocol domain matching the device model, including: Acquire network structure attribute information of the Internet of Things platform, wherein the network structure attribute information includes gateway node distribution location information and gateway node bandwidth size information within the Internet of Things platform; determine the capacity and type of the device model matched by the Internet of Things platform based on the network structure attribute information, thereby constructing a device model matched with the Internet of Things platform; Based on the protocol types supported by the device model, several protocol distinction domains are set for the device model; wherein all protocol distinction domains correspond one-to-one to all protocol types supported by the device model; all IoT devices are periodically monitored to obtain hardware operation characteristic data and software operation characteristic data of all IoT devices; the hardware operation characteristic data and the software operation characteristic data are analyzed to determine the docking engine that matches each IoT device; based on the docking engine, each IoT device is connected to the protocol distinction domain that matches the device model.
3. The method for managing and controlling IoT devices based on device models as claimed in claim 2, characterized in that: Extract the bandwidth size information of the gateway node and the bandwidth utilization rate of the gateway node during the historical communication operation, and determine whether the bandwidth allocation of the gateway node is reasonable based on the bandwidth utilization rate, including: Extract the bandwidth size information of the gateway node; Retrieve the historical communication operation records of each gateway node; Acquire the bandwidth utilization rate of each gateway node from the historical communication operation record of each gateway node; Acquire the data transmission rate of each gateway node from the historical communication operation record of each gateway node; Obtaining a gateway node operation load factor using the bandwidth utilization rate of each gateway node and the data transmission rate of each gateway node; The gateway node operation load factor is obtained by the following formula: Where K represents the operation load factor of the gateway node; n represents the number of unit times contained in the historical communication operation records of the gateway node; P i represents the bandwidth utilization rate corresponding to the i-th unit time; B i represents the data transmission rate corresponding to the i-th unit time; B e Indicates the preset data transmission rate reference value; P bi represents the standard deviation of bandwidth utilization corresponding to the i-th unit time; P bmax Indicates the maximum value of the standard deviation of bandwidth utilization that occurs in n units of time; B bi represents the standard deviation of the data transmission rate corresponding to the i-th unit time; B bmax represents the maximum value of the standard deviation of the data transmission rate occurring in n unit time; k represents the adjustment coefficient, and the adjustment coefficient is obtained by the following formula: Where k represents the adjustment coefficient; P max Indicates the maximum bandwidth utilization corresponding to n unit time; P min Indicates the minimum bandwidth utilization corresponding to n unit time; B max Indicates the maximum data transmission rate corresponding to n unit time; B min Indicates the minimum data transmission rate corresponding to n unit time; B m01 Indicates the data transmission rate corresponding to the maximum bandwidth utilization; B m02 Indicates the data transmission rate corresponding to the minimum bandwidth utilization; P m01 represents the bandwidth utilization corresponding to the minimum data transmission rate of n; P m02 Indicates the bandwidth utilization corresponding to the maximum value of n data transmission rate; Comparing the gateway node operation load factor with a preset load factor threshold; When the gateway node operation load factor is greater than a preset load factor threshold, it is determined that the gateway node bandwidth allocation of the gateway node is unreasonable, and a bandwidth allocation abnormality alarm is issued.
4. The method for managing and controlling IoT devices based on device models according to claim 1, characterized in that: Connect the device model to the IoT platform, and configure all IoT devices connected to the protocol domain so that all IoT devices enter corresponding working modes; All IoT devices are monitored separately through the device model to obtain the corresponding work logs of all IoT devices, including: Based on the data interaction bandwidth requirements of the device model, the device model is connected to the corresponding gateway node in the IoT platform; based on the protocol, the respective to-be-processed task queues of all IoT devices connected to the domain are distinguished, and the interfaces and data processing threads of all IoT devices are configured respectively, so that all IoT devices enter the corresponding working mode; Based on the connection links of all IoT devices within the device model, all IoT devices are monitored separately to identify whether all IoT devices have completed all tasks under the pending task queue; if completed, the work log corresponding to the IoT device is extracted; if not completed, the work log corresponding to the IoT device is not extracted until all tasks under the pending task queue are completed.
5. The method for managing and controlling IoT devices based on device models according to claim 1, characterized in that: Analyze the work log to identify whether the IoT device triggers an alarm condition of the device model; When the IoT device triggers the alarm condition, an alarm notification is sent to the IoT platform through the device model, and then based on the feedback of the IoT platform on the alarm notification, the connection relationship between the IoT device and the device model is adjusted, including: Analyze the work log to obtain data interaction behavior feature information during the task processing of the IoT device; wherein the data interaction behavior feature information includes the interval location corresponding to the occurrence of the data interaction behavior and the interaction data type; Based on the data interaction behavior characteristic information, determine whether the IoT device violates the data interaction rules allowed by the device model during task processing; if so, determine that the IoT device triggers the alarm condition of the device model; if not, determine that the IoT device does not trigger the alarm condition of the device model; When the IoT device triggers the alarm condition, an alarm notification message containing the identity information of the IoT device that triggered the alarm condition is sent to the IoT platform through the device model; in response to the IoT platform's response feedback on the alarm notification message, a timed disconnection operation is performed on the IoT device and the device module.
6. The IoT device management and control system based on the device model is characterized by: include: The device model building and setting module is used to build a device model that matches the IoT platform based on the attribute information of the IoT platform, and set several protocol distinction domains for the device model; the IoT device connection module is used to monitor and analyze the operating characteristic data of all IoT devices, and connect each IoT device to the protocol distinction domain that matches the device model; An IoT device configuration module, used to connect the device model to the IoT platform and configure all IoT devices connected to the protocol domain so that all IoT devices enter corresponding working modes; A work log acquisition module is used to monitor all IoT devices respectively through the device model to obtain the work logs corresponding to all IoT devices; An alarm trigger identification module, used to analyze the work log and identify whether the IoT device triggers the alarm condition of the device model; The IoT device connection adjustment module is used to send an alarm notification to the IoT platform through the device model when the IoT device triggers the alarm condition, and then adjust the connection relationship between the IoT device and the device model based on the feedback of the IoT platform on the alarm notification.
7. The IoT device management and control system based on device model as claimed in claim 6, characterized in that: The device model building and setting module is used to build a device model matching the IoT platform based on the attribute information of the IoT platform, and set several protocol distinction domains for the device model, including: Acquire network structure attribute information of the Internet of Things platform, wherein the network structure attribute information includes gateway node distribution location information and gateway node bandwidth size information within the Internet of Things platform; determine the capacity and type of the device model matched by the Internet of Things platform based on the network structure attribute information, thereby constructing a device model matched with the Internet of Things platform; Based on the protocol types supported by the device model, several protocol distinction domains are set for the device model; wherein all protocol distinction domains correspond one-to-one to all protocol types supported by the device model; the IoT device connection module is used to monitor and analyze the operation characteristic data of all IoT devices, and connect each IoT device to the protocol distinction domain matched by the device model, including: All IoT devices are periodically monitored to obtain hardware operation characteristic data and software operation characteristic data of all IoT devices; the hardware operation characteristic data and the software operation characteristic data are analyzed to determine the docking engine that matches each IoT device; based on the docking engine, each IoT device is connected to the protocol domain that matches the device model.
8. The IoT device management and control system based on device model as claimed in claim 7, characterized in that: Extract the bandwidth size information of the gateway node and the bandwidth utilization rate of the gateway node during the historical communication operation, and determine whether the bandwidth allocation of the gateway node is reasonable based on the bandwidth utilization rate, including: Extract the bandwidth size information of the gateway node; Retrieve the historical communication operation records of each gateway node; Acquire the bandwidth utilization rate of each gateway node from the historical communication operation record of each gateway node; Acquire the data transmission rate of each gateway node from the historical communication operation record of each gateway node; Obtaining a gateway node operation load factor using the bandwidth utilization rate of each gateway node and the data transmission rate of each gateway node; The gateway node operation load factor is obtained by the following formula: Where K represents the operation load factor of the gateway node; n represents the number of unit times contained in the historical communication operation records of the gateway node; P i represents the bandwidth utilization rate corresponding to the i-th unit time; B i represents the data transmission rate corresponding to the i-th unit time; B e Indicates the preset data transmission rate reference value; P bi represents the standard deviation of bandwidth utilization corresponding to the i-th unit time; P bmax Indicates the maximum value of the standard deviation of bandwidth utilization that occurs in n units of time; B bi represents the standard deviation of the data transmission rate corresponding to the i-th unit time; B bmax represents the maximum value of the standard deviation of the data transmission rate occurring in n unit time; k represents the adjustment coefficient, and the adjustment coefficient is obtained by the following formula: Where k represents the adjustment coefficient; P max Indicates the maximum bandwidth utilization corresponding to n unit time; P min Indicates the minimum bandwidth utilization corresponding to n unit time; B max Indicates the maximum data transmission rate corresponding to n unit time; B min Indicates the minimum data transmission rate corresponding to n unit time; B m01 Indicates the data transmission rate corresponding to the maximum bandwidth utilization; B m02 Indicates the data transmission rate corresponding to the minimum bandwidth utilization; P m01 represents the bandwidth utilization corresponding to the minimum data transmission rate of n; P m02 Indicates the bandwidth utilization corresponding to the maximum value of n data transmission rate; Comparing the gateway node operation load factor with a preset load factor threshold; When the gateway node operation load factor is greater than a preset load factor threshold, it is determined that the gateway node bandwidth allocation of the gateway node is unreasonable, and a bandwidth allocation abnormality alarm is issued.
9. The IoT device management and control system based on device model as claimed in claim 6, characterized in that: The IoT device configuration module is used to connect the device model to the IoT platform and configure all IoT devices connected to the protocol domain so that all IoT devices enter corresponding working modes, including: Based on the data interaction bandwidth requirements of the device model, the device model is connected to the corresponding gateway node in the IoT platform; based on the protocol, the respective to-be-processed task queues of all IoT devices connected to the domain are distinguished, and the interfaces and data processing threads of all IoT devices are configured respectively, so that all IoT devices enter the corresponding working mode; The work log acquisition module is used to monitor all IoT devices respectively through the device model to obtain the work logs corresponding to all IoT devices, including: Based on the connection links of all IoT devices within the device model, all IoT devices are monitored separately to identify whether all IoT devices have completed all tasks under the pending task queue; if completed, the work log corresponding to the IoT device is extracted; if not completed, the work log corresponding to the IoT device is not extracted until all tasks under the pending task queue are completed.
10. The IoT device management and control system based on device model according to claim 6, characterized in that: The alarm trigger identification module is used to analyze the work log and identify whether the IoT device triggers the alarm condition of the device model, including: Analyze the work log to obtain data interaction behavior feature information during the task processing of the IoT device; wherein the data interaction behavior feature information includes the interval location corresponding to the occurrence of the data interaction behavior and the interaction data type; Based on the data interaction behavior characteristic information, determine whether the IoT device violates the data interaction rules allowed by the device model during task processing; if so, determine that the IoT device triggers the alarm condition of the device model; if not, determine that the IoT device does not trigger the alarm condition of the device model; The IoT device connection adjustment module is used to send an alarm notification to the IoT platform through the device model when the IoT device triggers the alarm condition, and then adjust the connection relationship between the IoT device and the device model based on the feedback of the IoT platform on the alarm notification, including: When the IoT device triggers the alarm condition, an alarm notification message containing the identity information of the IoT device that triggered the alarm condition is sent to the IoT platform through the device model; in response to the IoT platform's response feedback on the alarm notification message, a timed disconnection operation is performed on the IoT device and the device module.
Citation Information
Patent Citations
Internet of Things system
CN117579651A
Apparatus having engine using artificial intelligence for detecting behavior anomalies in a computer network
US11415425B1
Method And System For Maximizing Uplink Bandwidth In A Communication System
US20220201555A1
A method and system of bandwidth control
WO2012004689A1
Power grid dispatching-based operation and maintenance method
WO2019233047A1