China's Defense Minister Wei Fenghe
China's Defense Minister Wei Fenghe speaks during a meeting with US Defense Secretary Jim Mattis at the Bayi Building in Beijing, China, June 27, 2018. Mark Schiefelbein/Pool via REUTERS

Chinese Defence Minister Wei Fenghe has accepted an invitation to visit India and plans to do so by the end of this year, China said on Thursday, as a rapprochement between the two giant neighbours gathers pace.

Chinese President Xi Jinping and Indian Prime Minister Narendra Modi agreed in April to open a new chapter in ties, just months after a dispute over a stretch of their high-altitude Himalayan border rekindled fears of war.

Speaking at a regular monthly news briefing, Chinese Defence Ministry spokesman Ren Guoqiang said both countries were currently in communication about Wei's visit but gave no other details.

Hundreds of troops from both sides were deployed in 2017 on the Doklam plateau, near the borders of India, its ally Bhutan, and China after India objected to Chinese construction of a road in the Himalayan area in their most serious standoff in years.

India China border
Even though the Doklam standoff was resolved on August 28, and the Indian and Chinese troops had withdrawn from the border, tension in the region continues. [Representational image]Reuters

There is still deep mistrust between the two neighbouring countries over a festering border dispute, which triggered a brief war in 1962.

Ren added that Major General Liu Xiaowu, deputy commander of China's western military region, had also visited India from July 2-6, for meetings with his Indian counterparts.

During his trip, India and China reached broad consensus about improving front-line risk management, the need to maintain peace and stability along the border and strengthening of exchanges between their two border forces, Ren said.