Patents are an effective way to secure a competitive advantage.