The Bush administration said Tuesday that China has agreed to crack down on copyright piracy of American computer programs and lift a ban on U.S. beef as part of an effort to reduce a record $202 billion trade gap.

The announcement was one of several commitments China made during a high-level meeting designed to reduce trade tensions in advance of next week’s U.S. visit by Chinese President Hu Jintao.