An implementation architecture of knowledge-based system for engine diagnosis