Circular current in a one-dimensional open quantum ring in the presence of magnetic field and spin-orbit interaction