Abstract:Considering the complex relationship between the various components of software components, not clear responsibilities, this paper introduces aspect-oriented programming technology and proposes a kind of reusable and hierarchical aspect-oriented software implementation framework—R-AoSAS (Real-time Aspect-oriented Software Architecture Style) for the facing of vending machine real-time system in software development. This framework can effectively separate functional components and non-functional components. In order to bind or combine functional components and non-functional components, this framework can call aspectual Join Point as their interface. When applying R-AoSAS to software development, we may use time-management model and task-scheduling model supplied by the core control layer of R-AoSAS, to meet non-functional requirements such as timing, task creation and task scheduling, thus improving quality and reusability of software. In order to validate the functions of R-AoSAS, this paper introduces this framework to the design of the money management system. This application of the system has fully reflected the prospect of application.