In 2077, while sorting out his grandfather's belongings, quantum physicist Lin Jiuyuan discovered a Dunhuang star map that contained the quantum entanglement formula. His AI assistant "Mogao" suddenly awakens and warns mankind that dimensional collapse will occur in 30 days due to the Space-Time Administration's consciousness immortality experiment. The only chance of survival is to repair an unfinished mural painted in 790 AD - with every additional stroke in the painting, a corresponding crack in time and space will appear in the modern world.
When Lin Jiuyuan returned to the prosperous Tang Dynasty by projecting his consciousness through a quantum collider, he discovered that Pei Wuyi, the author of the mural, was actually his genetic homologue. In order to repair the murals of the Mogao Grottoes, this Dunhuang craftsman used star sand to refine "time sand" that can reverse time, but he was involved in a three-way game between Tubo spies, court spies and Western warlocks. The two travel between time and space anchors, not only to decipher the Sanskrit code of the "Diamond Sutra" to prevent causal shock, but also to fight against the mysterious organization "Black Lotus Society" that attempts to use time sand to rewrite history.
As the truth emerged, Lin Jiuyuan was shocked to realize that his grandfather was the founder of the Space-Time Management Bureau, and that Pei Wuyi's murals actually contained the ultimate code of human civilization. When the antimatter tide surges at the end of time, he must make a choice between quantum suicide and self-destruction - to save the ones he loves, or to sacrifice the individual for the survival of all mankind?