Text this: Collaboration of IoT devices in smart home scenarios: algorithm research based on graph neural networks and federated learning