I find it incredibly hard to believe that China has stopped community spread within the country - I hope I’m wrong, but I think we’re getting PRC propaganda when we hear about “all new cases we’re imported”.
You cannot stop this virus unless you somehow tag who is "clean" and who is "infected"
I.e. a solution to this issue would require:
1) Massive testing of everyone. This can be done via a mobile lab or "at home" kit.
2) Issue a clean certificate
3) Division of all areas to "clean" (you can prove that you have been tested) and "infected". For example, you can board a flight or a train only if you are "clean".
In general, the initial test should be done in parallel and hopefully at the same time.
Once this test is done, all the "clean" certificate can be issued and the quarantine can end.
I personally cannot see any other way. I.e. even if you end the quartine after X weeks, the virus will start again.
So the race is either to massive testing or to a vaccine. I think that reaching massive testing is easier.