A Novel Knowledge-Based Federated Deep Learning Approach For Enhancing Security And Privacy Preservation In Iot Edge Computing Applications