As for the patent, you have a technical solution. As long as you find an agency according to your skills, you can write an application!
The company should be relatively simple. As for patents, it's hard to say. It depends on whether your technical scheme can meet the requirements, whether to apply for invention patent or utility model patent, and other related issues! !
I hope I can help you, welcome to ask and hope to adopt.