Designing a context-aware cyber physical system for detecting security threats in motor vehiclesстатья