Yan Shuning, a graduate student in the Department of Modern History, accidentally touched a mysterious jade pendant while studying ancient buildings in the library, traveled to the fictional dynasty Dasheng, and became the son of Lord Yan, the minister of the Ministry of Industry. When he first arrived in ancient times, he was chased as a spy because of his strange clothes. In a panic, he hid in the carriage of the Jin Dynasty. The cold-faced prince Qi Tianche discovered that this "spy" could accurately point out the safety hazards of the palace's buildings, and decided to temporarily keep him to find out his identity. Yan Shuning relied on his professional knowledge to resolve the impending eaves collapse crisis in the palace, which aroused Qi Tianche's keen interest.