So if you need to transfer, go to your province first, and then go home.
I have a similar problem. Although there is no through train, the first choice is to go back to Xi 'an first and then to our city. Although the distance is far, the number of trains is long. The second option is to go to the next county and then go back to the city. Because there is only one train, it is very hard to wait in the city center at 2 am and go to the county seat at 6 am.
Both schemes can enjoy preferential treatment, so you can learn from them.