An extended engine design to estimate the rule of power switch
Yin Feng-yua · Journal of Anhui Polytechnic University · 2014
In order to achieve a flexible software system expansion,improve dynamics and scalability,etc,an extended engine to estimate the rule of power switch is proposed,and deleting,inserting and modifying estimation rules of the switch is permitted while the program is executing.The Open-Closed Principle and Java Reflection Mechanism are introduced into the design of the engine.Rule of switch estimation is set by the configuration profile which can be allocated by users.The capability of the switch to load the rules,discovery and self-examination can be achieved by importing the reflection mechanism to configuration files.The scalability of the rules in power switch estimation is enhanced by decoupling the design of switch rules and the achievement of application in the structure of the engine.