Chinese nationals have frequently come under attack from terrorists and separatist groups in different parts of the country.