City organization and residents behavior are one of the key researches in urban geography. With the rapid development of information technology, the impact of residents spatial and temporal behavior on urban spatial organization and structure shows a growing trend, therefore in-depth analysis of the spatio-temporal behavior of city space and urban residents has high research values. After the acquisition of Hangzhou mobile network traffic logs, the gathering patterns of urban residents are studied with spatial point pattern analysis, and the features of moving distance and direction are analyzed. Using grid approach, we divide the urban space into blocks, and focus on the emergence of hotspot point, the change rate of human flow, tidal effects on weekdays, and present the concept of blocks difference index which is used to cluster blocks and analyze the relationship between the correlation of blocks and their distances. Since our research data comes from mobile network traffic logs, it has a wide coverage and a large volume, which is ideal for search on residents and city behavior on large spatio-temporal scales.