Font Size: a A A

Mobile Application Design Based On FSM

Posted on:2008-08-30Degree:MasterType:Thesis
Country:ChinaCandidate:X WangFull Text:PDF
GTID:2178360215476915Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the 3G mobile age's coming, more and more functions are added to mobile phone. The application software's size becomes larger and the system becomes increasingly complex. To the mobile phone trade, an advice of platform-developing is suggested. During the development on the MOAP platform (a platform produced by NEC, Panasonic and DoCoMo), in order to improve the structure of codes and the running efficiency, a better method to design and develop the application is highly appreciated.To the mobile phone trade, FSM (Finite State Machine) theory is widely used in hardware programming and telecommunication protocol stack. After careful investigations, it is found that FSM theory is of great value in designing and developing the mobile phone's applications. In the design phase, the complex applications can be described clearly by FSM, which helps a lot to manage the project process in high level and decrease the time of design phase. Also the design based on FSM can be easily maintained. But in the coding phase, to implement the FSM chart is very boring, which decreases the efficiency and paralyzes the good design.In application's coding phase, the FSM's control and implementation are a big problem to ensure the developping efficiency and quality. In this thesis, a general controller called GFSM (Generic Finite State Machine) has been designed and developed in order to implement FSM theory in MOAP application's development. Using the GFSM, the developer can implement the FSM chart made in design phase simply and correctly. With this tool the FSM theory can be used in mobile application's design and development directly.By using the GFSM, the received events can be unified as the GFSM events, which mean that the application can use the same model to process most of the events. If the developer converts the FSM chart created in the design phase to text mode using the GFSM grammar, the application's FSM can be easily generated and controlled by GFSM. This is very useful to application's development. In the design and coding phase, the function part and the state logic part of the application can be generated separately. The developer needn't put his heart into the complex work to control the stats of the applications.In this thesis, the difficulties of implement FSM theory in mobile application's development have been described, as a way to improve the FSM's implement in mobile phone application development, a clear design,definition and implement of the GFSM has been made.Thanks to careful investigation and development, the GFSM has been successfully developed in MOAP platform. Now, the GFSM has been used widely in our related projects. At the end part of this thesis, some key roles of the development based on GFSM and state machine design have been listed.In these works, the idea of using text to describe state machine and the work model of GFSM are made by me. During the development, I have handeled the following tasks: investigating MOAP events and Gtk events, investigating and developing the GFSM events'creation, forward and the control of application's state machine. Also, I have participated in the task of using text to describe the state machine.After a long period of practice, the GFSM implements the FSM theory directly and works well in application's development. With the GFSM, the application's design and developing become easier, the development more efficient, the quality and the reuse percentage of the codes highly increased.
Keywords/Search Tags:fsm, gfsm, event, state transition, moap
PDF Full Text Request
Related items