A method and system for optimizing performance control of intelligent Internet of Things
Through the intelligent Internet of Things performance optimization control method, the bandwidth adjustment and data compression processing of transmission nodes are used to solve the problem of data transmission delay and non-real-time performance of Internet of Things equipment in large factories, and improve the efficiency and real-time performance of data transmission.
Patent Information
- Application Number
- CN202410963767.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-18
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-07-18
AI Technical Summary
In large factories, data transmission delays and non-real-time problems of IoT devices are mainly due to bandwidth limitations and signal interference, which affect the rapid adjustment and optimization of equipment operating parameters.
Through the intelligent Internet of Things performance optimization control method, the data of each transmission node is obtained, the data distribution is adjusted, the device data of high and low transmission levels are divided, the remaining bandwidth of the surrounding transmission nodes is used for data transmission and compression processing, and the data is merged to reduce the transmission volume and improve Data transmission efficiency.
It improves the real-time updating of collected data on the server side, optimizes the performance of the Internet of Things, and reduces data transmission delays and delay effects.
Smart Images

Figure CN118509494B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of data processing and data transmission, and more specifically, to a method and system for optimizing performance control of an intelligent Internet of Things. Background Art
[0002] IoT technology has been widely used in equipment monitoring and data analysis within factories. IoT technology can monitor the operating status of equipment in real time, adjust the operating parameters of equipment according to the collected operating data, and realize real-time monitoring and data collection of key parameters such as equipment operating status, production efficiency, and energy consumption, making it possible to manage the production process intelligently.
[0003] Data collection is mainly carried out through wired or wireless methods. Although the wired method is stable and reliable, it has high wiring costs, poor flexibility, and is easily restricted by physical obstacles in the complex and changeable factory environment; and although the wireless method is flexible to deploy, in a high-density equipment environment, due to signal interference, bandwidth limitations, and the complex building structure inside the factory that hinders signal transmission, the real-time and accuracy of data collection are affected, which in turn affects the subsequent rapid adjustment and optimization of equipment operating parameters.
[0004] Among them, bandwidth limitation is one of the key factors restricting the efficiency of wireless data transmission. In large factories, a large number of devices are online at the same time and generate massive amounts of data. If the network bandwidth is insufficient, it will directly lead to data transmission delays and affect the real-time nature of the data.
[0005] Therefore, the prior art has defects and is in urgent need of improvement. Summary of the invention
[0006] In view of the above problems, the purpose of the present invention is to provide a smart Internet of Things performance optimization control method and system. When a transmission node is under data transmission pressure, auxiliary transmission is performed through other adjacent transmission nodes, or the data collected by devices with low transmission levels are integrated into the data collected by devices with high transmission levels, and the data collected by devices is transmitted by reducing the data transmission volume. The purpose of optimizing the performance of the Internet of Things is achieved, and the real-time update of the collected data on the server side is improved.
[0007] A first aspect of the present invention provides a smart Internet of Things performance optimization control method, comprising:
[0008] Obtain the transmission data of each transmission node of the Internet of Things;
[0009] According to the transmission data of each transmission node of the Internet of Things, the data allocation of each transmission node is adjusted to determine the data transmission volume of each transmission node at the next data transmission time;
[0010] When the maximum transmission bandwidth of the transmission node does not meet the transmission requirements of the data transmission volume, the transmission score and transmission level of each device collection data are calculated;
[0011] Dividing the device collected data into first collected data and second collected data based on the transmission score, and determining a first data volume of the first collected data and a second data volume of the second collected data respectively; transmitting the first collected data through the current transmission node, and transmitting the second collected data through other surrounding transmission nodes;
[0012] When the remaining bandwidth of other surrounding transmission nodes does not meet the transmission demand of the second collected data, determining the third data volume according to the difference between the remaining bandwidth of other surrounding transmission nodes and the second data volume;
[0013] Determine first data to be compressed and corresponding second data to be compressed from the device collected data based on the third data amount;
[0014] Determine the first compressed data and the second compressed data according to the compression scores of the first data to be compressed and the second data to be compressed at each acquisition time, and merge and compress the first data to be compressed and the corresponding second data to be compressed by using the first compressed data and the second compressed data to obtain fused data;
[0015] The fused data is transmitted using the data transmission mode corresponding to the second data to be compressed.
[0016] In this solution, when the maximum transmission bandwidth of the transmission node does not meet the transmission requirements of the data transmission volume, the transmission score and transmission level of each device collection data are calculated, including:
[0017] Determine the impact score based on the impact of the device's collected data on the normal operation of the device;
[0018] Calculate the data ratio between the data collected by the equipment and the corresponding standard data;
[0019] Perform weighted calculation on the impact score and data ratio of the data collected by the device to determine the transmission score of the data collected by the device;
[0020] The transmission level is determined based on the transmission score of the device collected data.
[0021] In this solution, dividing the device collected data into first collected data and second collected data based on the transmission score, and determining a first data volume of the first collected data and a second data volume of the second collected data respectively, includes:
[0022] Selecting devices to collect data in descending order of transmission scores and accumulating the data to determine a first data volume;
[0023] When the first data volume is greater than a preset data volume threshold, determining the selected device collected data as the first collected data;
[0024] The data collected by other devices other than the first collected data are determined as second collected data, and the second collected data are accumulated to determine a second data volume.
[0025] In this solution, the data transmission of the second collected data through other surrounding transmission nodes includes:
[0026] Query the remaining bandwidth of other surrounding transmission nodes based on the coordinate data of the current device;
[0027] When the remaining bandwidth of other surrounding transmission nodes is greater than the second data volume, the second collected data is transmitted through other surrounding transmission nodes.
[0028] In this solution, the determining the first data to be compressed and the corresponding second data to be compressed from the data collected from the device based on the third data volume includes:
[0029] Selecting devices to collect data in ascending order of transmission scores and accumulating the data to determine a fourth data volume;
[0030] When the fourth data amount is greater than the third data amount, determining the selected device collected data as the first data to be compressed;
[0031] Based on the data information of the first data to be compressed, the corresponding second data to be compressed is determined from the data collected by other devices; the transmission level of the second data to be compressed is greater than or equal to the transmission level of the first data to be compressed.
[0032] This plan also includes:
[0033] Draw the change curve of collected data based on the equipment collected data and collection time;
[0034] Calculate the third collected data p at collection time t-1 and t+1 (t-1) and p (t+1) The average value of the predicted data p at the acquisition time t is determined (t’) ;
[0035] The predicted data p is collected by collecting the time t (t’) and the third acquisition data p (t) Determine the third collected data p (t) The compression score q (t) .
[0036] This plan also includes:
[0037] Determining a compression ratio according to a transmission level of the first data to be compressed and the corresponding second data to be compressed;
[0038] A first compression quantity of the first data to be compressed and a second compression quantity of the second data to be compressed are determined based on the compression ratio.
[0039] In this solution, the first compressed data and the second compressed data are determined according to the compression scores of the first data to be compressed and the second data to be compressed at each acquisition time, and the first data to be compressed and the corresponding second data to be compressed are merged and compressed by the first compressed data and the second compressed data to obtain fused data, including:
[0040] Calculate the first data to be compressed p at each acquisition time t a(t) The compression score q a(t) and the corresponding second data to be compressed p b(t) The compression score q b(t) The score difference of ab(t) ;
[0041] Determine the second data to be compressed whose compression difference score is greater than the first preset score threshold as the first compressed data;
[0042] Counting the number of first compressed data to determine a third compressed number;
[0043] When the third compression number is equal to the second compression number, the first to-be-compressed data p is compressed based on the first compressed data. a(t) and the corresponding second data to be compressed p b(t) Carry out merge and compression processing;
[0044] When the third compression number is less than the first compression number, the first compression score q a(t) The collection time greater than or equal to the second preset score threshold is determined as the first time, and the first compression score q a(t) The collection time that is less than the second preset score threshold is determined as the second time;
[0045] Determining whether the time quantity of the second time is greater than the second compression quantity;
[0046] If so, the first data to be compressed corresponding to the second time are sorted in ascending order according to the compression difference score, and one or more first data to be compressed corresponding to the second time are selected in sequence based on the second compression quantity to be determined as the second compressed data; when the data quantity of the second compressed data meets the second compression quantity, the second data to be compressed corresponding to the remaining acquisition time is determined as the first compressed data;
[0047] If not, all the first data to be compressed corresponding to the second time are determined as the second compressed data; the second data to be compressed corresponding to the first time are sorted in ascending order according to the compression difference score, and one or more second data to be compressed corresponding to the first time are selected in order according to the difference between the first compression quantity and the data quantity of the first compressed data to be determined as the first compressed data;
[0048] When the data quantity of the first compressed data meets the first compression quantity, determining the first to-be-compressed data corresponding to the remaining acquisition time as the second compressed data;
[0049] Integrate the first compressed data and the second compressed data to determine integrated compressed data;
[0050] By integrating the compressed data, the first to-be-compressed data p a(t) and the second data to be compressed p b(t) The collected data is filtered, and the remaining collected data is merged based on the collection time to determine the fused data.
[0051] This plan also includes:
[0052] The server side disassembles the received fused data to determine first disassembled data and second disassembled data;
[0053] Determine a first fitting data curve of the first data to be compressed by performing data fitting on the first disassembled data;
[0054] A second fitting data curve of the second data to be compressed is determined by performing data fitting on the second disassembled data.
[0055] A second aspect of the present invention provides an intelligent Internet of Things performance optimization control system, comprising:
[0056] A data acquisition module is used to acquire the transmission data of each transmission node of the Internet of Things;
[0057] The transmission connection allocation module is used to adjust the data allocation of each transmission node according to the transmission data of each transmission node of the Internet of Things, and determine the data transmission amount of each transmission node at the next data transmission time;
[0058] The first analysis module is used to calculate the transmission score and transmission level of each device collection data when the maximum transmission bandwidth of the transmission node does not meet the transmission demand of the data transmission volume;
[0059] A transmission connection adjustment module, configured to divide the device collected data into first collected data and second collected data based on the transmission score, and respectively determine a first data volume of the first collected data and a second data volume of the second collected data; transmit the first collected data through the current transmission node, and transmit the second collected data through other surrounding transmission nodes;
[0060] A data compression module is used to determine a third data volume according to the difference between the remaining bandwidth of other surrounding transmission nodes and the second data volume when the remaining bandwidth of other surrounding transmission nodes does not meet the transmission demand of the second collected data; determine the first data to be compressed and the corresponding second data to be compressed from the device collected data based on the third data volume; determine the first compressed data and the second compressed data according to the compression scores of the first data to be compressed and the second data to be compressed at each collection time, merge and compress the first data to be compressed and the corresponding second data to be compressed through the first compressed data and the second compressed data to obtain fused data; and transmit the fused data through the data transmission method corresponding to the second data to be compressed.
[0061] The third aspect of the present invention provides a computer-readable storage medium, which includes a smart Internet of Things performance optimization control method program. When the smart Internet of Things performance optimization control method program is executed by a processor, the steps of the smart Internet of Things performance optimization control method as described above are implemented.
[0062] The present invention discloses a method and system for optimizing the performance of an intelligent Internet of Things. The method includes: obtaining transmission data of each transmission node of the Internet of Things, determining the data transmission amount of each transmission node at the next data transmission time; when the maximum transmission bandwidth of the transmission node does not meet the data transmission requirements, dividing the device acquisition data into first acquisition data and second acquisition data, and transmitting data through the current transmission node and other surrounding transmission nodes respectively; when the remaining bandwidth of other surrounding transmission nodes does not meet the transmission requirements of the second acquisition data, determining the first data to be compressed and the second data to be compressed from the device acquisition data; merging and compressing the first data to be compressed and the second data to be compressed to obtain fused data; transmitting the fused data through the data transmission mode corresponding to the second data to be compressed. The present invention optimizes the performance of the Internet of Things through data compression and fusion transmission, and improves the efficiency of data transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] Figure 1 A flow chart of a smart Internet of Things performance optimization control method provided by the present invention is shown;
[0064] Figure 2 A flow chart showing a method for calculating a transmission score and a transmission level of data collected by a device provided by the present invention is shown;
[0065] Figure 3 A flowchart showing a third method for calculating a compression score of collected data provided by the present invention is shown;
[0066] Figure 4 A block diagram of an intelligent Internet of Things performance optimization control system provided by the present invention is shown. DETAILED DESCRIPTION
[0067] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.
[0068] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.
[0069] Figure 1 A flow chart of a smart Internet of Things performance optimization control method provided by the present invention is shown.
[0070] like Figure 1 As shown, the present invention discloses a smart Internet of Things performance optimization control method, comprising:
[0071] S102, obtaining transmission data of each transmission node of the Internet of Things;
[0072] S104, adjusting the data allocation of each transmission node according to the transmission data of each transmission node of the Internet of Things, and determining the data transmission amount of each transmission node at the next data transmission time;
[0073] S106, when the maximum transmission bandwidth of the transmission node does not meet the transmission demand of the data transmission volume, calculating the transmission score and transmission level of each device collection data;
[0074] S108, dividing the device collected data into first collected data and second collected data based on the transmission score, and determining a first data volume of the first collected data and a second data volume of the second collected data respectively; transmitting the first collected data through the current transmission node, and transmitting the second collected data through other surrounding transmission nodes;
[0075] S110, when the remaining bandwidth of other surrounding transmission nodes does not meet the transmission demand of the second collected data, determining the third data volume according to the difference between the remaining bandwidth of other surrounding transmission nodes and the second data volume;
[0076] S112, determining first data to be compressed and corresponding second data to be compressed from the data collected by the device based on the third data volume;
[0077] S114, determining first compressed data and second compressed data according to the compression scores of the first data to be compressed and the second data to be compressed at each acquisition time, and merging and compressing the first data to be compressed and the corresponding second data to be compressed by using the first compressed data and the second compressed data to obtain fused data;
[0078] S116, performing data transmission on the fused data by using the data transmission mode corresponding to the second data to be compressed.
[0079] According to an embodiment of the present invention, a device terminal transmits data between a transmission node and a server. To avoid transmission congestion, multiple transmission nodes in the same area form a ring network. The connection relationship between the device terminal and the transmission nodes in the ring network can be adjusted according to actual needs.
[0080] The transmission data of each transmission node is determined according to the data transmission volume of each transmission node at the current data transmission time. The transmission data includes the data transmission volume, the maximum transmission bandwidth of the transmission node, the occupied bandwidth and the idle bandwidth. By analyzing the transmission data of each transmission node, the connection relationship between each transmission node and the device is adjusted so that the occupied bandwidth of each transmission node can reach the safety standard range as much as possible, that is, the occupied bandwidth is less than 90% of the maximum transmission bandwidth. The data transmission volume of the transmission node at the next data transmission time is the sum of the data volume of all the devices connected to the transmission node within the adjacent data transmission time interval. The data volume of each device can be determined by referring to the data volume of the same device collected data at the current data transmission time.
[0081] When the maximum transmission bandwidth of the transmission node does not meet the transmission requirements of the data transmission volume, the transmission score and transmission level of each device collection data are calculated according to the degree of influence of the device collection data on the normal operation of the device and the data ratio of the device collection data to the corresponding standard data. Based on the maximum transmission bandwidth of the transmission node, the device collection data are selected in descending order of the transmission score to be determined as the first collection data, and the first collection data is transmitted through the current transmission node. The remaining device collection data is determined as the second collection data. After all transmission nodes determine the corresponding first collection data, the remaining bandwidth of other surrounding transmission nodes in the ring network is determined, and the second collection data of the current transmission node is transmitted through other surrounding transmission nodes. When the remaining bandwidth of other surrounding transmission nodes does not meet the transmission requirements of the second collection data, the second collection data with a higher transmission score is preferentially selected for data transmission, and the third data volume is determined according to the difference between the remaining bandwidth of other surrounding transmission nodes and the second data volume. Based on the third data volume, one or more second collection data with a lower transmission score are selected from the second collection data to be determined as the first data to be compressed, and the first data to be compressed and combined with other device collection data based on the collection time to complete the data transmission of the first data to be compressed. Based on the data information of the first data to be compressed, the corresponding second data to be compressed is determined from the data collected by other devices, and the compression score of each collected data in the first data to be compressed and the second data to be compressed is calculated respectively, and the compression ratio is determined according to the transmission level of the first data to be compressed and the second data to be compressed, so as to determine the first compression quantity of the first data to be compressed and the second compression quantity of the second data to be compressed. The compression difference score of the first data to be compressed and the second data to be compressed at each collection time is calculated, and the second data to be compressed whose compression difference score is greater than the first preset score threshold is determined as the first compressed data, and the first data to be compressed whose compression difference score is less than the second preset score threshold is determined as the second compressed data. When the data quantity of the first compressed data meets the first compression quantity, the first data to be compressed corresponding to the remaining collection time is determined as the second compressed data; when the data quantity of the second compressed data meets the second compression quantity, the second data to be compressed corresponding to the remaining collection time is determined as the first compressed data. The first compressed data and the second compressed data are filtered and deleted, and the remaining collected data in the first data to be compressed and the second data to be compressed are merged based on the collection time to determine the fused data, and the data is transmitted through the data transmission mode corresponding to the second data to be compressed.
[0082] At the same time, the server disassembles the fused data according to the data attributes of the first data to be compressed and the second data to be compressed, and obtains the first fitting data curve of the first data to be compressed and the first fitting data curve of the second data to be compressed by curve fitting.
[0083] Since the first data to be compressed is data collection data with a low transmission level, it has little impact on the normal operation of the device. The data changes in adjacent collection time intervals can be determined by curve fitting with a small amount of collected data. At the same time, the second data to be compressed received by the server undergoes partial data compression, lacking a small amount of collected data. The data changes in adjacent collection time intervals can be basically restored by curve fitting. Thus, while reducing the amount of data transmission, the data change trend curve of each device's collected data can be restored to the greatest extent, achieving the purpose of optimizing the performance of the Internet of Things and improving the real-time update of the collected data on the server side.
[0084] Figure 2 A flow chart of a method for calculating a transmission score and a transmission level of data collected by a device provided by the present invention is shown.
[0085] like Figure 2 As shown, according to an embodiment of the present invention, when the maximum transmission bandwidth of the transmission node does not meet the transmission demand of the data transmission volume, the transmission score and transmission level of each device collection data are calculated, including:
[0086] S202, determining an impact score according to the impact of the device collected data on the normal operation of the device;
[0087] S204, calculating the data ratio between the data collected by the device and the corresponding standard data;
[0088] S206, performing weighted calculation on the impact score and data ratio of the device collected data to determine a transmission score of the device collected data;
[0089] S208: Determine a transmission level based on the transmission score of the data collected by the device.
[0090] It should be noted that the degree of influence of the equipment collection data on the normal operation of the equipment is determined according to the probability of abnormal operation of the equipment when the equipment collection data is abnormal. The higher the probability of abnormal operation, the higher the degree of influence of the corresponding equipment collection data. The standard data is the middle value of the normal operation parameters of the equipment. For example, if the normal operating temperature of the equipment is 20-30℃, the standard data is 25℃. The system assigns corresponding influence weights to the influence score and data ratio respectively, calculates the product of the influence score and data ratio with the corresponding influence weight respectively, accumulates the calculation results, and determines the transmission score of the equipment collection data. The transmission score of the equipment collection data is converted into a value between 1-100 through standardization processing, and the transmission level is determined according to the transmission score interval of the equipment collection data.
[0091] Among them, the data collected by the equipment is divided into 5 transmission levels according to the system preset rules. Each transmission level corresponds to a different transmission score range, namely, the first transmission level (81-100), the second transmission level (61-80), the third transmission level (41-60), the fourth transmission level (21-40) and the fifth transmission level (1-20).
[0092] According to an embodiment of the present invention, dividing the device collected data into first collected data and second collected data based on the transmission score, and determining a first data volume of the first collected data and a second data volume of the second collected data respectively, including:
[0093] Selecting devices to collect data in descending order of transmission scores and accumulating the data to determine a first data volume;
[0094] When the first data volume is greater than a preset data volume threshold, determining the selected device collected data as the first collected data;
[0095] The data collected by other devices other than the first collected data are determined as second collected data, and the second collected data are accumulated to determine a second data volume.
[0096] It should be noted that, in order to avoid data fluctuations that cause the transmission node to be unable to transmit the corresponding device collection data to the server, the preset data volume threshold is determined by the maximum transmission bandwidth of the transmission node, and its initial value is 90% of the maximum transmission bandwidth. The device collection data of the device corresponding to the current transmission node is analyzed, and the transmission score of each device collection data is sorted in descending order. The data volume of each device collection data is accumulated in descending order according to the transmission score, and the first data volume is determined.
[0097] When the first data volume is greater than the preset data volume threshold, the device collected data participating in the accumulation is determined as the first collected data, and the device collected data not participating in the accumulation is determined as the second collected data, and the second data volume is determined by accumulating the data volume of the second collected data.
[0098] According to an embodiment of the present invention, it also includes:
[0099] The second collected data is transmitted through other surrounding transmission nodes, including:
[0100] Query the remaining bandwidth of other surrounding transmission nodes based on the coordinate data of the current device;
[0101] When the remaining bandwidth of other surrounding transmission nodes is greater than the second data volume, the second collected data is transmitted through other surrounding transmission nodes.
[0102] It should be noted that, after all transmission nodes determine the corresponding first collected data, the remaining bandwidth of the transmission node is determined based on the difference between the preset data volume threshold of each transmission node and the corresponding first data volume. The relationship between the remaining bandwidth of other surrounding transmission nodes (i.e., other transmission nodes in the ring network) and the second data volume is calculated. When the remaining bandwidth of other surrounding transmission nodes is greater than the second data volume, the second collected data is transmitted through other surrounding transmission nodes; otherwise, part of the second collected data is selected for data transmission based on the remaining bandwidth. When there are multiple other transmission nodes, the sum of the remaining bandwidths of all other transmission nodes is calculated, and the sum of the remaining bandwidths is compared with the second data volume to determine whether other surrounding transmission nodes meet the transmission requirements of the second data volume, and the second collected data of the corresponding data volume is selected for data transmission based on the remaining bandwidth of each other transmission node.
[0103] According to an embodiment of the present invention, determining first data to be compressed and corresponding second data to be compressed from data collected from a device based on a third data amount includes:
[0104] Selecting devices to collect data in ascending order of transmission scores and accumulating the data to determine a fourth data volume;
[0105] When the fourth data amount is greater than the third data amount, determining the selected device collected data as the first data to be compressed;
[0106] Based on the data information of the first data to be compressed, the corresponding second data to be compressed is determined from the data collected by other devices; the transmission level of the second data to be compressed is greater than or equal to the transmission level of the first data to be compressed.
[0107] It should be noted that the data volumes of the device collected data are selected in order from small to large in the order of transmission scores for accumulation, and the fourth data volume obtained by accumulation is compared with the third data volume. When the fourth data volume is greater than the third data volume, the accumulation calculation is terminated, and the device collected data participating in the accumulation is determined as the first data to be compressed. The correspondence between the first data to be compressed and the second data to be compressed is set by the system. In order to facilitate the subsequent splitting of the fused data, the two groups of data with larger data differences are preferentially determined as the corresponding first data to be compressed and the second data to be compressed. For example, temperature and humidity, power and equipment operating status, etc.
[0108] Figure 3 A flow chart of a third method for calculating a compression score of collected data provided by the present invention is shown.
[0109] like Figure 3 As shown, according to an embodiment of the present invention, it also includes:
[0110] S302, drawing a collection data change curve based on the device collection data and collection time;
[0111] S304, calculating the third collected data p at the collection time t-1 and t+1 (t-1) and p (t+1) The average value of the predicted data p at the acquisition time t is determined (t’) ;
[0112] S306, collect data p by predicting the collection time t (t’) and the third acquisition data p (t) Determine the third collected data p (t) The compression score q (t) .
[0113] It should be noted that the data collected by the device includes all the collected data within the adjacent data transmission time interval, including the collected data at multiple collection times. Among them, the collected data at collection time t is represented by the third collection data p (t) In which, the predicted collected data p at the collection time t is (t’) and the third acquisition data p (t) Determine the third collected data p (t) The compression score q (t) The calculation method is expressed as: .
[0114] The predicted collected data p at the collection time t preset by the system (t’) The calculation method is to calculate the third collected data p at the collection time t-1 and t+1 (t-1) and p (t+1) The average value is determined, and the collection time tm and t+m can be selected according to actual needs. (t-m) and p (t+m) The average value of determines the predicted collected data p at the collection time t (t’) .
[0115] In addition, when the third collected data at the collection time t-1 or t+1 is determined to be compressed data, the predicted collected data p at the collection time t is calculated again through the adjacent collection time of the collection time t-1 or t+1. (t’) , predict the collected data p (t’) The calculation method is expressed as: .
[0116] Where ta and tb are the time intervals from the acquisition time t, t+tb and t-ta are the acquisition times of tb and ta time intervals from the acquisition time t, respectively. (t-ta) and p (t+tb) The third collected data are collected at the time t-ta and t+tb respectively.
[0117] According to an embodiment of the present invention, it also includes:
[0118] Determining a compression ratio according to a transmission level of the first data to be compressed and the corresponding second data to be compressed;
[0119] A first compressed quantity of the first data to be compressed and a second compressed quantity of the second data to be compressed are determined based on the compression ratio.
[0120] It should be noted that the compression ratio is determined according to the ratio of the transmission level of the first data to be compressed and the corresponding second data to be compressed, and the higher the transmission level of the data to be compressed, the smaller the corresponding compression ratio. The compression ratio is multiplied by the total number of acquisitions of the first data to be compressed to determine the first compression quantity of the first data to be compressed and the second compression quantity of the second data to be compressed.
[0121] According to an embodiment of the present invention, first compressed data and second compressed data are determined according to compression scores of the first data to be compressed and the second data to be compressed at each acquisition time, and the first data to be compressed and the corresponding second data to be compressed are merged and compressed by the first compressed data and the second compressed data to obtain fused data, including:
[0122] Calculate the first data to be compressed p at each acquisition time t a(t) The compression score q a(t) and the corresponding second data to be compressed p b(t) The compression score q b(t) The score difference of ab(t) ;
[0123] Determine the second data to be compressed whose compression difference score is greater than the first preset score threshold as the first compressed data;
[0124] Counting the number of first compressed data to determine a third compressed number;
[0125] When the third compression number is equal to the second compression number, the first to-be-compressed data p is compressed based on the first compressed data. a(t) and the corresponding second data to be compressed p b(t) Carry out merge and compression processing;
[0126] When the third compression number is less than the first compression number, the first compression score q a(t) The collection time greater than or equal to the second preset score threshold is determined as the first time, and the first compression score q a(t) The collection time that is less than the second preset score threshold is determined as the second time;
[0127] Determining whether the time quantity of the second time is greater than the second compression quantity;
[0128] If so, the first data to be compressed corresponding to the second time are sorted in ascending order according to the compression difference score, and one or more first data to be compressed corresponding to the second time are selected in sequence based on the second compression quantity to be determined as the second compressed data; when the data quantity of the second compressed data meets the second compression quantity, the second data to be compressed corresponding to the remaining acquisition time is determined as the first compressed data;
[0129] If not, all the first data to be compressed corresponding to the second time are determined as the second compressed data; the second data to be compressed corresponding to the first time are sorted in ascending order according to the compression difference score, and one or more second data to be compressed corresponding to the first time are selected in order according to the difference between the first compression quantity and the data quantity of the first compressed data to be determined as the first compressed data;
[0130] When the data quantity of the first compressed data meets the first compression quantity, determining the first to-be-compressed data corresponding to the remaining acquisition time as the second compressed data;
[0131] Integrate the first compressed data and the second compressed data to determine integrated compressed data;
[0132] By integrating the compressed data, the first to-be-compressed data p a(t) and the second data to be compressed p b(t) The collected data is filtered, and the remaining collected data is merged based on the collection time to determine the fused data.
[0133] It should be noted that, at each acquisition time t, the first to-be-compressed data p a(t) The compression score q a(t) and the corresponding second data to be compressed p b(t) The compression score q b(t) The compressed data is determined by the score difference. When the compression difference score is greater than the first preset score threshold, it means that deleting the first data to be compressed at the collection time t has a greater impact on the corresponding second collection data, and deleting the second data to be compressed at the collection time t has a smaller impact on the corresponding first collection data. In the data compression and fusion process, the second data to be compressed in the first collection data can be given priority. When the third compression number is equal to the first compression number, it means that the number of second data to be compressed has reached the second compression number, and other collection times other than the first compressed data are determined as data compression processing for the first data to be compressed. The total number of collections within the collection time, that is, the number of data collections within the adjacent data transmission time interval, is determined as the second compressed data from the first data to be compressed selected on the basis of determining the first compressed data. When the first compression score q a(t)When it is less than the second preset score threshold, it indicates that deleting the first data to be compressed at the collection time t has little effect on the corresponding second collection data, and deleting the second data to be compressed at the collection time t has a greater effect on the corresponding first collection data. The first data to be compressed corresponding to the second time is preferentially selected for data compression processing. When the time quantity of the second time is greater than the second compression quantity, the first data to be compressed that meets the second compression quantity is selected in the order of the first compression score from small to large according to the difference score to be determined as the second compressed data; when the time quantity of the second time is less than or equal to the second compression quantity, the first data to be compressed corresponding to the second time is determined as the second compressed data, and part of the first data to be compressed with a smaller first compression score is selected from the second data to be compressed corresponding to the first time to be determined as the first compressed data, that is, data compression is preferentially ensured for the collection data with a smaller compression score in the collection data of the high-level equipment. When the data quantity of the first compressed data meets the first compression quantity, the first data to be compressed corresponding to the remaining collection time is determined as the second compressed data.
[0134] The first preset score threshold and the second preset score threshold are set by those skilled in the art according to actual needs.
[0135] According to an embodiment of the present invention, it also includes:
[0136] The server side disassembles the received fused data to determine first disassembled data and second disassembled data;
[0137] Determine a first fitting data curve of the first data to be compressed by performing data fitting on the first disassembled data;
[0138] A second fitting data curve of the second data to be compressed is determined by performing data fitting on the second disassembled data.
[0139] It should be noted that the system establishes a coordinate image with the horizontal axis being the acquisition time and the vertical axis being the device acquisition data. When the server receives the device acquisition data transmitted by the transmission node, the device acquisition data is input into the coordinate image established by the system, and the device acquisition data curve is drawn based on the third acquisition data of each acquisition time. When the data received by the server is fused data, the third acquisition data in the fused data is analyzed, and when the data format and value of the third acquisition data meet the data format and value range of the first data to be compressed, the third acquisition data is determined as the first disassembled data; when the data format and value of the third acquisition data meet the data format and value range of the second data to be compressed, the third acquisition data is determined as the second disassembled data. In addition, when the data format and value range of the first data to be compressed and the second data to be compressed have the same or similar values (or value ranges), the first data to be compressed or the second data to be compressed is specially marked during the data integration, compression and merging process, so as to ensure that the first data to be compressed and the second data to be compressed can be distinguished during the fusion data disassembly process.
[0140] The first disassembled data is input into the coordinate image established by the system, and the first fitting data curve of the first data to be compressed is determined by curve fitting of the coordinate points corresponding to the first disassembled data. In the curve fitting process, the first disassembled data can be interpolated to determine the simulated collection data of the collection time when the first disassembled data does not exist. Based on the acquisition method of the first fitting data curve, the second fitting data curve of the second data to be compressed is determined by the second disassembled data.
[0141] Figure 4 A block diagram of an intelligent Internet of Things performance optimization control system provided by the present invention is shown.
[0142] like Figure 4 As shown, the second aspect of the present invention provides an intelligent Internet of Things performance optimization control system, comprising:
[0143] A data acquisition module is used to acquire the transmission data of each transmission node of the Internet of Things;
[0144] The transmission connection allocation module is used to adjust the data allocation of each transmission node according to the transmission data of each transmission node of the Internet of Things, and determine the data transmission amount of each transmission node at the next data transmission time;
[0145] The first analysis module is used to calculate the transmission score and transmission level of each device collection data when the maximum transmission bandwidth of the transmission node does not meet the transmission demand of the data transmission volume;
[0146] A transmission connection adjustment module, configured to divide the device collected data into first collected data and second collected data based on the transmission score, and respectively determine a first data volume of the first collected data and a second data volume of the second collected data; transmit the first collected data through the current transmission node, and transmit the second collected data through other surrounding transmission nodes;
[0147] A data compression module is used to determine a third data volume according to the difference between the remaining bandwidth of other surrounding transmission nodes and the second data volume when the remaining bandwidth of other surrounding transmission nodes does not meet the transmission demand of the second collected data; determine the first data to be compressed and the corresponding second data to be compressed from the device collected data based on the third data volume; determine the first compressed data and the second compressed data according to the compression scores of the first data to be compressed and the second data to be compressed at each collection time, merge and compress the first data to be compressed and the corresponding second data to be compressed through the first compressed data and the second compressed data to obtain fused data; and transmit the fused data through the data transmission method corresponding to the second data to be compressed.
[0148] The third aspect of the present invention provides a computer-readable storage medium, which includes a smart Internet of Things performance optimization control method program. When the smart Internet of Things performance optimization control method program is executed by a processor, the steps of the above-mentioned smart Internet of Things performance optimization control method are implemented.
[0149] The information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals (including but not limited to signals transmitted between user terminals and other devices, etc.) involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions. For example, the "transmission data of each transmission node of the Internet of Things" involved in this disclosure are all obtained with full authorization.
[0150] The present invention discloses a method and system for optimizing the performance of an intelligent Internet of Things. The method includes: obtaining transmission data of each transmission node of the Internet of Things, determining the data transmission amount of each transmission node at the next data transmission time; when the maximum transmission bandwidth of the transmission node does not meet the data transmission requirements, dividing the device acquisition data into first acquisition data and second acquisition data, and transmitting data through the current transmission node and other surrounding transmission nodes respectively; when the remaining bandwidth of other surrounding transmission nodes does not meet the transmission requirements of the second acquisition data, determining the first data to be compressed and the second data to be compressed from the device acquisition data; merging and compressing the first data to be compressed and the second data to be compressed to obtain fused data; transmitting the fused data through the data transmission mode corresponding to the second data to be compressed. The present invention optimizes the performance of the Internet of Things through data compression and fusion transmission, and improves the efficiency of data transmission.
[0151] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0152] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0153] In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0154] A person of ordinary skill in the art can understand that: all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: a mobile storage device, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.
[0155] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention can be essentially or partly reflected in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.
Claims
1. A method for optimizing the performance of an intelligent Internet of Things, characterized in that: include: Obtain the transmission data of each transmission node of the Internet of Things; According to the transmission data of each transmission node of the Internet of Things, the data allocation of each transmission node is adjusted to determine the data transmission volume of each transmission node at the next data transmission time; When the maximum transmission bandwidth of the transmission node does not meet the transmission requirements of the data transmission volume, the transmission score and transmission level of each device collection data are calculated; Dividing the device collected data into first collected data and second collected data based on the transmission score, and determining a first data volume of the first collected data and a second data volume of the second collected data respectively; transmitting the first collected data through the current transmission node, and transmitting the second collected data through other surrounding transmission nodes; When the remaining bandwidth of other surrounding transmission nodes does not meet the transmission demand of the second collected data, determining the third data volume according to the difference between the remaining bandwidth of other surrounding transmission nodes and the second data volume; Determine first data to be compressed and corresponding second data to be compressed from the device collected data based on the third data amount; Determine the first compressed data and the second compressed data according to the compression scores of the first data to be compressed and the second data to be compressed at each acquisition time, and merge and compress the first data to be compressed and the corresponding second data to be compressed by using the first compressed data and the second compressed data to obtain fused data; The fused data is transmitted using the data transmission mode corresponding to the second data to be compressed.
2. The intelligent Internet of Things performance optimization control method according to claim 1 is characterized in that: When the maximum transmission bandwidth of the transmission node does not meet the transmission requirements of the data transmission volume, the transmission score and transmission level of each device collection data are calculated, including: Determine the impact score based on the impact of the device's collected data on the normal operation of the device; Calculate the data ratio between the data collected by the equipment and the corresponding standard data; Perform weighted calculation on the impact score and data ratio of the data collected by the device to determine the transmission score of the data collected by the device; The transmission level is determined based on the transmission score of the device collected data.
3. The intelligent Internet of Things performance optimization control method according to claim 1 is characterized in that: The method of dividing the device collected data into first collected data and second collected data based on the transmission score, and determining a first data volume of the first collected data and a second data volume of the second collected data respectively, comprises: Selecting devices to collect data in descending order of transmission scores and accumulating the data to determine a first data volume; When the first data volume is greater than a preset data volume threshold, determining the selected device collected data as the first collected data; The data collected by other devices other than the first collected data are determined as second collected data, and the second collected data are accumulated to determine a second data volume.
4. The intelligent Internet of Things performance optimization control method according to claim 3 is characterized in that: The data transmission of the second collected data through other surrounding transmission nodes includes: Query the remaining bandwidth of other surrounding transmission nodes based on the coordinate data of the current device; When the remaining bandwidth of other surrounding transmission nodes is greater than the second data volume, the second collected data is transmitted through other surrounding transmission nodes.
5. The intelligent Internet of Things performance optimization control method according to claim 1 is characterized in that: The determining the first data to be compressed and the corresponding second data to be compressed from the data collected from the device based on the third data amount includes: Selecting devices to collect data in ascending order of transmission scores and accumulating the data to determine a fourth data volume; When the fourth data amount is greater than the third data amount, determining the selected device collected data as the first data to be compressed; Based on the data information of the first data to be compressed, the corresponding second data to be compressed is determined from the data collected by other devices; the transmission level of the second data to be compressed is greater than or equal to the transmission level of the first data to be compressed.
6. The intelligent Internet of Things performance optimization control method according to claim 1 is characterized in that: Also includes: Draw the change curve of collected data based on the equipment collected data and collection time; Calculate the third collected data p at collection time t-1 and t+1 (t-1) and p (t+1) The average value of the predicted data p at the acquisition time t is determined (t’) ; The predicted data p is collected by collecting the time t (t’) and the third acquisition data p (t) Determine the third collected data p (t) The compression score q (t) .
7. The intelligent Internet of Things performance optimization control method according to claim 1 is characterized in that: Also includes: Determining a compression ratio according to a transmission level of the first data to be compressed and the corresponding second data to be compressed; Determining a first compressed amount of the first data to be compressed and a second compressed amount of the second data to be compressed based on the compression ratio; The first compression quantity of the first data to be compressed is determined by the product of the total number of acquisition times of the first data to be compressed and the corresponding compression ratio; The second compression quantity of the second data to be compressed is determined by the product of the total number of acquisition times of the second data to be compressed and the corresponding compression ratio.
8. The intelligent Internet of Things performance optimization control method according to claim 7 is characterized in that: The determining of the first compressed data and the second compressed data according to the compression scores of the first data to be compressed and the second data to be compressed at each acquisition time, and merging and compressing the first data to be compressed and the corresponding second data to be compressed by using the first compressed data and the second compressed data to obtain fused data, includes: Calculate the first data to be compressed p at each acquisition time t a(t) The compression score q a(t) and the corresponding second data to be compressed p b(t) The compression score q b(t) The score difference of ab(t) ; Determine the second data to be compressed whose compression difference score is greater than the first preset score threshold as the first compressed data; Counting the number of first compressed data to determine a third compressed number; When the third compression number is equal to the second compression number, the first to-be-compressed data p is compressed based on the first compressed data. a(t) and the corresponding second data to be compressed p b(t) Carry out merge and compression processing; When the third compression number is less than the first compression number, the first compression score q a(t) The collection time greater than or equal to the second preset score threshold is determined as the first time, and the first compression score q a(t) The collection time that is less than the second preset score threshold is determined as the second time; determining whether the time quantity of the second time is greater than the second compression quantity; If so, the first data to be compressed corresponding to the second time are sorted in ascending order according to the compression difference score, and one or more first data to be compressed corresponding to the second time are selected in sequence based on the second compression quantity to be determined as the second compressed data; when the data quantity of the second compressed data meets the second compression quantity, the second data to be compressed corresponding to the remaining acquisition time is determined as the first compressed data; If not, all the first data to be compressed corresponding to the second time are determined as the second compressed data; the second data to be compressed corresponding to the first time are sorted in ascending order according to the compression difference score, and one or more second data to be compressed corresponding to the first time are selected in order according to the difference between the first compression quantity and the data quantity of the first compressed data to be determined as the first compressed data; When the data quantity of the first compressed data meets the first compression quantity, determining the first to-be-compressed data corresponding to the remaining acquisition time as the second compressed data; Integrate the first compressed data and the second compressed data to determine integrated compressed data; By integrating the compressed data, the first to-be-compressed data p a(t) and the second data to be compressed p b(t) The collected data is filtered, and the remaining collected data is merged based on the collection time to determine the fused data.
9. The intelligent Internet of Things performance optimization control method according to claim 1 is characterized in that: Also includes: The server side disassembles the received fused data to determine first disassembled data and second disassembled data; Determine a first fitting data curve of the first data to be compressed by performing data fitting on the first disassembled data; A second fitting data curve of the second data to be compressed is determined by performing data fitting on the second disassembled data.
10. An intelligent Internet of Things performance optimization control system, used to implement the intelligent Internet of Things performance optimization control method according to any one of claims 1 to 9, characterized in that: include: A data acquisition module is used to acquire the transmission data of each transmission node of the Internet of Things; The transmission connection allocation module is used to adjust the data allocation of each transmission node according to the transmission data of each transmission node of the Internet of Things, and determine the data transmission amount of each transmission node at the next data transmission time; The first analysis module is used to calculate the transmission score and transmission level of each device collection data when the maximum transmission bandwidth of the transmission node does not meet the transmission demand of the data transmission volume; A transmission connection adjustment module, configured to divide the device collected data into first collected data and second collected data based on the transmission score, and respectively determine a first data volume of the first collected data and a second data volume of the second collected data; transmit the first collected data through the current transmission node, and transmit the second collected data through other surrounding transmission nodes; A data compression module, configured to determine a third data volume according to a difference between the remaining bandwidth of other surrounding transmission nodes and the second data volume when the remaining bandwidth of other surrounding transmission nodes does not meet the transmission requirement of the second collected data; and determine the first data to be compressed and the corresponding second data to be compressed from the device collected data based on the third data volume; Determine the first compressed data and the second compressed data according to the compression scores of the first data to be compressed and the second data to be compressed at each acquisition time, and merge and compress the first data to be compressed and the corresponding second data to be compressed by using the first compressed data and the second compressed data to obtain fused data; The fused data is transmitted using the data transmission mode corresponding to the second data to be compressed.
Citation Information
Patent Citations
Network data sending method and device and network data system
CN102833158A
Image compression method and related apparatus
US20100232721A1
