As the United States and Europe struggle to get their economies rolling again, China is having the opposite problem: figuring out how to keep its revved-up growth engine from generating runaway inflation.