Bytecode-based software monitoring and trusted evolution programming framework
Point to reliability of distributed software in open complex environment, this paper proposes a bytecode-based software monitoring and trusted evolution programming framework, which injects monitoring ability and evolution ability into the software in construction and running phase. The framework is comprised of three module, business-logic and monitor-requirement description module (BMDM), monitoring capability infusing module (MCIM), and online evolution module (OEM), BMDM provides monitoring requirement expression language MRL+, MCIM compiles monitoring requirements monitoring requirement into aspect code, insert aspect code into source system by bytecode-based AOP technology, generate the target system with monitoring ability, and send monitoring information to OEM by event. OEM compares the state event with predefined evolution rules, when the predefined rules are triggered, perform the evolution actions, achieve real-time system's monitoring and correction. Finally, actual cases are analyzed to show that the framework can construct reliability software with monitoring ability and evolution ability efficiently.