Current location - Quotes Website - Signature design - Mobile device identification code-device ID, IMEI, IDFA, UDID
Mobile device identification code-device ID, IMEI, IDFA, UDID
One: Overview

IOS device identification code

1, device ID

2. IMEI: forbidden after IOS5, written on the motherboard, will not change.

3.IDFA: advertising identifier, which is unique to iOS. However, users can change it, and it is not suitable for unique identification. Resetting the system and restoring the advertisement identifier in the settings will change the IDFA.

IDFA is a 32-bit string in 16.

IDFA is an advertisement identifier added to Apple's iOS 6. Its full English name is Identifier for Advertising, which is used by developers to track the advertising effect. It can be simply understood as the temporary id card number of iPhone equipment, which means temporary id card number, because IDFA allows users to replace it. IOS users can change IDFA through (Settings-General-Restore-Restore Location and Privacy). IOS 10 system provides users with the function of prohibiting advertising tracking. After the user checks this function, the application cannot read the device's IDFA.

IDFA is the main symbol of Apple's eco-advertising transaction at present. Generally speaking, after trading a user with an advertiser, the advertiser needs to provide you with the user's IDFA as a voucher. The reconciliation between the mainstream advertising platform Guangdiantong and Sina Fantong is based on IDFA.

4.mac address: hardware identifier, including WiFi mac address and Bluetooth mac address. It was banned after iOS 7 (OpenUDID was also banned).

MAC address is used to distinguish the uniqueness of devices in the network. All devices accessing the network have a MAC address, and they must be different and unique. There may be multiple MAC addresses on an iPhone, including WIFI, SIM, etc. However, iTouch and iPad have WIFI addresses, so you only need to get the MAC address of WIFI, which is the address of en0. The MAC address, like the ID number on our ID card, is unique in the world. However, after iOS7, if a Mac address is requested, a fixed value will be returned.

5.UDID: used to indicate the uniqueness of the device. After iOS 6, it is forbidden to get the native UDID of the system, but you can write it into the keychain through uuid to get a customized UDID (non-native). Even if the user reloads the APP, as long as the keychain is returned every time, it will remain unchanged.

UDID consists of 40 characters of letters and data.

The unique device identifier applies to the unique identification and cannot be changed by the user. However, Apple prohibits applications from obtaining UDID.

6.UUID: The application will change after reinstallation.

Android device identification code

1, the device ID, also called the device ID, can be obtained through the TelephonyManager service provided by the system, which is unique. Including IMEI and MEID/ESN.

2.IMEI:GSM device returns and writes it on the motherboard. Reinstalling the application will not change the IMEI. Systems above Android 6.0 require users to grant read_phone_state permission, which cannot be obtained if users refuse.

3.mac address: hardware identifier, including WiFi mac address and Bluetooth mac address. Android has been banned since 6.0, and if it is acquired, it will be judged as a harmful application.

4.MEID/ESN: is transmitted back by CDMA equipment and is generally not used.

5.UDID: used to indicate the uniqueness of the device. After obtaining the UUID, write it. So the file generated a UDID. Even if the APP is reinstalled, the value will not change unless the root phone (which ordinary users can't do).

6.UUID: The application will change after reloading.

To be continued—

Imei: international mobile equipment identification code, short for international mobile equipment identification code. It is an "electronic serial number" composed of 15 digits, which corresponds to each mobile phone one by one, and each IMEI is unique in the world.

UDID: unique device identifier, unique device identification code.

Uuid: universally unique identifier, universally unique identifier. At present, the most widely used UUID is Microsoft's global unique identifier GUID. Its purpose is to make all elements in the distributed system have unique identification information without specifying identification information through the central control terminal.