Service Conflict Detection and Avoidance Based on Scene with Urgency Degree

Service conflict is an essential issue in smart home automation, which causes the service execution inefficient and inconvenient. In this paper, we propose a conflict detection and avoidance schema based on scene with urgency degree. First, we classify services into five categories. Users can customize their specific scene using different categories of services which can be set with their own urgency degree. Second, we propose a formal service model, ETA, which includes environment variable, trigger and actuator to describe each service. In the design phase of a scene, we use ETA model to detect conflict among the services with same urgency degree. While in the execution phase of a scene, it is effective to avoid service conflict by using its higher urgency degree to choose which service can be executed properly.