Summary: | 碩士 === 國立清華大學 === 資訊工程學系 === 94 === In recent years, the wireless sensor network has been one of the hottest research topics. Many different applications for different challenges have been developed. In order to reduce the efforts in programming, it is necessary to develop a new programming model suitable for the wireless sensor network. In this paper, we present a sensor programming environment (SPE) for users to write application programs for wireless sensor networks. The SPE includes a middleware, for hiding low-level operations and providing high level APIs for application programs, and a role-based programming library, for abstraction of programming design. A user can build up a role graph for his/her application program based on the role-based programming model. From the role graph of an application program, a user can write codes for each role and analyze the execution flow of the application program. We have shown a design example by using the proposed SPE. The simulation results indicate that the proposed SPE is easy to use and the role-based programming model can reduce the design efforts of a WSN program.
|