Current location - Quotes Website - Signature design - What's the number on the ID card?
What's the number on the ID card?
1. The encoding rules of the ID card are as follows: According to the national standard GB11643-1999 in People's Republic of China (PRC), the citizenship number is a characteristic combination code, which consists of a 17-digit digital ontology code and a digital check code. The order from left to right is: six-digit address code, eight-digit date of birth code, three-digit serial code and one-digit check code.

The address code (the first six digits of the ID card) indicates the administrative division code of the county (city, flag, district) where the permanent residence of the coding object is located when applying for the resident ID card for the first time. (For regional codes, please go to this website /tjbz/index.htm for the latest administrative coding data at or above the county level. )

The date of birth code (the seventh to fourteenth digits of the ID card) indicates the year, month and day when the coded object was born, in which the year is represented by four digits, and there is no separator between the year, month and day. For example:1981May 1 1 daily1981051.

The serial code (ID number 15 to 17) is the distribution code of the police station under the jurisdiction of the county and district government. The distribution code of each police station is 10 continuous numbers, such as "000-009" or "060-069", where odd numbers are male distribution codes and even numbers are female distribution codes. In case there are more than two people on the same day of the same year, the second, third and sixth days will be postponed. For example, 007 is a boy, and there are at least two boys born in the same year. The last four of them are 00 1* and 003*. The four serial numbers "999, 998, 997 and 996" in the distribution sequence code are special numbers for men and women over 100 years old.

The check code (the last digit of the ID card) is a check code calculated according to the previous seventeen digit code and the check code of ISO 7064: 1983. MOD 1 1-2。

2. Starting from 1999 65438+ 10/0/,the national resident ID number system was implemented, and the resident ID number was increased from 1 5 to 18. The first 6 digits are the address code; The seventh digit to 14 is the birth date code, which is changed from 6 digits to 8 digits, in which the year is represented by 4 digits; 15 to 17 are sequence codes, and the specific numbers used for centenarians in the sequence codes are cancelled; The 18 bit is a check code, which is mainly used to check whether the first 17 bits of the citizen ID number input by the computer are correct. Its value range is 0 to 10, and when the value is equal to 10, it is represented by the Roman numeral symbol χ.

Calculation method of ID card 18 (check code)

1. Multiply the digits of the previous ID number 17 by different coefficients respectively. The coefficients from the first place to the seventeenth place are: 7-9-10-5-8-4-2-1-6-3-7-9-10-5-8-4-2.

2. Add the multiplication results of this 17 digit and the coefficient.

3. Divide the sum by 1 1 to see what the remainder is.

4. The remainder can only be11-2-3-4-5-6-7-8-9-10. The number corresponding to the last ID card is 1-0-X-9-8-7-6-5-4-3-2.

5. As can be seen from the above, if the remainder is 2, the Roman numeral X will appear in the18th bit of the ID card. If the remainder is 10, the last digit of the ID card is 2.

For example, a man's ID number is 3405241980010100/x. We need to see if this ID card is legal.

First, the product sum of the first 17 bits is 189, and then divided by 1 1, the result is17+2/1,that is, the remaining number is 2. Finally, through the corresponding rules, we can know that the number corresponding to the remainder 2 is X, so we can judge that this is a qualified ID number. The meaning of ID number digits!

(1) before 1 and 2 digits indicate the code of this province;

(2) The third and fourth digits indicate the code of the city;

(3) The 5th and 6th digits indicate: district code;

(4) The 7th to14th digits indicate: date of birth;

(5) Numbers 15 and 16 indicate local police station codes;

(6) The number 17 indicates gender: odd numbers indicate men and even numbers indicate women;

(7) The bit 18 is a check code: some people say it is a personal information code, which is generally randomly generated by a computer.