However, primary and middle schools, especially those for children of migrant workers in Beijing, have to pay security guards with their own money.
Zhang Gezhen, principal of Mingyuan School in Haidian district in Beijing, said his school for migrant children has four security guards.
"The wage bill of security guards is a considerable expense for the school as we had to rely on tuition for all expenses. I hope the authorities or non-government organizations will help cover the expenses," he said.
By the end of 2013, Shanghai will provide all its schools and kindergartens with monitoring devices and security personnel, the municipality's education commission said on Thursday.
Since last year, Shanghai has been working to improve security in schools and kindergartens.
Each school and kindergarten will have three or four security personnel, who will receive training from a professional security company.
Schools and kindergartens are also required to strengthen monitoring, and to equip their campuses with alarms and monitoring systems.
By the end of last year, a total of 13,655 security personnel had been allocated to 3,290 middle and primary schools and kindergartens, according to the Shanghai Municipal Education Commission.
A remote control security network has been established by the education and public security authorities, linking the city's 13 districts' schools and kindergartens.
By the end of this year, the rest of the schools and kindergartens in the city will also have finished the security upgrade work and joined the citywide network.
You may not leave a city because of cold but it may reduce your feeling of happiness.