With the rapid progress of big data and artificial intelligence (AI), personal privacy is under unprecedented threat. This study successfully combines federated learning with advanced technologies such as differential privacy, secure multi-party computing and homomorphic encryption, which opens up a new path for privacy protection. In the experimental part, the scientific experiment is carefully designed and verified by the Canadian institute for advanced research CIFAR-10 and modified national institute of standards and technology Database (MNIST) data sets. CIFAR-10 data set contains 60,000 color images with 32 × 32 pixels, covering 10 categories, and is a classic data set in the field of image classification. The MNIST data set contains 70000 handwritten digital images with 28 × 28 pixels, which is a classic data set for handwritten digital recognition. These two data sets are chosen because they have a wide range of application scenarios and representativeness in the fields of image processing and pattern recognition. The experimental results show that on CIFAR-10 data set, after applying privacy protection technology, the accuracy of the model only decreases by about 2.5% - 3.3%, and the training time increases by 0.6 - 1.0 hours. On the MNIST data set, the accuracy of the model only decreases by about 1.0% - 1.2%, and the training time increases by 0.1 - 0.2 hours. At the same time, the intensity of privacy protection is significantly improved, and the risk of data leakage is greatly reduced. These data show that although the privacy protection technology has some influence on the performance of the model, it is still within the acceptable range and can effectively protect users' privacy. This result provides important enlightenment for privacy protection in practical artificial intelligence systems.