Asian Science Citation Index is committed to provide an authoritative, trusted and significant information by the
coverage of the most important and influential journals
to meet the needs of the global scientific community.
In order to provide an easy way to develop Wireless Sensor Network (WSN) applications. Current proposals apply abstraction mechanisms of software engineering, to hide complexity and implementation details of WSN. However, most of them are focused on implementation issues and platform-dependent solution thus, resulting designs are difficult to be reused. Moreover, these proposals do not provide a way how to specify a network architecture for application and how to control task allocation for each node or a group of node. This study addresses these issues and proposes a new high-level of abstraction model based on Domain Specific Modeling (DSM) which enables developers to build WSN applications using logical and physical abstraction model, task allocation as well as automation via code generation. Evaluation results on a case study indicate that the use of proposed model is capable to increase productivity in development time about 6 times than manual approach. While evaluation of quality of generated codes in simulation environment shows the effectiveness of processing task in the case study, average calculation at intermediate nodes can reduce the cost of communication significantly.