It's something I want to do, but it seems expensive. For example, I read that "In 2013 it cost $33,000 to file a software patent." at https://news.ycombinator.com/item?id=29115703