文摘
OSGi-based cloud platform has the advantages of dynamic update, real-time monitoring. It brings convenience to cloud service. But the research of OSGi-based cloud platform doesn’t get the attention it deserves now and the service diagnosis and fault recovery for the OSGi-based Cloud Platform haven’t been researched systematically, especially in the resource conflicts among services, fault diagnosis and handling. These issues generally require users’ interaction, increase the users’ learning curve, which may turn out to be a waste of time. This paper divides those faults on the OSGi-based cloud platform into several models, and presents an approach to resolve them. Our method can detect service conflicts, handle exceptions, and diagnose service errors. And this method is proved by our experiment that can diagnose faults, repair faults, and send notifications to users, even at running time.