Smooth trajectory planning given a random path

Hi, I am trying to do trajectory planning for ur5, trying to get a smooth trajectory given a path. As I was searching through the net, I got hold of some methods like phase synchronized trajectory planning given a path.

I was hoping to ask if someone could give me insight on how to go about trajectory planning for any given random path.