China thinks India is democratic mess, without seeking to understand why it is a democracy in the first place. The view has been changing in recent years, according to Richard McGregor, the author of The Party: The Secret6 World of China's Communist Rules.
India's nuclear bomb gained New Delhi respect in Beijing. Chinese strategists complained that Beijing did not respect New Delhi until India had the bomb. They believed that China should have tried to engage India much earlier than that. India's technological advances and companies have helped change the country's image in China.
Full report here Silicon India