码迷,mamicode.com
首页 > 其他好文 > 详细

护照规则,2017年6月起国内航线坐飞机不能用护照

时间:2017-10-03 00:26:22      阅读:379      评论:0      收藏:0      [点我收藏+]

标签:err   page   algo   自己   pac   pat   main   letter   about   

 

 

 

2017年6月起新版《民用航空安全检查规则》最大的改变是国内航段不能用护照坐飞机了。在此之前,国际联程票中的国内段是可以直接用护照及通行证登机的,所以很多人飞国外,就算有国内航段,也不带身份证,而按新规要求,只拿护照或通行证,没带身份证或证件过期,国内段就登不了机。

 

1、每个国家有每个国家的规则
2、中国97版以G开头,新版电子护照以E开头,后面接8位数字
3、米国9位纯数字
4、韩国不一定都已2位字母开头,也有以1位开头的,并且十分常见
5、鉴于各国编码规则不一,所以没有什么统一的规律
6、至于每个国家的规律,应该算是机密一级的东西

护照编码规则国际标准化组织和国际电工委员会认可为ISO/IEC 7501-1
 

Machine Readable Passport Zone
有空来翻译一下吧,挺有意思的。
Machine Readable Passport Zone

by Alan De Smet

The International Civil Aviation Organization, a Quebec based group, developed standards for Machine Readable Travel Documents (MRTDs), including passports and visas. These MRTD make it easy for automated systems to scan a travel document. If a country decides to check all visitors against a known criminals data reading the information automatically with a computer will be much faster and less prone to error than if the immagration agent needs to type the information in by hand.

The MRTD standards are encoded in ICAO Document 9303. Part 1 documents Machine Readable Passports (MRPs). This standard was accepted by theInternational Standards Organization as ISO/IEC 7501-1:1997ISO/IEC 7501-2:1997, and ISO/IEC 7501-03:1997.

If you‘re interested in original materials, do not bother with the ISO versions. These $27 documents (well, 34,00 CHF) are are essentially a single page saying, "See ICAO Document 9303". ICAO 9303 is much better and includes several pages documenting the history of the document. It‘s a bit expensive at$62. You might be able to get it through inter-library loan. I borrowed a copy of the much briefer 3rd edition this way. The 5th edition is much larger (126 pages versus the 30 or so), but I don‘t access to the 5th edition and am unable to comment on what has been added in the remaining 100 pages.

MRTD‘s have a Machine Readable Zone (MRZ) at the bottom of them. These MRZes are printed in the monospace font OCR-B. It is printed as "Size 1", which works out to be about 14 point. Further details on the font can be found in ISO Standard 1073-2:1976. The exact location of the MRZ, the type of paper, reflectivity and the like are futher documented in ICAO 9303 and ISO 1831:1980.

On a MR Passport there are two lines. Each line is 44 characters long. There are no blank spaces; where one is necessary is it filled with the filler character, a less than sign (<). Here is an example from ICAO 9303. This person is from the fictional country of Utopia, the country code (UTO) is invalid. I‘ve reformatted it to be similar to a United States passport.

PASSPORT
PASSEPORT
PASAPORTE
UTOPIAType / Type / TipoPCode / Code / CédigoUTOPassport No. / No. du Passeport / No. de PasaporteL898902CSurname / Nom / ApellidosERIKSSONGiven names / Prénoms / NombresANNA MARIANationality / Nationalité / NacionalidadUTOPIANDate of birth / Date de naissance / Fecha de nacimiento06 Aug 1969Personal no / no personnelZE184226BSex / Dexe / SexoFPlace of birth / Lieu de naissance / Lugar de nacimientoZENITH, UTOPIADate of Issue / Date de délivrance / Fecha de expedición24 Jun 1989Authority / Autorité / AutoridadPassport OfficeDate of expiration / Date d‘ expiration / Fecha de caducidad23 Jun 1994Ammendments / Modifications / EnmiendasSee Page 24
P<UTOERIKSSON<<ANNA<MARIA<<<<<<<<<<<<<<<<<<<
L898902C<3UTO6908061F9406236ZE184226B<<<<<14

Notable differences between the example data and an actual US passport:

  • The Place of Birth (if in the United States) will be in the form "State, U.S.A."
  • The Authority will specify the city of the passport office (New Orleans is one possibility
  • Passport numbers are 9 digits with no letters.
  • There is no personal number.
  • Type, Code, and Passport No. are on the same line. Sex and Place of birth are on the same line. Date of issue and Authority are on the same line. (I haven‘t figured out how to format it correctly without some tortorous HTML.)

So here is the example MRZ.

P<UTOERIKSSON<<ANNA<MARIA<<<<<<<<<<<<<<<<<<<
L898902C<3UTO6908061F9406236ZE184226B<<<<<14

Here are the fields:

Ptiiinnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
#########CbbbYYMMDDCsyymmddCppppppppppppppCX
General Notes

All fields are padded with less than signs (<) to fill the required width. There should be no whitespace in the MRZ. Only letters A through Z, digits 0 through 9, and the filler character < are allowed. Some extended letters are mapped to other sets of characters per the following table. The alternate encoding is used when the normal encoding might caused confusion between different names.

CharacterEncodingAlternate
Encoding?AE?AA?AE?IJIJIJ?NNXX?OE?OEüUEUXX?SSP - Passport

The first letter is "P", designating a passport.

t - Passport Type

The second character can be assigned by the issuing country to distinguish different types of passports. If unused a < is assigned.

The United States, at least in the cases I‘ve seen, doesn‘t use this field.

In the example above there is a <, apparently the fictional country of Utopia doesn‘t specify specific types, or Anna doesn‘t need one.

iii - Issuing Country or Organization

The issuing country or organization, encoded in three characters. The code is pulled from this table.

In the example above the code is UTO. This code doesn‘t exist; it‘s the fictional country of Utopia for the example.

nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn - Name

This field is the passport holder‘s name. The general format is "LAST<NAME<<FIRST<NAME<ADDITIONAL<NAMES<<<<<". The name is entirely upper case. Puncuation (like hyphens) are replaced with the filler character < The surname is given first, then the filler character twice (<<), then the remainder of given names. Separate names in the surname or given name are separated with the filler character < The filler character < pads out the field to fill 39 characters.

Suffixes (Jr, Sr, II, III, etc) are encoded as part of the last name, without punctuation.

If the name is too long to fit the most significant parts of the name are used. Names may abbreviated if necessary to make them fit.

In the above example Anna‘s surname is Eriksson, her first and middle names are Anna and Maria. Her name is encoded as

ERIKSSON<<ANNA<MARIA<<<<<<<<<<<<<<<<<<<

George Michael Richards-Stevens Jr. would be encoded as

RICHARDS<STEVENS<JR<<GEORGE<MICHAEL<<<<
######### - Passport Number

This is the passport number, as assigned by the issuing country. Each country is free to assign numbers using any system it likes. If the number has non-letter or number characters they are replaced with the filler character <.

C - Check digit

Check digits are calculated based on the previous field. Thus, the first check digit is based on the passport number, the next is based on the date of birth, the next on the expiration date, and the next on the personal number. The check digit is calculated using this algorithm.

bbb - Nationality

The issuing country or organization, encoded in three characters. The code is pulled from this table.

In the example above the code is UTO. This code doesn‘t exist; it‘s the fictional country of Utopia for the example.

YYMMDD - Date of Birth

The date of the passport holder‘s birth in YYMMDD form. Year is truncated to the least significant two digits. Single digit months or days are prepended with 0.

In the example Anna was born in August 6th, 1969. That encodes as "690806".

s - Sex

Sex of the passport holder, M for males, F for females, and < for non-specified.

Anna is female, so "F".

yymmdd - Passport Expiration Date

The date the passport expires in YYMMDD form. Year is truncated to the least significant two digits. Single digit months or days are prepended with 0.

Anna‘s passport expired on June 23rd, 1994 and is encoded "940623".

pppppppppppppp - Personal Number

This field can be used for any purpose that the issuing country desires.

The United States uses this field in some unknown way. My personal passport has a single digit number in the field.

Anna‘s personal number is ZE184226B, this field is encoded "ZE184226B<<<<<".

X - Final check digit

This is a check digit for positions 1 to 10, 14 to 20, and 22 to 43 on the second line. Thus, the nationality and sex are not included in the check. The check digit is calculated using this algorithm.

Check Digit Calculations

First, break the input into individual characteres and numbers.

Next, convert non-digits into numbers. A through Z are encoded to 10 through 25. The filler character < is encoded as 0.

<ABCDEFGHIJKLMNOPQRSTUVWXYZ01011121314151617181920212223242526272829303132333435

Now, multiply each number by the corresponding weighting. The first digit is multipled by 7, the next by 3, and the next by 1. The pattern then repeats (7, 3, 1, 7, 3, 1, 7, 3, 1, etc).

Add up the results, then divide by 10. The remainder is the check digit.

As a special case, if the personal number on the second line is not used (and thus entirely filled with the filler character <), the check digit for that section can be replaced with the filler character <.

An example for the input AB2134:

Input:A B 2 1 3 4 < < <Value:10 11 2 1 3 4 0 0 0Weight:7 3 1 7 3 1 7 3 1Products:70 33 2 7 9 4 0 0 0Sum:70+33+2+7+9+4+0+0+0=125

Division: 125 ÷ 10 = 12, remainder 5

Country / Organization / Special Table(略了吧)zzzz

 

 

 

护照分为普通护照、外交护照和公务护照三类。

护照上的类型分别代表:
P——普通因私护照;
W——外交护照;
G——公务护照。

也就是说,无论你是去旅游还是出差。如果行程中包含中国内地的航段,你就得随身携带身份证。

国内和国际的证件划分很清楚,比如:南京飞广州,然后再转布里斯班或墨尔本,原来拿一本护照及有效签证就可以,现在要把身份证也带着。

涉及这项新规的另一类人群,则是长居海外的留学生和华侨,由于长期在境外生活,有人的身份证已经过期或者根本就没有身份证。

 

 

在机场补办临时身份证很简单:

1、首先是去航空公司的值班经理柜台说明情况,航空公司的电脑里会有你的订座资料,包括姓名、身份证件号码等信息,在确认资料后航空公司会将订座单打印出来。

2、拿着这份单据到机场的派出所,告诉警察需要办理临时身份证件。

3、警察会根据订座单上的资料联网查询你的个人身份,查实后用摄像头拍摄一张你的个人相片,自己带的合格照片也能用。

4、打印出含个人照片的临时身份证,盖章,缴纳30元就可以了。

5、注意:临时身份证有效期为10天,如果逾期需要重新补办。

 

 

 

护照规则,2017年6月起国内航线坐飞机不能用护照

标签:err   page   algo   自己   pac   pat   main   letter   about   

原文地址:http://www.cnblogs.com/timdes1/p/7623006.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!