| In the era of intelligent, Android smart devices have been gradually applied to daily life. Android smart devices can help people socialize, communicate with others, invest in stock, shop online and pay money through cellphone and do enrichment activities. Users enjoy the convenience, but their own information is leaked to the network intentionally or unintentionally. A large number of private information which is associated with people is stored on Android devices, once the was leaked, it will cause great damage.In such conditions, the article analyzes the system of Android’s privacy and the way how private data sources are leaked. The ways of private data leaked include the way which is leaked among Android applications; the way which is leakd in Android applications; the way which is leakd through network; the way which is leakd through the sensors due. After the analysis, the article design algorithmic for the location privacy for privacy and the privacy of social behavior.Then the article analyze the privacy of social behavior through the algorithm based on ant colony algorithm, and analyze the location privacy through the algorithm based on the position weighted. The relationship between users and user behavior in daily life, can be seen as an abstract model of the relationship. This model can be divided by clustering method. By defining the relationship between different users and by cluster analysis method can calculate the distance between users.At the end of the article, the article analyzes and verifys data collected by the students. According to the method of the article, you can make the position calculation, computing behavior, computing user circles and the degree of closeness and intimacy calculations, and verify the accuracy of the algorithm. Through verifying, if privacy is leaked, the depth of excavation can be analyzed. The user can determine if the information is leaked, the user’s social behavior, permanent position and intimacy with others can be analyzed using the above two methods to calculate a certain extent. |