How to determine the mobile phone number of the communication provider

Source: Internet
Author: User
For example, I have an application, only with Jiangsu Telecom signed, that is, only Jiangsu Telecom mobile phone number of users can use our services, but because of the possibility of other areas of the user will also register, then I need to determine the cell phone attribution, in the absence of similar interfaces such as ip138, how can I judge the mobile phone number of the province and the type of Solved, thanks.


Reply to discussion (solution)

Wait for the tall man to answer!

PHP itself does not provide such a function, so the calling interface is a must.

PHP itself does not provide such a function, so the calling interface is a must.
Whether this is the case: a mobile phone number through the Jiangsu Telecom to provide me with the interface to match, it is said that the interface returned to me the data contains whether the mobile phone number is the user of the communicator, then I can also judge by this. That's the way it should be.

But if I have more than 20 provinces of the country's communications provider Interface Total fifty or sixty interfaces (three interfaces per province, mobile, Unicom, telecommunications), to determine which one of the number belongs to which of the province's users, I have to cycle the match it?

This is why!!!

Yes, that should be the case.

Directly call Jiangsu Telecom to provide a database of their Jiangsu mobile phone number segment, and there are few number segments.

Last night on the internet to get such a thing: the National mobile phone number section of a total of 210,000 records take this to match also almost can meet the demand

Mobile phone number attribution site is too much, just pick a grab it.

Common Number control:
GSM: Support China Unicom or mobile 2G segment (131, 132, 134, 135, 136, 137, 138, 139, 151, 156, 158, 159, 186, 188)
CDMA: Support China Telecom 2G segment (133, 153, 189)
GSM/WCDMA: Support China Unicom or mobile 2G, and China Unicom 3G (131, 132, 134, 135, 136, 137, 138, 139, 151, 156, 158, 159, 186, 188)
GSM/TD-SCMDA: Support China Unicom or mobile 2G, as well as Chinese mobile 3G segment (131, 132, 134, 135, 136, 137, 138, 139, 151, 156, 158, 159, 186, 188)
CDMA/CDMA2000: Support China Telecom 2G segment, and China Telecom 3G (133, 153, 189)

Directly call Jiangsu Telecom to provide a database of their Jiangsu mobile phone number segment, and there are few number segments.

+1
This is the most practical, who you sign with and let them provide screening information.

http://api.showji.com/locating//

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.