Two-Level Privacy-Preserving Framework: Federated Learning for Attack Detection in the Consumer Internet of Things | IEEE Journals & Magazine | IEEE Xplore