NOVELTY - A titanium salt and solvent are added and stirred, to obtain transparent titanium dioxide sol-gel. The surface active agent is stirred, to obtain nano titanium dioxide powder. The titanium dioxide sol-gel is ground, to obtain titanium dioxide paste. The obtained paste is coated, dried and cooled, to obtain titanic dioxide thin film. The film is soaked in noble metal salt solution, to obtain noble metal deposited titanium dioxide film, which is provided in dye sensitizer solution and dried, to obtain dye-sensitized noble metal deposition titanium dioxide optical anode.    USE - Preparation of dye-sensitized noble metal deposition titanium dioxide optical anode.    ADVANTAGE - The dye-sensitized noble metal deposition titanium dioxide optical anode is efficiently prepared.    DETAILED DESCRIPTION - A titanium salt having concentration of 0.5-2 mol/L and solvent are added at room temperature and stirred for 15-20 minutes for hydrolysis reaction, to obtain transparent titanium dioxide sol gel. The titanium salt is added into hydrochloric acid solution (1-4 mol/L), and surface active agent and titanium salt are added in the volume ratio of 500-300:1, fatty alcohol polyoxyethylene ether AE0-3 is added and stirred uniformly. The aqueous ammonia (3-5 mol/L) is dropped having pH value of 6-9, continuously stirred for 0.5 hours, standard for 20-24 hours, washed using deionized water for 3-5 times, and then exchanged with absolute ethyl alcohol at 450-500 degrees C for 1 hour and dried at 50 degrees C for 40-48 hours in oven, to obtain nano titanium dioxide powder. The obtained powder is provided, to obtain titanium dioxide sol-gel in the mass ratio of 1:1-5. The obtained gel is ground, to obtain titanium dioxide paste. The titanium dioxide sol-gel is uniformly coated to clean the cleaned conductive substrate dry, then titanium dioxide paste is uniformly coated to the sol coated on the conductive substrate, dried at normal temperature, heat-treating at 300-600 degrees C for 30-90 minutes and cooled to room temperature, to obtain titanic dioxide thin film. The film is soaked in noble metal salt solution (10-5 to 10-3 mol/L), irradiated for 5-30 minutes and dried at normal temperature, to obtain noble metal deposited titanium dioxide film. The obtained noble metal deposition of titanium dioxide film is provided in dye sensitizer solution for 12 hours, and dried by nitrogen using the anhydrous ethanol, to obtain dye-sensitized noble metal deposition titanium dioxide optical anode. The dye sensitizer solution is 4,4-bipyridine-dicarboxylic acid-ruthenium ethanol solution having concentration of 5\10-4 mol/L. The titanium salt is titanium tetrachloride, propoxyphene alcohol titanium, tetrabutyl titanate, tetraisopropyl titanate, titanium sulfate ester and/or tetrabutyl sulfate. The solvent is water or ethanol. The conductive substrate is fluorine-tin oxide-doped conductive glass, indium-tin oxide-doped conductive glass and/or indium-tin oxide flexible conductive glass. The noble metal salt is silver nitrate, hydrate chloroplatinic acid, platinum nitrate, copper nitrate, copper chloride, hydrate gold chloride or gold chloride.