Through investigating the flora of the ruderal in the urban area of shanghai , this paper analyzed the diversity of ruderal influenced by rapid urbanization , and studied the charateristics of ruderal adapt to the urban habitats with high heterogeneity .