The specific public security bureau is generally under the leadership of the local government and under the guidance of the superior public security department and the public security bureau. The highest organ of public security organs is the Ministry of Public Security, which, under the dual leadership of local governments and public security organs at higher levels, leads public security work throughout the country, including public security organs at all levels. The duties of public security organs are: to prevent, stop and investigate illegal and criminal activities; Preventing and combating terrorist activities; Maintain social order and stop acts that endanger social order; Manage traffic, fire fighting and dangerous goods; Manage the household registration, identity card, nationality, entry and exit, residence and travel of foreigners in China; Maintain the social order of the country (border).