Abstract:Emergency drill system for accidents in production practice of emergency management has important guiding significance, and role system is the core of the drill system, which provides the scene interactive objects for drill system. This paper, which based on the emergency drill system requirements and architecture, uses object-oriented design method to design a universal role system structure, including the design of role class, the design of skills as well as the design of data of the algorithm of management. This paper expounds the main function of role system and designs process of role system and solves the role of the reusability, coupling. At the same time, it can be dynamically bound role skills and data attributes, improve and enrich the role system through the data configuration. Finally, this paper introduces the specific application of the model and advantage of role system.