How long are the terms of protection of Chinese invention patents and utility model patents?

The term for invention patents in China is 20 years from the filing date. The term for utility model patents is 10 years from the filing date.