Study on similarity based on connection degree in social network