How long is it safest to apply for a practical invention patent?

it is safe to apply for a utility invention patent until the patent is terminated. According to the relevant information, the term of patent right refers to the legal expiration and termination time of patent right. From the date of the announcement of the authorization of the patent right, if the patent right is not terminated due to other reasons, the patent right will be terminated on the date when the patent right expires. According to the provisions of the patent law, the term of invention patent is 2 years. The term of utility model patent and design patent is 1 years, counting from the date of application.