{"title":"面向物联网的wifi网络流量优化","authors":"Vyacheslav Starchenko","doi":"10.33108/visnyk_tntu2021.04.131","DOIUrl":null,"url":null,"abstract":"One of the main problems of modern IoT networks is the large amount of automated traffic generated by their nodes. This puts a significant strain on modern communications networks, which will only increase over time. One way to overcome this problem is to optimize the data structure and improve the methods of data collection, transmission and processing. The purpose of this study is to optimize traffic in the IoT network at the level of software architecture and data representation. The object of the study is the FireBeetle Covers-24 x 8 LED Matrix ESP32, which is controlled by the HOLTEK HT1632C controller, connected via WiFi - interface with the IoT network, implemented on the basis of the ESP8266 microcontroller. The subject of the research is the process of optimizing program code by choosing the most efficient software architecture. The article considers the three most common software architectures and gives examples of their implementation. The architecture based on REST technology was the first to be considered. This technology is the most popular and widespread due to the simplicity of concept and implementation. But its disadvantage is the significant congestion of the communication line with a large amount of the same type of service information. Reducing the amount of service information by optimizing the HTML page code using JavaScript is demonstrated by the example of the second software architecture. But such optimization does not allow to completely separate the static and dynamic components of the information transmitted by the communication line. This division can easily be done within the software architecture based on Ajax & JSON, an example of which is given in the third. The great advantage of this architecture is that the static component is transmitted by the network only once at the beginning of the communication session. Then only the dynamic component is transmitted. According to the results of testing the developed hardware and software module and comparing the amount of generated data transmitted by WiFi network, it is shown that the software architecture based on Ajax & JSON has the highest network efficiency, significantly reducing network traf6fic compared to others.","PeriodicalId":21595,"journal":{"name":"Scientific journal of the Ternopil national technical university","volume":"18 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2021-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Traffic optimization in wifi networks for the internet of things\",\"authors\":\"Vyacheslav Starchenko\",\"doi\":\"10.33108/visnyk_tntu2021.04.131\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"One of the main problems of modern IoT networks is the large amount of automated traffic generated by their nodes. This puts a significant strain on modern communications networks, which will only increase over time. One way to overcome this problem is to optimize the data structure and improve the methods of data collection, transmission and processing. The purpose of this study is to optimize traffic in the IoT network at the level of software architecture and data representation. The object of the study is the FireBeetle Covers-24 x 8 LED Matrix ESP32, which is controlled by the HOLTEK HT1632C controller, connected via WiFi - interface with the IoT network, implemented on the basis of the ESP8266 microcontroller. The subject of the research is the process of optimizing program code by choosing the most efficient software architecture. The article considers the three most common software architectures and gives examples of their implementation. The architecture based on REST technology was the first to be considered. This technology is the most popular and widespread due to the simplicity of concept and implementation. But its disadvantage is the significant congestion of the communication line with a large amount of the same type of service information. Reducing the amount of service information by optimizing the HTML page code using JavaScript is demonstrated by the example of the second software architecture. But such optimization does not allow to completely separate the static and dynamic components of the information transmitted by the communication line. This division can easily be done within the software architecture based on Ajax & JSON, an example of which is given in the third. The great advantage of this architecture is that the static component is transmitted by the network only once at the beginning of the communication session. Then only the dynamic component is transmitted. According to the results of testing the developed hardware and software module and comparing the amount of generated data transmitted by WiFi network, it is shown that the software architecture based on Ajax & JSON has the highest network efficiency, significantly reducing network traf6fic compared to others.\",\"PeriodicalId\":21595,\"journal\":{\"name\":\"Scientific journal of the Ternopil national technical university\",\"volume\":\"18 1\",\"pages\":\"\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2021-01-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Scientific journal of the Ternopil national technical university\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.33108/visnyk_tntu2021.04.131\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Scientific journal of the Ternopil national technical university","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.33108/visnyk_tntu2021.04.131","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
摘要
现代物联网网络的主要问题之一是其节点产生的大量自动流量。这给现代通信网络带来了巨大的压力,这种压力只会随着时间的推移而增加。解决这一问题的途径之一是优化数据结构,改进数据的采集、传输和处理方法。本研究的目的是在软件架构和数据表示层面优化物联网网络中的流量。本研究的对象是FireBeetle Covers-24 x 8 LED Matrix ESP32,该产品由HOLTEK HT1632C控制器控制,通过WiFi接口与物联网网络连接,基于ESP8266单片机实现。研究的主题是通过选择最有效的软件架构来优化程序代码的过程。本文考虑了三种最常见的软件体系结构,并给出了它们的实现示例。首先考虑的是基于REST技术的体系结构。由于概念和实现的简单性,该技术是最流行和广泛的。但其缺点是由于大量同类业务信息的存在,导致通信线路严重拥塞。第二个软件体系结构的示例演示了通过使用JavaScript优化HTML页面代码来减少服务信息的数量。但是这样的优化并不能使通信线路所传输的信息的静态和动态成分完全分离。这种划分可以很容易地在基于Ajax和JSON的软件架构中完成,第三部分给出了一个例子。这种体系结构的最大优点是,静态组件仅在通信会话开始时由网络传输一次。然后只传输动态组件。根据对开发的硬件和软件模块的测试结果,以及通过WiFi网络传输的生成数据量的比较,可以看出基于Ajax和JSON的软件架构具有最高的网络效率,相比其他架构可以显著降低网络流量。
Traffic optimization in wifi networks for the internet of things
One of the main problems of modern IoT networks is the large amount of automated traffic generated by their nodes. This puts a significant strain on modern communications networks, which will only increase over time. One way to overcome this problem is to optimize the data structure and improve the methods of data collection, transmission and processing. The purpose of this study is to optimize traffic in the IoT network at the level of software architecture and data representation. The object of the study is the FireBeetle Covers-24 x 8 LED Matrix ESP32, which is controlled by the HOLTEK HT1632C controller, connected via WiFi - interface with the IoT network, implemented on the basis of the ESP8266 microcontroller. The subject of the research is the process of optimizing program code by choosing the most efficient software architecture. The article considers the three most common software architectures and gives examples of their implementation. The architecture based on REST technology was the first to be considered. This technology is the most popular and widespread due to the simplicity of concept and implementation. But its disadvantage is the significant congestion of the communication line with a large amount of the same type of service information. Reducing the amount of service information by optimizing the HTML page code using JavaScript is demonstrated by the example of the second software architecture. But such optimization does not allow to completely separate the static and dynamic components of the information transmitted by the communication line. This division can easily be done within the software architecture based on Ajax & JSON, an example of which is given in the third. The great advantage of this architecture is that the static component is transmitted by the network only once at the beginning of the communication session. Then only the dynamic component is transmitted. According to the results of testing the developed hardware and software module and comparing the amount of generated data transmitted by WiFi network, it is shown that the software architecture based on Ajax & JSON has the highest network efficiency, significantly reducing network traf6fic compared to others.