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.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
More From: Scientific journal of the Ternopil national technical university
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.