Understanding the spreading patterns of mobile phone viruses