The method includes following steps: (1) preparation of self-assembly substrate, offering a P type Si(100) substrate that is treated by ultrasonic in organic solvent; after treated by placing into Piranha solution, and it is dried by blowing non-oxidizability gas, and then is treated by OTS solution and is cleaned up by using organic solvent; (2) nano-line etching, the nano-line is etched on self assembly substrate by using current of conduct atomic force microscope, the radius of curvature of pinpoint is less than 50 nm; (3) nanometer generating, the etched substrate is placed in the silver acetate for dipping, and then is taken out to place in ethanol in short time, and then is placed in sodium borohydride aqueous solution for dipping, washing, and then is dried by blowing non-oxidizbility gas, finally the silver enhancement solution is inputted for heighten the electrode line.