As a local chinese who already graduated from public university and plan to study master in SA, i must say no matter which kind of race you're, where're you come from, it's absolutely safe to travel to china. Although some of us show discrimination to others but it's only due to stereotypes, not for your single individual. You can be well mannered and always give others a simple smile, even if you cant say Chinese, you'll be treated nicely wherever you go across China! Here people are friendly, you just need to be respectful! Btw, learning simple Chinese greeting words can definitely improve your travel experience!