As the name implies, selling intangible assets and patents cannot be your "main business". Look at your business license. The things registered above can be regarded as your main business, and the income can be regarded as the main business income. No company will take the sale of intangible assets and patents as its daily business project.
Similarly, when selling fixed assets, the recovered residual value is included in non-operating income and expenditure after deducting disposal expenses.