The invention discloses an ultra-precision machining technology for an aluminum alloy die-casting gearbox valve sleeve. The ultra-precision machining technology comprises the following steps that firstly, smelting is conducted; step 2, die casting; step 3, aging; step 4, shot blasting; 5, rough machining; step 6, finish machining; seventhly, magnetic polishing is conducted; step 8, cleaning; step 9, oxidation; and step 10, packaging. The polishing machine has the beneficial effects that multiple effects of deburring, chamfering, polishing, cleaning, environmental protection and the like can be achieved; the grinding and polishing device is suitable for grinding and polishing nonmetal workpieces such as metal workpieces, hard plastic workpieces, ceramic workpieces and silicon wafers; irregular parts, hole-shaped parts, pipe-shaped parts, cracks and the like can be polished, polishing is free of dead angles, the ground workpieces are never deformed, the surfaces are never damaged, and the precision is never affected; customization time is short, processing speed is high, and operation is easy and convenient; variable frequency adjustment is achieved, various polishing requirements are met, and voltage, current, frequency and time can be monitored.