The background of the fortress written by Wang Changling.

The background of the poet's fortress writing period includes frequent border wars, strong national self-confidence, desire for peace, and the poet's personal experience.

1. Frequent border wars: The Tang Dynasty won many foreign wars, especially against the nomadic people in the north, which strengthened the country's border defense to some extent.

2. The whole nation has strong self-confidence: The Tang Dynasty in this period was a world power, with strong national strength and cultural influence, so the people had strong self-confidence and pride.

3. Longing for peace: Although many victories have been achieved, frequent wars have also brought heavy burdens to the people, and people long for a stable and peaceful environment.

4. The poet's personal experience: Wang Changling personally went to the Western Regions to experience the military activities and life in the frontier, which provided direct material for poetry creation.