Control management system based on Internet of Things

By implementing file cache management, connection pool control, dynamic load balancing, and configuration retransmission processing, the system addresses the issues of uneven resource distribution and slow response in IoT systems, achieving efficient file information management and terminal information synchronization, thereby improving system stability and efficiency.

CN121842212APending Publication Date: 2026-04-10CHENGDU BEIFANGDU NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-04-26
Publication Date
2026-04-10

AI Technical Summary

Technical Problem

After prolonged use, IoT systems face difficulties in updating and maintaining terminal functions, leading to uneven use of node resources, slow computing, and long response times, which hinders application development.

Method used

By optimizing resource utilization and load balancing in IoT systems through file cache management, connection pool control, dynamic load balancing, and configuration retransmission processing, efficient file information management and terminal information synchronization can be achieved.

Benefits of technology

It improves the operational stability and efficiency of IoT systems, reduces data loss in the cache, and enhances the utilization of connection processing resources and response speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121842212A_ABST
    Figure CN121842212A_ABST
Patent Text Reader

Abstract

The invention discloses a control management system based on the Internet of Things. An operation method of the system comprises the following steps: performing file cache control management of the Internet of Things; performing file connection processing through control management of the file connection pool; analyzing and controlling the dynamic load balance of the Internet of Things equipment; and performing configuration retransmission processing of the Internet of Things system. The file cache control management of the Internet of Things comprises the following steps: after an Internet of Things file is accessed, performing cache storage management according to access state data information of the Internet of Things file; and after cache management of the Internet of Things files is completed, operation management control is performed on the cache region for file cache processing. The step of carrying out file connection processing through control management of the file connection pool comprises the step of establishing connection for a file request of a user to carry out control management by controlling and managing the file connection pool. The system has the characteristics of efficient management and control processing and high practicability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of control and management technology, specifically to a control and management system based on the Internet of Things. Background Technology

[0002] With the continuous maturation of IoT technologies such as sensing technology, the Internet of Things (IoT) has gradually become a hot topic in the industry. The essence of IoT is to integrate basic resources based on communication networks and combined with technologies such as wireless sensing. After an IoT system has been in use for a period of time, when the original terminal functions can no longer meet user needs, updates and maintenance become cumbersome. Traditional manual on-site operation can no longer meet the demands of today's large number of devices distributed across complex locations. Remotely sending programs to reuse existing terminal devices and enabling reconfigurable functions for different types of terminals to cope with complex application environments is an inevitable development trend of IoT. However, with the continuous development of IoT, the number of reconfigurable IoT devices is also increasing, along with the massive growth in the number and versions of program packages. This leads to uneven resource utilization across cluster nodes, slow computation on heavily loaded nodes, and excessively long client response times, seriously affecting the application and development of IoT technology. Therefore, it is essential to design an efficient, efficient, and highly practical IoT-based control and management system. Summary of the Invention

[0003] The purpose of this invention is to provide a control and management system based on the Internet of Things to solve the problems mentioned in the background art.

[0004] To address the aforementioned technical problems, this invention provides the following technical solution: a control and management method based on the Internet of Things, comprising: Perform file cache control and management for the Internet of Things (IoT); File connection processing is performed through the control and management of a file connection pool; Analyze and control the dynamic load balancing of IoT devices; Perform configuration retransmission processing for the Internet of Things (IoT) system.

[0005] According to the above technical solution, the file cache control and management for the Internet of Things includes: Once an IoT file is accessed, it is cached and stored based on its access status data. After completing the cache management of IoT files, the operation management and control of the cache area for file caching is carried out.

[0006] According to the above technical solution, the file connection processing through the control and management of the file connection pool includes: By controlling and managing the file connection pool, the system can control and manage the establishment of connections for user file requests.

[0007] According to the above technical solution, the analysis and control of dynamic load balancing for IoT devices includes: Dynamic load information of IoT devices is collected at set intervals. Based on the load information fed back by each node in real time, the performance of each node in the cluster is re-evaluated and then load balancing scheduling management is performed. By using the interfaces reserved by each actual application project to synchronize terminal information, the information is refreshed in real time to ensure the synchronization of IoT application terminal information, and the synchronization information of the terminals is temporarily stored according to the timed settings of the task.

[0008] According to the above technical solution, the configuration retransmission process for the Internet of Things system includes: The cluster node configuration is controlled by establishing a connection with the registry center via a long TCP connection. Adding the configuration node of the corresponding cluster to the registry center enables dynamic scaling up of the cluster, while deleting the configuration node of the corresponding cluster from the registry center enables dynamic scaling down of the cluster.

[0009] When the IoT terminal receives the firmware package, if the verification finds an error in the data packet, it will request the connection center to resend the previous data packet. The connection center will then resend the corresponding data frame according to the received data frame retransmission instruction and retransmission packet number.

[0010] According to the above technical solution, an Internet of Things (IoT) based control and management system includes: The download management module is used for file caching and download control management in the Internet of Things (IoT) field. The analysis and control module is used to analyze and control the dynamic load balancing of IoT devices. The configuration processing module is used for configuration retransmission processing of IoT systems.

[0011] According to the above technical solution, the download management module includes: The cache eviction module is used to perform cache eviction processing for file information data; The cache management module is used for managing the cache of file information data. The connection pool module is used to manage and control the connection pool for requesting connections.

[0012] According to the above technical solution, the analysis and control module includes: The load collection module is used to collect dynamic load information of IoT devices; The scheduling management module is used for load balancing scheduling management. The information storage module is used for information data storage and control.

[0013] According to the above technical solution, the processing configuration module includes: The retransmission processing module is used for retransmission of information. The configuration management module is used for the analysis and management of configuration nodes.

[0014] Compared with the prior art, the beneficial effects achieved by the present invention are as follows: The present invention, by setting up a download management module, an analysis control module, and a processing configuration module, can make the file information cache management of the Internet of Things more efficient and accurate, indirectly making the operation of the Internet of Things system smoother and more stable, avoiding the loss of cached data after file information is modified, and preventing the occurrence of dirty reads, effectively improving the utilization rate of Internet of Things connection processing resources, and greatly improving the efficiency of connection request processing. Attached Figure Description

[0015] The accompanying drawings are provided to further illustrate the invention and form part of the specification. They are used in conjunction with embodiments of the invention to explain the invention and do not constitute a limitation thereof. In the drawings: Figure 1 This is a flowchart of a control and management method based on the Internet of Things provided in Embodiment 1 of the present invention; Figure 2 This is a module configuration diagram of a control and management system based on the Internet of Things provided in Embodiment 2 of the present invention. Detailed Implementation

[0016] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0017] Example 1: Figure 1 This is a flowchart illustrating a control and management method based on the Internet of Things (IoT) provided in Embodiment 1 of the present invention. This embodiment can be applied to a control and management system. The method can be executed by an IoT-based control and management system provided in this embodiment, which consists of multiple hardware and software modules, such as... Figure 1 As shown, the method specifically includes the following steps: S101. Perform file cache control and management for the Internet of Things; For example, in this embodiment of the invention, after an IoT file is accessed, it is cached and stored according to its access status data. Although IoT caching can improve the performance of accessing hot data, there are synchronization and cache hit problems. Therefore, this step manages the cache of the accessed file. Specifically, when a file is accessed for the first time, the access record queue initializes the file's index information and sets the file's access count to 1. If it is not the first access, the access count is incremented by one, and the file information is moved to the front of the queue to facilitate subsequent index deletion. When the access count of a file reaches the set threshold, the file is cached. When the index is hit, the cache queue is also reordered according to time. When the cache space is insufficient, the data at the tail of the queue is removed. Through this step, the cache management of IoT file information can be made more efficient and accurate, indirectly making the operation of the IoT system smoother and more stable.

[0018] After completing the cache management of IoT files, the cache area for file caching is managed and controlled. In this step, the relevant parameters of the cache area are managed through the cache area configuration file, and a scheduled task is set to periodically persist cache information to ensure reliability. At the same time, for files whose access count reaches a set threshold, the cache area is periodically cleared after being cached. When a file index is deleted from the cache area, the file access count is reset. When a file is modified, if the caching function is enabled and there is corresponding file data in the cache area, the cache area content is modified first, and mutual exclusion access to the cache area is set. Then, the data in the database is modified to avoid the loss of cache area data after the file information is modified, which may lead to dirty reads.

[0019] S102. File connection processing is performed through the control and management of the file connection pool; For example, in this embodiment of the invention, the connection establishment for user file requests is controlled and managed by controlling and managing the file connection pool. Since each file request by an IoT user requires the establishment of two long connections, and both connections need to be closed after the file request ends, this process of establishing and closing connections twice is not only slow but also resource-intensive. Even if only one file can be processed at a time after the connection is established, multiple connections need to be established when processing multiple files, resulting in significant performance loss to the server. Therefore, this step initializes an idle connection pool and a busy connection pool based on the obtained IoT server address information and multiple initialization parameters of the connection pool, such as rejection policies and connection creation methods. When a connection request is initiated, the idle connection pool is first checked for available idle connections. If one is found, the connection is transferred to the idle connection pool. If no idle connection is found and the maximum number of connections has not been reached, a new connection is created. Otherwise, the process waits. When a connection is broken, the number of existing connections is compared with the configured minimum number of connections. If the minimum number of connections has been exceeded, the excess connections are destroyed. Otherwise, they are returned to the connection pool. This step effectively improves the utilization rate of IoT connection processing resources and greatly enhances the efficiency of connection request processing.

[0020] S103. Analyze and control the dynamic load balancing of IoT devices; For example, in this embodiment of the invention, dynamic load information of IoT devices is collected through a set period. In this step, the nodes in the IoT cluster are controlled to send their own load information to the load balancer in a multicast manner at a set time interval. The load information includes CPU utilization information, memory utilization information and disk I / O utilization information. Through this step, the number of connections of the load balancer can be reduced, the resource occupation of the load balancer can be reduced, and centralized management can reduce the information exchange of the central control node and effectively prevent the central control node from reducing the operating efficiency of the IoT cluster system.

[0021] Based on the real-time load information fed back by each node, the performance of each node in the cluster is re-evaluated and load balancing scheduling management is performed. In this step, since the load status of each node will change significantly after the cluster system has been running for a period of time, the initial weight settings cannot be applied to the system. Therefore, in this step, the connection center node is controlled to send its own load information to the scheduler at regular intervals. Based on the current load status of the server nodes, when there is a request from an IoT terminal, the dynamic load balancer is further controlled to reset the weight of each node according to the load quantification results of each node. The load balancer periodically collects the resource usage of each node, and then analyzes it to obtain the standard deviation B. B is compared with the set threshold Y. If it is less than Y, it means that the current IoT cluster load distribution is relatively reasonable. If it is greater than Y, it means that the current cluster load distribution is uneven. Then, the weights of each node are readjusted and the adjusted weights are assigned to the nodes. Through this process, the weights can be quickly adjusted and the load status can be quantified in real time, making the task allocation more reasonable and the IoT resources more fully utilized.

[0022] By using the interfaces reserved by each actual application project to synchronize terminal information and refresh the information in real time, the synchronization of IoT application terminal information is guaranteed. According to the timed settings of the task, the synchronization information of the terminal is temporarily stored, which effectively alleviates the information storage pressure of the database.

[0023] S104. Perform configuration retransmission processing for the Internet of Things system. For example, in this embodiment of the invention, the control cluster node configuration establishes a connection with the registration center through a TCP long connection, adds the configuration node of the corresponding cluster in the registration center to realize the dynamic expansion of the corresponding cluster, and deletes the configuration node of the corresponding cluster in the registration center to realize the dynamic shrinkage of the cluster.

[0024] When the IoT terminal receives the firmware package, if the verification finds an error in the data packet, it will request the connection center to resend the previous data packet. The connection center will then resend the corresponding data frame according to the received data frame retransmission instruction and retransmission packet number.

[0025] Example 2: Example 2 of the present invention provides a control and management system based on the Internet of Things. Figure 2 This is a schematic diagram of the module structure of a control and management system based on the Internet of Things provided in Embodiment 2, as shown below. Figure 2 As shown, the system includes: The download management module is used for file caching and download control management in the Internet of Things (IoT) field. The analysis and control module is used to analyze and control the dynamic load balancing of IoT devices. The configuration processing module is used for configuration retransmission processing of IoT systems.

[0026] In some embodiments of the present invention, the download management module includes: The cache eviction module is used to perform cache eviction processing for file information data; The cache management module is used for managing the cache of file information data. The connection pool module is used to manage and control the connection pool for requesting connections.

[0027] In some embodiments of the present invention, the analysis and control module includes: The load collection module is used to collect dynamic load information of IoT devices; The scheduling management module is used for load balancing scheduling management. The information storage module is used for information data storage and control.

[0028] In some embodiments of the present invention, the configuration processing module includes: The retransmission processing module is used for retransmission of information. The configuration management module is used for the analysis and management of configuration nodes.

[0029] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus.

[0030] Finally, it should be noted that the above descriptions are merely preferred embodiments of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing embodiments or make equivalent substitutions for some of the technical features. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. A control and management method based on the Internet of Things, characterized in that: include: Perform file cache control and management for the Internet of Things (IoT); File connection processing is performed through the control and management of a file connection pool; Analyze and control the dynamic load balancing of IoT devices; Perform configuration retransmission processing for the Internet of Things (IoT) system.

2. The control and management method based on the Internet of Things according to claim 1, characterized in that: The file cache control and management for the Internet of Things includes: Once an IoT file is accessed, it is cached and stored based on its access status data. After completing the cache management of IoT files, the operation management and control of the cache area for file caching is carried out.

3. The control and management method based on the Internet of Things according to claim 1, characterized in that: The file connection processing via the control and management of the file connection pool includes: By controlling and managing the file connection pool, the system can control and manage the establishment of connections for user file requests.

4. The control and management method based on the Internet of Things according to claim 1, characterized in that: The analysis and control of dynamic load balancing for IoT devices includes: Dynamic load information of IoT devices is collected at set intervals. Based on the load information fed back by each node in real time, the performance of each node in the cluster is re-evaluated and then load balancing scheduling management is performed. By using the interfaces reserved by each actual application project to synchronize terminal information, the information is refreshed in real time to ensure the synchronization of IoT application terminal information, and the synchronization information of the terminals is temporarily stored according to the timed settings of the task.

5. The control and management method based on the Internet of Things according to claim 1, characterized in that: The configuration retransmission process for the Internet of Things (IoT) system includes: The cluster node configuration is controlled by establishing a connection with the registry center via a persistent TCP connection. Adding a configuration node for the corresponding cluster to the registry center enables dynamic scaling up of the cluster, while deleting a configuration node from the registry center enables dynamic scaling down of the cluster. When the IoT terminal receives the firmware package, if the verification finds an error in the data packet, it will request the connection center to resend the previous data packet. The connection center will then resend the corresponding data frame according to the received data frame retransmission instruction and retransmission packet number.

6. A control and management system based on the Internet of Things, characterized in that: include: The download management module is used for file caching and download control management in the Internet of Things (IoT) field. The analysis and control module is used to analyze and control the dynamic load balancing of IoT devices. The configuration processing module is used for configuration retransmission processing of IoT systems.

7. A control and management system based on the Internet of Things according to claim 6, characterized in that: The download management module includes: The cache eviction module is used to perform cache eviction processing for file information data; The cache management module is used for managing the cache of file information data. The connection pool module is used to manage and control the connection pool for requesting connections.

8. A control and management system based on the Internet of Things according to claim 6, characterized in that: The analysis and control module includes: The load collection module is used to collect dynamic load information of IoT devices; The scheduling management module is used for load balancing scheduling management. The information storage module is used for information data storage and control.

9. A control and management system based on the Internet of Things according to claim 6, characterized in that: The processing configuration module includes: The retransmission processing module is used for retransmission of information. The configuration management module is used for the analysis and management of configuration nodes.