An Intelligent Control Architecture for Adaptive Service-Based Software Systems with Workflow Patterns