在普及式計算使用穿載式電腦和嵌入式系統開發下,多人開發大型應用程式是複雜且缺乏效率;另外在軟體生命週期逐漸的減短之下,要在有限的時間內完成開發,也是在開發時需要注意的關鍵之一。因此,本研究思考了以模組化的方式進行多人開發應用,為了是多人開發應用程式分工的情況之下,不需再進行整合的動作,減少工作時間和複雜度來達到完整的應用。 以模組化的方式為出發點,會遇到各個程式之間的相依性、與平台的相依性,以及應用程式之間資料共享的問題。在一般的情況之下,會使用作業系統傳統的內部程序通訊(IPC)來進行處理,但是傳統的內部程序通訊是比較低階的API,且之間的通訊需要與開發應用程式人員進行交談,才得以完成。所以不僅是需要使用複雜的IPC,還需要與應用程式開發者互相規定好通訊的方式,如果在一對多或多對多的情況之下,會更加複雜。 因此本研究開發一個嵌入式中介軟體,使得應用程式之間互相獨立,透過一個中介者來管理資料的共享,而這個嵌入式中介軟體改善了傳統的IPC通訊方式,不僅簡化API使用方式,並且在一對多或多對多的資料管理,應用程式共享資料就像對一個分享者一樣容易;使得應用程式模組透過嵌入式中介軟體的整合,來完成大型的應用。
The pervasive computing is developed by the wearable computer and embedded system and it is inefficient if too many developers involve in the development process. Since the life cycle of software become shorter, one of the most concern factor in the development is to complete the development process on time. Hence, this research concern on the usage of the modularization as a solution for many developers. The objective is to avoid the integration work in the team works and reduce the time and complexity to complete the application. The platform dependent and the relation between the applications will be the problems of modulization. Another problem will be the resources sharing problem. In general case, the inter-process communication will be used as management but the IPC is a lower API and needed the communication between the developers. IT is not only used the complicated IPC, but still need to determine the protocol of communication. It is more complicated for the one-to-many or many-to-many case. In this research, we developed an embedded middleware to make the applications become independent and used an agent to manage the resources sharing. This embedded middleware improve the traditional communication method of IPC by simplify the API usage and one-to-many or many-to-many resources management. The data sharing of resource sharing is as easy as a user. The module of application has been integrated by the embedded middleware and can apply to more applications.