legal ground
Article 4 of the Measures of Shanghai Municipality for the Administration of Residence Permit
The city has established and improved a unified real population information management system. Public security, housing and urban construction, human resources and social security, education, health and family planning, industry and commerce, civil affairs, economic informatization and other departments should promote inter-departmental information system interconnection and data exchange, and realize the application of information related to population services and management such as housing, employment registration, social insurance, residence permit points, academic qualifications, industrial and commercial registration and marriage registration.
Article 5
Domestic personnel coming to Shanghai shall, in accordance with the relevant provisions of the state and this Municipality, apply for residence registration at the community affairs acceptance service center of their current residence; In accordance with the provisions of these measures, you can apply for a "residence permit".