A federated anti-forgetting representation method based on hybrid model architecture and gradient truncation