A Capital Airlines Bejing Airbus A320-200, performing flight JD-5158 from Kunming to Hangzhou (China) was climbing through about 6700 meters (FL221) when the crew initiated an emergency descent due to the loss of cabin pressure. The passenger oxygen masks were released. The aircraft returned to Kunming for a safe landing about 40 minutes after departure.