A visual display system for IoT device traffic
By using cloud computing platform and multi-data source collection, two-way data calibration and historical data rules to identify abnormal traffic in the Internet of Things device traffic visual display system, the problems of high resource consumption and low efficiency in the existing technology are solved, and efficient identification is achieved and display IoT device traffic data.
Patent Information
- Application Number
- CN202410056118.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-15
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2044-01-15
AI Technical Summary
Existing IoT device traffic data display technology requires additional server resources and costs, and cannot automatically identify abnormal traffic data, resulting in low identification and display efficiency.
A visual display system for Internet of Things device traffic is designed, including a cloud computing platform, traffic data collection module, transmission module, detection module and display module. It identifies and displays anomalies through multi-data source collection, two-way data calibration and historical data establishment rules. traffic data.
It improves the efficiency of identification and display of traffic data, reduces server resource requirements, and realizes automatic identification and display of abnormal traffic.
Smart Images

Figure CN117675622B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a flow visualization display system for Internet of Things devices. Background Art
[0002] IoT device traffic display refers to the process of monitoring, collecting, analyzing and visualizing the network traffic of IoT devices through various technical means. IoT device traffic can include information such as the data packets sent and received by the device, the amount of data transmitted, and the transmission rate. By displaying the traffic of IoT devices, users can understand the network usage, traffic patterns, network anomalies, etc. of the device, and then manage the device, optimize the allocation of network resources, and even perform data analysis and prediction.
[0003] Existing traffic data display technologies have the following disadvantages: By deploying traffic monitoring software on the background server, the traffic of IoT devices can be monitored. These software can collect and analyze the network traffic data of the device and provide a visual display. However, this technology may require additional server resources and costs, and requires the implementation of data integration and protocol support with IoT devices, and cannot automatically identify abnormal traffic data.
[0004] Therefore, how to improve the efficiency of traffic data display while improving the efficiency of traffic data recognition is a difficulty in the prior art. For this purpose, a traffic visualization display system for IoT devices is provided. Summary of the invention
[0005] In order to solve the above technical problems, the purpose of the present invention is to provide a traffic visualization display system for Internet of Things devices.
[0006] In order to achieve the above object, the present invention provides the following technical solutions:
[0007] A flow visualization display system for Internet of Things devices, comprising a cloud computing platform, wherein the cloud computing platform is communicatively connected with a flow data acquisition module, a flow data transmission module, a flow data detection module and a flow data display module;
[0008] The flow data collection module is used to set a plurality of IoT devices of the same type for each data source, and then collect the flow data of the data source through all IoT devices at the same time point, and compress it into flow data packets and send them to the flow data transmission module;
[0009] The flow data transmission module is provided with several data transmission channels and a two-way data calibration mechanism, which is used to coordinate and monitor the transmission process of flow data between various modules, and take corresponding control measures when the transmission process of flow data is abnormal;
[0010] The flow data detection module is used to establish a flow judgment rule based on several copies of historical flow data of the data source, and then judge whether each flow data has an abnormality according to the flow judgment rule;
[0011] The flow data display module is used to display the flow data.
[0012] Furthermore, the flow data collection process includes:
[0013] Set k types of IoT devices for each data source, and set K number of each IoT device at the same time, where K and k are natural numbers greater than 0;
[0014] Set a number for each IoT device, and set the same data collection cycle for each IoT device. When the data collection cycle starts, the flow data collection module sends a data collection instruction to each IoT device, and then the flow data collection module collects the data collected by each IoT device, and generates corresponding flow data after the data collection cycle ends, and marks the number of the corresponding IoT device. After the data collection cycle ends, the flow data collection module integrates the flow data with the same first two digits of the number subscript, and then obtains the corresponding flow data packet, and marks the number H. i,k , i is a natural number greater than 0.
[0015] Furthermore, the process of establishing the data transmission channel includes:
[0016] The flow data collection module sends a data transmission request and the total number of flow data packets to the flow data transmission module, wherein the flow data transmission module is provided with Num data transmission nodes, and each data transmission node is provided with the same bandwidth channel;
[0017] When the traffic data transmission module receives a data transmission request, the traffic data transmission module determines whether the number of data transmission nodes that do not currently form a data transmission channel is greater than or equal to m*N, where N is a natural number greater than 0;
[0018] If the number of data transmission nodes that do not currently form a data transmission channel is greater than or equal to m*N, then m*Num data transmission nodes are called to establish Num data transmission nodes, and each data transmission channel is composed of m data transmission nodes, where m is a natural number greater than 0;
[0019] If the number of data transmission nodes that do not currently form a data transmission channel is less than m*Num, the flow data transmission module determines that the corresponding data transmission request cannot be executed temporarily.
[0020] Furthermore, the operation process of the two-way data calibration mechanism includes:
[0021] N data transmission modules are established between the traffic data transmission module and the traffic data collection module. Whenever a traffic data packet enters a data transmission node, the data transmission node decompresses the traffic data packet, obtains the data summary of each traffic data, and re-compresses each traffic data before sending it to the next data transmission node.
[0022] When the data transmission node sends the traffic data packet to the next data transmission node, the traffic data packet is backed up, and each time the data transmission node generates a complete data summary of the traffic data packet, the data summary is compared with the data summary generated by the previous data transmission node;
[0023] If the two are completely consistent, it means that the traffic data packet transmission is normal. If the two are inconsistent, it means that there is an abnormality in the traffic data packet transmission, and then the previous data transmission node resends the backup traffic data packet to the next data transmission node;
[0024] Repeat the above operation. If the data summaries generated by two adjacent data transmission nodes for the same traffic data packet are still inconsistent, the traffic data transmission module sends the backup traffic data packet in the previous data transmission node to the next data transmission node.
[0025] Furthermore, the process of establishing traffic judgment rules based on historical traffic data includes:
[0026] The flow data detection module pre-stores G copies of historical flow data of each data source, where G is a natural number greater than 0;
[0027] The historical traffic data is divided into video traffic data, digital traffic data and image traffic data, and then traffic judgment rules corresponding to the types of traffic data are established.
[0028] Furthermore, for video traffic data:
[0029] The traffic data detection module divides the video traffic data in the historical traffic data into W portions of image traffic data by frame, and then divides each image traffic data into w portions of square image regions, performs grayscale processing on each image region, and obtains the pixel value of each pixel;
[0030] In order, 4 squares, 9 squares, 16 squares, ..., j 2 The pixels in the image area are divided into squares and the pixel values in each pixel area are averaged, where j 2 is equal to the total number of pixels in each image area, where w, W and j are natural numbers greater than 0;
[0031] A pixel value threshold is set, and pixels in the image area whose pixel values are greater than or equal to the pixel value threshold are marked, and no operation is performed on the remaining pixels, and then adjacent pixels with annotations in the image flow data are connected to obtain the target feature contour map of the corresponding data source;
[0032] Marking target feature contours for each image flow data, and connecting each target feature contour by frame according to the segmentation order of the video flow data corresponding to the image flow data, thereby obtaining a target feature contour video corresponding to the video flow data;
[0033] According to the target feature contour map, a motion trajectory curve of the corresponding target feature in the corresponding video flow data is obtained, a coordinate system is established, and target feature contour maps of several copies of video flow data from the same data source are overlapped and mapped;
[0034] Then, the pixel distances of the same position but different target feature contours are obtained, and the total number of pixel distances between each pixel in any two target feature contours is counted;
[0035] Set a total pixel distance threshold, and compare the total pixel distance of each pair of target feature contour maps with the total pixel distance threshold. If the total pixel distance is less than or equal to the total pixel distance threshold, the pair of target feature contour maps is judged to overlap, and the overlap number of the pair of target feature contour maps is marked plus 1, otherwise no operation is performed;
[0036] When the total number of pixel distances between all target feature contour maps is calculated and compared with the total pixel distance threshold, the target feature contour map with the largest number of overlaps is selected as the reference target feature contour map;
[0037] Then, an abnormal threshold is set, and a target feature contour map whose total pixel distance with the reference target feature contour map is greater than or equal to the abnormal threshold is recorded as abnormal video flow data;
[0038] The target feature contour map whose total pixel distance with the reference target feature contour map is less than the abnormal threshold is recorded as normal video traffic data.
[0039] Furthermore, for digital traffic data:
[0040] Generate corresponding change curves for the digital flow data in the historical flow data according to the corresponding collection time, establish a rectangular coordinate system, map the change curves of the same type of digital flow data on the same rectangular coordinate system, count the number of overlaps between the change curves, and then use the change curve with the largest number of overlaps as a reference curve;
[0041] The absolute value of the calculus value between each change curve and the reference curve is obtained and recorded as the deviation value, a deviation value threshold is set, the deviation value is compared with the deviation value threshold, and the flow data is judged as abnormal digital flow data or normal digital flow data according to the comparison result.
[0042] Furthermore, for image traffic data:
[0043] The method of establishing the target feature contour map of video traffic data is adopted to establish the target feature contour map of each image traffic data, and then find the reference target feature contour map, set the abnormal threshold, and record the target feature contour map whose total pixel distance with the reference target feature contour map is greater than or equal to the abnormal threshold as abnormal image traffic data.
[0044] Further, the flow data detection module decompresses the flow data packets, matches each flow data with the corresponding flow judgment rule, and then divides each flow data into normal flow data and abnormal flow data according to the flow judgment rule, and marks the abnormal part in the abnormal flow data;
[0045] The traffic data detection module sends the traffic data to the traffic data display module, and the traffic data is provided with several display blocks, and then the traffic data display module displays the traffic data with the same first two digits of the subscript digit in the same display block, and for the abnormal traffic data displayed in the display block, the marked abnormal part is displayed side by side with the same part in the normal traffic data.
[0046] Compared with the prior art, the beneficial effects of the present invention are as follows: the present invention sets multiple IoT devices of the same type for each data source, and then collects the flow data of the data source through all IoT devices at the same time point, compresses it into flow data packets and sends it to the flow data transmission module, sets several data transmission channels and a two-way data calibration mechanism, and takes corresponding control measures when the transmission process of the flow data is abnormal. At the same time, a flow judgment rule is established according to several copies of historical flow data of the data source, and then judges whether each flow data has an abnormality according to the flow judgment rule, and displays the flow data according to the judgment result, thereby effectively improving the recognition efficiency of the flow data and improving the display efficiency of the flow data. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention.
[0048] Figure 1 It is a schematic diagram of the present invention. DETAILED DESCRIPTION
[0049] To make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be described in detail below. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other implementation methods obtained by ordinary technicians in this field without creative work belong to the scope of protection of the present invention.
[0050] like Figure 1 As shown, a flow visualization display system for IoT devices includes a cloud computing platform, wherein the cloud computing platform is communicatively connected with a flow data acquisition module, a flow data transmission module, a flow data detection module, and a flow data display module;
[0051] The flow data collection module is used to set a plurality of IoT devices of the same type for each data source, and then collect the flow data of the data source through all IoT devices at the same time point, and compress it into flow data packets and send them to the flow data transmission module;
[0052] The flow data transmission module is provided with several data transmission channels and a two-way data calibration mechanism, which is used to coordinate and monitor the transmission process of flow data between various modules, and take corresponding control measures when the transmission process of flow data is abnormal;
[0053] The data transmission channel is composed of a number of data transmission nodes;
[0054] The flow data detection module is used to establish a flow judgment rule based on several copies of historical flow data of the data source, and then judge whether each flow data has an abnormality according to the flow judgment rule;
[0055] The flow data display module is used to display the flow data.
[0056] Further, the working principle of the present invention is described below by way of examples:
[0057] The traffic data collection module sets k types of IoT devices for each data source, and each IoT device is set with K devices at the same time, where K and k are natural numbers greater than 0;
[0058] Then the traffic data collection module sets a number for each IoT device, where the number is H 1,1,1 , H 1,1,2 ,……,H i,k,K , where H i,k,K represents the Kth IoT device of the kth type of the i-th data source, where i represents the total number of data sources and is a natural number greater than 0;
[0059] It should be noted that the data source may be a human body, a vehicle, etc., and the IoT device may be a sensor, a camera, etc.;
[0060] The same data collection cycle is set for each IoT device. When the data collection cycle starts, the traffic data collection module sends a data collection instruction to each IoT device, and then the traffic data collection module collects the data collected by each IoT device, and generates the corresponding traffic data after the data collection cycle ends, and marks the number of the corresponding IoT device.
[0061] Furthermore, after the data collection cycle ends, the flow data collection module integrates the flow data with the same first two digits of the serial number subscript, and then obtains the corresponding flow data packet and marks it with the serial number H. i,k ;
[0062] The flow data collection module sends a data transmission request and the total number of flow data packets to the flow data transmission module. After the flow data transmission module receives and agrees to the data transmission request, it establishes N data transmission channels, where N is a natural number greater than 0.
[0063] The establishment of the data transmission channel includes:
[0064] The traffic data transmission module is provided with Num data transmission nodes, and each data transmission node is provided with the same bandwidth channel;
[0065] When the traffic data transmission module receives a data transmission request, the traffic data transmission module determines whether the number of data transmission nodes that do not currently constitute a data transmission channel is greater than or equal to m*N;
[0066] If the number of data transmission nodes that do not currently form a data transmission channel is greater than or equal to m*N, then m*Num data transmission nodes are called to establish Num data transmission nodes, and each data transmission channel is composed of m data transmission nodes, where m is a natural number greater than 0;
[0067] If the number of data transmission nodes that do not currently form a data transmission channel is less than m*Num, the flow data transmission module determines that the corresponding data transmission request cannot be executed temporarily;
[0068] Furthermore, a bidirectional data calibration mechanism is set for each data transmission node. The following example illustrates the working principle of the bidirectional data calibration mechanism:
[0069] N data transmission modules are established between the traffic data transmission module and the traffic data collection module, and then the traffic data collection module sends all traffic data packets to the data transmission channel after the data collection cycle ends;
[0070] Whenever a traffic data packet enters a data transmission node, the data transmission node decompresses the traffic data packet, obtains the data summary of each traffic data, and re-compresses each traffic data before sending it to the next data transmission node;
[0071] It should be noted that when a data transmission node sends a flow data packet to the next data transmission node, the flow data packet is backed up;
[0072] Whenever a data transmission node generates a complete data summary of a traffic data packet, the data summary is compared with the data summary generated by the previous data transmission node;
[0073] If the two are exactly the same, it means that the traffic data packet transmission is normal;
[0074] If there is any inconsistency between the two, it means that there is an abnormality in the transmission of the traffic data packet, and then the previous data transmission node resends the backed-up traffic data packet to the next data transmission node;
[0075] Repeat the above operation. If the data summaries generated by two adjacent data transmission nodes for the same traffic data packet are still inconsistent, the traffic data transmission module sends the backup traffic data packet in the previous data transmission node to the next data transmission node.
[0076] It should be noted that the above method effectively reduces the possibility of errors occurring when the flow data is transmitted remotely.
[0077] Further, when the flow data transmission module determines that all flow data packets have been received according to the total number of flow data packets, the flow data collection module sends the flow data packets to the flow data transmission module, and sends all flow data packets to the flow data detection module;
[0078] The flow data detection module pre-stores G copies of historical flow data of each data source, and then the flow data detection module establishes a flow judgment rule according to the historical flow data, where G is a natural number greater than 0;
[0079] The process of establishing the flow judgment rule includes:
[0080] The traffic data detection module classifies the historical traffic data, and further classifies the historical traffic data into video traffic data, digital traffic data and image traffic data;
[0081] For video traffic data: the traffic data detection module divides the video traffic data in the historical traffic data into W portions of image traffic data by frame, and then divides each image traffic data into w portions of square image regions, performs grayscale processing on each image region, and obtains the pixel value of each pixel;
[0082] The image area is divided into several pixel areas with four square pixels as a group, the pixel values of each pixel in each pixel area are accumulated and averaged, and a new pixel value is assigned to each pixel;
[0083] Then use 9 squares, 16 squares, ..., j 2 The image area is re-divided into square grids, and the pixel values in each pixel area are averaged, where j 2 is equal to the total number of pixels in each image area, where w, W and j are natural numbers greater than 0;
[0084] Set the pixel value threshold, mark the pixels in the image area whose pixel values are greater than or equal to the pixel value threshold, and do nothing to the remaining pixels;
[0085] Then, adjacent pixels with annotations in the image flow data are connected to obtain a target feature contour map corresponding to the image data flow;
[0086] The same method is used to mark the target feature contour map of each image flow data, and each target feature contour map is connected by frame according to the segmentation order of the video flow data corresponding to the image flow data, so as to obtain the target feature contour video corresponding to the video flow data;
[0087] According to the target feature contour map, a motion trajectory curve of the corresponding target feature in the corresponding video flow data is obtained, a coordinate system is established, and target feature contour maps of several copies of video flow data from the same data source are overlapped and mapped;
[0088] Then, the pixel distances corresponding to the same position but different target feature contours are calculated, and the total number of pixel distances between each pixel in any two target feature contours is counted;
[0089] Set a total pixel distance threshold, and compare the total pixel distance of each pair of target feature contour maps with the total pixel distance threshold. If the total pixel distance is less than or equal to the total pixel distance threshold, the pair of target feature contour maps is judged to overlap, and the overlap number of the pair of target feature contour maps is marked plus 1, otherwise no operation is performed;
[0090] When the total number of pixel distances between all target feature contour maps is calculated and compared with the total pixel distance threshold, the target feature contour map with the largest number of overlaps is selected as the reference target feature contour map;
[0091] Then, an abnormal threshold is set, and a target feature contour map whose total pixel distance with the reference target feature contour map is greater than or equal to the abnormal threshold is recorded as abnormal video flow data;
[0092] For target feature contour maps whose total pixel distance with the reference target feature contour map is less than the abnormal threshold, it is recorded as normal video traffic data;
[0093] For digital traffic data: generate corresponding change curves for digital traffic data in historical traffic data according to corresponding collection time;
[0094] Establish a rectangular coordinate system, map the change curves of the same type of digital flow data onto the same rectangular coordinate system, count the number of overlaps between the change curves, and then use the change curve with the largest number of overlaps as a reference curve;
[0095] The absolute value of the calculus value between each change curve and the reference curve is calculated and recorded as a deviation value, a deviation value threshold is set, and the deviation value is compared with the deviation value threshold;
[0096] If the deviation value is greater than or equal to the deviation value threshold, the corresponding digital flow data is judged to be abnormal digital flow data;
[0097] If the deviation value is less than the deviation value threshold, the corresponding digital flow data is judged to be normal digital flow data;
[0098] For image traffic data: the method of establishing a target feature contour map of video traffic data is adopted to establish a target feature contour map of each image traffic data, and then a reference target feature contour map is found, and an abnormal threshold is set. For a target feature contour map whose total pixel distance with the reference target feature contour map is greater than or equal to the abnormal threshold, it is recorded as abnormal image traffic data;
[0099] For the target feature contour map whose total pixel distance with the reference target feature contour map is less than the abnormal threshold, it is recorded as normal image flow data;
[0100] The traffic data detection module decompresses the traffic data packets, matches each traffic data with the corresponding traffic judgment rules, and then divides each traffic data into normal traffic data and abnormal traffic data according to the traffic judgment rules, and marks the abnormal part in the abnormal traffic data.
[0101] Further, the flow data detection module sends the divided flow data to the flow data transmission module, and then the flow data transmission module sends the flow data to the flow data display module;
[0102] The flow data is provided with a plurality of display blocks, and then the flow data display module displays the flow data with the same first two digits of the subscript number in the same display block;
[0103] It should be noted that, for the abnormal traffic data displayed in the display block, the portion with the anomaly mark is displayed side by side with the same portion in the normal traffic data.
[0104] The above embodiments are only used to illustrate the technical method of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical method of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical method of the present invention.
Claims
1. A visual display system for Internet of Things device traffic, including a cloud computing platform, characterized in that: The cloud computing platform is communicatively connected with a flow data acquisition module, a flow data transmission module, a flow data detection module and a flow data display module; The flow data collection module is used to set a plurality of IoT devices of the same type for each data source, and set a data collection period, and then integrate the flow data collected by the IoT devices in each data collection period, generate a flow data packet, and send the flow data packet to the flow data transmission module; The flow data transmission module is provided with a plurality of data transmission channels and a two-way data calibration mechanism. The data transmission channel is composed of a plurality of data transmission nodes, and the flow data transmission process between the modules is carried out through the data transmission nodes in the data transmission channel. When the flow data transmission process is abnormal, corresponding control measures are taken through the two-way data calibration mechanism; The operation process of the two-way data calibration mechanism includes: N data transmission channels are established between the traffic data transmission module and the traffic data collection module. Whenever a traffic data packet enters a data transmission node, the data transmission node decompresses the traffic data packet, obtains the data summary of each traffic data, and re-compresses each traffic data before sending it to the next data transmission node. When the data transmission node sends the traffic data packet to the next data transmission node, the traffic data packet is backed up, and each time the data transmission node generates a complete data summary of the traffic data packet, the data summary is compared with the data summary generated by the previous data transmission node; If the two are completely consistent, it means that the traffic data packet transmission is normal. If the two are inconsistent, it means that there is an abnormality in the traffic data packet transmission, and then the previous data transmission node resends the backup traffic data packet to the next data transmission node; Repeat the above operation. If the data summaries generated by two adjacent data transmission nodes for the same traffic data packet are still inconsistent, the traffic data transmission module sends the backup traffic data packet in the previous data transmission node to the next data transmission node. The flow data detection module is used to establish a flow judgment rule based on several copies of historical flow data of the data source, and then judge whether each flow data has an abnormality according to the flow judgment rule; The flow data display module is used to display the flow data.
2. According to claim 1, a flow visualization display system for Internet of Things devices is characterized in that: The flow data collection process includes: Set k types of IoT devices for each data source, and set K number of each IoT device at the same time, where K and k are natural numbers greater than 0; Set a number for each IoT device, where the number is H 1 ,1 ,1 , H 1 ,1 ,2 ,……,H i,k,K , where H i ,k ,K represents the Kth IoT device of the kth type of the i-th data source, where i represents the total number of data sources; The same data collection cycle is set for each IoT device. When the data collection cycle starts, the flow data collection module sends a data collection instruction to each IoT device, and then the flow data collection module collects the data collected by each IoT device, and generates corresponding flow data after the data collection cycle ends, marking the number of the corresponding IoT device. After the data collection cycle ends, the flow data collection module integrates the flow data with the same first two digits of the number subscript, and then obtains the corresponding flow data packet, and marks the number H. i,k , i is a natural number greater than 0.
3. According to claim 2, a visualization display system for Internet of Things device traffic is characterized in that: The process of establishing the data transmission channel includes: The flow data collection module sends a data transmission request and the total number of flow data packets to the flow data transmission module, and the flow data transmission module is provided with Num data transmission nodes; When the traffic data transmission module receives a data transmission request, the traffic data transmission module determines whether the number of data transmission nodes that do not currently form a data transmission channel is greater than or equal to m*N, where N is a natural number greater than 0; If the number of data transmission nodes that do not currently form a data transmission channel is greater than or equal to m*N, then m*N data transmission nodes are called to establish N data transmission channels, each of which is composed of m data transmission nodes, where m is a natural number greater than 0; If the number of data transmission nodes that do not currently form a data transmission channel is less than m*N, the traffic data transmission module determines that the corresponding data transmission request cannot be executed temporarily.
4. According to claim 3, a flow visualization display system for Internet of Things devices is characterized in that: The process of establishing traffic judgment rules based on historical traffic data includes: The traffic data detection module pre-stores G historical traffic data of each data source, where G is a natural number greater than 0. The historical traffic data is divided into video traffic data, digital traffic data and image traffic data, and then establishes traffic judgment rules for corresponding types of traffic data.
5. According to claim 4, a flow visualization display system for Internet of Things devices is characterized in that: For video traffic data: The traffic data detection module divides the video traffic data in the historical traffic data into W portions of image traffic data by frame, and then divides each image traffic data into w portions of square image regions, performs grayscale processing on each image region, and obtains the pixel value of each pixel; In order, 4 squares, 9 squares, 16 squares, ..., j 2 The pixels in the image area are divided into squares and the pixel values in each pixel area are averaged, where j 2 is equal to the total number of pixels in each image area, where w, W and j are natural numbers greater than 0; A pixel value threshold is set, pixels in the image area whose pixel values are greater than or equal to the pixel value threshold are marked, and the remaining pixels are not operated, and the adjacent pixels with markings in the image flow data are connected to obtain the target feature contour map corresponding to the image flow data; Marking target feature contours for each image flow data, and connecting each target feature contour by frame according to the image flow data segmentation sequence corresponding to the video flow data, thereby obtaining a target feature contour video corresponding to the video flow data; According to the target feature contour map, a motion trajectory curve of the corresponding target feature in the corresponding video flow data is obtained, a coordinate system is established, and target feature contour maps of several copies of video flow data from the same data source are overlapped and mapped; Then, the pixel distances of the same position but different target feature contours are obtained, and the total number of pixel distances between each pixel in any two target feature contours is counted.
6. The IoT device traffic visualization display system according to claim 5 is characterized in that: Set a total pixel distance threshold, and compare the total pixel distance of each pair of target feature contour maps with the total pixel distance threshold. If the total pixel distance is less than or equal to the total pixel distance threshold, the pair of target feature contour maps is judged to overlap, and the overlap number of the pair of target feature contour maps is marked plus 1, otherwise no operation is performed; When the total number of pixel distances between all target feature contour maps is calculated and compared with the total pixel distance threshold, the target feature contour map with the largest number of overlaps is selected as the reference target feature contour map; Then, an abnormal threshold is set, and a target feature contour map whose total pixel distance with the reference target feature contour map is greater than or equal to the abnormal threshold is recorded as abnormal video flow data; The target feature contour map whose total pixel distance with the reference target feature contour map is less than the abnormal threshold is recorded as normal video traffic data.
7. The IoT device traffic visualization display system according to claim 4 is characterized in that: For digital traffic data: Generate corresponding change curves for the digital flow data in the historical flow data according to the corresponding collection time, establish a rectangular coordinate system, map the change curves of the same type of digital flow data on the same rectangular coordinate system, count the number of overlaps between the change curves, and then use the change curve with the largest number of overlaps as a reference curve; The absolute value of the calculus value between each change curve and the reference curve is obtained and recorded as the deviation value, a deviation value threshold is set, the deviation value is compared with the deviation value threshold, and the digital flow data is judged as abnormal digital flow data or normal digital flow data according to the comparison result.
8. The IoT device traffic visualization display system according to claim 4 is characterized in that: For image traffic data: The method of establishing the target feature contour map of video traffic data is adopted to establish the target feature contour map of each image traffic data, and then find the reference target feature contour map, set the abnormal threshold, and record the target feature contour map whose total pixel distance with the reference target feature contour map is greater than or equal to the abnormal threshold as abnormal image traffic data.
9. The IoT device traffic visualization display system according to claim 4 is characterized in that: The flow data detection module decompresses the flow data packets, matches each flow data with the corresponding flow judgment rules, and then divides each flow data into normal flow data and abnormal flow data according to the flow judgment rules, and marks the abnormal part in the abnormal flow data; The flow data detection module sends the flow data to the flow data display module, which is provided with a plurality of display blocks. Then, the flow data display module displays the flow data with the same first two digits of the subscript digit in the number in the same display block, and for the abnormal flow data displayed in the display block, the abnormal part with the marked abnormal part is displayed side by side with the same part in the normal flow data.
Citation Information
Patent Citations
Internet of Things equipment anomaly detection method based on fingerprint identification technology
CN112512073A
Traffic anomaly detection method, detection equipment and computer readable storage medium
CN113364752A
Detector distribution method and Internet of Things detection system
CN113452676A
Flow management method and system for Internet of Things
CN117201410A
Anomaly detection method and system
KR102469664B1
