How to create a closed bspline curve?

How to create a closed bspline curve like the attached file? the endpoint connect smooth。

Attachments: