| With the scale and function of the distributed software system becoming more big and complex, the traditional dynamic regulation of software can no longer satisfied the demand of morden distributed software system. Traditional dynamic regulation mainly aimed at small software, and the regulation method is simple and mainly rely on artificial regulation. And the effectiveness after regulation are often associated with the software level of managers, and most time the effect are bad. It was caused by the manager's negligence and errors in the process of regulation.Against the inadequacy of the traditional regulation method, this thesis present a policy-divern dynamic regulation method. The target system is easy to become inconsist in the process of dynamic regulation, so it's necessary to ensure the regulation is correct. The correctness of regulation include that structural integrity, results reaching, interactive consistency and performance reasonable. Based on this correctness, this thesis then prensent the method of policy-expression and policy-handle. Policy-divern means that the dynamic regulation was triggered by policy instead of artificial, and then the thesis giving the action-policy, goal-policy and utility-policy. Base on the changing of running envirenment and analysis of running errors, the system must select the right policy to guid regulation. The process that how to select the right policy was called decision-making, and action-policy, goal-policy and utility-policy can convert to each of them. The thesis given a goal elaboration method and its algorithm which base on reasoning rules. The results of elaboration is a sequence of basic action-policy which can direct the dynamic regulation.A policy-drivern dynamic regulation model and policy processing engin were desgined in the thesis. And two dynamic regulation methods called stagnation waiting and running stop were presented. These two methods can meet the need of interactive consistency, and the six basic regulation acions were designed based on them. The algorithm of these actions are adding component, delete component, replacing component, moving component, adding link and delete link. This algorithm satisfied the correct requiremnet in the process of regulation.A dynamic regulaion system was developed based on J2EE platform. The DI containers and AOP framework are the main methods of how to realize the dynamic regulaion system. All the realization details of regulation mechanism were introduced at last. |