The aluminum-silicon alloy used as a cylinder can be electrochemically treated to etch the surface aluminum and retain the primary silicon particles embedded in the matrix on the inner wall of the cylinder, and its scratch resistance and wear resistance are significantly improved. Among them, alloys with a silicon content of 11% to 13% have become one of the best piston materials due to their light weight, low expansion coefficient and high corrosion resistance.