QNA > Q > Quanti Operatori Mobili Ci Sono Nel Mondo?

Quanti operatori mobili ci sono nel mondo?

Vediamo. Molti di loro (tutti?) sono elencati qui: Most up to date list of MCC and MNC codes: mobile country codes

Questa è una pagina HTML, ma si può fare un po' di magia a riga di comando per affettare i dati:

  1. $ curl http://www.mcc-mnc.com/ | \ 
  2. perl -nle 'print "$1\t$2\t$3\t$4\t$5\t$6" if /(\d+)<\/td>(\d+)<\/td>(.+)<\/td>(.*)<\/td>(\d*)<\/td>(.*)<\/td><\/tr>/' \ 
  3. > list_mno.tsv 
  4.  
  5. # cheated a bit. Also added the first line with headers manually 
  6. $ head list_mno.tsv 
  7. mcc mnc iso Country Country Code MNO 
  8. 289 88 ge Abkhazia 7 A-Mobile 
  9. 289 68 ge Abkhazia 7 A-Mobile 
  10. 289 67 ge Abkhazia 7 Aquafon 
  11. 412 88 af Afghanistan 93 Afghan Telecom Corp. (AT) 
  12. 412 80 af Afghanistan 93 Afghan Telecom Corp. (AT) 
  13. 412 01 af Afghanistan 93 Afghan Wireless/AWCC 
  14. 412 40 af Afghanistan 93 Areeba/MTN 
  15. 412 30 af Afghanistan 93 Etisalat 
  16. 412 50 af Afghanistan 93 Etisalat 
  17.  
  18. $ tail list_mno.tsv 
  19. 421 04 ye Yemen 967 HITS/Y Unitel 
  20. 421 02 ye Yemen 967 MTN/Spacetel 
  21. 421 01 ye Yemen 967 Sabaphone 
  22. 421 03 ye Yemen 967 Yemen Mob. CDMA 
  23. 645 03 zm Zambia 260 Zamtel/Cell Z/MTS 
  24. 645 02 zm Zambia 260 MTN/Telecel 
  25. 645 01 zm Zambia 260 Airtel/Zain/Celtel 
  26. 648 04 zw Zimbabwe 263 Econet 
  27. 648 01 zw Zimbabwe 263 Net One 
  28. 648 03 zw Zimbabwe 263 Telecel 

1025 MNOs

  1. $ cut -f6 list_mno.tsv | sort | uniq | wc -l 
  2. 1029 
  3.  
  4. #the Awk part trims extra space (saw the problem with the Vodafones 
  5. $ cut -f6 list_mno.tsv | sort | awk '{$1=$1};1' | uniq | wc -l 
  6. 1025 
  7.  
  8. #20 random MNO names 
  9. $ cut -f6 list_mno.tsv | sort | uniq | shuf | head -20 
  10. Telenor/Mobtel 
  11. Barakhamba Sales & Serv. 
  12. ICE 
  13. Tismi 
  14. LG Telecom 
  15. H3G 
  16. Orange 
  17. Glo Mobile 
  18. Cambridge Telephone Company Inc. 
  19. Play/P4 
  20. CTS Mobile 
  21. Movilnet C.A. 
  22. Datastream (DTSCom) 
  23. Nokia Oyj 
  24. Spring Mobil AB 
  25. Vodafone/Mirsfone 
  26. Tele2 Sverige AB 
  27. International Telecom Co. Ltd (FITEL) 
  28. Vodacom Ltd 

226 MCC codes and 225 countries

  1. $ cut -f1 list_mno.tsv | sort | uniq | wc -l 
  2. 226 
  3. $ cut -f4 list_mno.tsv | sort | uniq | wc -l 
  4. 225 

1686 Carrier + code combinations

  1. $ cut -f1,2 list_mno.tsv | sort | uniq | wc -l 
  2. 1686 

MVNOs are a different discussion because there are many different kinds of MVNO, including many that are simply sub-brands of regular MNOs.

Di Bryner Killean

Com'era la vita quotidiana prima che quasi tutti avessero i cellulari? :: What is maximum and minimum length of any mobile number across the world?
Link utili