Method, device, computer equipment and storage medium for transmitting data of Internet of Things
By deploying edge nodes in the IoT system for data cleaning, aggregation and decision-making analysis, and adjusting the transmission strategy based on network status, the problem of increasing the number of devices and network bandwidth delay in the IoT system is solved, and efficient data processing and analysis is achieved. Improved system flexibility and decision-making quality.
Patent Information
- Application Number
- CN202410678858.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-29
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-05-29
AI Technical Summary
The increasing number of devices and network bandwidth delay issues in IoT systems have led to inefficiencies in data processing and analysis, which are especially challenging in real-time decision-making and high-throughput application scenarios.
By deploying multiple edge nodes in the IoT system, intelligently allocate devices and sensors, perform data cleaning, aggregation processing and decision analysis, adjust transmission strategies based on network status, and optimize data transmission and processing processes, thereby reducing delays and improving efficiency.
It achieves efficient data processing and analysis, reduces the central server load, improves response time and system flexibility, ensures operating efficiency when network conditions are poor, and provides in-depth decision support.
Smart Images

Figure CN118264692B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a method, device, computer equipment and storage medium for transmitting Internet of Things data. Background Art
[0002] The Internet of Things (IoT) is a network of various sensors, devices, and computing devices that can communicate with each other and exchange data over the network. These devices are often embedded in physical objects used in daily life, such as home appliances, cars, factory equipment, and even urban infrastructure. The core of the IoT lies in seamless connectivity and intelligent automation, making data collection and control processes more efficient and automated.
[0003] Although IoT technology has great potential, it still faces some technical challenges in its widespread implementation: First, as the number of devices increases, how to efficiently process and analyze the collected big data becomes a key issue, which requires the development of more efficient data analysis algorithms and processing frameworks to support real-time decision-making and intelligent operations. Second, network bandwidth and latency issues are also critical because they directly affect the real-time transmission speed and processing efficiency of data, especially in application scenarios such as autonomous driving and industrial automation that have strict requirements for low latency and high throughput. These challenges require comprehensive technological innovation and strategic adjustments to ensure the reliability and effectiveness of IoT systems. Summary of the invention
[0004] The main purpose of the present invention is to provide a method and device for transmitting IoT data, a computer device and a storage medium, so as to solve the technical problem that the increase in the number of devices and network bandwidth delay in the IoT field have a significant impact on the efficiency of data processing and analysis.
[0005] To achieve the above-mentioned purpose, the present invention provides a method for transmitting Internet of Things data, comprising the following steps: determining multiple devices and multiple sensors deployed on the Internet of Things, and deploying multiple edge nodes on the Internet of Things, and allocating the multiple devices and the multiple sensors to the multiple edge nodes according to the transmission path of the data on the Internet of Things; using the edge nodes deployed on the Internet of Things to collect the operation data of the multiple devices allocated by the edge nodes to obtain the first device operation data, and collecting the collection data of the multiple sensors allocated by the edge nodes to obtain the first sensor collection data; performing data cleaning on the first device operation data to remove data errors generated by the edge nodes in the process of collecting the operation data of the multiple devices, and performing data cleaning on the first sensor collection data to remove data errors generated by the edge nodes in the process of collecting the collection data of the multiple sensors; performing aggregation processing on the cleaned first device operation data to obtain the second device operation data, and performing aggregation processing on the cleaned first sensor collection data to obtain the second sensor collection data, and combining the second device operation data and the second sensor collection data The method comprises the following steps: determining the association relationship between the second device operation data and the second sensor collection data, clearing the redundant data in the second device operation data and the second sensor collection data, and obtaining the initial data of the Internet of Things transmission; using the decision algorithm deployed on the edge node to perform decision analysis on the initial data of the Internet of Things transmission, and obtaining the preliminary decision that the edge node should execute based on the initial data of the Internet of Things transmission, and using the edge node to execute the preliminary decision; determining the current network status of the network environment in which the Internet of Things is located, and adjusting the transmission strategy of the edge node according to the current network status, and sending the initial data of the Internet of Things transmission to the cloud server based on the transmission strategy, wherein the network reliability includes the delay probability and packet loss rate of data transmission, and sending the initial data of the Internet of Things transmission to the cloud server based on the transmission strategy; using the cloud server to collect the initial data of the Internet of Things transmission sent by each edge node deployed on the Internet of Things, and integrating and processing the initial data of the Internet of Things transmission sent by each edge node to obtain the final data of the Internet of Things transmission, and performing in-depth analysis on the final data of the Internet of Things transmission to obtain the final decision, and executing the final decision.
[0006] Optionally, multiple devices and multiple sensors deployed on the Internet of Things are determined, and multiple edge nodes are deployed on the Internet of Things, and the multiple devices and the multiple sensors are allocated to the multiple edge nodes according to the transmission path of data on the Internet of Things, including: determining basic information of each device and basic information of each sensor, the basic information of the device including device type, device function, data generation frequency and geographical location, and the basic information of the sensor including sensor type, sensor function, data generation frequency and geographical location; using network scanning tools and protocols to identify each edge node in the Internet of Things, and performing capability evaluation on the edge nodes to obtain capability evaluation indicators, the capability evaluation indicators including edge node processing capability, edge node storage capacity, edge node network bandwidth and edge node physical location; dividing the optimal processing range for each edge node according to the capability evaluation indicators of the edge nodes, determining the devices and sensors within the optimal processing range of each edge node in turn according to the basic information of the devices and the basic information of the sensors, and allocating the devices and sensors within the optimal processing range to the edge node corresponding to the optimal processing range.
[0007] Optionally, data cleaning is performed on the operating data of the first device to remove data errors generated by the edge node in the process of collecting the operating data of the multiple devices, and data cleaning is performed on the data collected by the first sensor to remove data errors generated by the edge node in the process of collecting the data collected by the multiple sensors, including: calculating the first quartile and the third quartile of each data point in the operating data of the first device; based on the first quartile and the third quartile of the operating data of the first device, calculating the IQR value of the operating data of the first device, the IQR value is equal to the value of the third quartile minus the first quartile; determining the data points in the operating data of the first device that are less than a first threshold as outliers, and determining the data points in the operating data of the first device that are greater than a second threshold as outliers, wherein the first threshold is the first The first quartile is the value of the first sensor data minus 1.5 times the IQR value, and the second threshold is the value of the third quartile plus 1.5 times the IQR value, and the abnormal value is eliminated; the first quartile and the third quartile of each data point in the data collected by the first sensor are calculated; based on the first quartile and the third quartile of the data collected by the first sensor, the IQR value of the data collected by the first sensor is calculated, and the IQR value is equal to the value of the third quartile minus the first quartile; the data points in the data collected by the first sensor that are less than the first threshold are determined as abnormal values, and the data points in the data collected by the first sensor that are greater than the second threshold are determined as abnormal values, wherein the first threshold is the value of the first quartile minus 1.5 times the IQR value, and the second threshold is the value of the third quartile plus 1.5 times the IQR value, and the abnormal value is eliminated.
[0008] Optionally, the first device operation data after cleaning is aggregated to obtain second device operation data, and the first sensor acquisition data after cleaning is aggregated to obtain second sensor acquisition data, including: dividing the first device operation data after cleaning into a plurality of first device operation sub-data according to the data properties of different data in the first device operation data after cleaning, performing data conversion on each first device operation sub-data, and unifying the data units of the first device operation sub-data; dividing the first device operation data after cleaning into a plurality of second device operation sub-data according to the data usage of different data in the first device operation data after cleaning, and determining an aggregation algorithm matching each second device operation sub-data, and sequentially using the aggregation algorithm matching each second device operation sub-data to perform data conversion on each second device operation sub-data. The operation sub-data are aggregated and the aggregation results are compiled as the second device operation data; the first sensor acquisition data after cleaning is divided into a plurality of first sensor acquisition sub-data according to the data properties of different data in the first sensor acquisition data after cleaning, and data conversion is performed on each first sensor acquisition sub-data to unify the data unit of the first sensor acquisition sub-data; according to the data usage of different data in the first sensor acquisition data after cleaning, the first sensor acquisition data after cleaning is divided into a plurality of second sensor acquisition sub-data, and an aggregation algorithm matching each second sensor acquisition sub-data is determined, and the aggregation algorithm matching each second sensor acquisition sub-data is sequentially adopted to aggregate each second sensor acquisition sub-data, and the aggregation results are compiled as the second sensor acquisition data.
[0009] Optionally, in combination with the association relationship between the second device operation data and the second sensor collected data, redundant data in the second device operation data and the second sensor collected data are cleared to obtain initial data for Internet of Things transmission, including: performing cointegration analysis on the second device operation data and the second sensor collected data to obtain the association relationship between the second device operation data and the second sensor collected data; based on the association relationship between the second device operation data and the second sensor collected data, performing singular value decomposition on the second device operation data and the second sensor collected data to remove redundant data in the second device operation data and the second sensor collected data; integrating the second device operation data and the second sensor collected data after singular value decomposition to obtain the initial data for Internet of Things transmission.
[0010] Optionally, a decision algorithm deployed on the edge node is used to perform decision analysis on the initial data transmitted by the Internet of Things to obtain a preliminary decision that the edge node should execute based on the initial data transmitted by the Internet of Things, and the edge node is used to execute the preliminary decision, including: inputting the initial data transmitted by the Internet of Things obtained by integrating the edge node into the decision algorithm deployed on the edge node; performing logical judgment on the initial data transmitted by the Internet of Things based on predefined business rules through the decision algorithm to determine the preliminary decision triggered by the initial data transmitted by the Internet of Things; when the initial data transmitted by the Internet of Things triggers a preliminary decision, the edge node is used to execute the preliminary decision; when the initial data transmitted by the Internet of Things does not trigger a preliminary decision, the step of "determining the current network status of the network environment in which the Internet of Things is located, and adjusting the transmission strategy of the edge node according to the current network status" is executed.
[0011] Optionally, determine the current network status of the network environment in which the Internet of Things is located, and adjust the transmission strategy of the edge node according to the current network status, including: deploying a network monitoring tool on the edge node, and using the network monitoring tool to detect the current network status of the edge node in real time through the SNMP protocol; analyzing the initial data of the Internet of Things transmission, and disassembling it into multiple initial sub-data of the Internet of Things transmission, different initial sub-data of the Internet of Things transmission have different transmission priorities; determining the data volume of each initial sub-data of the Internet of Things transmission, and evaluating the impact of each initial sub-data of the Internet of Things transmission on the network bandwidth in turn according to the data volume, and obtaining the network transmission evaluation information corresponding to each initial sub-data of the Internet of Things transmission; inputting the current network status and the transmission priority, data volume and network transmission evaluation information of each initial sub-data of the Internet of Things transmission into a preset machine learning model to obtain the transmission strategy of the edge node, and the transmission strategy includes the sending time, size and frequency of multiple data packets; arranging the multiple initial sub-data of the Internet of Things transmission into multiple data packets in turn, and dynamically adjusting the sending time, size and frequency of multiple data packets in the transmission strategy based on a preset bandwidth delay product algorithm, and then sending the data packet to the cloud server.
[0012] The present invention also provides a transmission device for Internet of Things data, the transmission device comprising: an allocation unit, used to deploy multiple edge nodes on the Internet of Things, determine multiple devices and multiple sensors deployed on the Internet of Things, and allocate the multiple devices and the multiple sensors to the multiple edge nodes according to the transmission path of the data on the Internet of Things; a collection unit, used to use the edge nodes deployed on the Internet of Things to collect the operation data of the multiple devices allocated to the edge nodes to obtain the first device operation data, collect the collection data of the multiple sensors allocated to the edge nodes to obtain the first sensor collection data; a cleaning unit, used to perform data cleaning on the first device operation data, remove data errors generated by the edge nodes in the process of collecting the operation data of the multiple devices, and perform data cleaning on the first sensor collection data, remove data errors generated by the edge nodes in the process of collecting the collection data of the multiple sensors; an aggregation unit, used to perform aggregation processing on the first device operation data to obtain the second device operation data, perform aggregation processing on the first sensor collection data to obtain the second sensor collection data, and combine the second device operation data and the second sensor collection data The association relationship between the second device operation data and the second sensor collection data is cleared to obtain the initial data of the Internet of Things transmission; an execution unit is used to adopt the decision algorithm deployed on the edge node to perform decision analysis on the initial data of the Internet of Things transmission, obtain the preliminary decision that the edge node should execute based on the initial data of the Internet of Things transmission, and use the edge node to execute the preliminary decision; a transmission unit is used to determine the current network status of the network environment in which the Internet of Things is located, and adjust the transmission strategy of the edge node according to the current network status, and send the initial data of the Internet of Things transmission to the cloud server based on the transmission strategy, wherein the network reliability includes the delay probability and packet loss rate of data transmission, and the initial data of the Internet of Things transmission is sent to the cloud server based on the transmission strategy; an integration unit is used to use the cloud server to collect the initial data of the Internet of Things transmission sent by each edge node deployed on the Internet of Things, and integrate the initial data of the Internet of Things transmission sent by each edge node to obtain the final data of the Internet of Things transmission, and perform in-depth analysis on the final data of the Internet of Things transmission to obtain the final decision, and execute the final decision.
[0013] The present invention also provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any one of the above methods when executing the computer program.
[0014] The present invention also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned methods are implemented.
[0015] The method, device, computer equipment and storage medium for transmitting IoT data provided by the present invention integrate a series of key steps from data collection to final decision-making, and construct an efficient and dynamic data processing process. First, IoT devices and sensors are deployed at various key locations and connected to multiple edge nodes, which intelligently allocate devices according to predetermined data transmission paths. This allocation ensures the efficiency and accuracy of data collection while reducing any potential transmission delays. After the initial collection of data, the edge nodes begin to collect raw operating and acquisition data from devices and sensors. These data are first cleaned to remove errors and noise, which is a key step to ensure the accuracy of subsequent analysis. Subsequently, the cleaned data is aggregated to merge and simplify information and reduce redundancy in the data processing process. This aggregation not only improves the efficiency of data processing, but also lays a solid foundation for further data analysis. The decision algorithm deployed in the edge node then analyzes the aggregated data to generate preliminary decisions. These decisions can be executed quickly and effectively respond to real-time changes and needs, demonstrating the powerful capabilities of edge computing in real-time data processing and decision-making. To ensure the security and efficiency of data transmission in the network, the edge node will adjust its transmission strategy according to the current network status, such as adjusting the packet size or modifying the transmission frequency to adapt to different network bandwidth and reliability. All optimized data is eventually sent to the cloud server, which not only serves as a data aggregation point, but also a place for in-depth analysis and final decision-making. The cloud server integrates the data from each edge node and uses its powerful computing power to perform complex data analysis, including advanced analysis such as trend prediction and behavior pattern recognition, to form a comprehensive understanding and control of the entire IoT system.
[0016] The advantage of this IoT data transmission method lies in its comprehensiveness and flexibility. By processing most of the data at the edge node, the load on the central server is greatly reduced, the response time is optimized, and the system's operating efficiency can be guaranteed when network conditions are poor. In addition, in-depth analysis in the cloud provides macro-decision support, making the entire system not only responsive but also highly intelligent, able to make accurate business decisions based on complex data inputs. This method, which combines edge computing and cloud computing, fully utilizes the advantages of both and provides a powerful, reliable and scalable data processing and analysis platform for IoT applications.
[0017] In summary, the method, device, computer equipment and storage medium for transmitting IoT data provided by the present invention determine and deploy multiple devices and sensors to the edge nodes of the IoT; the edge nodes collect and clean the data of the devices and sensors, perform data aggregation processing, remove redundant data, and obtain initial data; thereafter, the edge nodes use decision algorithms to analyze the initial data and execute preliminary decisions; then, the transmission strategy is adjusted according to the network status and the data is sent to the cloud server; finally, the cloud server integrates the data, performs in-depth analysis and decision execution. The data processing efficiency is optimized, and the network adaptability and decision quality are improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 This is a schematic diagram of the steps of a method for transmitting Internet of Things data in one embodiment of the present invention;
[0019] Figure 2 This is a structural framework diagram of a transmission device for Internet of Things data in one embodiment of the present invention;
[0020] Figure 3 It is a schematic block diagram of the structure of a computer device according to an embodiment of the present invention.
[0021] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0022] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0023] Reference Figure 1 , the embodiment of the present application provides a method for transmitting IoT data, including:
[0024] S1, deploying multiple edge nodes on the Internet of Things, determining multiple devices and multiple sensors deployed on the Internet of Things, and allocating the multiple devices and the multiple sensors to the multiple edge nodes according to a transmission path of data on the Internet of Things.
[0025] Specifically, in the context of the Internet of Things, the key to data transmission methods is to efficiently process and transfer data to support real-time decision-making and system optimization. Step S1 is the first critical step in this process, which mainly involves the deployment and management of devices and sensors. In step S1, all deployed devices and sensors in the Internet of Things must first be identified. These devices may include but are not limited to intelligent manufacturing equipment, environmental monitoring equipment, or any intelligent device that requires automated control. Sensors are tools used to collect environmental data, device status and other information, such as temperature sensors, humidity sensors or motion sensors. These devices and sensors are data sources in the Internet of Things system, and their effective deployment and configuration are the basis for ensuring the overall performance of the system. Subsequently, step S1 also includes the deployment of multiple edge nodes in the Internet of Things, and the devices and sensors are reasonably allocated to these edge nodes according to their location in the network and the data transmission path. Edge nodes are usually deployed close to the data source and can perform operations such as data preprocessing, caching and temporary decision-making. Through intelligent allocation strategies, data transmission delays and bandwidth pressure can be reduced, while improving data processing efficiency and response speed. The advantage of step S1 lies in its efficient use and optimized management of Internet of Things resources. First, by rationally configuring and allocating devices and sensors to edge nodes, the load on the central server can be effectively reduced, distributing the processing pressure to various parts of the network. Second, edge computing can improve the speed and real-time performance of data processing, and reduce the delay and packet loss rate during data transmission, which is particularly important for application scenarios that require rapid response. Finally, this deployment method enhances the scalability and flexibility of the system, enabling the IoT system to better adapt to changing environments and needs. Specific examples can refer to the field of intelligent manufacturing. In a large factory, there may be hundreds or thousands of devices and sensors deployed, which are distributed in different production lines and workstations. By deploying edge nodes at key locations in the factory, such as the starting and ending points of each production line, neighboring devices and sensors can be connected to the nearest edge node. Such a configuration can not only process data on the production line in real time, such as the operating status of the machine, the data of the product quality monitoring sensor, etc., but also perform preliminary analysis locally, such as detecting equipment abnormalities. In this way, the operating status of the production line can be adjusted in real time, production efficiency can be optimized, and any possible problems can be responded to in a timely manner, thereby greatly improving production efficiency and reducing maintenance costs.
[0026] S2, using the edge node deployed on the Internet of Things, collecting the operating data of multiple devices assigned to the edge node to obtain first device operating data, and collecting the collection data of multiple sensors assigned to the edge node to obtain first sensor collection data.
[0027] In the IoT data transmission method, step S2 plays the role of a bridge from the data source to the preliminary data processing. In this step, the edge nodes deployed in the IoT system first collect data from multiple devices and sensors assigned to them. This includes obtaining operating data from the devices and various monitoring data from the sensors. Specifically, the edge nodes are responsible for collecting operating data from the connected devices, such as device status, performance indicators, fault records, etc., according to the allocation in the previous step (S1). At the same time, these edge nodes also collect various environmental and operating data from the sensors to which they are connected, such as temperature, humidity, pressure, location, etc. These data are regarded as "first device operating data" and "first sensor acquisition data". The core value of step S2 is that it can collect and preliminarily process data close to the data source, which has multiple advantages. First, this approach can significantly reduce the delay in data transmission because data processing and part of the decision making are completed closer to the data generation point, thereby improving the response speed and real-time performance. Second, this distributed processing method of the edge nodes can reduce the data processing burden of the central server, allowing the central server to focus on more complex data analysis and decision-making tasks. In addition, this also helps to reduce the burden on network transmission, because after the data is initially screened and processed by the edge node, only the necessary and preliminarily processed data needs to be sent to the central server or cloud.
[0028] In summary, step S2 effectively improves the overall efficiency and performance of the IoT system by leveraging the geographical and computing advantages of edge nodes. By collecting and initially processing data close to the data source, not only the speed and real-time nature of data processing are improved, but also the use of network resources is optimized, laying a solid foundation for the stability and scalability of the entire IoT architecture. This approach is particularly important in modern IoT applications that require fast response and efficient data processing.
[0029] S3, performing data cleaning on the operating data of the first device to remove data errors generated by the edge node in the process of collecting the operating data of the multiple devices, and performing data cleaning on the collected data of the first sensor to remove data errors generated by the edge node in the process of collecting the collected data of the multiple sensors.
[0030] Specifically, step S3 plays a key role in data optimization and purification in the IoT data transmission method. The main purpose of this step is to ensure the quality of the device operation data and sensor acquisition data collected from the edge nodes, and to remove errors and noise that may be generated during the data collection process through the data cleaning process. Data cleaning is a basic step to ensure the accuracy of subsequent data processing and analysis, and is crucial to the entire data processing process. In step S3, the IoT system first cleans the "first device operation data". This involves detecting and correcting any anomalies or errors in the data, such as duplicate data transmitted by the device, data with incorrect format, or false positive data caused by device failure. The same processing is also applied to the "first sensor acquisition data", and the cleaning work may include removing outliers and noise caused by sensor failure, external interference, or data transmission errors. The advantage of step S3 is that it provides a solid foundation for decision support for the IoT system by improving the accuracy and availability of data. Data cleaning not only improves the quality of data analysis, but also helps to improve the operating efficiency of the entire system and reduce the risk of wrong decisions. In addition, this step can also optimize data storage, reduce the storage and processing of useless data, thereby reducing costs and increasing processing speed.
[0031] Consider a specific example: In a large manufacturing plant, hundreds or thousands of machines and sensors continuously generate a large amount of data. For example, a machine may report its operating status, production rate, and possible fault indicators; environmental sensors monitor and record data such as temperature, humidity, or vibration. In this scenario, the accuracy of the data is critical to ensure the optimal operation of the production line. If the data contains errors, it may lead to misjudgment of the equipment status, which in turn causes unnecessary maintenance interruptions or ignores the machines that really need maintenance, resulting in reduced production efficiency and potential safety risks. By implementing the S3 step at the edge node, the factory can clean the data collected from various devices and sensors in real time. For example, by automatically detecting temperature readings that are obviously inconsistent with historical data, it can be preliminarily determined whether the sensor is faulty or misconfigured, and adjusted or replaced in time. Similarly, if the data reported by the production equipment shows an unusual operating pattern, the edge node can quickly identify this and notify the factory management system for further inspection and maintenance.
[0032] In summary, the S3 step not only ensures the quality and reliability of the data, but also supports the high reliance on real-time data in the manufacturing environment through timely data cleaning, ensuring the continuity and safety of the production process, thereby improving production efficiency while reducing operating costs. This data processing strategy is a key component of smart manufacturing and other IoT applications that require high-quality data input.
[0033] S4, aggregate the cleaned operating data of the first device to obtain the second device operating data, aggregate the cleaned data collected by the first sensor to obtain the second sensor collecting data, and based on the association between the second device operating data and the second sensor collecting data, clear the redundant data in the second device operating data and the second sensor collecting data to obtain the initial data for Internet of Things transmission.
[0034] Specifically, step S4 is a crucial link in the IoT data transmission method. Its main responsibility is to aggregate the primary device operation data and sensor collection data collected from the edge nodes, and on this basis, remove redundant data, and finally form the initial IoT transmission data for further transmission and decision analysis. This step not only involves data integration, but also includes the analysis of the relationship between data to optimize the storage and transmission efficiency of data. In step S4, the "first device operation data" and "first sensor collection data" are first aggregated. The aggregation process usually involves aggregating data from multiple devices and sensors and integrating them into a more useful and easy-to-process format. This not only makes the data more concise, but also helps to identify patterns and trends in the data. Then, based on the aggregated data set (second device operation data and second sensor collection data), the system analyzes the correlation between these data, and determines and removes redundant information generated during the data merging process. The advantage of step S4 is that it greatly improves the efficiency of data processing and the performance of the system. First, data aggregation reduces the amount of data that needs to be further processed, which reduces storage and computing costs and reduces the burden on network transmission. Secondly, by removing redundant data, the data transmitted to the cloud server can be guaranteed to have higher quality and relevance, which is crucial for subsequent analysis and decision-making. In addition, aggregate processing improves the manageability of data, making it easier for the system to process data from large and complex networks.
[0035] S5, using the decision algorithm deployed on the edge node to perform decision analysis on the initial data transmitted by the Internet of Things, obtain a preliminary decision that the edge node should execute based on the initial data transmitted by the Internet of Things, and use the edge node to execute the preliminary decision.
[0036] Specifically, step S5 plays a key decision support role in the IoT data transmission method. This step involves using the decision algorithm deployed on the edge node to perform decision analysis on the initial IoT transmission data obtained after purification and aggregation in the previous steps, so as to generate preliminary decisions based on the data and execute them immediately. This step is an important part of realizing data-driven decision-making, which enables the IoT system to not only collect and process data, but also respond and adjust according to the data, thereby improving the intelligence and automation level of the entire system. In step S5, the edge node analyzes the data using pre-configured algorithms, which may be based on machine learning, statistical analysis, or preset business rules. The purpose of this process is to extract useful information from the aggregated data, identify patterns or anomalies, and then generate decision recommendations. For example, this may include forecasting maintenance needs for equipment, optimizing energy use, and adjusting production processes. The advantage of this step is that it can greatly improve response speed and operational efficiency. Since the decision algorithm is deployed on the edge node, close to the source of data generation, the system can process data and make decisions in almost real time, which is particularly critical for scenarios that require rapid response (such as factory automation, intelligent transportation systems, etc.). In addition, this instant processing at the edge node reduces dependence on central servers, thereby maintaining efficient operation of the system when network connections are unstable or bandwidth is limited. Another important advantage is saving bandwidth and computing resources. By processing data and making decisions at local nodes, only necessary and processed information needs to be transmitted to the cloud or central system, which can effectively reduce data communication volume, network congestion and costs. At the same time, this also improves data security and privacy, because sensitive data can be processed locally without having to be transmitted across the network.
[0037] Taking smart manufacturing as an example, imagine that edge nodes in a large factory continuously collect and analyze data from hundreds of machines on the production line. Through step S5, the edge node can monitor the status of the equipment in real time, automatically identify maintenance needs or configuration errors, and immediately adjust production parameters or issue maintenance alerts. For example, if the algorithm detects that the temperature of a machine continues to exceed the safety threshold, the system can automatically adjust the working intensity of the machine or directly shut it down to avoid damage, and notify the maintenance team to check. This rapid automated response not only reduces the risk of equipment failure, but also improves production efficiency and safety.
[0038] In summary, step S5 significantly improves the real-time and intelligent level of the IoT system by implementing decision analysis and immediate decision execution on the edge node, enabling the system to respond more flexibly and effectively to various operating environments and demand changes, and is particularly suitable for application scenarios with extremely high timeliness requirements. This step is an indispensable part of the modern IoT system, and is key to achieving true automation and intelligent operation.
[0039] S6, determine the current network status of the network environment in which the Internet of Things is located, and adjust the transmission strategy of the edge node according to the current network status, and send the initial data of the Internet of Things transmission to the cloud server based on the transmission strategy, wherein the network reliability includes the delay probability and packet loss rate of data transmission, and the initial data of the Internet of Things transmission is sent to the cloud server based on the transmission strategy.
[0040] Specifically, step S6 is a key link in the IoT data transmission method, which involves adjusting the transmission strategy of the edge node according to the current network status. This step ensures that the IoT system can operate effectively and reliably under different network conditions while minimizing delays and packet loss in data transmission. In step S6, the edge node first needs to monitor the current network status, which includes but is not limited to network bandwidth, delay probability of data transmission, and packet loss rate. These indicators are crucial for evaluating the performance and reliability of the network. Based on these monitoring results, the edge node adjusts its data transmission strategy, such as changing the size of the data packet, adjusting the sending frequency, selecting the best data route, or enabling data compression, to adapt to the current network conditions. This dynamic adjustment ensures that data is transmitted in the best way regardless of how the network status changes. The advantage of step S6 is that it improves the efficiency and reliability of data transmission. When the network conditions are unstable or the load is heavy, by adjusting the transmission strategy, the edge node can reduce delays and losses in data transmission, and ensure that key data is transmitted to the cloud server or other nodes in a timely and accurate manner. This is particularly important for application scenarios that rely on real-time data for operational decisions, such as autonomous vehicles, remote medical monitoring, and industrial automation. In addition, step S6 also helps to optimize the use of network resources. By intelligently adjusting transmission strategies, the system can more efficiently utilize available network bandwidth and avoid excessive load during periods of network congestion. This not only improves the operating efficiency of the entire IoT system, but also helps reduce operational delays and costs caused by network problems.
[0041] Taking smart manufacturing as an example, suppose a factory's production line is connected to the Internet through hundreds of sensors and machine equipment. These devices generate a large amount of data in real time and need to be quickly transmitted to the central monitoring system for advanced analysis and decision support. If the network status changes, such as a sudden drop in bandwidth, the S6 step allows the edge node to adjust the transmission strategy instantly, such as reducing the frequency of sending data or only sending the highest priority data. This ensures that data for critical operations such as safety monitoring and quality control is prioritized, thereby maintaining the stable operation of the production line.
[0042] In short, the S6 step is an indispensable part of the IoT data transmission strategy, which enables the system to flexibly respond to various network environments and ensure the continuity and security of data transmission. By adjusting the transmission strategy in real time to adapt to network conditions, the S6 step significantly improves the adaptability and resilience of the system, which is essential to ensure that the IoT system can work efficiently and reliably under various conditions.
[0043] S7, using the cloud server to collect the initial data of the Internet of Things transmission sent by each edge node deployed on the Internet of Things, and integrating and processing the initial data of the Internet of Things transmission sent by each edge node to obtain the final data of the Internet of Things transmission, and deeply analyzing the final data of the Internet of Things transmission to obtain a final decision, and executing the final decision.
[0044] Specifically, step S7 plays a crucial role in the IoT data transmission method. It marks the final stage of the data processing process, in which the cloud server collects and integrates the data sent by each edge node, performs in-depth analysis, and makes a final decision based on this analysis. In step S7, the cloud server first receives the initial data transmitted from multiple edge nodes in the IoT system. These data have been cleaned, aggregated, and optimized based on the current network conditions in the previous steps, so they are of high quality and have high availability. The task of the cloud server is to further integrate and process these data, merging data from different sources to form a comprehensive data view, which is crucial for performing global analysis and decision-making. During the integration process, the cloud server will perform a series of analyses on the collected data, such as data mining, pattern recognition, and predictive modeling, in order to gain a deeper understanding of the information contained in the data. These analyses help reveal the interactions between different devices and sensors and their impact on the overall performance of the system. Based on these in-depth analyses, the cloud server will eventually make final decisions, which are aimed at optimizing system performance, improving efficiency, or reducing potential risks.
[0045] The advantages of the S7 step are mainly reflected in the following aspects: By aggregating data from various edge nodes to the cloud, a global and comprehensive data view can be obtained, which is essential for comprehensive system analysis and decision-making. Integrating data makes it possible to compare and analyze data across nodes, and discover trends and patterns that may be difficult to detect at the single node level. Cloud servers have powerful computing power and are suitable for performing complex data analysis and machine learning models. This advanced analytical capability can be used to extract deep insights from data and guide more effective decision-making. After the analysis is completed, decisions based on the data can be automatically pushed to the corresponding execution nodes, such as automatically adjusting production lines, optimizing resource allocation, or updating safety protocols. This fast feedback loop greatly improves operational efficiency and response speed.
[0046] Taking smart manufacturing as an example, suppose a factory's production system consists of hundreds of machines, each of which collects data through edge nodes. In the S7 step, the data of all machines is aggregated to the cloud server, which analyzes the data to optimize the entire production process. For example, by analyzing the synergy between different machines, the cloud can identify production bottlenecks and reconfigure resource allocation to improve overall production efficiency and reduce downtime. This not only improves product quality, but also reduces production costs.
[0047] In summary, the S7 step provides a powerful decision support function for the IoT system by integrating and analyzing data in the cloud. This centralized analysis and decision-making mechanism enables the IoT system to continuously optimize and self-adjust while maintaining high efficiency to adapt to the ever-changing operating environment and market demand.
[0048] In the embodiment of the present application, the IoT data transmission method systematically integrates a series of key steps from data collection to final decision-making, and constructs an efficient and dynamic data processing process. First, IoT devices and sensors are deployed at various key locations and connected to multiple edge nodes, which intelligently allocate devices according to predetermined data transmission paths. This allocation ensures the efficiency and accuracy of data collection while reducing any potential transmission delays. After the initial collection of data, the edge nodes begin to collect raw operation and acquisition data from devices and sensors. These data are first cleaned to remove errors and noise, which is a key step to ensure the accuracy of subsequent analysis. Subsequently, the cleaned data is aggregated to merge and simplify information and reduce redundancy in the data processing process. This aggregation not only improves the efficiency of data processing, but also lays a solid foundation for further data analysis. The decision algorithm deployed in the edge node then analyzes the aggregated data to generate preliminary decisions. These decisions can be executed quickly and effectively respond to real-time changes and needs, demonstrating the powerful capabilities of edge computing in real-time data processing and decision-making. To ensure the security and efficiency of data transmission in the network, the edge node will adjust its transmission strategy according to the current network status, such as adjusting the packet size or modifying the transmission frequency to adapt to different network bandwidth and reliability. All optimized data is eventually sent to the cloud server, which not only serves as a data aggregation point, but also a place for in-depth analysis and final decision-making. The cloud server integrates the data from each edge node and uses its powerful computing power to perform complex data analysis, including advanced analysis such as trend prediction and behavior pattern recognition, to form a comprehensive understanding and control of the entire IoT system.
[0049] The advantage of this IoT data transmission method lies in its comprehensiveness and flexibility. By processing most of the data at the edge node, the load on the central server is greatly reduced, the response time is optimized, and the system's operating efficiency can be guaranteed when network conditions are poor. In addition, in-depth analysis in the cloud provides macro-decision support, making the entire system not only responsive but also highly intelligent, able to make accurate business decisions based on complex data inputs. This method, which combines edge computing and cloud computing, fully utilizes the advantages of both and provides a powerful, reliable and scalable data processing and analysis platform for IoT applications.
[0050] In an optional example, the process of executing step S1 may specifically include the following steps:
[0051] Step S101, determining basic information of each device and basic information of each sensor, wherein the basic information includes device type, device function, data generation frequency and geographic location, and the basic information includes sensor type, sensor function, data generation frequency and geographic location.
[0052] Step S102, using network scanning tools and protocols to identify each edge node in the Internet of Things, and performing capability evaluation on the edge node to obtain capability evaluation indicators, wherein the capability evaluation indicators include edge node processing capability, edge node storage capacity, edge node network bandwidth, and edge node physical location.
[0053] Step S103, according to the capability evaluation index of the edge node, divide the optimal processing range for each edge node, determine the devices and sensors within the optimal processing range of each edge node in turn according to the basic information of the device and the basic information of the sensor, and allocate the devices and sensors within the optimal processing range to the edge node corresponding to the optimal processing range.
[0054] In the specific embodiment, step S1 is the basis and starting point of the entire IoT data transmission process, and its main purpose is to ensure that devices and sensors can be efficiently and accurately matched with the most suitable edge nodes, thereby optimizing the data processing and transmission efficiency of the entire system. The detailed execution process of this step can be divided into three key parts: First, the first link of step S1 involves determining the basic information of each device and sensor. This includes collecting information such as device type, device function, data generation frequency, and geographic location. Similarly, the information of the sensor will also be recorded in detail, including sensor type, function, data generation frequency, and geographic location. The collection of this information is crucial because it directly affects how devices and sensors interact with edge nodes and how they should be organized and optimized to provide the most efficient data processing and the lowest latency. Next, the second part of the step includes using network scanning tools and protocol identification technology to identify all edge nodes in the IoT. Each edge node is then subjected to a detailed capacity assessment based on its processing power, storage capacity, network bandwidth, and physical location. This assessment is key to configuring the network architecture because it directly determines the scale and complexity of data processing and storage tasks that each node can undertake. Capacity assessment ensures that each edge node can work within its performance range, prevent overload, and optimize resource usage. Finally, based on the information collected and evaluated in the first two steps, the third part of step S1 is to divide the optimal processing range for each edge node. This means that based on the basic information of the devices and sensors, as well as the results of the edge node capability evaluation, the system will decide which devices and sensors should be assigned to which edge node. This allocation process not only considers the functional requirements and data generation characteristics of the devices and sensors, but also the geographical location to reduce the data transmission distance and time, thereby reducing latency. This refined configuration method makes the deployment of the entire IoT system more efficient and targeted, which can significantly improve the data processing speed and reduce the overall complexity of the system. The intelligent allocation of devices and sensors, combined with the capability optimization of edge nodes, jointly ensures the stability and efficiency of the entire IoT environment, ensuring that data is processed and forwarded under the best conditions, thus providing a solid foundation for subsequent data cleaning, aggregation and analysis. This not only improves the real-time processing capability of data, but also optimizes resource allocation, reduces costs, and improves the scalability and flexibility of the entire system.
[0055] In an optional example, the process of executing step S3 may specifically include the following steps:
[0056] Step S301, calculate the first quartile and the third quartile of each data point in the first device operation data; based on the first quartile and the third quartile of the first device operation data, calculate the IQR value of the first device operation data, and the IQR value is equal to the third quartile minus the first quartile.
[0057] Step S302: determine the data points in the first device operation data that are less than a first threshold as outliers, and determine the data points in the first device operation data that are greater than a second threshold as outliers, wherein the first threshold is the first quartile minus 1.5 times the IQR value, and the second threshold is the third quartile plus 1.5 times the IQR value, and the outliers are eliminated.
[0058] Step S303, calculate the first quartile and the third quartile of each data point in the data collected by the first sensor; based on the first quartile and the third quartile of the data collected by the first sensor, calculate the IQR value of the data collected by the first sensor, and the IQR value is equal to the value of the third quartile minus the first quartile.
[0059] Step S304: determine the data points in the data collected by the first sensor that are less than a first threshold as outliers, and determine the data points in the data collected by the first sensor that are greater than a second threshold as outliers, wherein the first threshold is the value of the first quartile minus 1.5 times the IQR value, and the second threshold is the value of the third quartile plus 1.5 times the IQR value, and the outliers are eliminated.
[0060] In the IoT system, step S3 is a crucial data cleaning stage, which aims to ensure the quality and accuracy of the device operation data and sensor collection data collected through edge nodes. This step describes in detail how to use statistical methods to identify and remove outliers in the data, thereby providing a more accurate information basis for subsequent data analysis and decision-making. Specifically, step S3 is divided into several key sub-steps. The first is to determine the basic form of data distribution by calculating the quartiles of the data. In steps S301 and S303, the first quartile (25% quartile) and the third quartile (75% quartile) are calculated for the device operation data and sensor collection data, respectively. These two statistics help determine the central tendency and dispersion of the data, providing a basis for the subsequent outlier detection. Then, steps S302 and S304 use the calculated quartiles to determine the so-called interquartile range (IQR), which is the difference between the third quartile and the first quartile. IQR is an important statistical indicator for measuring the dispersion of data, which reflects the variation of the middle 50% of the data. Through IQR, potential outliers in the data can be further identified. The specific method is to set two thresholds: the first threshold (lower bound) is the first quartile minus 1.5 times the IQR, and the second threshold (upper bound) is the third quartile plus 1.5 times the IQR. Data points below the first threshold or above the second threshold are considered outliers. This quartile and IQR-based method is particularly effective for identifying extreme values because it does not depend on the specific distribution of the data and is more suitable for possible skewed distributions. Finally, all data points identified as abnormal will be removed from the data set. The implementation of this process is crucial for cleaning data because the presence of outliers may distort the analysis results, leading to inaccurate data analysis and final decisions. In short, the S3 step ensures the quality and availability of data through sophisticated statistical analysis and anomaly handling, which provides a solid foundation for data processing and decision support for the entire IoT system. By effectively identifying and handling outliers in the data, the accuracy of data analysis can be significantly improved, making the decisions of the entire system more reliable and effective. This step not only optimizes data quality, but also improves the operational efficiency and decision quality of the entire IoT system.
[0061] In an optional example, the process of executing step S4 may specifically include the following steps:
[0062] Step S401, dividing the cleaned first device operation data into a plurality of first device operation sub-data according to the data properties of different data in the cleaned first device operation data, performing data conversion on each first device operation sub-data, and unifying the data units of the first device operation sub-data;
[0063] Step S402, dividing the first device operation data after cleaning into a plurality of second device operation sub-data according to data usage of different data in the first device operation data after cleaning, determining an aggregation algorithm matching each second device operation sub-data, sequentially adopting the aggregation algorithm matching each second device operation sub-data, performing aggregation processing on each second device operation sub-data, and aggregating the aggregation processing results into the second device operation data;
[0064] Step S403, dividing the cleaned first sensor collected data into a plurality of first sensor collected sub-data according to the data properties of different data in the cleaned first sensor collected data, performing data conversion on each first sensor collected sub-data, and unifying the data units of the first sensor collected sub-data;
[0065] Step S404: divide the cleaned first sensor collected data into multiple second sensor collected sub-data according to the data usage of different data in the cleaned first sensor collected data, determine an aggregation algorithm matching each second sensor collected sub-data, use the aggregation algorithm matching each second sensor collected sub-data in turn, perform aggregation processing on each second sensor collected sub-data, and compile the aggregation processing results into second sensor collected data.
[0066] In the IoT data transmission method, step S4 plays a core data aggregation role, aiming to extract and synthesize useful information from a large amount of raw data to create value for subsequent decision-making and analysis processes. This step ensures that the data has been properly transformed and optimized before entering higher-level processing through a series of detailed sub-steps. First, steps S401 and S403 focus on data preprocessing and standardization. This includes classifying the raw data from device operation and sensor collection according to their nature, and then performing necessary data conversion, such as unifying data units. This process is crucial to ensure the consistency and comparability of data in subsequent processing. For example, temperature data may need to be converted from Celsius to Fahrenheit, or distance data from meters to feet, so that all data can be analyzed and aggregated under the same metric. Next, steps S402 and S404 involve data aggregation processing. These sub-steps first further subdivide the data and classify it according to its specific purpose, such as monitoring data, operational data, etc. Each type of data will be matched with a suitable aggregation algorithm, which may include summation, average, maximum or minimum value calculation, etc. After applying these algorithms, the relevant data is aggregated into a higher-level information form, such as aggregating temperature readings over a period of time into an average temperature, or aggregating the readings of multiple sensors into a comprehensive status indicator. In this way, the second device operation data and the second sensor acquisition data not only reflect the operation of a single device or sensor, but also form comprehensive data reflecting the status of the entire system or its key parts through data aggregation processing. This supports efficient monitoring and rapid decision-making in the IoT environment, because trends can be observed, problems can be discovered, and responses can be made more quickly from aggregated data. Ultimately, through the careful design and execution of the S4 step, not only the efficiency of data processing is improved, but also the practicality of the data and the accuracy of decision-making are enhanced. This step is an indispensable part of IoT data processing. It greatly promotes the intelligence and automation of the entire system by converting complex raw data into useful information.
[0067] In an optional example, the process of executing step S4 may further specifically include the following steps:
[0068] Step S405, performing cointegration analysis on the second device operation data and the second sensor collected data to obtain a correlation relationship between the second device operation data and the second sensor collected data;
[0069] Step S406: Based on the association relationship between the second device operation data and the second sensor collected data, remove redundant data in the second device operation data and the second sensor collected data by performing singular value decomposition on the second device operation data and the second sensor collected data;
[0070] Step S407: Integrate the second device operation data after singular value decomposition and the second sensor collection data to obtain the Internet of Things transmission initial data.
[0071] Specifically, in the IoT data transmission method, step S4 is the core of processing and optimizing data for further analysis and application. This step ensures the integrity and relevance of the data through sophisticated data processing technology, thereby providing support for the effective operation of the entire system. First, in step S405, cointegration analysis is performed on the second device operation data and the second sensor acquisition data. Cointegration analysis is a statistical method used to identify and measure the long-term stable relationship between two or more time series variables. In the IoT environment, this means that the correlation between different devices and sensor output data can be determined, such as the long-term correspondence that may exist between the data of the temperature sensor and the operation data of the HVAC system. By identifying these associations, the system can more accurately understand the interaction between devices, thereby performing more effective monitoring and control. Subsequently, in step S406, the data is further processed using singular value decomposition (SVD) technology. Singular value decomposition is a powerful mathematical tool for data dimensionality reduction and noise filtering, which can effectively extract main features from the data. In this step, SVD is used to remove redundant information in the second device operation data and the second sensor acquisition data, which not only optimizes data storage but also reduces the computational burden of subsequent processing steps. During this process, non-critical data that does not affect system performance may be eliminated, and the most influential data may be retained, thereby ensuring the refinement and efficiency of the information in the data set. Step S407 involves integrating the data processed by singular value decomposition to form the so-called initial data for IoT transmission. This integration is not just a simple merger of data, but a reorganization of the screened and optimized data to ensure that they provide an accurate and reliable basis for the next stage of decision analysis. In this way, the integrated data can more comprehensively reflect the actual operating conditions of the equipment and sensors, and provide high-quality input for edge computing nodes to support more complex data analysis and decision-making processes. In short, step S4 effectively improves the quality and use value of data through advanced data processing technology. Through cointegration analysis, singular value decomposition and data integration, not only the relevance and accuracy of the data are enhanced, but also a solid foundation is laid for the efficient operation of the entire IoT system. This method ensures the optimization of data throughout the transmission and processing process, making subsequent decision-making and control more accurate and efficient.
[0072] In an optional example, the process of executing step S5 may further specifically include the following steps:
[0073] Step S501, inputting the initial data of the Internet of Things transmission obtained by integrating the edge node into the decision algorithm deployed on the edge node;
[0074] Step S501, performing a logical judgment on the initial data transmitted by the Internet of Things based on predefined business rules through the decision algorithm, and determining a preliminary decision triggered by the initial data transmitted by the Internet of Things;
[0075] Step S501, when the initial data transmitted by the Internet of Things triggers a preliminary decision, the edge node is used to execute the preliminary decision; when the initial data transmitted by the Internet of Things does not trigger a preliminary decision, the step of "determining the current network status of the network environment in which the Internet of Things is located, and adjusting the transmission strategy of the edge node according to the current network status" is executed.
[0076] Specifically, in the IoT data transmission method, step S5 plays a core role in decision making, which is responsible for converting the IoT transmission initial data that has been processed in advance into specific operations and responses. This step ensures that the IoT system can make a quick and accurate response based on real-time data through precise logical judgment and algorithm processing, thereby optimizing the performance and efficiency of the entire system. Specifically, step S5 first involves inputting the aggregated and cleaned IoT transmission initial data into the decision algorithm deployed on the edge node (step S501). These data usually contain key information about device status, environmental variables, etc., and are the basis for making decisions. Next, the decision algorithm begins to perform logical judgment on the input data according to pre-defined business rules (step S501). These business rules may include threshold judgment, trend analysis or other logical conditions to evaluate whether the data meets specific decision triggering conditions. For example, if the data of a temperature sensor exceeds the safety threshold, the algorithm will determine that the cooling system needs to intervene. According to the evaluation results of the decision algorithm, if the IoT transmission initial data triggers the conditions for the preliminary decision, the edge node will directly perform the corresponding operation (step S501). Such operations may include adjusting device settings, sending alarms, or starting security protocols. The ability to execute these decisions enables the IoT system to take preventive measures before problems occur, or to respond quickly when problems occur, greatly improving the autonomy and efficiency of the system. Conversely, if the initial data transmitted by the IoT does not trigger any decision, the system will proceed to step S6, which adjusts the transmission strategy of the edge node according to the current network status. This step ensures that the data transmission strategy can always adapt to changes in the network environment and optimize data flow and processing efficiency. Overall, step S5 not only strengthens the decision-making ability of the IoT system, but also significantly improves the system's response speed and processing capabilities through real-time data-driven logical judgment and automated operations. This highly automated and intelligent processing method is the key to the effective and reliable operation of modern IoT systems.
[0077] In an optional example, the process of executing step S6 may further specifically include the following steps:
[0078] Step S601, deploying a network monitoring tool on the edge node, and using the network monitoring tool to detect the current network status of the edge node in real time through the SNMP protocol;
[0079] Step S602, analyzing the IoT transmission initial data, and breaking it into a plurality of IoT transmission initial sub-data, where different IoT transmission initial sub-data have different transmission priorities;
[0080] Step S603, determining the data volume of the initial sub-data transmitted by each Internet of Things, and evaluating the impact of the initial sub-data transmitted by each Internet of Things on the network bandwidth in turn according to the data volume, to obtain network transmission evaluation information corresponding to the initial sub-data transmitted by each Internet of Things;
[0081] Step S604, inputting the current network status and the transmission priority, data volume and network transmission evaluation information of the initial sub-data transmitted by each IoT into a preset machine learning model to obtain the transmission strategy of the edge node, wherein the transmission strategy includes the sending time, size and frequency of multiple data packets;
[0082] Step S605, the multiple IoT transmission initial sub-data are sequentially sorted into multiple data packets, and the sending time, size and frequency of the multiple data packets in the transmission strategy are dynamically adjusted based on a preset bandwidth delay product algorithm, and then the data packets are sent to the cloud server.
[0083] In the IoT data transmission method, step S6 focuses on optimizing the data transmission process from the edge node to the cloud server. This step uses advanced network monitoring and machine learning techniques to adjust the data transmission strategy to ensure that the data is sent in the most efficient way, taking into account the current state of the network and the importance of the data. In the specific implementation, step S6 first deploys a network monitoring tool to the edge node and monitors the network status in real time through SNMP (Simple Network Management Protocol) (step S601). This monitoring includes detecting key parameters such as network bandwidth utilization, latency and packet loss rate, which are critical for evaluating the performance of the network. Through these real-time data, the system can obtain the instantaneous status of the network and provide a basis for subsequent data transmission decisions. Next, in step S602, the initial data transmitted by the IoT is analyzed and split into multiple sub-data blocks, which are assigned different transmission priorities based on their content and importance. This classification is to ensure that critical data can be transmitted first, thereby reducing delays and improving response speed in critical operations. Step S603 further evaluates the volume of each sub-data block and its impact on network bandwidth. This includes calculating the relationship between data volume and network bandwidth, and estimating possible network congestion. These evaluations help the system determine which data should be sent first and which can be processed later under the current network conditions. Step S604 inputs these evaluation results into a pre-trained machine learning model, which analyzes this information and outputs the best data transmission strategy. This strategy includes the size of the data packet, the sending frequency, and the optimal sending time window. Finally, step S605 dynamically adjusts the sending time, size, and frequency of the data packet according to the strategy provided by the machine learning model. The bandwidth-delay product algorithm is used to optimize the sending of data packets. This algorithm takes into account the optimal combination of network delay and data packet size, thereby ensuring that data flows in the network as efficiently as possible and reducing transmission delays and data loss caused by changes in network status.
[0084] Overall, the S6 step significantly improves the transmission efficiency and reliability of IoT data through intelligent network monitoring and machine learning-driven policy adjustments, ensuring that data can be quickly and securely transmitted to the cloud server under different network conditions, thereby supporting the efficient operation of the IoT system.
[0085] The above describes the method for transmitting IoT data in the embodiment of the present application. The following describes the device for transmitting IoT data in the embodiment of the present application. Figure 2 , an embodiment of the transmission device of the Internet of Things data in the embodiment of the present application includes:
[0086] The allocation unit 1 is used to deploy multiple edge nodes on the Internet of Things, determine multiple devices and multiple sensors deployed on the Internet of Things, and allocate the multiple devices and the multiple sensors to the multiple edge nodes according to the transmission path of data on the Internet of Things.
[0087] The collecting unit 2 is used to use the edge node deployed on the Internet of Things to collect the operating data of multiple devices assigned to the edge node to obtain the first device operating data, and to collect the collection data of multiple sensors assigned to the edge node to obtain the first sensor collection data.
[0088] The cleaning unit 3 is used to clean the operating data of the first device to remove data errors generated by the edge node in the process of collecting the operating data of the multiple devices, and to clean the data collected by the first sensor to remove data errors generated by the edge node in the process of collecting the data of the multiple sensors.
[0089] Aggregation unit 4 is used to aggregate the first device operation data to obtain the second device operation data, aggregate the first sensor acquisition data to obtain the second sensor acquisition data, and based on the association between the second device operation data and the second sensor acquisition data, clear the redundant data in the second device operation data and the second sensor acquisition data to obtain the initial data for Internet of Things transmission.
[0090] The execution unit 5 is used to use the decision algorithm deployed on the edge node to perform decision analysis on the initial data transmitted by the Internet of Things, obtain the preliminary decision that the edge node should execute based on the initial data transmitted by the Internet of Things, and use the edge node to execute the preliminary decision.
[0091] The transmission unit 6 is used to determine the current network status of the network environment in which the Internet of Things is located, and adjust the transmission strategy of the edge node according to the current network status, and send the initial data of the Internet of Things transmission to the cloud server based on the transmission strategy, wherein the network reliability includes the delay probability and packet loss rate of data transmission, and the initial data of the Internet of Things transmission is sent to the cloud server based on the transmission strategy.
[0092] The integration unit 7 is used to use the cloud server to collect the initial data of the Internet of Things transmission sent by each edge node deployed on the Internet of Things, and integrate and process the initial data of the Internet of Things transmission sent by each edge node to obtain the final data of the Internet of Things transmission, and deeply analyze the final data of the Internet of Things transmission to obtain a final decision, and execute the final decision.
[0093] In this embodiment, for the specific implementation of each unit in the above device embodiment, please refer to the above method embodiment, which will not be repeated here.
[0094] Reference Figure 3 In an embodiment of the present invention, a computer device is also provided. The computer device may be a server, and its internal structure may be as follows: Figure 3 As shown. The computer device includes a processor, a memory, a display screen, an input device, a network interface and a database connected through a system bus. Among them, the processor designed by the computer is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store the corresponding data in this embodiment. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, the above method is implemented.
[0095] Those skilled in the art will understand that Figure 3 The structure shown in the figure is merely a block diagram of a portion of the structure related to the solution of the present invention, and does not constitute a limitation on the computer device to which the solution of the present invention is applied.
[0096] An embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the above method is implemented. It can be understood that the computer-readable storage medium in this embodiment can be a volatile readable storage medium or a non-volatile readable storage medium.
[0097] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media provided by the present invention and used in the embodiments may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double-speed data rate SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM.
[0098] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, device, article or method including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, device, article or method. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the presence of other identical elements in the process, device, article or method including the element.
[0099] The above description is only a preferred embodiment of the present invention, and does not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for transmitting Internet of Things data, characterized in that: The following steps are involved: Determine a plurality of devices and a plurality of sensors deployed on the Internet of Things, deploy a plurality of edge nodes on the Internet of Things, and distribute the plurality of devices and the plurality of sensors to the plurality of edge nodes according to a transmission path of data on the Internet of Things; Using the edge node deployed on the Internet of Things, collecting the operation data of multiple devices assigned to the edge node to obtain first device operation data, and collecting the collection data of multiple sensors assigned to the edge node to obtain first sensor collection data; as well as, Performing data cleaning on the operation data of the first device to remove data errors generated by the edge node in the process of collecting the operation data of the multiple devices, and performing data cleaning on the data collected by the first sensor to remove data errors generated by the edge node in the process of collecting the data of the multiple sensors; as well as Aggregate the cleaned first device operation data to obtain second device operation data, aggregate the cleaned first sensor collection data to obtain second sensor collection data, and remove redundant data in the second device operation data and the second sensor collection data in combination with the association relationship between the second device operation data and the second sensor collection data to obtain initial data for Internet of Things transmission; Using the decision algorithm deployed on the edge node, performing decision analysis on the initial data transmitted by the Internet of Things, obtaining a preliminary decision that the edge node should execute based on the initial data transmitted by the Internet of Things, and using the edge node to execute the preliminary decision; Determine the current network state of the network environment in which the Internet of Things is located, adjust the transmission strategy of the edge node according to the current network state, and send the initial data of the Internet of Things transmission to the cloud server based on the transmission strategy, wherein the current network state includes network bandwidth and network reliability, and the network reliability includes delay probability and packet loss rate of data transmission; The cloud server is used to collect the initial data of the Internet of Things transmission sent by each edge node deployed on the Internet of Things, and the initial data of the Internet of Things transmission sent by each edge node is integrated and processed to obtain the final data of the Internet of Things transmission, and the final data of the Internet of Things transmission is deeply analyzed to obtain a final decision, and the final decision is executed; Among them, the decision algorithm deployed on the edge node is used to perform decision analysis on the initial data of the Internet of Things transmission, and the preliminary decision that the edge node should execute based on the initial data of the Internet of Things transmission is obtained, and the edge node is used to execute the preliminary decision, including: the initial data of the Internet of Things transmission obtained by integrating the edge node is input into the decision algorithm deployed on the edge node; the initial data of the Internet of Things transmission is logically judged by the decision algorithm based on predefined business rules to determine the preliminary decision triggered by the initial data of the Internet of Things transmission; in the case that the initial data of the Internet of Things transmission triggers the preliminary decision, the edge node is used to execute the preliminary decision; in the case that the initial data of the Internet of Things transmission does not trigger the preliminary decision, the step of "determining the current network status of the network environment in which the Internet of Things is located, and adjusting the transmission strategy of the edge node according to the current network status" is executed.
2. The transmission method according to claim 1, characterized in that: Determining a plurality of devices and a plurality of sensors deployed on an Internet of Things, and deploying a plurality of edge nodes on the Internet of Things, and allocating the plurality of devices and the plurality of sensors to the plurality of edge nodes according to a transmission path of data on the Internet of Things, comprising: Determine basic information of each device and basic information of each sensor, wherein the basic information of the device includes device type, device function, data generation frequency and geographic location, and the basic information of the sensor includes sensor type, sensor function, data generation frequency and geographic location; Using network scanning tools and protocols to identify each edge node in the Internet of Things, and performing capability assessment on the edge node to obtain capability assessment indicators, wherein the capability assessment indicators include edge node processing capability, edge node storage capacity, edge node network bandwidth, and edge node physical location; According to the capability evaluation index of the edge node, an optimal processing range is divided for each edge node, and according to the basic information of the device and the basic information of the sensor, the devices and sensors within the optimal processing range of each edge node are determined in turn, and the devices and sensors within the optimal processing range are allocated to the edge node corresponding to the optimal processing range.
3. The transmission method according to claim 1, characterized in that: Performing data cleaning on the operation data of the first device to remove data errors generated by the edge node in the process of collecting the operation data of the multiple devices, and performing data cleaning on the data collected by the first sensor to remove data errors generated by the edge node in the process of collecting the data collected by the multiple sensors, including: Calculate the first quartile and the third quartile of each data point in the first device operation data; calculate the IQR value of the first device operation data based on the first quartile and the third quartile of the first device operation data, wherein the IQR value is equal to the value of the third quartile minus the first quartile; Determine data points in the first device operation data that are less than a first threshold as outliers, and determine data points in the first device operation data that are greater than a second threshold as outliers, wherein the first threshold is the value of the first quartile minus 1.5 times the IQR value, and the second threshold is the value of the third quartile plus 1.5 times the IQR value, and eliminate the outliers; Calculate the first quartile and the third quartile of each data point in the data collected by the first sensor; calculate the IQR value of the data collected by the first sensor based on the first quartile and the third quartile, the IQR value being equal to the value of the third quartile minus the first quartile; Data points in the data collected by the first sensor that are less than a first threshold are determined as outliers, and data points in the data collected by the first sensor that are greater than a second threshold are determined as outliers, wherein the first threshold is the value of the first quartile minus 1.5 times the IQR value, and the second threshold is the value of the third quartile plus 1.5 times the IQR value, and the outliers are eliminated.
4. The transmission method according to claim 1, characterized in that: Aggregating the cleaned first device operation data to obtain second device operation data, and aggregating the cleaned first sensor collection data to obtain second sensor collection data, including: According to the data properties of different data in the cleaned first device operation data, the cleaned first device operation data is divided into a plurality of first device operation sub-data, and data conversion is performed on each first device operation sub-data to unify the data units of the first device operation sub-data; According to data usage of different data in the cleaned first device operation data, the cleaned first device operation data is divided into a plurality of second device operation sub-data, and an aggregation algorithm matching each second device operation sub-data is determined, and the aggregation algorithm matching each second device operation sub-data is sequentially adopted to perform aggregation processing on each second device operation sub-data, and the aggregation processing results are collected as the second device operation data; According to the data properties of different data in the cleaned first sensor collected data, the cleaned first sensor collected data is divided into a plurality of first sensor collected sub-data, and data conversion is performed on each first sensor collected sub-data to unify the data units of the first sensor collected sub-data; According to the data usage of different data in the first sensor collected data after cleaning, the first sensor collected data after cleaning is divided into multiple second sensor collected sub-data, and an aggregation algorithm matching each second sensor collected sub-data is determined, and the aggregation algorithm matching each second sensor collected sub-data is used in turn to perform aggregation processing on each second sensor collected sub-data, and the aggregation processing results are compiled into second sensor collected data.
5. The transmission method according to claim 1, characterized in that: In combination with the association between the second device operation data and the second sensor collected data, redundant data in the second device operation data and the second sensor collected data are cleared to obtain initial data for Internet of Things transmission, including: Performing cointegration analysis on the second device operation data and the second sensor collected data to obtain a correlation relationship between the second device operation data and the second sensor collected data; Based on the association relationship between the second device operation data and the second sensor collected data, removing redundant data in the second device operation data and the second sensor collected data by performing singular value decomposition on the second device operation data and the second sensor collected data; The second device operation data and the second sensor collection data that have undergone singular value decomposition are integrated to obtain the Internet of Things transmission initial data.
6. The transmission method according to claim 1, characterized in that: Determining a current network state of a network environment in which the Internet of Things is located, and adjusting a transmission strategy of the edge node according to the current network state, including: Deploy a network monitoring tool on the edge node, and use the network monitoring tool to detect the current network status of the edge node in real time through the SNMP protocol; Analyze the initial Internet of Things transmission data and split it into a plurality of initial Internet of Things transmission sub-data, where different initial Internet of Things transmission sub-data have different transmission priorities; Determine the data volume of the initial sub-data transmitted by each Internet of Things, evaluate the impact of the initial sub-data transmitted by each Internet of Things on the network bandwidth in turn according to the data volume, and obtain network transmission evaluation information corresponding to the initial sub-data transmitted by each Internet of Things; Input the current network status and the transmission priority, data volume and network transmission evaluation information of the initial sub-data transmitted by each IoT into a preset machine learning model to obtain the transmission strategy of the edge node, wherein the transmission strategy includes the sending time, size and frequency of multiple data packets; The multiple IoT transmission initial sub-data are sequentially sorted into multiple data packets, and the sending time, size and frequency of the multiple data packets in the transmission strategy are dynamically adjusted based on a preset bandwidth delay product algorithm, and then the data packets are sent to the cloud server.
7. A device for transmitting Internet of Things data, characterized in that: The transmission device comprises: an allocation unit, configured to deploy a plurality of edge nodes on the Internet of Things, determine a plurality of devices and a plurality of sensors deployed on the Internet of Things, and allocate the plurality of devices and the plurality of sensors to the plurality of edge nodes according to a transmission path of data on the Internet of Things; A collecting unit, configured to use an edge node deployed on the Internet of Things to collect operating data of a plurality of devices assigned to the edge node to obtain first device operating data, and to collect acquisition data of a plurality of sensors assigned to the edge node to obtain first sensor acquisition data; and a cleaning unit, configured to clean the operating data of the first device to remove data errors generated by the edge node in the process of collecting the operating data of the plurality of devices, and clean the data collected by the first sensor to remove data errors generated by the edge node in the process of collecting the data collected by the plurality of sensors; and an aggregation unit, configured to aggregate the cleaned first device operation data to obtain second device operation data, aggregate the cleaned first sensor collection data to obtain second sensor collection data, and remove redundant data in the second device operation data and the second sensor collection data in combination with the association relationship between the second device operation data and the second sensor collection data to obtain initial data for Internet of Things transmission; An execution unit, configured to use the decision algorithm deployed on the edge node to perform decision analysis on the initial data transmitted by the Internet of Things, obtain a preliminary decision that the edge node should execute based on the initial data transmitted by the Internet of Things, and use the edge node to execute the preliminary decision; A transmission unit, used to determine the current network state of the network environment in which the Internet of Things is located, and adjust the transmission strategy of the edge node according to the current network state, and send the initial data of the Internet of Things transmission to the cloud server based on the transmission strategy, wherein the current network state includes network bandwidth and network reliability, and the network reliability includes delay probability and packet loss rate of data transmission, and the initial data of the Internet of Things transmission is sent to the cloud server based on the transmission strategy; An integration unit, configured to use the cloud server to collect the initial data of the Internet of Things transmission sent by each edge node deployed on the Internet of Things, integrate and process the initial data of the Internet of Things transmission sent by each edge node to obtain final data of the Internet of Things transmission, perform in-depth analysis on the final data of the Internet of Things transmission to obtain a final decision, and execute the final decision; Among them, the decision algorithm deployed on the edge node is used to perform decision analysis on the initial data of the Internet of Things transmission, and the preliminary decision that the edge node should execute based on the initial data of the Internet of Things transmission is obtained, and the edge node is used to execute the preliminary decision, including: the initial data of the Internet of Things transmission obtained by integrating the edge node is input into the decision algorithm deployed on the edge node; the initial data of the Internet of Things transmission is logically judged by the decision algorithm based on predefined business rules to determine the preliminary decision triggered by the initial data of the Internet of Things transmission; in the case that the initial data of the Internet of Things transmission triggers the preliminary decision, the edge node is used to execute the preliminary decision; in the case that the initial data of the Internet of Things transmission does not trigger the preliminary decision, the step of "determining the current network status of the network environment in which the Internet of Things is located, and adjusting the transmission strategy of the edge node according to the current network status" is executed.
8. A computer device comprising a memory and a processor, wherein a computer program is stored in the memory, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
