Public shaming has a history in both domestic and international Chinese politics (c.f. PRCs repeated references to Japan's war legacy). Domestically it has been part of the construction of Chinese nationalism, particularly as mentioned, during the Cultural Revolution.
The interesting thing will be to see how the public outcry against this kind of punishment will affect civil rights in the PRC.