Zhang Peiyi, a Shanghai resident, has been fighting for custody for her two children from a former marriage in a case that has lasted for more than four years.