1、 KS X ISO/IEC 20060KSKSKSKSSKSKSKS KSKSKS SKSKS KSKS SKS KS KS X ISO/IEC 20060 : 2007 2007 11 30 http:/www.kats.go.krKS X ISO/IEC 20060: 2007 : e- () ( ) () ( ) : (http:/www.standard.go.kr) : :2002 12 23 :2007 11 30 2007-1129 : e- : e- ( 02-509-7262) (http:/www.kats.go.kr ). 7 5 , . KS X ISO/IEC 200
2、60 : 2007 Information technologyOpen Terminal Architecture(OTA) specification Virtual machine specification 2001 1 ISO/IEC 20060, Information technology Open Terminal Architecture(OTA) specification Virtual machine specification . 1., 3. , . 1 Europay OTA(Open Terminal Architecture) . EMV POS C . OT
3、A F , POS C VM . CPU . (virtual machine) 3. . . OTA . . OTA . (VM) (3 ) VM (4 ) VM (5 ) OTA (6 ) KS X ISO/IEC 20060: 2007 2 2 . . ( ) . ISO/IEC 20060: 2001 Normative reference . 3 3.1 ANS (American National Standard) ASN (Abstract Syntax Notation) ATM (Automated Teller Machine) BCD (Binary Coded Dec
4、imal) CISC (Complex Instruction Set Computer) CPU (Central Processing Unit) CSS (Card Selected Services) DOL (Data Object List) DPB (Database Parameter Block) EMV , , (Europay-MasterCard-Visa consortium) H (Hexadecimal(base 16) when used as a subscript) ICC IC (Intergrated Circuit Card) ISO (Interna
5、tional Organization of Standardization) K 1024 LSB (Least Significant Bit) MDF (Module Delivery Format) MID ID(Module ID) OTA (Europay Open Terminal Architecture) PAN (Primary Account Number) POS ( )(Point Of Sale(terminal) RAM (Random Access Memory) RFU (Reserved for Future Use) ROM (Read-Only Memo
6、ry) RSA , , (Rivest, Shamir, Adleman) SHA (SHA-1)(Secure Hash Algorithm(SHA-1) TLV , , (ISO/IEC 8825: 1990)(Tag-Length-Value data object) TRS (Terminal Resident Services) TSS (Terminal Selected Services) VM (Virtual Machine) 3.2 . 3.2.1 (aligned address) (cell) . OTA 4 KS X ISO/IEC 20060: 2007 3 . 3
7、.2.2 ANS (forth) X3.215,1994 . OTA . 3.2.3 (big-endian) . OTA . 3.2.4 (binary) EMV (bit string) . . 3.2.5 CC OTA C . 3.2.6 (Card Selected Services, CSS) TSS . 3.2.7 (cell) OTA . OTA 4 . 3.2.8 (compile) . OTA OTA . 3.2.9 (compressed numeric) EMV BCD 16 F . 3.2.10 (counted string) 0 255 3.2.11 (data s
8、pace) OTA KS X ISO/IEC 20060: 2007 4 3.2.12 (data stack) (passing parameters) . . (return stack) . 3.2.13 (EMV) , , (Europay, Master Card, Visa) 3.2.14 4.0 (EMV 4.0) IC , 4.0, 2000 12 , 14 3.2.15 (exception frame) VM . 3.2.16 (exception stack) . (return stack) . 3.2.17 (execution pointer) . ANS . OT
9、A . 3.2.18 (implementation conformance statement) 3.2.19 (instantiate) (local instance) . (power-up) , , . , TLV (load) . 3.2.20 (interpret) OTA (run-time) . 3.2.21 (kernel) OTA 3.2.22 (library module) OTA KS X ISO/IEC 20060: 2007 5 . 3.2.23 (LISP) 1960 ANS(American National Standard) (working group
10、) X3J13 1986 Lisp . 3.2.24 (module) (package) 6 . 3.2.25 (module repository) OTA 3.2.26 (non-volatile) 3.2.27 (numeric) (EMV) (numeric) 16 0 BCD . (single-cell binary) . 3.2.28 (return stack) (do-loop) (stack) 3.2.29 (stack) . OTA 3 . 3.2.30 (terminal) POS , ATM(Automated Teller machine), (vending m
11、achine) 3.2.31 (terminal program) . . 3.2.32 (Terminal Resident Services, TRS) , (loop) . TRS . KS X ISO/IEC 20060: 2007 6 3.2.33 (Terminal Selected Services, TSS) (implement) . TRS TSS . 3.2.34 (token) OTA CPU 1 2 3.2.35 (token compiler) OTA 3.2.36 / (token loader/interpreter) CPU 3.2.37 (virtual m
12、achine) (microprocessor) . OTA . 4 OTA ISO/IEC 20060: 2001 3. OTA Virtual Machine . 5 ISO/IEC 20060: 2001 4. System Services . 6 ISO/IEC 20060: 2001 5. Token Set Definition . 7 ISO/IEC 20060: 2001 6. Module Delivery Format . A( ) OTA ISO/IEC 20060: 2001 Appendix A: OTA Token Lists . B( ) I/O ISO/IEC
13、 20060: 2001 Appendix B: Exceptions and I/O Return Codes . C( ) ISO/IEC 20060: 2001 Appendix C: Device Control . D( ) ISO/IEC 20060: 2001 Appendix D: Operationg System Calls . KS X ISO/IEC 20060: 2007 7 E( ) (DOL) ISO/IEC 20060: 2001 Appendix E: Rules for Using a Data Object List(DOL) . F( ) ISO/IEC
14、 20060: 2001 Appendix F: System Overview . KS X ISO/IEC 20060: 2007 8 KS X ISO/IEC 20060 : 2007 . 1 (OTA) IC , OTA . OTA . CPU I/O CPU “ ” . , . 2 , ISO/IEC JTC 1 . (KS) 2002 8 (KS) . 3 , . 4 2002 8 . 5 (Europay) . EMV (kernel) (forth) C . F , C . CPU . 3 . 6 KS X ISO/IEC 20060: 2007 9 ISO/IEC 3166
15、1: 1997 IDT KS X 1510 1 1: ISO 4217: 2001 IDT KS X 6301 ISO/IEC 8825: 1998 IDT KS X 4003 1(ASN.1) ISO/IEC 7813: 2001(E) IDT KS X 6509 ID ISO/IEC 9646: 1994 IDT KS X 3005 1 1: . IDT . 7 7.1 . 3. OTA 4. 5. 6. A( ) OTA B( ) I/O C( ) D( ) E( ) (DOL) F( ) 7.2 (3. OTA ) OTA . , CPU, , , , , . OTA “ ” . (a
16、ddressing mode), , , . CPU OTA . CPU , , . . CPU OTA I/O I/O TLV ( ), KS X ISO/IEC 20060: 2007 10 4. . OTA F . OTA . OTA . . OTA . ( ) . “ ” . OTA I/O , TLV , . OTA (VM) . (forth) (ANSI X3.215 1994 ANS Forth ) . , , , . , C . , OTA C . 1 . 1 . : VM CPU CPU . , . : OTA . . . : OTA . , “ ” . , . : . .
17、 KS X ISO/IEC 20060: 2007 11 : OTA C . “ ” . , . : . , . . : . . ( ) (TRS) VM . TRS , TRS . VM TRS . TRS TRS ( ). TRS TRS TRS . (modulo) 232 . . . . . OTA CATCH, THORW QRHROW . LISP , CATCH THROW ANS Forth . B . . 5 , ANS Forth . , . . B OTA . , . . . . , . . . . CPU , . . KS X ISO/IEC 20060: 2007 12 7.3 (4. ) OTA 4 . I/O . (TRS) , . (TSS) . TSS . TRS TSS . (CSS) TSS . CSS ICC . ICC ( , ) CSS (CSS1