An effective and efficient green federated learning method for one-layer neural networks