基于Quartz和Spring设计了一种针对彩铃Web服务器的定时调度框架.并举例说明该框架在彩铃业务中的应用.该框架与Servlet容器脱离,以独立的进程驻留系统,框架的启动停止由脚本控制.框架采用了分层体系结构,使用了IoC的设计思想,定义了方便用户实现不同功能的任务接口,设计了任务开发、部署和维护的全过程,并加入了任务单次执行的功能.
A timed scheduling framework for CRBT Web Server is presented on the basis of Quartz and Spring. The framework, which residents in the operating system as a standalone process, is out of the Servlet container. The startup and shutdown is controlled by scripts. The framework used the layered architecture and introduced the inversion of control ideology; It defined several job interfaces which provides the framework users different functions; It designed the work flow for the development deployment and maintenance of a scheduling job and additionally added the job-once-execution module.