tū​fā​qí​xiǎng

to have a sudden flash of inspiration