To rack one's brains
As a Chinese idiom, Pinyin is d ā NJ ī NGJ í L ǜ, which means exerting wisdom and energy. It's from reading in Hanlin Academy.
The origin of Idioms
Zhang Juzheng of the Ming Dynasty wrote in the book of reading in the Hanlin Academy: "it's not wise for the sage to do it with all his might to train the emperor."
Analysis of Idioms
A close synonym: to think deeply
Idiom usage
Used as a predicate or object; used for thinking
To rack one's brains
desist from military activities and encourage culture and education - yǎn wǔ chóng wén