Patents invented by the company

I'm afraid it depends on whether you still use the materials, facilities and equipment of the enterprise in your spare time. If it is completely working hours, do not use any materials, materials, facilities and equipment of the enterprise. It should be your own invention patent, and the income belongs to you. If you use the relevant materials, facilities and equipment of the enterprise during working hours, you need to negotiate with the unit. It seems that enterprises can't completely take the benefits for themselves. In addition, was there any relevant contract or agreement at the beginning? Also, this is not the work task assigned by the unit to the researcher. We need to make a comprehensive judgment based on the above situation.