Implementation of an IoT server architecture based on the Linux core

碩士 === 國立高雄科技大學 === 電子工程系 === 107 === In this paper, a set of Internet of Things (IoT) servers based on the core of Linux is proposed in light of using them as a prototype for the development of a server forwarding architecture that can be applied to currently available IoT devices. In this system,...

Full description

Bibliographic Details
Main Authors: LIU, CHUNG-WEI, 劉仲偉
Other Authors: CHANG CHIEN, JIA-REN
Format: Others
Language:zh-TW
Published: 2019
Online Access:http://ndltd.ncl.edu.tw/handle/zvwnp7
Description
Summary:碩士 === 國立高雄科技大學 === 電子工程系 === 107 === In this paper, a set of Internet of Things (IoT) servers based on the core of Linux is proposed in light of using them as a prototype for the development of a server forwarding architecture that can be applied to currently available IoT devices. In this system, it includes a multi-client connection mechanism, multithreading packet switching mechanism, connection maintenance mechanism, system recovery mechanism, etc. The content of this paper will describe how to achieve a set of nonblocking servers equipped with a multi-client connection mechanism, and how to achieve data switching among different threads through the use of a linked array. Regarding the connection stability between the server and the client, a set of connection maintenance mechanisms is established to ensure the stability of the communication between the two, such that it is able to prevent missing packets or unnecessary re-transmission due to a complicated network environment. Furthermore, regarding software stability, although it cannot completely ensure that while the program is running termination of the program will absolutely not occur due to a crash of the program running caused by an unknown error; nevertheless, in this paper, a set of system recovery mechanisms is established. Through the monitoring of such mechanisms, the program can be automatically restarted during the crash and termination of the program running, thereby reducing the operating loss caused by the termination of running of the system. Moreover, in this research, functions are also verified repetitively for a long period of time in order to ensure that the aforementioned requirements can achieve the effect as expected. Consequently, an IoT server architecture with a certain level of reliability is achieved in practice.