It comes as tensions between Beijing and the West are in focus as the US secretary of state visits China.