generally in the form of variable while cross-page data within browser components are generally stored in Session,these two kinds of data are hard to access and need webpage script code for realization, which increase program complexity and system security risk.
IV. C_B/S MODE ASSIGNMENT
C_B/S mode integrates program structures of three modes:B/S, c/S and Web Service, which provides great convenience for different functional
modules to choose optimum program structures. However, program structures of B/S, C/S and Web Service themselves have shortages so reasonable assignments specific to different modes have become overriding task concerning planning and development of C_B/S mode application program.
A. Functional module with high security requirement is advised to adopt C/S mode
The reason is that, compared with B/S and Web Service,C/S mode can acquire certain security through control of client program deployment object; whereas B/S and Web Service regard wider public users as objects and has comparatively weaker limitation on user scope.
B. Functional module with high data preprocessing requirement is advised to adopt C/S mode
The reason is that C/S mode itself has”fat client” property, namely, it can give more data preprocessing functions to client programs, thereby enhancing data processing performance; whereas B/S and Web Service mainly depend on server to process data and on occasion with many concurrent access users server will become bottleneck of program performance.
C. Functional modules with comparative low requirement specific to public security are advised to adopt B/S and Web Service modes
If there’s no need to execute editing and deleting operation on data and there’s only requirement on modules presented by data, B/S module is the best choice. Because B/S mode could present data with more flexible and diversified styles, enhance users’ using experience and acquire more added values through comprehensive usage of multiple methods such as pictures,diagrams and so on. Yet Web Service is better for realizing application service of common data with public as objects.
Reasonably applying different structure modes could give full play for advantages of modes with multiple program structures and terminally
constitute an application system with higher level than mode with single structure.
V. EXAMPLES
KWorldMgt is an application program designated for copsand-gangsters game and the program structure adopts C_B/S structure mode as showed in Figure 3.
Viewing from Figure 3, partial management functions in KWorldMgt
application program adopt traditional C/S mode structure, which can fully make use of characteristics of C/S system client such as high security and strong data preprocessing capacity. Other partial query modules
directly integrate corresponding query WebPages at official websites and could solve problems including deployment, update and upgrade of application query modules.
In addition, this application program equips with multiserver groups to solve the bottleneck problem concerning response performance caused by multiple of users’ visiting.Coordination and load balancing of these multi-server groups are realized through Web Service of integrated central server.Realization processes are showed in Figure 4.
Viewing from Figure 4, while a player logins through client program, login module submits encrypted user’s login information (username and keyword) and user’s zone information to Web Service of the central server. Central server uniformly manages data and server information of all players,verifies user’s login information, compares user’s zone information and load status of zone server groups, sends connection information of the server group with better performance to client, then establishes connection between client and server group and realizes corresponding game and data management functions.
Server groups also coordinate with central server synchronously and real-timely specific to user’s data and load information of server groups, which could thereby ensure consistent data and coordinating load of respective server groups.
Operation of KWorldMgt application system shows that application program structure of C_B/S mode could reduce workload concerning development of application program,simplify program complexity, enhance program operating performance and it has better performance compared with separate realization via C/S, B/S or Web Service.
Figure 3. KWorldMgt program based on C_B/S mode
Figure 4. Multiserver coordination based on Web Service
VI. CONCLUSION
Mixed C_B/S mode is based on the three program structure modes: C/S, B/S and Web Service and could inherit advantages of the aforesaid three modes, which has great enhancement in aspects of executive performance and deploying convenience and provides a new structure mode for development of application program.
However, C_B/S mode is still in its infancy and has to solve problems including organic integration of the three modes and overcoming inherent shortages of C/S, B/S and Web Service.
外文翻译考核表
指导教师对外文翻译的评语: 指导教师 (签名) 年 月 日 评阅小组或评阅人对外文翻译的评语: 建议成绩 评阅小组负责人或评阅人 (签名) 年 月 日 建议成绩