Studying the global spreading influence and local connections of users in online social networks