Shi Jingxian, a modern social worker who lives alone, travels through the Qing Dynasty while sleeping, and exchanges souls with the deposed prince Yinfeng due to an accidental collision of heads. Shi Jingxian, who originally just wanted to lie down and save her life, was forced to bear Yinreng's identity and face Yinfeng's frame-up, Kangxi's temptation and the danger of the nine sons seizing the throne; and the arrogant and noble Yinreng had to adapt to the new situation in Shi Jingxian's female body. The two went from being hostile to each other to being forced to cooperate. Shi Jingxian worked step by step with modern thinking, trying to rewrite the tragic fate of the deposed prince. In the process, there were daily light comedy plots, power games and misplaced emotions intertwined.