Finding the Best Path for Patent Registration