The large-scale measurement of galaxy redshifts holds significant importance for cosmological research, as well as for understanding the formation and evolution of galaxies. This study utilizes a known sample obtained by cross-correlating the Dark Energy Spectroscopic Instrument (DESI) Legacy Imaging Surveys DR10 galaxy catalog with various galaxy catalogs from different spectroscopic surveys. The methods Easy and Accurate Photometric Redshifts from Yale (EAZY) and CatBoost are employed to estimate redshifts. In the case of EAZY, the known sample is used solely for testing, while CatBoost utilizes it for both training and testing purposes. The known sample is categorized into different subsamples based on various classification methods. Several CatBoost regression models are trained and optimized using these subsamples. By comparing the performance of different methods and models, it is observed that the two-step and two-part models outperform the one-step model, with further enhancements achieved through the combination of the two-step and two-part models. Based on the findings from all experiments, we propose a photometric redshift estimation workflow designed to facilitate the photometric redshift measurement of all galaxies within the DESI Legacy Imaging Surveys DR10. Consequently, a photometric redshift catalog has been released, comprising a total of 1,533,107,988 galaxies. Among these, 312,960,837 galaxies have reliable redshift estimates, determined using the CatBoost algorithm, with magnitude limits set at g > 24.0, r > 23.4, and z > 22.5. For galaxies with g, r, and z magnitudes exceeding these thresholds, the photometric redshifts estimated by EAZY can be employed as a reference.