This document discusses patenting software in China. It notes that patents provide the best protection for software over copyright or trade secrets. It then provides guidance on how to draft a patent application for software-related inventions in China to overcome various barriers during examination related to eligibility, clarity, support, novelty and inventiveness. Key points discussed include requirements for the subject matter to demonstrate technical features and solutions, how to address concerns over solely computer program-based claims, and examples of claim language that clearly define the technical implementation. The document aims to help foreign companies understand Chinese patent law as it applies to software and effectively acquire strong patent rights in China.