Shen Xingwan, a technology company CTO obsessed with ancient machinery, accidentally traveled to the Tang Wuzong period while testing a temporal resonance device, and became the daughter of the Minister of Industry who was exiled because her father was involved in a court struggle. She discovered that the only energy source that could activate the return device, the "Tianshu Core", was locked in the royal secret box deep in the Daming Palace. In order to get close to the secret box, she was forced to form an alliance with the Turkic proton Ashina Yao. On the surface, he was a playboy, but in fact he was lurking in Chang'an to recover the national treasure "Sunstone". The two began to use each other in intrigues and gradually fell in love. However, when Shen Xingwan finally stole the secret box, he discovered that the "Tianshu Core" had long been made by Wu Zong into a magic weapon to control people's hearts. Her time travel was not an accident, but a century-old trap set by the emperor to obtain future technology. In order to save her, Ashina Yao reveals his true identity and is listed as the number one assassin of the emperor. Shen Xingwan must make the final choice between activating the device and escaping alone, or leaving behind to destroy the magic weapon, save his lover and change history.