The defending champion, 43, put together runs of 69, 80, 69, 65, 143 and 132 to whitewash 25-year-old Yi.
Zhang, who qualified for the tournament with victory in the Shanghai Amateur Masters, had no answer as the Rocket turned on the style, and the five-time world champion will face the winner of Kyren Wilson in the quarter-finals, who beat Xiao Guodong 6-4.
World Championship
Key dates and schedule for 2022-23 snooker season as O'Sullivan defends world crown
13/05/2022 AT 11:44
Earlier, 2005 world champion Shaun Murphy put together the highest break of the tournament – a 136 – as he beat 2018 world champion Mark Williams 6-5.
In a high calibre match, runs of 136, 66, 123, 70 and 56 were enough to see the Magician past Williams, himself who made 69, 54, 63, 98 and 57.

SHANGHAI MASTERS

ROUND 2
Ronnie O'Sullivan 6 – 0 Zhang Yi
Shaun Murphy 6 – 5 Mark J Williams
Jack Lisowski 6 - 3 Mark Selby
Kyren Wilson 6 - 4 Xiao Guodong
ROUND 1
Liang Wenbo 6 – 4 Stuart Bingham
David B Gilbert 6 – 0 Cao Jin
Snooker
World Championship qualifiers to be played over 19 frames
13/05/2022 AT 07:43
Snooker
Opinion: O’Sullivan has found a formula for success that can bring more glory
12/05/2022 AT 13:11