Whether it is business for civil servants to promote their own patents depends on different situations. It is certainly feasible to share dividends (that is, technology shares) in the process of patent transfer, because they directly participate in business activities and make profits in patent promotion, which violates the relevant management measures of civil servants in China. If you choose a one-time transfer, the situation will be slightly better if you receive the transfer in one lump sum during the transfer process, but it is not illegal, and there is no clear regulation yet.
Article 3 1 of the Provisional Regulations on State Civil Servants: Article 13 stipulates: "Run an enterprise through business and participate in other profit-making business activities"; Article 49 stipulates: "State civil servants shall not hold concurrent posts in enterprises or profit-making institutions".