PTT(Push-To-Talk) user's information management system is a server application program, which is realized through expanding HttpModule of ASP.NET. The cell-phone can carry on one group of groups and management that tabulates through this system. This system is designed and realized based on studying PTT relevant key technology, including architecture, signaling, and implementations of server and terminal. The systematic structure is divided into 5 big modules, IMServer module, authorization module, action module, log module, data access module. Among these modules, log module and data access module offer the service that write down log, visit the database and produce XML(Extensible Markup Language) file for other three pieces of the system. IMServer module, authorization module are logic part of the system. The request is dealt with through these three steps one by one. Thus, the system realizes the separation of control.IMServer module finishes inspection of request from users, and analyzes information of request and authorization. Authorization module checks the user by digest access schema which calculates the hash value of user's password. The value will be transmitted on the net safely. Action module realizes the treatment to users' request by visit data access module. According to the result of returning, action module will send different processing yard and describe information to users. The log module is divided into safe record, debugging record and trace record. Data access module utilizes storing process to visit database which return error code or XML file. Because the authorization module and action module are more complicated than others, they are designed by strategy pattern and factory method pattern which can improve systematic expansion ability and flexibility. |