Attempting to avoid infringing software patents like this is an absolute waste of time. There are vast amounts of terrible patents covering everything you do, and even if you don't technically infringe the mere allegation that you do by a patent troll is enough of a threat to make settlement more profitable. That's why it's been compared to extortion.