What literary rhetorical devices did Du Fu use in this poem?

Metaphor, analogy, metonymy, exaggeration, duality, parallelism.

Original text:

"Two orioles sing green willows, and egrets cover the sky."

My window framed the snow-covered western hills. My door often says "goodbye" to ships sailing eastward.

Vernacular translation:

Two orioles sang tactfully among the green willows, and a group of neat egrets went straight into the blue sky. Sitting by the window, you can see the snow accumulated all the year round on Xiling Mountain, and ships from Dongwu, thousands of miles away, are parked in front of the door.

This article is from Tang Du Fu's quatrains.

Extended data writing background:

Jueju is a set of poems written by Du Fu, a poet in Tang Dynasty. This is a group of poems about objects, which write a group of spring scenes full of business in natural and fluent language, with fresh style and bright artistic conception, expressing the poet's happy mood of loving nature. This poem vividly and naturally depicts the beauty of spring scenery full of vitality, and reflects Du Fu's leisurely feelings arising from his temporary quiet life in the thatched cottage after wandering hardships.

This poem was written in the spring of 764, the second year of Guangde, Tang Daizong. In the first year of Baoying, Tang Suzong (762), Chengdu Yin entered the DPRK, and turmoil occurred in Shu. Du Fu once avoided Zizhou (treating Santai in Sichuan). In the second year, the Anshi Rebellion was put down. A year later, Yanwu returned to Chengdu and went to Shu again. Du Fu learned the news of this old friend and followed him back to Chengdu Caotang.

At this time, Du Fu's mood was particularly comfortable. Faced with a vibrant scene, he couldn't help writing this group of impromptu poems. Du Yi of Wang Siyuan in the late Ming Dynasty said that this group of poems was "built after living in the thatched cottage, and it is planned to spend the rest of my life here, but I said so".

About the author:

Du Fu (7 12-770), with beautiful words, tried to call himself Shaoling Night Old. Take Jinshi as an example. He used to be a foreign minister in the school department, so he was called Du Gongbu internationally. He is the greatest realistic poet in the Tang Dynasty, and is known as the "poet saint" after the Song Dynasty, and is also called "Du Li" with Li Bai. His poems boldly exposed the social contradictions at that time and expressed deep sympathy for the poor people.

Many excellent works show the historical process of the Tang Dynasty from prosperity to decline, which is called "the history of poetry". In art, he is good at using various forms of poetry, especially rhythmic poetry; Various styles, mainly depression; Refined language with high expressive force. There are more than 1400 poems, including Du Gongbu Collection.