[C:1](=[O:4])([OH:3])[OH:2].[CH2:5]([OH:11])[CH2:6][CH2:7][CH:8]([OH:10])[CH3:9].[CH2:12](O)[CH3:13]>>[C:1](=[O:3])([O:2][CH2:12][CH3:13])[O:4][CH2:5][CH3:6].[C:1](=[O:2])([OH:4])[OH:3].[CH2:5]([OH:11])[CH2:6][CH2:7][CH:8]([OH:10])[CH3:9]Adding 1,4-pentanediol carbonate and ethanol in a tubular ester exchange reactor; then adding the prepared metal-rare earth oxide composite catalyst, uniformly mixing and performing an ester exchange reaction, then distilling the reaction product to obtain diethyl carbonate, wherein the mole ratio of 1,4-pentanediol carbonate to ethanol is 1:10, and the weight ratio of the metal-rare earth oxide composite catalyst to the total weight of 1,4-pentanediol carbonate and ethanol is 1:100; the ester exchange reaction is performed at a temperature of 180° C. and under an absolute pressure of 2 MPa for 10 minutes; in the ester exchange reaction, the conversion rate of 1,4-pentanediol carbonate is 100%, and yield of diethyl carbonate is 95%.