KR101866031B1 - Method for Providing Server type One Time Password by using Secure Operating System - Google Patents

Method for Providing Server type One Time Password by using Secure Operating System Download PDF

Info

Publication number
KR101866031B1
KR101866031B1 KR1020160082462A KR20160082462A KR101866031B1 KR 101866031 B1 KR101866031 B1 KR 101866031B1 KR 1020160082462 A KR1020160082462 A KR 1020160082462A KR 20160082462 A KR20160082462 A KR 20160082462A KR 101866031 B1 KR101866031 B1 KR 101866031B1
Authority
KR
South Korea
Prior art keywords
program
otp
secure
server
memory area
Prior art date
Application number
KR1020160082462A
Other languages
Korean (ko)
Other versions
KR20180003089A (en
Inventor
홍성열
김귀현
Original Assignee
(주)에이티솔루션즈
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by (주)에이티솔루션즈 filed Critical (주)에이티솔루션즈
Priority to KR1020160082462A priority Critical patent/KR101866031B1/en
Publication of KR20180003089A publication Critical patent/KR20180003089A/en
Application granted granted Critical
Publication of KR101866031B1 publication Critical patent/KR101866031B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • H04L9/0863Generation of secret information including derivation or calculation of cryptographic keys or passwords involving passwords or one-time passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0816Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use
    • H04L9/0819Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s)
    • H04L9/083Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s) involving central third party, e.g. key distribution center [KDC] or trusted third party [TTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/56Financial cryptography, e.g. electronic payment or e-cash
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/80Wireless

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

본 발명의 보안운영체제를 이용한 서버형 오티피 제공 방법에 따르면, 보안커널(Secure Kennel)을 구비한 보안OS(Secure Operating System)와 커널구조가 공개된 일반OS(Normal Operating System)를 탑재한 무선단말을 통해 실행되는 방법에 있어서, 상기 일반OS의 프로그램(n)이 상기 일반OS에서 연결 가능한 통신망을 지정된 서버로부터 상기 서버의 코드생성알고리즘을 통해 서버에서 동적 생성된 OTP(One Time Password)와 상기 보안OS의 지정된 프로그램(s)를 통해 상기 OTP를 상기 서버에서 동적 생성한 OTP로 검증받기 위한 검증값을 상기 보안OS의 지정된 프로그램(s)를 통해서만 복호화되게 암호화된 OTP를 수신하고, 상기 일반OS의 프로그램(n)이 상기 보안OS의 지정된 프로그램(s)에서 접근 가능한 메모리영역을 할당하거나 또는 기 할당된 메모리영역을 확인하고, 상기 프로그램(n)이 상기 일반OS 상에서 수신된 암호화된 OTP를 상기 메모리영역으로 제공하고, 기 보안OS의 프로그램(s)이 상기 메모리영역으로부터 암호화된 OTP를 확인하고, 상기 프로그램(s)이 상기 암호화된 OTP를 복호화하여 상기 서버에서 동적 생성한 OTP를 복원하고 상기 복원된 OTP를 상기 서버에서 생성한 OTP로 검증하기 위한 검증값을 확인하고, 상기 프로그램(s)이 상기 검증값을 판독하여 상기 복원된 OTP를 상기 서버에서 동적 생성한 OTP로 검증하고, 상기 복원된 OTP를 서버에서 생성한 OTP로 검증한 경우, 상기 프로그램(s)이 보안OS를 통해 무선단말의 화면출력수단에 접근하여 상기 복원된 OTP를 출력한다.According to the method of providing server-type authentication using the security operating system of the present invention, a security OS (Secure Operating System) having a secure kernel and a wireless terminal having a normal operating system (OS) (N) of the generic OS receives from the designated server a communication network to which the program (n) can connect in the general OS through an OTP (One Time Password) dynamically generated in the server through a code generation algorithm of the server, Receives an OTP encrypted so as to be decrypted only through a designated program (s) of the secure OS, the verification value for verifying the OTP with the OTP dynamically generated by the server through the designated program (s) of the OS, Wherein the program (n) allocates a memory area accessible in the designated program (s) of the secure OS, or identifies an allocated memory area, Providing an encrypted OTP received on the generic OS to the memory area, wherein a program (s) of a secure OS verifies an encrypted OTP from the memory area, and the program (s) decrypts the encrypted OTP And a verification value for verifying the restored OTP with the OTP generated by the server is checked. The program (s) reads the verification value and outputs the restored OTP to the server The program (s) accesses the screen output means of the wireless terminal through the secure OS and outputs the restored OTP to the output terminal of the wireless terminal through the secure OS, do.

Description

보안운영체제를 이용한 서버형 오티피 제공 방법{Method for Providing Server type One Time Password by using Secure Operating System}Technical Field [0001] The present invention relates to a method for providing a server-type authentication using a secure operating system,

본 발명은 보안커널(Secure Kennel)을 구비한 보안OS(Secure Operating System)와 커널구조가 공개된 일반OS(Normal Operating System)를 탑재한 무선단말을 통해 실행되는 방법에 있어서, 상기 일반OS의 프로그램(n)이 상기 일반OS에서 연결 가능한 통신망을 지정된 서버로부터 상기 서버의 코드생성알고리즘을 통해 서버에서 동적 생성된 OTP(One Time Password)와 상기 보안OS의 지정된 프로그램(s)를 통해 상기 OTP를 상기 서버에서 동적 생성한 OTP로 검증받기 위한 검증값을 상기 보안OS의 지정된 프로그램(s)를 통해서만 복호화되게 암호화된 OTP를 수신하고, 상기 일반OS의 프로그램(n)이 상기 보안OS의 지정된 프로그램(s)에서 접근 가능한 메모리영역을 할당하거나 또는 기 할당된 메모리영역을 확인하고, 상기 프로그램(n)이 상기 일반OS 상에서 수신된 암호화된 OTP를 상기 메모리영역으로 제공하고, 기 보안OS의 프로그램(s)이 상기 메모리영역으로부터 암호화된 OTP를 확인하고, 상기 프로그램(s)이 상기 암호화된 OTP를 복호화하여 상기 서버에서 동적 생성한 OTP를 복원하고 상기 복원된 OTP를 상기 서버에서 생성한 OTP로 검증하기 위한 검증값을 확인하고, 상기 프로그램(s)이 상기 검증값을 판독하여 상기 복원된 OTP를 상기 서버에서 동적 생성한 OTP로 검증하고, 상기 복원된 OTP를 서버에서 생성한 OTP로 검증한 경우, 상기 프로그램(s)이 보안OS를 통해 무선단말의 화면출력수단에 접근하여 상기 복원된 OTP를 출력하는 보안운영체제를 이용한 서버형 오티피 제공 방법에 관한 것이다.The present invention provides a method executed by a wireless terminal equipped with a secure operating system (OS) having a secure kernel and a normal operating system having a kernel structure disclosed therein, (OTP) through the OTP (One Time Password) dynamically generated in the server and the designated program (s) of the secure OS from the designated server through the code generation algorithm of the server from the designated server, (OTP) to be verified with the OTP dynamically generated by the server, encrypted OTP to be decrypted only through the designated program (s) of the secure OS, and the program (n) (N) allocates an encrypted OTP received on the generic OS to the memory < RTI ID = 0.0 > The program (s) of the security OS confirms the encrypted OTP from the memory area, the program (s) decrypts the encrypted OTP to restore the OTP dynamically generated by the server, Verifying a verification value for verifying the OTP with the OTP generated by the server, verifying the verification value as the OTP dynamically generated by the server by reading the verification value from the program (s) To a screen output means of a wireless terminal through a secure OS to output the restored OTP when the program (s) is verified with a server-generated OTP .

최근 하나의 물리 프로세서 코어를 시큐어월드(Secure World)와 노멀월드(Normal World)의 두 가지 월드로 나누고, 각각의 월드를 고립시켜 운영하는 트러스트존(Trust Zone) 기술이 제안되었다. 트러스트존 기술은 노멀월드에 일반적인 운영체제를 탑재하고 시큐어월드에 보안이 강화된 운영체제를 탑재하되 시큐어월드를 노멀월드와 고립시켜 운영함으로써, 노멀월드가 해킹되거나 위변조 되더라도 노멀월드와 고립된 시큐어월드의 보안을 보장하는 기술이다. Recently, a Trust Zone technology has been proposed in which each physical processor core is divided into two worlds, Secure World and Normal World, and each world is isolated. Trust Zone technology is equipped with a normal operating system in the normal world, and Secure World is equipped with a security-enhanced operating system. By keeping Secure World isolated from the normal world, even if the normal world is hacked or forged, security of the normal world and isolated secure world .

트러스트존 기술에서 시큐어월드와 노멀월드의 고립은 시큐어월드의 보안을 보장하는 핵심사항 중의 하나이다. 시큐어월드에서 실행된 애플리케이션은 노멀월드의 운영체제를 이용하지 않고 직접 단말기에 구비된 디스플레이장치, 통신장치, 입력장치 등의 각종 구성부에 직접 접근하여 제어할 수 있다(특허등록 제10-1259824호). 시큐어월드와 노멀월드는 물리적으로 하나의 단말기 내에서 하나의 프로세서 코어를 공유하고, 시큐어월드는 노멀월드를 통해 구동되기는 하지만, 하드웨어적인 측면과 소프트웨어적인 측면에서 시큐어월드와 노멀월드는 상호 고립된 서로 다른 시스템이다. The isolation of Secure World and Normal World in Trust Zone technology is one of the key points to ensure the security of Secure World. An application executed in the secure world can directly access and control various components such as a display device, a communication device, and an input device provided in the terminal without using the operating system of the normal world (Patent Registration No. 10-1259824) . Although Secure World and Normal World physically share a single processor core in a single terminal and Secure World runs through Normal World, Secure and Normal Worlds, in terms of hardware and software, Other systems.

만약 사용자가 개인컴퓨터를 통해 인터넷 뱅킹을 이용하는 중에 OTP(One Time Password) 입력이 필요한 경우, 사용자가 소지한 무선 단말기의 시큐어월드(=트러스트존)에 OTP 앱을 탑재하고, 노멀월드와 고립된 전혀 다른 시스템인 시큐어월드를 별도의 OTP 생성장치처럼 이용하여 OTP를 생성하는 것은 당업자라도 비교적 용이하게 도출할 수 있다( 특허등록공고 제10-1502999호(2015.03.18)).If an OTP (One Time Password) input is required while the user is using the Internet banking through a personal computer, the OTP application is installed in the secure world (= trust zone) of the wireless terminal owned by the user, It is relatively easy for a person skilled in the art to generate an OTP by using another system, such as Secure World, as a separate OTP generation apparatus (Patent Registration No. 10-1502999 (Feb.

그러나 무선 단말기의 노멀월드를 통해 모바일 뱅킹이나 모바일 결제 중에 OTP를 이용하는 경우, 시큐어월드(=트러스트존)의 OTP 앱을 통해 OTP를 생성할 경우 노멀월드와 시큐어월드는 상호 고립되고 무선 단말기의 자원(예컨대, 디스플레이장치 등)도 상호 고립되어 점유되므로 종래 트러스트존 기술을 이용해서는 하나의 무선 단말기 내에서 노멀월드의 뱅킹이나 결제에 시큐어월드의 OTP를 적용하기 난해한 문제점을 지니고 있다.However, when OTP is used during the mobile banking or mobile payment through the normal world of the wireless terminal, when the OTP is generated through the OTP application of the secure world (= Trust Zone), the normal world and the secure world are isolated from each other, (E.g., a display device, etc.) are occupied in isolation from each other. Therefore, it is difficult to apply Secure World's OTP to banking and settlement of a normal world in one wireless terminal using the conventional trust zone technology.

상기와 같은 문제점을 해소하기 위한 본 발명의 목적은, 보안커널(Secure Kennel)을 구비한 보안OS(Secure Operating System)와 커널구조가 공개된 일반OS(Normal Operating System)를 탑재한 무선단말을 통해 실행되는 방법에 있어서, 상기 일반OS의 프로그램(n)이 상기 일반OS에서 연결 가능한 통신망을 지정된 서버로부터 상기 서버의 코드생성알고리즘을 통해 서버에서 동적 생성된 OTP(One Time Password)와 상기 보안OS의 지정된 프로그램(s)를 통해 상기 OTP를 상기 서버에서 동적 생성한 OTP로 검증받기 위한 검증값을 상기 보안OS의 지정된 프로그램(s)를 통해서만 복호화되게 암호화된 OTP를 수신하는 제1 단계와 상기 일반OS의 프로그램(n)이 상기 보안OS의 지정된 프로그램(s)에서 접근 가능한 메모리영역을 할당하거나 또는 기 할당된 메모리영역을 확인하는 제2 단계와 상기 프로그램(n)이 상기 일반OS 상에서 수신된 암호화된 OTP를 상기 메모리영역으로 제공하는 제3 단계와 기 보안OS의 프로그램(s)이 상기 메모리영역으로부터 암호화된 OTP를 확인하는 제4 단계와 상기 프로그램(s)이 상기 암호화된 OTP를 복호화하여 상기 서버에서 동적 생성한 OTP를 복원하고 상기 복원된 OTP를 상기 서버에서 생성한 OTP로 검증하기 위한 검증값을 확인하는 제5 단계와 상기 프로그램(s)이 상기 검증값을 판독하여 상기 복원된 OTP를 상기 서버에서 동적 생성한 OTP로 검증하는 제6 단계 및 상기 복원된 OTP를 서버에서 생성한 OTP로 검증한 경우, 상기 프로그램(s)이 보안OS를 통해 무선단말의 화면출력수단에 접근하여 상기 복원된 OTP를 출력하는 제7 단계를 포함하는 보안운영체제를 이용한 서버형 오티피 제공 방법을 제공함에 있다.In order to solve the above problems, it is an object of the present invention to provide a system and method for a mobile communication system, including a secure OS (Secure Operating System) having a secure kernel and a wireless terminal equipped with a normal operating system Wherein the program of the general OS includes an OTP (One Time Password) dynamically generated in the server from a designated server through a code generation algorithm of the server, A first step of receiving a verification value for verifying the OTP to be an OTP dynamically generated by the server through a designated program (s) in an encrypted OTP so as to be decrypted only through a designated program (s) of the secure OS; (N) allocating a memory area accessible from the designated program (s) of the secure OS or checking a pre-allocated memory area; (N) providing an encrypted OTP received on the general OS to the memory area; and a fourth step of the program (s) of the secure OS verifying the encrypted OTP from the memory area, (s) decrypts the encrypted OTP and restores the OTP dynamically generated by the server, and verifies a verification value for verifying the restored OTP with the OTP generated by the server. Verifying the restored OTP to an OTP dynamically generated by the server by reading the verification value, and verifying the restored OTP with an OTP generated by the server, wherein the program (s) And outputting the restored OTP by accessing the screen output means of the wireless terminal through the step of outputting the restored OTP.

본 발명에 따른 보안운영체제를 이용한 서버형 오티피 제공 방법은, 보안커널(Secure Kennel)을 구비한 보안OS(Secure Operating System)와 커널구조가 공개된 일반OS(Normal Operating System)를 탑재한 무선단말을 통해 실행되는 방법에 있어서, 상기 일반OS의 프로그램(n)이 상기 일반OS에서 연결 가능한 통신망을 지정된 서버로부터 상기 서버의 코드생성알고리즘을 통해 서버에서 동적 생성된 OTP(One Time Password)와 상기 보안OS의 지정된 프로그램(s)를 통해 상기 OTP를 상기 서버에서 동적 생성한 OTP로 검증받기 위한 검증값을 상기 보안OS의 지정된 프로그램(s)를 통해서만 복호화되게 암호화된 OTP를 수신하는 제1 단계와 상기 일반OS의 프로그램(n)이 상기 보안OS의 지정된 프로그램(s)에서 접근 가능한 메모리영역을 할당하거나 또는 기 할당된 메모리영역을 확인하는 제2 단계와 상기 프로그램(n)이 상기 일반OS 상에서 수신된 암호화된 OTP를 상기 메모리영역으로 제공하는 제3 단계와 기 보안OS의 프로그램(s)이 상기 메모리영역으로부터 암호화된 OTP를 확인하는 제4 단계와 상기 프로그램(s)이 상기 암호화된 OTP를 복호화하여 상기 서버에서 동적 생성한 OTP를 복원하고 상기 복원된 OTP를 상기 서버에서 생성한 OTP로 검증하기 위한 검증값을 확인하는 제5 단계와 상기 프로그램(s)이 상기 검증값을 판독하여 상기 복원된 OTP를 상기 서버에서 동적 생성한 OTP로 검증하는 제6 단계 및 상기 복원된 OTP를 서버에서 생성한 OTP로 검증한 경우, 상기 프로그램(s)이 보안OS를 통해 무선단말의 화면출력수단에 접근하여 상기 복원된 OTP를 출력하는 제7 단계를 포함하는 것을 특징으로 한다.A method of providing a server-type object using a security operating system according to the present invention is a method of providing a server-type object based on a security operating system (Secure Operating System) having a secure kernel and a wireless operating system (N) of the generic OS receives from the designated server a communication network to which the program (n) can connect in the general OS through an OTP (One Time Password) dynamically generated in the server through a code generation algorithm of the server, A first step of receiving an encrypted OTP so that a verification value for verifying the OTP with the OTP dynamically generated by the server through the designated program (s) of the OS is decrypted only through the designated program (s) of the secure OS; A second step of allocating a memory area accessible by the program (n) of the general OS in the designated program (s) of the secure OS or confirming a pre-allocated memory area A third step in which the program (n) provides an encrypted OTP received on the general OS to the memory area, and a fourth step in which a program (s) of the secure OS verifies the encrypted OTP from the memory area; The program (s) decrypts the encrypted OTP and restores the OTP dynamically generated by the server, and confirms a verification value for verifying the restored OTP with the OTP generated by the server. ) Verifying the restored OTP to an OTP dynamically generated by the server by reading the verification value, and verifying the restored OTP with an OTP generated by the server, wherein the program (s) And outputting the restored OTP by accessing the screen output means of the wireless terminal through the step S7.

본 발명에 따르면, 상기 보안OS는 프로세서에 탑재된 트러스트존(Trust Zone)을 포함할 수 있다.According to the present invention, the secure OS may include a trust zone installed in the processor.

본 발명에 따르면, 상기 보안운영체제를 이용한 서버형 오티피 제공 방법은, 상기 프로그램(n)이 상기 보안OS에 지정된 프로그램(s)이 탑재되었음을 식별하거나 상기 보안OS에 탑재된 프로그램(s)을 식별하는 식별정보를 일반OS 저장영역에 저장하는 단계를 더 포함할 수 있다.According to the present invention, a method of providing a server-type object using the security operating system comprises the steps of: identifying the program (s) assigned to the secure OS as the program (n) And storing the identification information in the general OS storage area.

본 발명에 따르면, 상기 보안운영체제를 이용한 서버형 오티피 제공 방법은, 상기 프로그램(n)이 상기 보안OS로 전환되기 직전의 상기 프로그램(n)에 대한 상태정보를 저장하여 유지하는 단계를 더 포함할 수 있다.According to another aspect of the present invention, there is provided a method for providing a server-type object using the secure operating system, the method comprising: storing and maintaining status information about the program n immediately before the program n is switched to the secure OS can do.

본 발명에 따르면, 상기 제2 단계는 상기 프로그램(n)이 SMC(Secure Monitor Call) 명령을 통해 보안OS를 구동하는 단계를 더 포함할 수 있다. 한편 상기 제2 단계는 상기 프로그램(n)이 일반OS에 상기 메모리영역을 할당하거나 또는 기 할당된 메모리영역을 확인할 수 있다. 한편 상기 제2 단계는 상기 프로그램(n)이 일반OS와 보안OS 간 전환 절차를 수행하는 보안 모니터에 상기 메모리영역을 할당하거나 또는 기 할당된 메모리영역을 확인할 수 있다. 한편 상기 제2 단계는 상기 프로그램(n)이 네트워크 상의 보안서버에 보안OS의 프로그램(s)에서 접근 가능한 메모리영역을 할당하거나 또는 기 할당된 메모리영역을 확인할 수 있다. 한편 상기 제2 단계는 상기 프로그램(n)이 상기 메모리영역을 참조하는 일반OS 측의 프로세스로 상기 프로그램(n)을 설정하는 단계를 더 포함할 수 있다.According to the present invention, the second step may further include the step of the program (n) operating a secure OS through a SMC (Secure Monitor Call) command. Meanwhile, in the second step, the program (n) can allocate the memory area to the general OS or the pre-allocated memory area. Meanwhile, the second step may allocate the memory area to the security monitor that performs the switching procedure between the general OS and the secure OS, or may check the pre-allocated memory area. Meanwhile, in the second step, the program (n) can allocate a memory area accessible from the program (s) of the secure OS to the security server on the network or check the pre-allocated memory area. On the other hand, the second step may further include setting the program (n) as a process of the general OS side in which the program (n) refers to the memory area.

본 발명에 따르면, 상기 보안운영체제를 이용한 서버형 오티피 제공 방법은, 상기 프로그램(s)이 상기 보안OS의 저장영역에 복호화 키를 저장하는 단계를 더 포함하며, 상기 제5 단계는 상기 저장된 복호화 키를 통해 상기 암호화된 OTP를 복호화하여 복원하는 단계를 더 포함할 수 있다.According to another aspect of the present invention, there is provided a method of providing server-type authentication using a secure operating system, the method including storing a decryption key in a storage area of the secure OS by the program (s) Decrypting the encrypted OTP through the key and restoring the decrypted OTP.

본 발명에 따르면, 상기 보안운영체제를 이용한 서버형 오티피 제공 방법은, 상기 프로그램(s)이 상기 보안OS에서 연결 가능한 통신망을 경유하여 지정된 서버와 복호화 키를 교환하는 단계를 더 포함하며, 상기 제5 단계는 상기 교환된 복호화 키를 통해 상기 암호화된 OTP를 복호화하여 복원하는 단계를 더 포함할 수 있다.According to another aspect of the present invention, there is provided a method of providing server-type authentication using a secure operating system, the method including the step of: exchanging a decryption key with a designated server via a communication network, Step 5 may further include decoding and recovering the encrypted OTP through the exchanged decryption key.

본 발명에 따르면, 상기 보안운영체제를 이용한 서버형 오티피 제공 방법은, 상기 프로그램(s)이 보안OS를 통해 무선단말의 입력수단에 접근하여 PIN(Personal Identification Number)을 입력받는 단계와, 상기 보안OS를 통해 입력된 PIN의 유효성을 인증하는 단계;를 더 포함할 수 있다.According to another aspect of the present invention, there is provided a method of providing server-type authentication using a secure operating system, the method comprising the steps of: accessing input means of a wireless terminal through a secure OS to input a PIN (Personal Identification Number) And authenticating the validity of the PIN input through the OS.

본 발명에 따르면, 상기 보안운영체제를 이용한 서버형 오티피 제공 방법은, 상기 프로그램(s)이 상기 OTP를 복원한 경우 상기 프로그램(s)이 상기 복원된 OTP를 상기 메모리영역으로 제공하는 제7 단계와, 상기 프로그램(n)이 상기 메모리영역의 OTP를 일반OS의 OTP로 참조하는 제8 단계를 더 포함할 수 있다. According to another aspect of the present invention, there is provided a server-type object provision method using the secure operating system, wherein the program (s) provides the restored OTP to the memory area when the program (s) And the program (n) refers to the OTP of the memory area as an OTP of the general OS.

본 발명에 따르면, 무선단말에 일반OS와 보안OS를 포함하는 이종의 OS가 탑재된 경우, 일반OS를 통한 거래 중에 OTP가 필요한 경우 일반OS를 통해 통신 가능한 지정된 서버를 통해 동적 생성되고 암호화된 OTP를 수신한 후 보안OS로 공유 전달하여 서버에서 생성한 원래의 OTP로 복원함으로써 일반OS의 해킹이나 변조에 대해 안전하명서 일반OS를 통한 거래에 적용 가능한 OTP를 제공하는 이점이 있다.According to the present invention, when a heterogeneous OS including a general OS and a secure OS is mounted on a wireless terminal, if an OTP is required during a transaction through a general OS, the generated OTP And restore it to the original OTP created by the server. Therefore, there is an advantage of providing OTP that can be applied to the transaction through the general operating system safely and securely against hacking or tampering of the general OS.

도 1은 본 발명의 실시 방법에 따른 무선단말의 기능 구성을 도시한 도면이다.
도 2는 본 발명의 실시 방법에 따른 프로그램의 기능 구성을 도시한 도면이다.
도 3은 본 발명의 실시 방법에 따라 보안OS에 프로그램(s)을 준비하는 과정을 도시한 도면이다.
도 4는 본 발명의 실시 방법에 따라 일반OS와 보안OS 간 연동 과정을 도시한 도면이다.
도 5는 본 발명의 실시 방법에 따라 암호화된 OTP를 보안OS를 통해 복원하여 출력하는 과정을 도시한 도면이다.
1 is a diagram illustrating a functional configuration of a wireless terminal according to an embodiment of the present invention.
2 is a diagram showing a functional configuration of a program according to an embodiment of the present invention.
3 is a diagram illustrating a process of preparing a program s in a secure OS according to an embodiment of the present invention.
4 is a diagram illustrating a process of interworking between a general OS and a secure OS according to an embodiment of the present invention.
5 is a diagram illustrating a process of restoring and outputting an encrypted OTP through a secure OS according to an embodiment of the present invention.

이하 첨부된 도면과 설명을 참조하여 본 발명의 바람직한 실시예에 대한 동작 원리를 상세히 설명한다. 다만, 하기에 도시되는 도면과 후술되는 설명은 본 발명의 특징을 효과적으로 설명하기 위한 여러 가지 방법 중에서 바람직한 실시 방법에 대한 것이며, 본 발명이 하기의 도면과 설명만으로 한정되는 것은 아니다.The operation principle of the preferred embodiment of the present invention will be described in detail with reference to the accompanying drawings and description. It should be understood, however, that the drawings and the following detailed description are exemplary and explanatory and are intended to provide further explanation of the invention, and are not to be construed as limiting the present invention.

즉, 하기의 실시예는 본 발명의 수 많은 실시예 중에 바람직한 합집합 형태의 실시예 예에 해당하며, 하기의 실시예에서 특정 구성(또는 단계)를 생략하는 실시예, 또는 특정 구성(또는 단계)에 구현된 기능을 특정 구성(또는 단계)로 분할하는 실시예, 또는 둘 이상의 구성(또는 단계)에 구현된 기능을 어느 하나의 구성(또는 단계)에 통합하는 실시예, 특정 구성(또는 단계)의 동작 순서를 교체하는 실시예 등은, 하기의 실시예에서 별도로 언급하지 않더라도 모두 본 발명의 권리범위에 속함을 명백하게 밝혀두는 바이다. In other words, the following embodiments correspond to the preferred embodiment of the preferred embodiment of the present invention. In the following embodiments, a specific configuration (or step) is omitted, or a specific configuration (or step) (Or steps), or an embodiment that incorporates functions implemented in more than one configuration (or step) into any one configuration (or step), a particular configuration (or step) It will be apparent that the present invention is not limited to the embodiments described below.

또한, 하기에서 본 발명을 설명함에 있어 관련된 공지 기능 또는 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략할 것이다. 그리고 후술되는 용어들은 본 발명에서의 기능을 고려하여 정의된 용어들로서, 이는 사용자, 운용자의 의도 또는 관례 등에 따라 달라질 수 있다. 그러므로 그 정의는 본 발명에서 전반에 걸친 내용을 토대로 내려져야 할 것이다. In the following description of the present invention, a detailed description of known functions and configurations incorporated herein will be omitted when it may make the subject matter of the present invention rather unclear. The terms used below are defined in consideration of the functions of the present invention, which may vary depending on the user, intention or custom of the operator. Therefore, the definition should be based on the contents throughout the present invention.

결과적으로, 본 발명의 기술적 사상은 청구범위에 의해 결정되며, 이하 실시예는 진보적인 본 발명의 기술적 사상을 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 효율적으로 설명하기 위한 일 수단일 뿐이다.As a result, the technical idea of the present invention is determined by the claims, and the following embodiments are merely means for effectively explaining the technical idea of the present invention to a person having ordinary skill in the art to which the present invention belongs Only.

도면1은 본 발명의 실시 방법에 따른 무선단말(100)의 기능 구성을 도시한 도면이다.1 is a functional block diagram of a wireless terminal 100 according to an embodiment of the present invention.

보다 상세하게 본 도면1은 보안커널(130)을 구비한 보안OS(120)와 커널구조가 공개된 일반OS(110)를 탑재한 무선단말(100)의 일반OS(110)에서 실행된 프로그램(n)(200)이 서버(170) 측에서 동적 생성된 후 보안OS(120)의 지정된 프로그램(s)(240)를 통해서만 복호화되게 암호화된 OTP를 수신하여 보안OS(120)로 전달하면 보안OS(120)의 프로그램(s)(240) 암호화된 OTP를 복호화하여 출력하는 기능 구성을 도시한 것으로서, 본 발명이 속한 기술분야에서 통상의 지식을 가진 자라면, 본 도면1을 참조 및/또는 변형하여 상기 무선단말(100) 기능에 대한 다양한 실시 방법을 유추할 수 있을 것이나, 본 발명은 상기 유추되는 모든 실시 방법을 포함하여 이루어지며, 본 도면1에 도시된 실시 방법만으로 그 기술적 특징이 한정되지 아니한다. 바람직하게, 본 도면1의 무선단말(100)은 보안OS(120)와 일반OS(110)를 탑재한 스마트폰, 태블릿PC, PDA 등의 각종 단말기를 포함할 수 있다.In more detail, FIG. 1 is a diagram showing an example of a program executed in a general OS 110 of a wireless terminal 100 having a security OS 120 having a secure kernel 130 and a general OS 110 having a kernel structure disclosed therein n 200 is dynamically generated on the server 170 side and then receives the encrypted OTP so as to be decrypted only through the designated program (s) 240 of the secure OS 120 and delivers the encrypted OTP to the secure OS 120, (S) 240 of the program 120, and output the decrypted OTP. As those skilled in the art, it is to be understood that the present invention may be implemented by referring to and / However, it should be understood that the present invention is not limited to the above-described embodiments, and various modifications may be made without departing from the scope of the present invention. No. The wireless terminal 100 of FIG. 1 may include various terminals such as a smart phone, a tablet PC, and a PDA, which are equipped with the secure OS 120 and the general OS 110.

도면1을 참조하면, 상기 무선단말(100)은, 제어부(105)와 메모리부(165)와 화면출력부(135)와 사용자입력부(140)와 사운드처리부(145)와 근거리망 통신부(150)와 무선망 통신부(155)와 USIM 리더부(160) 및 USIM를 구비하며, 전원 공급을 위한 배터리를 구비한다.1, the wireless terminal 100 includes a control unit 105, a memory unit 165, a screen output unit 135, a user input unit 140, a sound processing unit 145, a local area network communication unit 150, A wireless network communication unit 155, a USIM reader 160, and a USIM, and has a battery for power supply.

상기 제어부(105)는 상기 무선단말(100)의 동작을 제어하는 구성의 총칭으로서, 물리적으로 프로세서와 실행 메모리를 포함하여 구성되며, 상기 무선단말(100)에 구비된 각 구성부와 버스(BUS)를 통해 연결된다. 바람직하게, 상기 프로세서는 ARM 프로세서를 포함할 수 있다.The control unit 105 is a general term for controlling the operation of the wireless terminal 100. The control unit 105 physically includes a processor and an execution memory, ). Preferably, the processor may comprise an ARM processor.

본 발명에 따르면, 상기 제어부(105)는 커널구조와 API 및 드라이버 등이 공개된 일반OS(110)(Normal Operating System)가 운영되는 노멀월드와, 상기 일반OS(110)와 구별되는 보안커널(130)을 구비한 보안OS(120)(Secure Operating System)가 운영되는 시큐어월드를 포함하여 이루어진다. 상기 노멀월드와 시큐어월드는 상호 고립된 구조로 이루어진다. 바람직하게, 상기 보안OS(120)는 ARM 프로세서의 트러스트존(Trust Zone)을 포함한다. 이하, 편의상 상기 일반OS(110)와 보안OS(120) 상에서 본 발명을 위한 기능적 구성을 본 제어부(105)에 도시하여 설명하기로 한다.According to the present invention, the control unit 105 includes a normal world in which a normal OS 110 in which a kernel structure, an API and a driver are displayed, and a secure kernel And a secure world in which a secure operating system 120 (Secure Operating System) having a security function 130 is operated. The normal world and the secure world are constructed in a mutually isolated structure. Preferably, the secure OS 120 includes a Trust Zone of the ARM processor. Hereinafter, a functional configuration for the present invention on the general OS 110 and the secure OS 120 will be described with reference to the control unit 105 for convenience.

상기 메모리부(165)는 상기 무선단말(100)에 구비된 저장수단에 대응하는 비휘발성 메모리의 총칭으로서, 상기 제어부(105)를 통해 실행되는 적어도 하나의 프로그램코드와 상기 프로그램코드가 이용하는 적어도 하나의 데이터셋트를 저장하여 유지한다. The memory unit 165 is a generic name of a nonvolatile memory corresponding to a storage unit included in the wireless terminal 100 and includes at least one program code executed through the control unit 105 and at least one And stores the data set.

본 발명에 따르면, 상기 메모리부(165)는 일반OS(110)에서 접근하는 일반OS(110) 저장영역과 보안OS(120)에서 접근하는 보안OS(120) 저장영역을 포함할 수 있으며, 일반OS(110)는 보안OS(120) 저장영역에 접근할 수 없다. 상기 일반OS(110) 저장영역에는 일반OS(110)를 통해 실행되는 애플리케이션에 대응하는 프로그램코드와 상기 일반OS(110)의 애플리케이션이 이용하는 적어도 하나의 데이터셋트를 저장할 수 있다. 한편 상기 보안OS(120) 저장영역에는 보안OS(120)를 통해 실행되는 애플리케이션에 대응하는 프로그램코드와 상기 보안OS(120)의 애플리케이션이 이용하는 적어도 하나의 데이터셋트를 저장할 수 있다.The memory unit 165 may include a general OS 110 storage area accessed by the general OS 110 and a secure OS storage area accessed by the secure OS 120, The OS 110 can not access the secure OS 120 storage area. The general OS 110 storage area may store program codes corresponding to applications executed through the general OS 110 and at least one data set used by applications of the general OS 110. [ Meanwhile, the storage area of the secure OS 120 may store a program code corresponding to an application executed through the secure OS 120 and at least one data set used by the application of the secure OS 120. [

상기 일반OS(110)는 커널구조가 공개된 커널(이하, 보안OS(120)의 보안커널(130)과 대비하여 “일반커널(115)”이라고 함)을 구비하며, 상기 일반OS(110)의 일반커널(115)은 상기 화면출력부(135), 사용자입력부(140), 사운드처리부(145), 근거리망 통신부(150), 무선망 통신부(155) 등, 상기 무선단말(100)의 각종 자원에 접근할 수 있으며, 이를 위한 일반OS(110) 상의 드라이버를 구비할 수 있다. 상기 일반OS(110)의 일반커널(115)은 상기 보안OS(120) 저장영역에는 접근할 수 없으며, 상기 일반OS(110)와 보안OS(120)는 상호 고립된다.The general OS 110 has a kernel (hereinafter, referred to as a "general kernel 115" in contrast to the security kernel 130 of the secure OS 120) The general kernel 115 of the wireless terminal 100 includes various functions of the wireless terminal 100 such as the screen output unit 135, the user input unit 140, the sound processing unit 145, the local area network communication unit 150, Resources, and may be provided with a driver on the general OS 110 for this purpose. The general kernel 115 of the general OS 110 can not access the storage area of the secure OS 120 and the general OS 110 and the secure OS 120 are isolated from each other.

상기 보안OS(120)는 커널구조가 공개되지 않은 보안커널(130)을 구비하며, 상기 보안OS(120)의 보안커널(130)은 상기 화면출력부(135), 사용자입력부(140), 사운드처리부(145), 근거리망 통신부(150), 무선망 통신부(155) 등, 상기 무선단말(100)의 각종 자원에 접근할 수 있으며, 이를 위한 보안OS(120) 상의 드라이버를 구비할 수 있다. 바람직하게, 상기 보안OS(120)의 보안커널(130)은 상기 일반OS(110) 저장영역에 접근할 수 없으며, 상기 보안OS(120)와 일반OS(110)는 상호 고립된다.The secure OS 120 includes a secure kernel 130 in which a kernel structure is not disclosed and the secure kernel 130 of the secure OS 120 includes a screen output unit 135, a user input unit 140, The wireless terminal 100 may access various resources of the wireless terminal 100 such as the processor 145, the short distance network communication unit 150 and the wireless network communication unit 155 and may include a driver on the secure OS 120 for this purpose. Preferably, the security kernel 130 of the secure OS 120 can not access the storage area of the general OS 110, and the secure OS 120 and the general OS 110 are isolated from each other.

상기 화면출력부(135)는 상기 무선단말(100)에 구비된 화면출력수단으로서, 바람직하게 LCD(Liquid Crystal Display)와 같은 디스플레이를 포함하거나, 또는 터치입력부를 포함하는 터치스크린을 포함할 수 있다. The screen output unit 135 may include a display such as a liquid crystal display (LCD) or a touch screen including a touch input unit as a screen output unit provided in the wireless terminal 100 .

상기 일반OS(110)의 일반커널(115)은 상기 화면출력부(135)의 디스플레이 내지 터치스크린에 접근하여 제어하기 위한 드라이버를 구비하며, 상기 일반커널(115)이 상기 화면출력부(135)에 접근하여 제어하는 경우 상기 보안OS(120)는 상기 화면출력부(135)에 접근할 수 없다.The general kernel 115 of the general OS 110 includes a driver for accessing and controlling the display or the touch screen of the screen output unit 135. The general kernel 115 is connected to the screen output unit 135, The security OS 120 can not access the screen output unit 135. In this case,

상기 보안OS(120)의 보안커널(130)은 상기 화면출력부(135)의 디스플레이 내지 터치스크린에 접근하여 제어하기 위한 별도의 보안 드라이버를 구비하며, 상기 보안커널(130)이 상기 화면출력부(135)에 접근하여 제어하는 경우 상기 일반OS(110)는 상기 화면출력부(135)에 접근할 수 없다.The secure kernel 130 of the secure OS 120 has a separate security driver for accessing and controlling the display or the touch screen of the screen output unit 135, The general OS 110 can not access the screen output unit 135 when accessing and controlling the display unit 135. [

상기 사용자입력부(140)는 상기 무선단말(100)에 구비된 사용자 입력수단으로서, 상기 화면출력부(135)가 터치스크린을 포함하는 경우 상기 터치스크린의 터치입력부를 포함할 수 있으며, 실시 방법에 따라 키패드, 키버튼을 포함할 수 있다.The user input unit 140 may be a user input unit provided in the wireless terminal 100 and may include a touch input unit of the touch screen when the screen output unit 135 includes a touch screen. A keypad, and a key button.

상기 일반OS(110)의 일반커널(115)은 상기 사용자입력부(140)의 터치입력부 내지 키패드나 키버튼에 접근하여 제어하기 위한 드라이버를 구비하며, 상기 일반커널(115)이 상기 사용자입력부(140)에 접근하여 제어하는 경우 상기 보안OS(120)는 상기 사용자입력부(140)에 접근할 수 없다.The general kernel 115 of the general OS 110 includes a driver for accessing and controlling a touch input unit, a keypad or a key button of the user input unit 140. The general kernel 115 is connected to the user input unit 140 The security OS 120 can not access the user input unit 140. In this case,

상기 보안OS(120)의 보안커널(130)은 상기 사용자입력부(140)의 터치입력부 내지 키패드나 키버튼에 접근하여 제어하기 위한 별도의 보안 드라이버를 구비하며, 상기 보안커널(130)이 상기 사용자입력부(140)에 접근하여 제어하는 경우 상기 일반OS(110)는 상기 사용자입력부(140)에 접근할 수 없다.The secure kernel 130 of the secure OS 120 has a separate security driver for accessing and controlling the touch input unit, keypad or key button of the user input unit 140, When accessing and controlling the input unit 140, the general OS 110 can not access the user input unit 140.

상기 사운드처리부(145)는 상기 무선단말(100)에 구비된 사운드출력수단과 사운드입력수단으로서, 사운드를 출력하는 스피커와 사운드를 입력받는 마이크로폰을 포함할 수 있다.The sound processing unit 145 may include sound output means and sound input means provided in the wireless terminal 100, and may include a speaker for outputting sound and a microphone for receiving sound.

상기 일반OS(110)의 일반커널(115)은 상기 사운드처리부(145)의 스피커 내지 마이크로폰에 접근하여 제어하기 위한 드라이버를 구비하며, 상기 일반커널(115)이 상기 사운드처리부(145)에 접근하여 제어하는 경우 상기 보안OS(120)는 상기 일반OS(110)가 제어하는 사운드처리부(145)에 접근할 수 없다.The general kernel 115 of the general OS 110 includes a driver for accessing and controlling the speaker or microphone of the sound processing unit 145. The general kernel 115 accesses the sound processing unit 145 The security OS 120 can not access the sound processing unit 145 controlled by the general OS 110. [

상기 보안OS(120)의 보안커널(130)은 상기 사운드처리부(145)의 스피커 내지 마이크로폰에 접근하여 제어하기 위한 별도의 보안 드라이버를 구비하며, 상기 보안커널(130)이 상기 사운드처리부(145)에 접근하여 제어하는 경우 상기 일반OS(110)는 상기 보안OS(120)가 제어하는 사운드처리부(145)에 접근할 수 없다.The secure kernel 130 of the secure OS 120 includes a separate security driver for accessing and controlling the speaker or microphone of the sound processing unit 145. The secure kernel 130 may include a sound driver 145, The general OS 110 can not access the sound processing unit 145 controlled by the secure OS 120. In this case,

상기 무선망 통신부(155)와 근거리망 통신부(150)는 상기 무선단말(100)을 통신망에 접속시키는 통신수단으로서, 바람직하게 상기 무선단말(100)은 무선망 통신부(155)를 기본 통신수단으로 구비할 수 있으며, 하나 이상의 근거리망 통신부(150)를 더 구비할 수 있다.The wireless network communication unit 155 and the short-range network communication unit 150 are communication means for connecting the wireless terminal 100 to a communication network. The wireless terminal 100 preferably includes a wireless network communication unit 155 as a basic communication unit And may further include one or more short-range network communication units 150.

상기 무선망 통신부(155)는 상기 무선단말(100)을 기지국을 경유하는 무선 통신망에 접속시키는 통신수단의 총칭으로서, 특정 주파수 대역의 무선 주파수 신호를 송수신하는 안테나, RF모듈, 기저대역모듈, 신호처리모듈을 적어도 하나 포함한다. 상기 무선망 통신부(155)는 상기 무선단말(100)을 교환기를 경유하는 통화채널과 데이터채널을 포함하는 통화망에 연결할 수 있으며, 경우에 따라 상기 교환기를 경유하지 않고 패킷 통신 기반의 무선망 데이터 통신(예컨대, 인터넷)을 제공하는 데이터망에 연결할 수 있다.The wireless network communication unit 155 collectively refers to communication means for connecting the wireless terminal 100 to a wireless communication network via a base station and includes an antenna for transmitting and receiving a radio frequency signal of a specific frequency band, And at least one processing module. The wireless network communication unit 155 may connect the wireless terminal 100 to a call network including a call channel and a data channel via an exchange and may transmit wireless network data based on a packet communication, To a data network providing communication (e.g., the Internet).

본 발명의 실시 방법에 따르면, 상기 무선망 통신부(155)는 CDMA/WCDMA/LTE 규격에 따라 이동 통신망에 접속, 위치등록, 호처리, 통화연결, 데이터통신, 핸드오프를 적어도 하나 수행하는 이동 통신 구성을 포함한다. 한편 당업자의 의도에 따라 상기 무선망 통신부(155)는 IEEE 802.16 관련 규격에 따라 휴대인터넷에 접속, 위치등록, 데이터통신, 핸드오프를 적어도 하나 수행하는 휴대 인터넷 통신 구성을 더 포함할 수 있으며, 상기 무선망 통신부(155)가 제공하는 무선 통신 구성에 의해 본 발명이 한정되지 아니함을 명백히 밝혀두는 바이다. 즉, 상기 무선망 통신부(155)는 무선 구간의 주파수 대역이나 통신망의 종류 또는 프로토콜에 무관하게 셀 기반의 기지국을 통해 무선 통신망에 접속하는 구성부의 총칭이다.According to an embodiment of the present invention, the wireless network communication unit 155 is a mobile communication unit that performs at least one of connection to a mobile communication network, location registration, call processing, call connection, data communication, and handoff according to the CDMA / WCDMA / ≪ / RTI > Meanwhile, according to the intention of a person skilled in the art, the wireless network communication unit 155 may further include a portable Internet communication configuration for performing at least one of connection to the portable Internet, location registration, data communication and handoff according to the IEEE 802.16 standard, It is evident that the present invention is not limited by the wireless communication configuration provided by the wireless network communication unit 155. [ That is, the wireless network communication unit 155 is a general term for a component that connects to a wireless communication network through a cell-based base station irrespective of a frequency band of a wireless section, a type of a communication network, or a protocol.

상기 일반OS(110)의 일반커널(115)은 상기 무선망 통신부(155)에 접근하여 제어하기 위한 드라이버를 구비하며, 상기 일반커널(115)이 상기 사운드처리부(145)에 접근하여 제어하는 경우 상기 보안OS(120)는 상기 일반OS(110)가 제어하는 무선망 통신부(155)에 접근할 수 없다.The general kernel 115 of the general OS 110 includes a driver for accessing and controlling the wireless network communication unit 155. When the general kernel 115 accesses and controls the sound processing unit 145 The secure OS 120 can not access the wireless network communication unit 155 controlled by the general OS 110.

상기 보안OS(120)의 보안커널(130)은 상기 무선망 통신부(155)에 접근하여 제어하기 위한 별도의 보안 드라이버를 구비하며, 상기 보안커널(130)이 상기 무선망 통신부(155)에 접근하여 제어하는 경우 상기 일반OS(110)는 상기 보안OS(120)가 제어하는 무선망 통신부(155)에 접근할 수 없다.The secure kernel 130 of the secure OS 120 has a separate security driver for accessing and controlling the wireless network communication unit 155. The secure kernel 130 may access the wireless network communication unit 155 The general OS 110 can not access the wireless network communication unit 155 controlled by the secure OS 120. In this case,

상기 근거리망 통신부(150)는 일정 거리 이내(예컨대, 10m 내외)에서 무선 주파수 신호를 통신매체로 이용하여 통신세션을 연결하고 이를 기반으로 상기 무선단말(100)을 통신망에 접속시키는 통신수단의 총칭으로서, 바람직하게 와이파이 통신, 블루투스 통신, 공중무선 통신, UWB 중 적어도 하나를 통해 상기 무선단말(100)을 통신망에 접속시킬 수 있다. 본 발명의 실시 방법에 따르면, 상기 근거리망 통신부(150)는 무선AP를 통해 상기 무선단말(100)을 패킷 통신 기반의 근거리 무선 데이터 통신을 제공하는 데이터망에 연결할 수 있다.The short-range network communication unit 150 is a generic term of communication means for connecting a communication session using a radio frequency signal within a predetermined distance (for example, about 10 m) as a communication medium and connecting the communication terminal to the communication network The wireless terminal 100 can be connected to the communication network through at least one of Wi-Fi communication, Bluetooth communication, public wireless communication, and UWB. According to an embodiment of the present invention, the short-range network communication unit 150 may connect the wireless terminal 100 to a data network providing packet-based short-range wireless data communication through a wireless AP.

상기 일반OS(110)의 일반커널(115)은 상기 근거리망 통신부(150)에 접근하여 제어하기 위한 드라이버를 구비하며, 상기 일반커널(115)이 상기 사운드처리부(145)에 접근하여 제어하는 경우 상기 보안OS(120)는 상기 일반OS(110)가 제어하는 근거리망 통신부(150)에 접근할 수 없다.The general kernel 115 of the general OS 110 includes a driver for accessing and controlling the local area network communication unit 150. When the general kernel 115 accesses and controls the sound processing unit 145 The secure OS 120 can not access the local area network communication unit 150 controlled by the general OS 110.

상기 보안OS(120)의 보안커널(130)은 상기 근거리망 통신부(150)에 접근하여 제어하기 위한 별도의 보안 드라이버를 구비하며, 상기 보안커널(130)이 상기 근거리망 통신부(150)에 접근하여 제어하는 경우 상기 일반OS(110)는 상기 보안OS(120)가 제어하는 근거리망 통신부(150)에 접근할 수 없다.The secure kernel 130 of the secure OS 120 has a separate security driver for accessing and controlling the local area network communication unit 150. The secure kernel 130 may access the local area network communication unit 150 The general OS 110 can not access the local area network communication unit 150 controlled by the secure OS 120. In this case,

상기 USIM 리더부(160)는 ISO/IEC 7816 규격을 기반으로 상기 무선단말(100)에 탑재 또는 이탈착되는 범용가입자식별모듈(Universal Subscriber Identity Module)과 적어도 하나의 데이터셋트를 교환하는 구성의 총칭으로서, 상기 데이터셋트는 APDU(Application Protocol Data Unit)를 통해 반이중 통신 방식으로 교환된다.The USIM reader 160 is a generic term of a configuration for exchanging at least one data set with a universal subscriber identity module that is mounted or detached from the wireless terminal 100 based on the ISO / IEC 7816 standard , And the data set is exchanged in a half duplex communication manner through an APDU (Application Protocol Data Unit).

상기 USIM은 상기 ISO/IEC 7816 규격에 따른 IC칩이 구비된 SIM 타입의 카드로서, 상기 USIM 리더부(160)와 연결되는 적어도 하나의 접점을 포함하는 입출력 인터페이스와, 적어도 하나의 IC칩용 프로그램코드와 데이터셋트를 저장하는 IC칩 메모리와, 상기 입출력 인터페이스와 연결되어 상기 무선단말(100)로부터 전달되는 적어도 하나의 명령에 따라 상기 IC칩용 프로그램코드를 연산하거나 상기 데이터셋트를 추출(또는 가공)하여 상기 입출력 인터페이스로 전달하는 프로세서를 포함하여 이루어진다.The USIM is an SIM type card having an IC chip conforming to the ISO / IEC 7816 standard, and includes an input / output interface including at least one contact connected to the USIM reader 160, a program code for at least one IC chip (Or processing) the program code for the IC chip or extracting (or processing) the data set in accordance with at least one command transmitted from the wireless terminal 100 in connection with the input / output interface To the input / output interface.

본 발명에 따르면, 일반OS(110)에는 일반커널(115)을 이용하여 동작하는 각종 애플리케이션이 탑재되며, 사용자는 상기 일반OS(110)에서 실행된 각종 애플리케이션이 상기 일반커널(115)을 통해 제어되는 화면출력부(135)를 통해 하나 이상의 인터페이스 화면을 표시한 상태에서 상기 일반커널(115)을 통해 제어되는 사용자입력부(140)에 의한 사용자 조작을 수행하며, 이를 기반으로 상기 일반OS(110)의 애플리케이션은 지정된 거래 동작을 수행하여 사용자에게 각종 서비스를 제공한다. 이하, 일반OS(110) 상에서 본 발명에 따라 동작하는 애플리케이션(또는 애플리케이션에 내장되거나 연동하는 프로그램모듈)을 편의상 “프로그램(n)(200)”이라고 한다. 바람직하게, 상기 프로그램(n)(200)은 일반OS(110)에서 실행되는 뱅킹 앱(Banking Application)이나 결제 앱(Payment Application)과 같이 OTP(One Time Password)를 이용하는 애플리케이션을 포함할 수 있다. 그러나 상기 프로그램(n)(200)이 뱅킹 앱이나 결제 앱으로만 한정되는 것은 결코 아니며, 일반OS(110) 상에서 OTP를 이용하는 애플리케이션이라면 어떠한 애플리케이션이라도 무방하며, 본 발명의 권리범위에 귀속된다.According to the present invention, the general OS 110 is loaded with various applications operating using the general kernel 115, and the user can control various applications executed in the general OS 110 through the general kernel 115 The normal OS 115 performs a user operation by the user input unit 140 controlled through the general kernel 115 while displaying one or more interface screens through the screen output unit 135. The general OS 115, The application of the present invention performs a designated transaction operation and provides various services to the user. Hereinafter, an application (or a program module embedded in or linked to an application) operating in accordance with the present invention on the general OS 110 is referred to as " program (n) 200 " Preferably, the program (n) 200 may include an application that uses an OTP (One Time Password) such as a banking application or a payment application executed in the general OS 110. However, the program (n) 200 is not limited to a banking app or a payment application, and any application may use the OTP on the general OS 110 and belong to the scope of the present invention.

본 발명의 실시 방법에 따르면, 상기 일반OS(110)의 프로그램(n)(200)은 OS 구조 상 일반커널(115)의 상위에 구비되며, 일반커널(115)을 이용하여 동작한다.According to the embodiment of the present invention, the program (n) 200 of the general OS 110 is provided in the upper part of the general kernel 115 on the OS structure and operates using the general kernel 115.

본 발명에 따르면, 보안OS(120)에는 보안커널(130)을 기반으로 동작하는 적어도 하나의 보안 애플리케이션이 탑재된다. 상기 보안OS(120) 상의 보안 애플리케이션은 보안커널(130)을 이용하여 동작하며, 필요에 따라 상기 무선단말(100)의 화면출력부(135), 사용자입력부(140), 사운드처리부(145), 무선망 통신부(155), 근거리망 통신부(150) 등의 제어 권한을 획득하여 이를 이용할 수 있다. 이하, 일반OS(110) 상에서 본 발명에 따라 동작하는 보안 애플리케이션(또는 보안 애플리케이션에 내장되거나 연동하는 프로그램모듈)을 편의상 “프로그램(s)(240)”이라고 한다. 바람직하게, 상기 프로그램(s)(240)은 보안OS(120)에서 실행되는 OTP 앱을 포함할 수 있다. According to the present invention, at least one security application operating on the secure kernel 130 is installed in the secure OS 120. [ The security application on the secure OS 120 operates using the secure kernel 130 and may be connected to the screen output unit 135, the user input unit 140, the sound processing unit 145, The wireless network communication unit 155, the local area network communication unit 150, and the like. Hereinafter, a security application (or a program module embedded in or linked to a security application) operating in accordance with the present invention on a general OS 110 is referred to as " program (s) 240 " Preferably, the program (s) 240 may include an OTP app running in the secure OS 120.

본 발명의 실시 방법에 따르면, 상기 보안OS(120)의 프로그램(s)(240)은 OS 구조 상 보안커널(130)의 상위에 구비되며, 보안커널(130)을 이용하여 동작한다.According to an embodiment of the present invention, the program (s) 240 of the secure OS 120 is provided in the upper part of the secure kernel 130 on the OS structure and operates using the secure kernel 130.

본 발명에 따르면, 상기 보안OS(120)(또는 일반OS(110)와 보안OS(120) 사이)에는 상기 무선단말(100)의 OS를 일반OS(110)에서 보안OS(120)로 전환하기 위한 일련의 절차를 수행하거나, 또는 보안OS(120)에서 일반OS(110)로 전환하기 위한 일련의 절차를 수행하는 보안 모니터(125)(Secure Monitor)를 구비한다. 상기 보안 모니터(125)는 보안OS(120)의 명령을 사용하므로, 편의상 본 도면1은 상기 보안 모니터(125)가 보안OS(120)에 구비된 것으로 도시하여 설명하기로 한다.The OS of the wireless terminal 100 is switched from the general OS 110 to the secure OS 120 in the secure OS 120 (or between the general OS 110 and the secure OS 120) Or a security monitor 125 (Secure Monitor) that performs a series of procedures for switching from the security OS 120 to the general OS 110. [ Since the security monitor 125 uses the command of the secure OS 120, FIG. 1 illustrates the security monitor 125 as being provided in the secure OS 120 for the sake of convenience.

상기 보안 모니터(125)는 커널을 통해 SMC(Secure Monitor Call) 명령이 발생하거나, OS전환에 대응하는 IRQ(Interrupt Request) 내지 FIQ(Fast Interrupt Request)가 발생하는 경우에 무선단말(100)의 OS를 전환하는 절차를 수행할 수 있다. The security monitor 125 monitors whether an SMC (Secure Monitor Call) command is generated through the kernel or an IRQ (Interrupt Request) to FIQ (Fast Interrupt Request) Can be performed.

도면2는 본 발명의 실시 방법에 따른 프로그램의 기능 구성을 도시한 도면이다.2 is a diagram showing a functional configuration of a program according to an embodiment of the present invention.

보다 상세하게 본 도면2는 일반OS(110)의 프로그램(n)(200)과 보안OS(120)의 프로그램(s)(240)의 기능 구성을 도시한 것으로서, 본 발명이 속한 기술분야에서 통상의 지식을 가진 자라면, 본 도면2를 참조 및/또는 변형하여 상기 프로그램의 기능에 대한 다양한 실시 방법을 유추할 수 있을 것이나, 본 발명은 상기 유추되는 모든 실시 방법을 포함하여 이루어지며, 본 도면2에 도시된 실시 방법만으로 그 기술적 특징이 한정되지 아니한다. 2 shows the functional configuration of the program (n) 200 of the general OS 110 and the program (s) 240 of the secure OS 120. In the technical field of the present invention, It will be understood by those skilled in the art that various changes and modifications of the program may be made without departing from the spirit and scope of the present invention as defined by the following claims. The technical characteristics are not limited only by the method shown in FIG.

도면2를 참조하면, 상기 보안OS(120)의 프로그램(s)(240)은, 보안OS(120) 상에서 OTP를 동적으로 생성하기 위한 PIN(Personal Identification Number) 인증을 수행하기 위한 PIN 정보를 등록하는 PIN 등록부(245)를 구비한다.Referring to FIG. 2, the program (s) 240 of the secure OS 120 registers PIN information for PIN (Personal Identification Number) authentication for dynamically generating an OTP on the secure OS 120 And a PIN registration unit 245 for registering the PIN.

상기 보안OS(120)에 탑재된 프로그램(s)(240)이 최초 1회 이상 실행되면, 상기 PIN 등록부(245)는 보안OS(120) 저장영역 상의 지정된 PIN 저장영역에 OTP를 생성하기 위한 PIN 정보가 저장되어 있는지 확인한다. 만약 상기 PIN 저장영역에 PIN 정보가 저장되지 않은 경우, 상기 PIN 등록부(245)는 지정된 절차에 따라 상기 화면출력부(135)와 사용자입력부(140)의 접근 권한을 획득하여 상기 화면출력부(135)에 PIN 등록을 위한 인터페이스를 표시하고, 상기 사용자입력부(140)를 통해 PIN 정보를 입력받아 상기 PIN 저장영역에 저장한다. 바람직하게, 상기 PIN 등록부(245)는 상기 PIN 정보를 지정된 암호화 방식에 따라 암호화하여 상기 PIN 저장영역에 저장할 수 있다. 일반OS(110)는 상기 PIN 저장영역에 접근할 수 없다.When the program (s) 240 mounted on the secure OS 120 is executed at least once, the PIN registration unit 245 transmits a PIN (PIN) for creating an OTP to a designated PIN storage area on the secure OS 120 storage area Make sure the information is stored. If the PIN information is not stored in the PIN storage area, the PIN registration unit 245 obtains the access right of the screen output unit 135 and the user input unit 140 according to a designated procedure, And receives the PIN information through the user input unit 140 and stores the received PIN information in the PIN storage area. The PIN registration unit 245 may encrypt the PIN information according to a designated encryption scheme and store the encrypted PIN information in the PIN storage area. The general OS 110 can not access the PIN storage area.

도면2를 참조하면, 상기 일반OS(110)의 프로그램(n)(200)은, 지정된 거래 동작을 수행하는 중에 OTP 구현 또는 이용을 판단하는 OTP 판단부(205)와, 상기 OTP 구현/이용 판단 시 상기 일반OS(110)에서 연결 가능한 통신망을 경유하여 지정된 서버(170) 측으로 OTP를 요청하는 OTP 요청부(210)와, 상기 일반OS(110)에서 연결 가능한 통신망을 경유하여 상기 서버(170) 측에서 동적 생성된 후 상기 보안OS(120)의 지정된 프로그램(s)(240)을 통해서만 복호화되게 암호화된 OTP를 수신하는 OTP 수신부(215)를 구비한다.Referring to FIG. 2, the program 200 of the general OS 110 includes an OTP determination unit 205 for determining whether to implement or use an OTP during a designated transaction operation, An OTP request unit 210 for requesting an OTP to a designated server 170 via a communication network connectable to the general OS 110 and an OTP request unit 210 for sending an OTP request to the server 170 via a communication network connectable from the general OS 110. [ And an OTP receiving unit 215 receiving the encrypted OTP so as to be decrypted only through the designated program (s) 240 of the secure OS 120 after being dynamically generated in the secure OS 120.

상기 프로그램(n)(200)은 일반OS(110)에서 실행되어 뱅킹, 결제, 인증 중 적어도 하나의 지정된 거래 동작을 수행하며, 상기 OTP 판단부(205)는 상기 지정된 거래 동작을 수행하는 중에 OTP를 생성 내지 이용하는 절차를 수행할 지 판단한다. 예를들어, 상기 프로그램(n)(200)이 뱅킹 앱인 경우, 상기 OTP 판단부(205)는 상기 프로그램(n)(200)을 통한 뱅킹거래 중에 OTP를 입력하는 절차를 확인할 수 있다. 또는 상기 프로그램(n)(200)이 결제 앱인 경우, 상기 OTP 판단부(205)는 상기 프로그램(n)(200)으로 OTP를 요청하는 푸시를 수신한 것을 확인할 수 있다. The program (n) 200 is executed in the general OS 110 and performs at least one designated transaction operation among banking, payment, and authentication. The OTP determination unit 205 determines whether the OTP Is to be performed. For example, when the program (n) 200 is a banking app, the OTP determination unit 205 can confirm a procedure for inputting an OTP during a banking transaction through the program (n) Or if the program (n) 200 is a payment application, the OTP determination unit 205 can confirm that the program (n) 200 has received a push requesting the OTP.

상기 OTP 판단부(205)를 통해 OTP 구현/이용을 확인한 경우, 상기 OTP 요청부(210)는 상기 일반OS(110)에서 연결 가능한 통신망을 경유하여 상기 일반OS(110)에서 접속 가능한 지정된 서버(170) 측으로 OTP를 동적 생성하여 제공하도록 요청하며, 상기 서버(170)는 상기 요청을 기반으로 지정된 코드체계의 OTP를 동적 생성한다. 바람직하게, 상기 서버(170)는 지정된 씨드값을 지정된 코드생성알고리즘에 대입하여 지정된 코드체계의 OTP를 동적 생성할 수 있으며, 또는 실시 방법에 따라 지정된 코드체계의 난수를 생성하는 난수알고리즘을 통해 난수 형태의 OTP를 동적 생성할 수 있다.When the OTP request unit 210 confirms the OTP implementation / use through the OTP determination unit 205, the OTP request unit 210 transmits the OTP request to the designated server (not shown) accessible from the general OS 110 via the communication network connectable from the general OS 110 170, and the server 170 dynamically generates an OTP of a designated code system based on the request. Preferably, the server 170 can dynamically generate an OTP of a specified code scheme by assigning a designated seed value to a specified code generation algorithm, or generate random numbers using a random number algorithm, OTP can be dynamically generated.

상기 서버(170)는 상기 OTP를 요청한 무선단말(100)의 보안OS(120)에 구비된 프로그램(s)(240)를 통해서만 복호화되게 암호화하는 암호화 키 및/또는 암호 알고리즘을 구비한다. 바람직하게, 상기 서버(170)는 상기 무선단말(100)의 보안OS(120)에 상기 서버(170)의 암호 알고리즘과 매칭되는 복호 알고리즘을 구비한 지정된 프로그램(s)(240)가 설치된 후 상기 무선단말(100)의 일반OS(110)를 경유하여 상기 보안OS(120)의 프로그램(s)(240)와 키 교환/분배 절차를 수행하거나, 또는 상기 보안OS(120)에 상기 프로그램(s)(240)가 설치된 후 상기 보안OS(120)에서 연결 가능한 통신망을 경유하여 상기 보안OS(120)의 프로그램(s)(240)와 지정된 키 교환/분배 절차를 수행하여 암호화 키를 저장할 수 있으며, 상기 보안OS(120)의 프로그램(s)(240)는 상기 암호화 키에 대응하는 복호화 키를 획득하여 상기 보안OS(120)의 지정된 저장영역에 저장할 수 있다. 한편 실시 방법에 따라 상기 암호화 키와 복호화 키는 상기 서버(170)에서 각 OTP를 생성한 이후에 상기 보안OS(120)의 프로그램(s)(240)와 서버(170) 사이의 실시간 키 교환 절차를 통해 교환될 수 있으며, 이에 의해 본 발명이 한정되지 아니한다.The server 170 includes an encryption key and / or an encryption algorithm for decrypting only the program (s) 240 provided in the secure OS 120 of the wireless terminal 100 requesting the OTP. The server 170 may be configured such that a designated program (s) 240 having a decryption algorithm matching the encryption algorithm of the server 170 is installed in the security OS 120 of the wireless terminal 100, (S) 240 of the secure OS 120 via the general OS 110 of the wireless terminal 100 or performs the key exchange / distribution procedure with the secure OS 120 using the program s ) 240 is installed in the secure OS 120 and can perform the specified key exchange / distribution procedure with the program (s) 240 of the secure OS 120 via the communication network connectable in the secure OS 120 to store the encryption key , The program (s) 240 of the secure OS 120 may obtain the decryption key corresponding to the encryption key and store the decryption key in the designated storage area of the secure OS 120. [ Meanwhile, the encryption key and the decryption key may be transmitted to the server 170 through the real-time key exchange procedure between the program (s) 240 of the secure OS 120 and the server 170 after each OTP is generated in the server 170 The present invention is not limited thereto.

상기 서버(170)는 상기 무선단말(100)의 일반OS(110)를 통한 요청을 근거로 지정된 코드체계의 OTP를 동적 생성한 후, 상기 OTP를 요청한 무선단말(100)의 보안OS(120)에 구비된 프로그램(s)(240)에 대응하는 암호화 키를 확인(또는 프로그램(s)(240)와 실시간 교환될 암호화 키를 확인)하고, 상기 확인된 암호화 키를 통해 상기 생성된 OTP를 포함하는 일련의 데이터셋트를 암호화하여 암호화된 OTP를 구성한 후, 상기 무선단말(100)의 일반OS(110)의 프로그램(n)(200)으로 전송하며, 상기 OTP 수신부(215)는 상기 일반OS(110)에서 연결한 통신망을 경유하여 상기 서버(170) 측으로부터 상기 암호화된 OTP를 수신한다. 상기 암호화된 OTP는 상기 서버(170)에서 동적 생성한 OTP를 기본적으로 포함하며, 실시 방법에 따라 상기 보안OS(120)의 프로그램(s)(240)가 상기 OTP를 서버(170) 측에서 생성한 OTP인지 검증하기 위한 검증값(예컨대, OTP의 무결성을 검증하기 위해 생성된 무결성검증값, OTP의 MAC(Message Authentication Code)값, 또는 OTP를 해시한 해시값, 또는 보안OS(120)의 프로그램(s)(240)로 사전 공유된 값과 OTP를 조합하여 해시한 해시값 등)을 더 포함할 수 있다.The server 170 dynamically generates an OTP having a code system based on a request made through the general OS 110 of the wireless terminal 100 and transmits the generated OTP to the secure OS 120 of the wireless terminal 100 requesting the OTP. (Or the encryption key to be exchanged in real time with the program (s) 240) corresponding to the program (s) 240 included in the program (s) 240 and transmits the generated OTP And transmits the encrypted OTP to the program (n) 200 of the general OS 110 of the wireless terminal 100. The OTP receiving unit 215 receives the general OS 110 receives the encrypted OTP from the server 170 via a communication network connected thereto. The encrypted OTP basically includes an OTP dynamically generated by the server 170 and the program (s) 240 of the secure OS 120 generates the OTP on the server 170 side (For example, an integrity verification value generated for verifying the integrity of the OTP, a MAC (Message Authentication Code) value of the OTP, a hash value obtained by hashing the OTP, or a verification value (s) 240 and a hash value hashed by combining OTP and the like).

도면2를 참조하면, 상기 일반OS(110)의 프로그램(n)(200)은, 일반커널(115)을 통해 보안OS(120)로 전환하는 일련의 절차를 수행하며, 상기 보안OS(120)의 지정된 프로그램(s)(240)에서 접근 가능한 메모리영역을 할당하거나 또는 기 할당된 메모리영역을 확인하고, 상기 확인된 암호화된 OTP를 상기 메모리영역으로 제공하는 연동 절차부(220)를 구비한다. 한편 본 발명의 다른 실시 방법에 따르면, 상기 메모리영역을 할당하거나 또는 기 할당된 메모리영역을 확인 절차는 보안OS(120)의 프로그램(s)(240)을 통해 수행될 수 있으며, 본 발명은 프로그램(s)(240)에서 상기 메모리영역을 할당/확인하는 구성을 권리범위로 포함할 수 있음을 명백하게 밝혀두는 바이다.Referring to FIG. 2, the program 200 of the general OS 110 performs a series of procedures for switching to the secure OS 120 through the normal kernel 115, And a linkage procedure unit 220 for allocating a memory area accessible by the designated program (s) 240 of the memory unit 240 or checking a pre-allocated memory area and providing the confirmed encrypted OTP to the memory area. Meanwhile, according to another embodiment of the present invention, the process of allocating the memory area or checking the pre-allocated memory area may be performed through the program (s) 240 of the secure OS 120, (s) 240 to allocate / verify the memory area may be included as a scope of right.

상기 연동 절차부(220)는 상기 일반OS(110)에 상기 프로그램(n)(200)이 탑재되어 적어도 최초 1회 실행 시, 상기 무선단말(100)에 보안OS(120)가 탑재되어 있는지 확인하며, 상기 무선단말(100)에 보안OS(120)가 탑재된 경우 상기 보안OS(120)에 OTP를 생성하는 프로그램(s)(240)을 탑재하기 위한 일련의 절차를 수행할 수 있다. 만약 상기 보안OS(120)에 OTP를 생성하는 프로그램(s)(240)이 탑재된 경우, 상기 연동 절차부(220)는 상기 보안OS(120)에 상기 프로그램(s)(240)이 탑재되었음을 식별하는 정보 및/또는 상기 보안OS(120)에 탑재된 프로그램(s)(240)을 식별하는 정보 중 적어도 하나의 식별정보를 일반OS(110) 저장영역에 저장하여 유지할 수 있다.The interworking procedure unit 220 checks whether the secure OS 120 is loaded in the wireless terminal 100 when the program (n) 200 is loaded into the general OS 110 at least for the first time, (S) 240 for creating an OTP in the secure OS 120 when the secure OS 120 is installed in the wireless terminal 100. The secure OS 120 may include a program (s) If the program (s) 240 for generating an OTP is installed in the secure OS 120, the interworking procedure unit 220 determines that the program (s) 240 is installed in the secure OS 120 (S) 240 mounted on the secure OS 120 and / or the identification information of the program (s) 240 mounted on the secure OS 120 in the general OS 110 storage area.

상기 OTP 판단부(205)를 통해 OTP 구현/이용하는 절차를 수행하는 것으로 확인한 경우, 상기 연동 절차부(220)는 상기 식별정보를 근거로 상기 보안OS(120)에 상기 프로그램(s)(240)이 탑재되어 있음을 확인하거나 및/또는 상기 보안OS(120)에 탑재된 프로그램(s)(240)을 확인한다.When the OTP determination unit 205 confirms to perform the OTP implementation / use procedure, the interworking procedure unit 220 transmits the program (s) 240 to the secure OS 120 based on the identification information, (S) 240 installed in the secure OS 120 and confirms that the program (s) 240 is installed.

상기 OTP 구현/이용하는 절차를 수행하는 것으로 확인하거나 및/또는 상기 식별정보를 통해 상기 보안OS(120)의 프로그램(s)(240)을 확인한 경우, 상기 연동 절차부(220)는 일반커널(115)을 통해 상기 보안OS(120)로 전환하기 직전의 프로그램(n)(200)에 대한 상태정보를 유지시킨다. 바람직하게, 상기 연동 절차부(220)는 무선단말(100)의 OS를 일반OS(110)에서 보안OS(120)로 전환하는 시점에 일반커널(115)을 통해 상기 OTP를 필요로 하는 프로그램(n)(200)의 상태정보를 일반OS(110) 저장영역에 저장함으로써, 상기 무선단말(100)의 OS가 일반OS(110)에서 보안OS(120)로 전환된 후 다시 보안OS(120)에서 일반OS(110)로 전환되는 경우에 상기 프로그램(n)(200)의 상태가 상기 OTP를 필요로 하는 상태(예컨대, 프로그램(n)(200)의 인터페이스 화면 상태, 프로그램(n)(200)의 통신세션 상태 등)를 유지하도록 할 수 있다. (S) 240 of the secure OS 120 through the identification information, the interworking procedure unit 220 determines whether to execute the OTP implementation / use procedure using the general kernel 115 (N) 200 immediately before switching to the secure OS 120 via the network interface (OS). Preferably, the interworking procedure unit 220 transmits a program requiring the OTP through the general kernel 115 at the time of switching the OS of the wireless terminal 100 from the general OS 110 to the secure OS 120 the OS of the wireless terminal 100 is switched from the normal OS 110 to the secure OS 120 and then the secure OS 120 is re- When the state of the program (n) 200 is changed to a state requiring the OTP (for example, an interface screen state of the program (n) 200, a program (n) 200 ) Communication session state, and the like).

본 발명의 실시 방법에 따르면, 상기 연동 절차부(220)는 일반커널(115)을 통해 상기 보안OS(120)로 전환 직전(예컨대, SMC 명령을 통해 보안OS(120)를 구동하기 직전)의 프로그램(n)(200)의 상태정보를 유지시킴으로써, 상기 일반OS(110)를 보안OS(120)로 전환하는 과정에서 상기 프로그램(n)(200)이 초기화되거나 및/또는 상기 일반OS(110)를 보안OS(120)로 전환 절차 중에 페이지폴트가 발생하는 등의 예외상황이 발생하더라도, 상기 무선단말(100)의 OS를 보안OS(120)에서 일반OS(110)로 전환하는 시점에 상기 상태정보를 이용하여 상기 프로그램(n)(200)의 상태를 상기 보안OS(120)로 전환 직전의 상태로 복원할 수 있다.According to an embodiment of the present invention, the interworking procedure unit 220 may be configured to execute the security OS 120 immediately before switching to the secure OS 120 through the general kernel 115 (for example, immediately before the security OS 120 is driven through the SMC command) The program (n) 200 may be initialized and / or the general OS 110 (n) may be initialized in the process of switching the general OS 110 to the secure OS 120 by maintaining the state information of the program When the OS of the wireless terminal 100 is switched from the secure OS 120 to the normal OS 110 even if an exceptional situation occurs such as a page fault occurs during the procedure of switching from the secure OS 120 to the secure OS 120, The state of the program (n) 200 can be restored to the state immediately before switching to the secure OS 120 using the state information.

상기 OTP 구현/이용하는 절차를 수행하는 것으로 확인하거나 및/또는 상기 보안OS(120)의 프로그램(s)(240)을 확인하거나 및/또는 상기 프로그램(n)(200)의 상태정보를 저장한 경우, 상기 연동 절차부(220)는 일반커널(115)을 통해 보안OS(120)를 구동하는 SMC 명령을 발생시킨다. 상기 보안 모니터(125)는 상기 SMC 명령의 유효성을 검증하고, 검증 성공한 경우에 SMC 명령에 따라 보안OS(120)를 구동하는 절차를 수행한다.(S) 240 of the secure OS 120 and / or the status information of the program (n) 200 is stored in the secure OS 120, , The interworking procedure unit 220 generates an SMC command for driving the secure OS 120 through the general kernel 115. [ The security monitor 125 verifies the validity of the SMC command and performs a procedure for driving the secure OS 120 according to the SMC command when the verification is successful.

한편 상기 보안OS(120)의 구동을 개시하기 전, 중, 직후의 어느 지정된 일 시점에, 상기 연동 절차부(220)는 상기 프로그램(n)(200)에서 접근 가능하면서 상기 보안OS(120)의 지정된 프로그램(s)(240)에서 접근 가능한 메모리영역을 할당하거나, 또는 기 할당된 메모리영역을 확인한다. 예를들어, 상기 할당되는 메모리영역은 일반OS(110)의 프로그램(n)(200)과 보안OS(120)의 프로그램(s)(240) 사이의 프로세스 간 통신을 위한 공유메모리를 포함할 수 있다. 통상의 공유메모리가 동일한 OS 내의 프로세스 간 통신을 위해 해당 OS 내에 할당되는 반면, 본원의 메모리영역은 일반OS(110)와 보안OS(120)를 포함하는 이종의 OS에서 실행된 이종의 프로세스 간 통신을 제공하기 위한 공유메모리라는 점에서 기술적 특징을 지닌다. Meanwhile, at a predetermined point in time before, during, or after the start of the operation of the secure OS 120, the linkage procedure unit 220 accesses the secure OS 120 while being accessible from the program (n) (S) 240 of the program (s) 240, or identifies pre-allocated memory areas. For example, the allocated memory area may include a shared memory for inter-process communication between the program (n) 200 of the general OS 110 and the program (s) 240 of the secure OS 120 have. While the normal shared memory is allocated in the OS for inter-process communication within the same OS, the memory region of the present invention is used for inter-process communication of heterogeneous processes executed in heterogeneous OS including general OS 110 and secure OS 120 Which is a shared memory for providing the data.

본 발명의 제1 메모리영역 할당 실시 방식에 따르면, 상기 연동 절차부(220)는 일반OS(110) 상에 상기 메모리영역을 할당하거나, 또는 상기 일반OS(110) 상에 할당된 메모리영역을 확인할 수 있다. 이 경우 상기 보안 모니터(125)는 상기 일반OS(110)의 메모리영역에 접근하거나 모니터링할 수 있으며, 상기 보안OS(120)의 프로그램(s)(240)은 보안 모니터(125)를 통해 상기 일반OS(110)의 메모리영역에 간접적으로 접근(또는 참조 접근)할 수 있다.According to the first memory area allocation method of the present invention, the linking procedure unit 220 allocates the memory area on the general OS 110 or confirms the memory area allocated on the general OS 110 . In this case, the security monitor 125 can access or monitor the memory area of the general OS 110, and the program (s) 240 of the secure OS 120 can be accessed through the security monitor 125 (Or access to) the memory area of the OS 110 indirectly.

본 발명의 제2 메모리영역 할당 실시 방식에 따르면, 상기 연동 절차부(220)는 보안 모니터(125) 상에 상기 메모리영역을 할당하거나, 또는 상기 보안 모니터(125)에 할당된 메모리영역을 확인할 수 있다. 이 경우 상기 연동 절차부(220)는 SMC 명령을 통해 상기 보안 모니터(125)에 상기 메모리영역을 할당하거나 또는 상기 보안 모니터(125)에 할당된 메모리영역을 확인할 수 있다. According to the second memory area allocation method of the present invention, the linking procedure unit 220 allocates the memory area on the security monitor 125 or the memory area allocated to the security monitor 125 have. In this case, the interworking procedure unit 220 can allocate the memory area to the security monitor 125 or check the memory area allocated to the security monitor 125 through the SMC command.

본 발명의 제3 메모리영역 할당 실시 방식에 따르면, 상기 연동 절차부(220)는 상기 프로그램(n)(200)에서 접근(또는 접속) 가능하며 또한 보안OS(120)의 프로그램(s)(240)에서 접근(또는 접속) 가능한 네트워크 상의 보안서버에 상기 메모리영역을 할당하거나, 또는 상기 보안서버에 할당된 메모리영역을 확인할 수 있다. 상기 메모리영역이 네트워크 상의 보안서버에 할당되는 경우, 상기 일반OS(110)의 프로그램(n)(200)과 보안OS(120)의 프로그램(s)(240)은 각기 상기 보안서버와 통신하여 상기 메모리영역에 주고받을 데이터를 읽거나 쓸 수 있다.According to the third memory area allocation method of the present invention, the interworking procedure unit 220 can access (or connect to) the program (n) 200 and can also access the program s (240) of the secure OS 120 (Or connectable) to the security server on the network, or to identify the memory area allocated to the security server. When the memory area is allocated to the security server on the network, the program (n) 200 of the general OS 110 and the program (s) 240 of the secure OS 120 communicate with the security server, You can read or write data to and from the memory area.

상기 연동 절차부(220)는 상기 할당된 메모리영역을 참조하는 일반OS(110) 측의 프로세스로 상기 프로그램(n)(200)을 설정할 수 있다. 바람직하게, 상기 연동 절차부(220)는 상기 메모리영역에 상기 프로그램(n)(200)의 PID(Process ID)를 제공함으로써, 상기 보안OS(120)의 프로그램(s)(240)이 동작한 후 상기 프로그램(s)(240)이 상기 할당된 메모리영역에 기록한 데이터를 읽어올 일반OS(110) 측의 프로세스로서 상기 프로그램(n)(200)을 설정할 수 있다.The interworking procedure unit 220 can set the program (n) 200 as a process of the general OS 110 that refers to the allocated memory area. Preferably, the interworking procedure unit 220 provides a PID (Process ID) of the program (n) 200 to the memory area so that the program (s) 240 of the secure OS 120 operates The program (s) 240 can set the program (n) 200 as a process of the general OS 110 side to read data recorded in the allocated memory area.

상기 제1 내지 3 메모리영역 할당 실시 방식 중 적어도 하나를 통해 상기 보안OS(120)의 프로그램(s)(240)에서 접근 가능한 메모리영역이 할당되거나 또는 기 할당된 메모리영역이 확인된 경우, 상기 연동 절차부(220)는 상기 보안OS(120)에서 상기 할당된 메모리영역에 접근 가능한 프로세스로서 지정된 프로그램(s)(240)을 설정할 수 있다. 예를들어, 상기 연동 절차부(220)는 상기 할당된 메모리영역의 주소 정보(예컨대, RAM 상의 메모리주소, 또는 프로세서에 구비된 RAM의 메모리주소, 또는 상기 메모리영역이 네트워크 상에 할당된 경우 상기 메모리영역을 식별하는 네트워크 주소(및/또는 식별 값) 등)를 확인하고, 상기 보안 모니터(125)를 통해 상기 보안OS(120)의 프로그램(s)(240)이 사용하는 가상의 메모리 주소 공간으로 매핑할 수 있다.When a memory area accessible by the program (s) 240 of the secure OS 120 is allocated through at least one of the first to third memory area allocation schemes, or when a pre-allocated memory area is identified, The procedure unit 220 can set a program (s) 240 designated as a process accessible to the allocated memory area in the secure OS 120. [ For example, the interworking procedure unit 220 may store the address information of the allocated memory area (e.g., a memory address on a RAM or a memory address of a RAM provided in the processor, (S) 240 used by the secure OS 120 through the security monitor 125 and a network address (and / or identification value) identifying the memory area . ≪ / RTI >

상기 보안OS(120)의 프로그램(s)(240)에서 접근 가능한 메모리영역이 할당/확인되거나 및/또는 상기 메모리영역을 상기 보안OS(120)의 프로그램(s)(240)에서 접근 가능하게 설정한 경우, 상기 연동 절차부(220)는 상기 보안 모니터(125)와 연동하여 상기 일반OS(110)의 프로세스 중 상기 프로그램(n)(200)을 제외한 다른 프로세스에서 상기 메모리영역에 접근하지 못하도록 설정할 수 있다. 바람직하게, 상기 연동 절차부(220)는 상기 보안 모니터(125)의 메모리 접근 제어 기능을 이용하여 상기 일반OS(110)의 프로세스 중 상기 프로그램(n)(200)을 제외한 다른 프로세스에서 상기 메모리영역에 접근하지 못하도록 설정할 수 있다.(S) 240 of the secure OS 120 is allocated / verified and / or the memory region is made accessible in the program (s) 240 of the secure OS 120 In this case, the interworking procedure unit 220 interlocks with the security monitor 125 to prevent access to the memory area from other processes except for the program (n) 200 of the processes of the general OS 110 . Preferably, the interworking procedure unit 220 uses the memory access control function of the security monitor 125 to control the process of the general OS 110 in a process other than the program (n) Can not be accessed.

한편 상기 제1 내지 3 메모리영역 할당 실시 방식 중 적어도 하나를 통해 상기 보안OS(120)의 프로그램(s)(240)에서 접근 가능한 메모리영역이 할당되거나 또는 기 할당된 메모리영역이 확인되거나, 및/또는 상기 메모리영역의 접근 제어 절차가 수행된 경우, 상기 연동 절차부(220)는 상기 OTP 수신부(215)를 통해 지정된 서버(170)를 통해 동적 생성되어 상기 보안OS(120)의 지정된 프로그램(s)(240)를 통해서만 복호화되게 암호화된 OTP를 상기 메모리영역으로 제공함으로써, 상기 보안OS(120)의 프로그램(s)(240)이 상기 암호화된 OTP를 참조할 수 있도록 처리한다.Meanwhile, a memory area accessible by the program (s) 240 of the secure OS 120 may be allocated, or a pre-allocated memory area may be identified through at least one of the first to third memory area allocation methods, and / Or the access control procedure of the memory area is performed, the interworking procedure unit 220 is dynamically generated through the server 170 specified through the OTP receiving unit 215, and the designated program s (S) 240 of the secure OS 120 to reference the encrypted OTP by providing an encrypted OTP to be decrypted only through the secure OS 240 to the memory area.

상기 SMC 명령에 의해 보안OS(120)가 구동되고 상기 보안OS(120)의 프로그램(s)(240)이 실행되면, 상기 할당/확인된 메모리영역의 접근 권한은 상기 보안 모니터(125)에 의해 상기 보안OS(120)의 지정된 프로그램(s)(240)에게 부여된다.When the secure OS 120 is activated by the SMC command and the program (s) 240 of the secure OS 120 is executed, the access right of the allocated / confirmed memory area is managed by the security monitor 125 (S) 240 of the secure OS 120. In this case,

도면2를 참조하면, 상기 보안OS(120)의 프로그램(s)(240)은, 상기 제1 내지 3 메모리영역 할당 실시 방식 중 적어도 하나를 통해 할당된 메모리영역을 확인하고 상기 메모리영역을 참조하기 위한 절차를 수행하는 연동 처리부(250)를 구비한다. Referring to FIG. 2, the program (s) 240 of the secure OS 120 may identify a memory area allocated through at least one of the first to third memory area allocation methods, And an interlock processing unit 250 for performing a procedure for interlocking.

상기 보안OS(120)가 구동되고 상기 보안OS(120)의 프로그램(s)(240)이 실행되면, 상기 연동 처리부(250)는 상기 보안 모니터(125)를 통해 수행되는 동작 절차와 연동하여 상기 제1 내지 3 메모리영역 할당 실시 방식 중 적어도 하나를 통해 할당된 메모리영역을 확인하고, 상기 프로그램(s)(240)에서 상기 메모리영역에 접근하기 위한 일련의 절차를 수행한다. 바람직하게, 상기 연동 처리부(250)는 상기 메모리영역에 대한 접근 권한을 획득하는 절차를 수행할 수 있다.When the security OS 120 is activated and the program (s) 240 of the secure OS 120 is executed, the interworking processor 250 interlocks with the operation procedure performed through the security monitor 125, (S) 240 and accesses the memory area through at least one of the first to third memory area allocation methods. Preferably, the interworking processor 250 may perform a procedure of obtaining an access right to the memory area.

한편 상기 연동 처리부(250)는 프로그램(s)(240)에서 상기 메모리영역을 참조하기 전에 언제라도 상기 메모리영역을 확인할 수 있으며, 상기 연동 처리부(250)가 상기 메모리영역을 확인하는 특정한 시점에 의해 본 발명이 한정되지 아니한다. Meanwhile, the interlocking processor 250 may check the memory area at any time before referring to the memory area in the program (s) 240, and the interlocking processor 250 may check the memory area at a specific time The present invention is not limited thereto.

도면2를 참조하면, 상기 보안OS(120)의 프로그램(s)(240)은, 상기 PIN 등록부(245)를 통해 보안OS(120)의 지정된 PIN 저장영역에 사용자의 PIN 정보가 저장된 경우, 상기 무선단말(100)의 입력수단을 통해 PIN 정보를 입력받아 유효성을 인증하는 PIN 인증부(255)를 구비할 수 있다.2, when the user's PIN information is stored in the designated PIN storage area of the secure OS 120 through the PIN registration unit 245, the program (s) And a PIN authentication unit 255 for receiving the PIN information through the input unit of the wireless terminal 100 and authenticating the validity.

상기 보안OS(120)가 구동되고 상기 보안OS(120)의 프로그램(s)(240)이 실행되면, 상기 PIN 인증부(255)는 지정된 절차에 따라 상기 화면출력부(135)와 사용자입력부(140)의 접근 권한을 획득하여 상기 화면출력부(135)에 PIN 인증을 위한 인터페이스를 표시하고, 상기 사용자입력부(140)를 통해 PIN 정보를 입력받은 후, 상기 PIN 저장영역에 저장된 PIN 정보와 비교(또는 검증 연산)을 수행하여 상기 입력된 PIN 정보의 유효성을 인증할 수 있다.When the secure OS 120 is activated and the program (s) 240 of the secure OS 120 is executed, the PIN authenticator 255 accesses the screen output unit 135 and the user input unit 140, displays an interface for PIN authentication on the screen output unit 135, inputs PIN information through the user input unit 140, and compares the PIN information with the PIN information stored in the PIN storage area (Or verification operation) to verify the validity of the input PIN information.

도면2를 참조하면, 상기 보안OS(120)의 프로그램(s)(240)은, 상기 프로그램(n)(200)과 공유된 메모리영역으로부터 지정된 서버(170)를 통해 동적 생성되어 암호화된 OTP를 확인하는 OTP 확인부(260)와, 지정된 복호화 키를 통해 암호화된 OTP를 복호화하여 상기 서버(170)에서 생성한 OTP를 복원하는 OTP 복원부(265)를 구비하며, 상기 복원된 OTP가 지정된 서버(170)를 통해 생성한 OTP인지 검증하는 OTP 검증부(270)를 구비한다.Referring to FIG. 2, the program (s) 240 of the secure OS 120 includes an OTP that is dynamically generated and encrypted through a designated server 170 from a memory area shared with the program (n) And an OTP restoring unit (265) for restoring the OTP generated by the server (170) by decrypting the OTP encrypted through the designated decryption key. The OTP restoring unit (265) And an OTP verification unit 270 for verifying whether the OTP is generated through the OTP verification unit 170.

상기 보안OS(120)가 구동되고 상기 보안OS(120)의 프로그램(s)(240)이 실행되거나 및/또는 상기 PIN 인증이 성공한 경우, 상기 OTP 확인부(260)는 상기 연동 처리부(250)와 연계하여 상기 일반OS(110)의 프로그램(n)(200)과 공유된 메모리영역으로부터 상기 일반OS(110)의 거래 동작에 대응하는 암호화된 OTP를 확인한다. When the secure OS 120 is activated and the program (s) 240 of the secure OS 120 is executed and / or the PIN authentication is successful, the OTP verification unit 260 determines whether the PIN And checks the encrypted OTP corresponding to the transaction operation of the general OS 110 from the memory area shared with the program (n) 200 of the general OS 110 in association with the normal OS 110. [

상기 OTP 복원부(265)는 지정된 서버(170) 측과 사전에 교환/분배된 복호화 키를 확인하고, 상기 복호화 키를 통해 상기 암호화된 OTP를 복호화하여 상기 서버(170)에서 생성한 원래의 OTP를 복원한다. 한편 상기 암호화된 OTP를 복호화하여 상기 OTP가 지정된 서버(170) 측에서 생성한 OTP인지 검증하기 위한 검증값(예컨대, OTP의 무결성을 검증하기 위해 생성된 무결성검증값, OTP의 MAC값, 또는 OTP를 해시한 해시값, 또는 보안OS(120)의 프로그램(s)(240)로 사전 공유된 값과 OTP를 조합하여 해시한 해시값 등)이 확인된 경우, 상기 OTP 검증부(270)는 상기 검증값을 판독하여 상기 복호화된 OTP가 지정된 서버(170) 측에서 동적 생성한 OTP인지 검증할 수 있다.The OTP restoring unit 265 decrypts the decrypted key previously exchanged with the designated server 170 and decrypts the encrypted OTP through the decryption key so as to decrypt the original OTP . Meanwhile, a verification value for verifying whether the OTP is an OTP generated by the designated server 170 by decoding the encrypted OTP (e.g., an integrity verification value generated to verify the integrity of the OTP, a MAC value of the OTP, or an OTP The hash value obtained by hashing a combination of the OTP and the value pre-shared with the program (s) 240 of the secure OS 120) is confirmed, the OTP verification unit 270 obtains the hash value It is possible to verify whether the decrypted OTP is an OTP dynamically generated by the designated server 170 by reading the verification value.

도면2를 참조하면, 상기 보안OS(120)의 프로그램(s)(240)은, 보안OS(120)를 통해 무선단말(100)의 화면출력수단에 접근하여 상기 복원된 OTP를 출력하는 OTP 출력부(275)를 구비하며, 상기 복원된 OTP를 상기 메모리영역으로 제공하는 OTP 제공부(280)를 구비할 수 있다.Referring to FIG. 2, the program (s) 240 of the secure OS 120 accesses the screen output means of the wireless terminal 100 through the secure OS 120 and outputs an OTP output And an OTP providing unit 280 for providing the recovered OTP to the memory region.

상기 OTP 출력부(275)는 지정된 절차에 따라 상기 화면출력부(135)의 접근 권한을 획득하여 상기 화면출력부(135)에 상기 복원된 OTP를 출력할 수 있다. 상기 OTP는 보안OS(120)를 통해 출력되므로, 일반OS(110) 측이 해킹되더라도 상기 보안OS(120)를 통해 출력된 OTP는 안전하게 보호된다.The OTP output unit 275 may obtain the access right of the screen output unit 135 and output the restored OTP to the screen output unit 135 according to a designated procedure. Since the OTP is output through the secure OS 120, the OTP output through the secure OS 120 is securely protected even if the normal OS 110 is hacked.

상기 OTP 제공부(280)는 상기 연동 처리부(250)를 통해 확인된 메모리영역으로 상기 복원된 OTP를 제공하며, 상기 보안 모니터(125)는 지정된 절차에 따라 상기 무선단말(100)의 OS를 상기 보안OS(120)에서 일반OS(110)로 전환시킨다. 바람직하게, 상기 OTP 제공부(280)는 상기 일반OS(110)의 프로그램(n)(200)을 통해 상기 복원된 OTP를 읽어가거나 또는 참조할 수 있도록 상기 메모리영역에 상기 복원된 OTP를 기록할 수 있다.The OTP provider 280 provides the restored OTP to the memory area identified through the interlocking processor 250. The security monitor 125 detects the OS of the wireless terminal 100 according to a designated procedure, And switches from the secure OS 120 to the normal OS 110. [ Preferably, the OTP provider 280 records the restored OTP in the memory area so that the restored OTP can be read or referenced through the program (n) 200 of the general OS 110 .

본 발명의 변형된 실시 방법에 따르면, 상기 OTP 제공부(280)는 상기 OTP를 암호화하여 상기 메모리영역으로 제공할 수 있다. 상기 일반OS(110)의 프로그램(n)(200)에서 상기 OTP를 출력하는 경우, 상기 암호화된 OTP는 상기 일반OS(110)의 프로그램(n)(200)을 통해서만 복호화될 수 있으며, 일반OS(110)의 다른 프로그램을 통해서는 복호화되지 않는다. 한편 상기 일반OS(110)의 프로그램(n)(200)에서 상기 OTP를 지정된 서버(170)로 전송하는 경우, 상기 OTP 제공부(280)는 상기 지정된 서버(170)를 통해서만 복호화 가능하게 상기 OTP를 암호화할 수 있으며, 이 경우 상기 암호화된 OTP는 상기 지정된 서버(170)를 통해서만 복호화 가능(즉, 일반OS(110)의 프로그램(n)(200)을 통해서도 복호화 불가)하다. 한편 본 발명의 변형된 다른 실시 방법에 따르면, 상기 OTP 제공부(280)는 상기 무선단말(100)의 통신수단을 통해 상시 복원된 OTP를 지정된 서버(170)로 전송할 수 있으며, 이 경우 상기 메모리영역으로 OTP를 제공하지 않더라도 무방하다.According to the modified embodiment of the present invention, the OTP provider 280 may encrypt the OTP and provide the OTP to the memory area. When outputting the OTP from the program (n) 200 of the general OS 110, the encrypted OTP can be decrypted only through the program (n) 200 of the general OS 110, It is not decoded through another program of the computer 110. Meanwhile, when transmitting the OTP from the program (n) 200 of the general OS 110 to the designated server 170, the OTP provider 280 can decrypt only OTP In this case, the encrypted OTP can be decrypted only through the designated server 170 (that is, it can not be decrypted through the program (n) 200 of the general OS 110). Meanwhile, according to another modified embodiment of the present invention, the OTP provider 280 can transmit the OTP, which is always restored through the communication means of the wireless terminal 100, to the designated server 170. In this case, It is acceptable if the area does not provide OTP.

본 발명의 실시 방법에 따라 상기 무선단말(100)의 OS가 상기 일반OS(110)로 전환되면, 상기 프로그램(n)(200)의 연동 절차부(220)는 상기 메모리영역의 접근 권한을 획득하고(또는 기 획득된 권한을 근거로) 상기 메모리영역에 접근한다. 한편 상기 프로그램(n)(200)의 연동 절차부(220)는 상기 상태정보를 이용하여 상기 보안OS(120)로 전환되기 직전의 프로그램(n)(200)의 상태를 복원할 수 있다.When the OS of the wireless terminal 100 is switched to the general OS 110 according to an embodiment of the present invention, the linkage procedure unit 220 of the program (n) 200 acquires the access right of the memory area (Or based on the acquired rights) to access the memory area. Meanwhile, the interworking procedure unit 220 of the program (n) 200 can restore the status of the program (n) 200 immediately before switching to the secure OS 120 using the status information.

도면2를 참조하면, 상기 일반OS(110)의 프로그램(n)(200)은, 상기 메모리영역을 참조하여 보안OS(120)의 프로그램(s)(240)을 통해 복원된 OTP를 확인하는 OTP 참조부(225)와, 상기 무선단말(100)의 화면출력수단을 통해 상기 확인된 OTP를 표시하거나 및/또는 상기 무선단말(100)의 통신수단을 통해 상기 확인된 OTP를 지정된 서버(170)로 전송하는 OTP 처리부(230)를 구비한다.Referring to FIG. 2, the program 200 of the general OS 110 includes an OTP 240 for checking an OTP restored through the program (s) 240 of the secure OS 120 by referring to the memory area, And displaying the confirmed OTP through the screen output means of the wireless terminal 100 and / or displaying the confirmed OTP to the designated server 170 through the communication means of the wireless terminal 100. [ And an OTP processing unit 230 for transmitting the OTP signal.

상기 무선단말(100)의 OS가 일반OS(110)로 전환되면, 상기 OTP 참조부(225)는 상기 연동 절차부(220)와 연동하여 상기 메모리영역을 참조함으로써, 상기 보안OS(120)의 프로그램(s)(240)이 상기 메모리영역으로 제공한 OTP를 확인한다. When the OS of the wireless terminal 100 is switched to the general OS 110, the OTP reference unit 225 refers to the memory area in cooperation with the linking procedure unit 220, The program (s) 240 identifies the OTP provided to the memory area.

상기 OTP 참조부(225)를 통해 상기 보안OS(120)의 프로그램(s)(240)을 통해 복원된 OTP가 확인되면, 상기 OTP 처리부(230)는 상기 무선단말(100)의 화면출력수단을 통해 상기 확인된 OTP를 출력할 수 있다. 바람직하게, 상기 OTP 처리부(230)는 상기 프로그램(n)(200)의 지정된 거래 동작 절차 중 상기 OTP를 입력/이용하는 인터페이스 화면 상에 상기 OTP를 출력할 수 있다. 상기 OTP가 상기 보안OS(120)의 프로그램(s)(240)을 통해 암호화된 경우, 상기 OTP 처리부(230)는 상기 암호화된 OTP를 복호화하여 출력할 수 있다. 상기 OTP 처리부(230)를 통해 출력된 OTP는 사용자에 의해 상기 일반OS(110)의 프로그램(n)(200)에 키 입력될 수 있으며, 이 경우 상기 프로그램(n)(200)는 상기 입력된 OTP를 지정된 서버(170)로 전송할 수 있다. 한편 실시 방법에 따라 상기 OTP는 상기 프로그램(n)(200) 이외에 상기 프로그램(n)(200)과 연동하는 일반OS(110)의 연계된 다른 프로그램을 통해 입력되어 지정된 서버(170)로 전송되거나, 또는 상기 무선단말(100) 이외에 별도의 다른 단말을 통해 입력되어 지정된 서버(170)로 전송될 되는 것이 가능함을 명백하게 밝혀두는 바이다.When the OTP restored through the program (s) 240 of the secure OS 120 is confirmed through the OTP reference unit 225, the OTP processing unit 230 detects the screen output means of the wireless terminal 100 To output the identified OTP. Preferably, the OTP processor 230 may output the OTP on an interface screen for inputting / using the OTP among the designated transaction operation procedures of the program (n) If the OTP is encrypted through the program (s) 240 of the secure OS 120, the OTP processing unit 230 may decrypt and output the encrypted OTP. The OTP output through the OTP processor 230 may be keyed by the user into the program 200 of the general OS 110. In this case, OTP to the designated server 170. The OTP may be transmitted to the designated server 170 via the other program associated with the general OS 110 linked to the program 200 in addition to the program 200, Or it may be transmitted through a separate terminal other than the wireless terminal 100 and transmitted to the designated server 170. [

또는 상기 OTP 처리부(230)는 상기 무선단말(100)의 통신수단을 통해 상기 확인된 OTP를 지정된 서버(170)로 전송할 수 있다. 실시 방법에 따라 상기 OTP 처리부(230)는 상기 OTP를 화면 출력 후 지정된 서버(170)로 전송하거나, 또는 화면 출력 없이 지정된 서버(170)로 전송할 수 있다. 한편 상기 OTP를 화면 출력 없이 지정된 서버(170)로 전송하는 경우, 상기 OTP는 상기 보안OS(120)의 프로그램(s)(240)을 통해(예컨대, 프로그램(s)(240)의 OTP 제공부(280)를 통해) 상기 지정된 서버(170)를 통해 복호화 가능하게 암호화될 수 있으며, 이 경우 상기 보안OS(120)의 프로그램(s)(240)을 통해 암호화된 OTP는 상기 일반OS(110)에서 복호화되지 않는다.Alternatively, the OTP processing unit 230 may transmit the confirmed OTP to the designated server 170 through the communication means of the wireless terminal 100. The OTP processing unit 230 may transmit the OTP to the designated server 170 after outputting the screen or to the designated server 170 without outputting the screen. When the OTP is transmitted to the designated server 170 without outputting the OTP, the OTP is transmitted through the program (s) 240 of the secure OS 120 (for example, (S) 240 of the secure OS 120 may be decrypted through the designated server 170 via the secure OS 120 (e.g., via the secure OS 280) Lt; / RTI >

상기 OTP를 수신한 서버(170)는 상기 OTP의 유효성을 인증함으로써, 상기 프로그램(n)(200)을 이용한 각종 요청(예컨대, 뱅킹, 결제 중 적어도 하나의 요청)을 처리할 수 있다.The server 170 receiving the OTP can process various requests (for example, at least one of banking and settlement) using the program (n) 200 by authenticating the validity of the OTP.

도면3은 본 발명의 실시 방법에 따라 보안OS(120)에 프로그램(s)(240)을 준비하는 과정을 도시한 도면이다.FIG. 3 is a diagram illustrating a process of preparing a program (s) 240 in the secure OS 120 according to an embodiment of the present invention.

보다 상세하게 본 도면3은 보안OS(120)에 프로그램(s)(240)을 탑재하고 서버(170) 측에서 생성하여 암호화한 OTP를 복원하기 위한 복호화 키를 저장하는 일례를 도시한 것으로서, 본 발명이 속한 기술분야에서 통상의 지식을 가진 자라면, 본 도면3을 참조 및/또는 변형하여 상기 프로그램(s)(240)을 준비하는 과정에 대한 다양한 실시 방법(예컨대, 일부 단계가 생략되거나, 또는 순서가 변경된 실시 방법)을 유추할 수 있을 것이나, 본 발명은 상기 유추되는 모든 실시 방법을 포함하여 이루어지며, 본 도면3에 도시된 실시 방법만으로 그 기술적 특징이 한정되지 아니한다.More specifically, FIG. 3 illustrates an example of storing a decryption key for restoring an encrypted OTP generated by the server 170 by installing the program (s) 240 in the secure OS 120, Those skilled in the art will appreciate that various implementations of the process of preparing the program (s) 240 (e.g., some steps may be omitted, However, the present invention can be applied to all of the above-mentioned embodiments, and the technical features of the present invention are not limited by the method shown in FIG.

도면3을 참조하면, 일반OS(110)의 프로그램(n)(200)은 자신이 탑재된 무선단말(100)의 기종(또는 프로세서의 종류)을 기반으로 무선단말(100)에 보안OS(120)(트러스트존)이 탑재되어 있는지 확인한다(300). 만약 상기 무선단말(100)에 보안OS(120)가 탑재되어 있다면, 상기 프로그램(n)(200)은 상기 보안OS(120)에 지정된 프로그램(s)(240)을 탑재하기 위한 절차를 수행한다(305).Referring to FIG. 3, a program (n) 200 of a general OS 110 is connected to a security OS 120 (or a wireless terminal 100) based on a model (or a type of a processor) ) (Trust zone) is mounted (300). If the secure OS 120 is installed in the wireless terminal 100, the program 200 performs a procedure for loading the program 240 specified in the secure OS 120 (305).

지정된 절차에 따라 상기 보안OS(120)에 프로그램(s)(240)이 탑재되고 실행되며(310), 상기 프로그램(s)(240)은 지정된 키 교환/분배 절차에 따라 향 후 지정된 서버(170)에서 생성하여 암호화한 OTP를 복호화하기 위한 복호화 키를 획득하여(315), 보안OS(120)의 지정된 저장영역에 저장한다(320). 한편 실시 방법에 따라 상기 프로그램(s)(240)은 OTP를 복원하기 위한 PIN 정보를 등록하는 절차를 수행할 수 있으며, 보안OS(120) 저장영역에 구비된 PIN 저장영역에 상기 등록된 PIN 정보를 저장할 수 있다(325). (S) 240 is loaded (310) in the secure OS 120 according to a designated procedure and the program (s) 240 is loaded into the designated server 170 (315), and stores the obtained decryption key in the designated storage area of the secure OS 120 (320). Meanwhile, the program (s) 240 may perform a procedure of registering PIN information for restoring the OTP according to an embodiment of the present invention. In the PIN storage area of the secure OS 120, (325).

상기 보안OS(120)에 상기 프로그램(s)(240)이 탑재되면, 상기 일반OS(110)의 프로그램(n)(200)은 상기 보안OS(120)에 상기 프로그램(s)(240)이 탑재되었음을 식별하는 정보 및/또는 상기 보안OS(120)에 탑재된 프로그램(s)(240)을 식별하는 정보 중 적어도 하나의 식별정보를 저장한다(330).When the program (s) 240 is loaded on the secure OS 120, the program 200 of the general OS 110 transmits the program 240 to the secure OS 120 (S) 240 mounted on the secure OS 120 and / or information identifying the presence of the program (s) 240 mounted on the secure OS 120.

도면4는 본 발명의 실시 방법에 따라 일반OS(110)와 보안OS(120) 간 연동 과정을 도시한 도면이다.4 is a diagram illustrating an interlock process between the general OS 110 and the secure OS 120 according to an embodiment of the present invention.

보다 상세하게 본 도면4는 일반OS(110)의 프로그램(n)(200)이 지정된 거래 동작을 수행하는 중에 OTP를 구현/이용하는 경우에 지정된 서버(170)를 통해 생성되어 암호화된 OTP를 수신한 후 보안OS(120)의 프로그램(s)(240)으로 전달하는 연동 과정을 도시한 것으로서, 본 발명이 속한 기술분야에서 통상의 지식을 가진 자라면, 본 도면4를 참조 및/또는 변형하여 상기 일반OS(110)와 보안OS(120) 간 연동 과정에 대한 다양한 실시 방법(예컨대, 일부 단계가 생략되거나, 또는 순서가 변경된 실시 방법)을 유추할 수 있을 것이나, 본 발명은 상기 유추되는 모든 실시 방법을 포함하여 이루어지며, 본 도면4에 도시된 실시 방법만으로 그 기술적 특징이 한정되지 아니한다.In more detail, FIG. 4 illustrates a case where the program (n) 200 of the general OS 110 receives the encrypted OTP generated through the designated server 170 when the OTP is implemented / used while performing the specified transaction operation (S) 240 of the secure OS 120. It is understood that those skilled in the art can refer to and / or modify the FIG. It will be appreciated that various implementations of the interoperation process between the generic OS 110 and the secure OS 120 (e.g., omitting some of the steps or changing the order) may be inferred, And the technical features thereof are not limited only by the method shown in FIG.

도면4를 참조하면, 일반OS(110)의 프로그램(n)(200)은 내부에 구현된 지정된 거래 동작을 수행하며(400), 상기 지정된 거래 동작 중에 OTP를 구현/이용 여부를 판단한다(405). 만약 상기 OTP를 구현/이용해야 하는 경우, 상기 프로그램(n)(200)은 식별정보를 이용하여 상기 무선단말(100)의 보안OS(120) 측에 OTP를 생성하는 프로그램(s)(240)이 탑재되어 있는지 확인한다(410). 상기 보안OS(120)에 상기 프로그램(s)(240)이 탑재되지 않은 경우, 상기 프로그램(n)(200)은 상기 보안OS(120)에 프로그램(s)(240)을 탑재하기 위한 절차를 수행할 수 있다.Referring to FIG. 4, the program (n) 200 of the general OS 110 performs a designated transaction operation (400) and determines whether to implement / use the OTP during the designated transaction operation (405 ). If it is necessary to implement / use the OTP, the program (n) 200 includes a program (s) 240 for generating an OTP on the secure OS 120 side of the wireless terminal 100 using the identification information, (410). If the program (s) 240 is not loaded in the secure OS 120, the program 200 may execute a procedure for loading the program 240 into the secure OS 120 Can be performed.

한편 상기 보안OS(120)에 상기 프로그램(s)(240)이 탑재된 경우, 상기 프로그램(n)(200)은 일반OS(110)에서 연결 가능한 통신망을 경유하여 지정된 서버(170)(예컨대, 일반OS(110)에서 접속 가능한 서버(170))로 상기 거래 동작에 구현/이용될 OTP를 요청하며(415), 상기 서버(170)는 상기 일반OS(110)의 프로그램(n)(200)을 통한 요청을 기반으로 OTP를 동적 생성한 후 상기 보안OS(120)의 지정된 프로그램(s)(240)를 통해서만 복호화되게 OTP를 암호화하여 상기 일반OS(110)의 프로그램(n)(200)으로 전송한다.When the program (s) 240 is loaded on the secure OS 120, the program 200 is transmitted to the designated server 170 via the communication network connectable from the general OS 110, The server 170 requests OTP to be implemented / used in the transaction operation from the server 200 accessible by the general OS 110. The server 170 requests the program 200 of the general OS 110, (N) 200 of the general OS 110 by encrypting the OTP so as to be decrypted only through the designated program (s) 240 of the secure OS 120 after dynamically generating the OTP based on the request through the secure OS 120 send.

상기 일반OS(110)의 프로그램(n)(200)은 일반OS(110)에서 연결한 통신망을 통해 지정된 서버(170)에서 동적 생성하여 상기 보안OS(120)의 프로그램(s)(240)를 통해서만 복호화되게 암호화된 OTP가 수신되는지 확인한다(420), 만약 상기 보안OS(120)의 프로그램(s)(240)를 통해서만 복호화되게 암호화된 OTP가 수신되면, 상기 프로그램(n)(200)은 보안OS(120)로 전환 전에 상기 프로그램(n)(200)의 상태정보를 저장하여 유지시키며(425), 상기 무선단말(100)의 OS를 보안OS(120)로 전환 개시하여 상기 보안OS(120)의 프로그램(s)(240)에서 접근 가능한 메모리영역을 할당하거나 또는 기 할당된 메모리영역을 확인한다(430). 만약 상기 메모리영역이 할당/확인되면, 상기 프로그램(n)(200)은 상기 할당/확인된 메모리영역에 대한 프로그램(n)(200)의 접근 권한을 설정함과 동시에 상기 보안OS(120)에서 상기 프로그램(s)(240)이 상기 메모리영역에 접근하도록 설정하는 과정을 수행하면서(435), 상기 메모리영역으로 상기 암호화된 OTP를 제공하고(440), 보안 모니터(125)를 통해 상기 무선단말(100)의 OS가 상기 보안OS(120)로 전환되도록 처리한다(445). The program (n) 200 of the general OS 110 is dynamically generated by a designated server 170 through a communication network connected to the general OS 110 and transmitted to a program (s) 240 of the secure OS 120 If the encrypted OTP is received to be decrypted only through the program (s) 240 of the secure OS 120, the program (n) 200 determines whether the encrypted OTP is received The state of the program (n) 200 is stored and maintained (425) before switching to the secure OS 120, and the OS of the wireless terminal 100 is switched to the secure OS 120, (S) 240 of the memory 120 or identifies the pre-allocated memory area (430). If the memory area is allocated / confirmed, the program (n) 200 sets the access right of the program (n) 200 to the allocated / confirmed memory area, and at the same time, (440) the encrypted OTP to the memory area while setting the program (s) (240) to access the memory area (435) The OS of the OS 100 is switched to the secure OS 120 (445).

상기 무선단말(100)의 OS가 보안OS(120)로 전환되어 상기 프로그램(s)(240)이 실행되면(450), 상기 프로그램(s)(240)은 상기 도면3에 도시된 과정을 통해 보안OS(120)의 PIN 저장영역에 PIN 정보가 등록되어 있는지 확인하여 등록된 경우에 무선단말(100)의 화면출력부(135)와 사용자입력부(140)에 대한 접근 권한을 획득하여 PIN 정보를 입력하는 인터페이스를 출력하고 상기 인터페이스를 통해 입력된 PIN 정보를 확인한다(455). 만약 상기 PIN 정보가 입력되면, 상기 프로그램(s)(240)은 상기 PIN 저장영역에 저장된 PIN 정보를 통해 상기 입력된 PIN 정보의 유효성을 인증하며(460), 상기 PIN 정보의 유효성이 인증되지 않는 경우에 상기 프로그램(s)(240)은 상기 무선단말(100)의 OS를 일반OS(110)로 전환하도록 처리하며(465), 상기 무선단말(100)의 OS가 일반OS(110)로 전환된 경우에 상기 일반OS(110)의 프로그램(n)(200)은 상기 보안OS(120)로 전환 전 상기 프로그램(n)(200)의 상태를 복원한다(470).When the OS of the wireless terminal 100 is switched to the secure OS 120 so that the program s 240 is executed 450, the program s 240 performs the process shown in FIG. If the PIN information is registered in the PIN storage area of the secure OS 120 and acquires the access right to the screen output unit 135 and the user input unit 140 of the wireless terminal 100 when the PIN information is registered, And outputs the input interface and confirms the PIN information input through the interface (455). If the PIN information is inputted, the program (s) 240 authenticates the validity of the input PIN information through the PIN information stored in the PIN storage area (460). If the validity of the PIN information is not authenticated The program s 240 processes the OS of the wireless terminal 100 to be switched to the normal OS 110 in step 465. If the OS of the wireless terminal 100 is switched to the normal OS 110, (N) 200 of the general OS 110 restores the state of the program (n) 200 before switching to the secure OS 120 (step 470).

한편 상기 PIN 정보의 유효성이 인증된 경우, 상기 프로그램(s)(240)은 상기 프로그램(n)(200)을 통해 할당되어 상기 프로그램(n)(200)과 공유 접근 가능한 메모리영역을 확인한다(475). 실시 방법에 따라 상기 메모리영역은 상기 프로그램(s)(240)을 통해 할당 가능하며, 본 발명이 상기 프로그램(s)(240)이 상기 메모리영역을 할당하는 실시예도 포함할 수 있다. 만약 상기 프로그램(s)(240)에서 접근 가능한 메모리영역이 확인되지 않으면, 상기 프로그램(s)(240)은 상기 무선단말(100)의 OS를 일반OS(110)로 전환하도록 처리하며(465), 상기 무선단말(100)의 OS가 일반OS(110)로 전환된 경우에 상기 일반OS(110)의 프로그램(n)(200)은 상기 보안OS(120)로 전환 전 상기 프로그램(n)(200)의 상태를 복원한다(470).Meanwhile, when the validity of the PIN information is authenticated, the program (s) 240 identifies a memory area that is allocated through the program (n) 200 and can be shared with the program (n) 200 475). The memory area may be allocated through the program (s) 240 according to an implementation method, and the present invention may include an embodiment in which the program (s) 240 allocates the memory area. If the memory area accessible by the program (s) 240 is not confirmed, the program (s) 240 processes the OS of the wireless terminal 100 to switch to the general OS 110 (465) , When the OS of the wireless terminal 100 is switched to the general OS 110, the program n of the general OS 110 transmits the program n (n) before the switch to the secure OS 120 200 are restored (470).

한편 상기 프로그램(s)(240)에서 접근 가능한 메모리영역이 확인되면, 상기 프로그램(s)(240)은 상기 메모리영역에 대한 접근 권한을 확인한다(480). 만약 상기 메모리영역에 대한 접근 권한이 확인되지 않으면, 상기 프로그램(s)(240)은 상기 무선단말(100)의 OS를 일반OS(110)로 전환하도록 처리하며(465), 상기 무선단말(100)의 OS가 일반OS(110)로 전환된 경우에 상기 일반OS(110)의 프로그램(n)(200)은 상기 보안OS(120)로 전환 전 상기 프로그램(n)(200)의 상태를 복원한다(470).Meanwhile, if a memory area accessible by the program (s) 240 is confirmed, the program (s) 240 confirms the access right to the memory area (480). If the access right to the memory area is not confirmed, the program (s) 240 processes the OS of the wireless terminal 100 to switch to the general OS 110 (465) (N) 200 of the general OS 110 restores the state of the program (n) 200 before switching to the secure OS 120 when the OS of the general OS 110 is switched to the general OS 110 (470).

도면5는 본 발명의 실시 방법에 따라 암호화된 OTP를 보안OS(120)를 통해 복원하여 출력하는 과정을 도시한 도면이다.5 is a diagram illustrating a process of restoring and outputting an encrypted OTP through the secure OS 120 according to an embodiment of the present invention.

보다 상세하게 본 도면5는 보안OS(120)의 프로그램(s)(240)에서 일반OS(110)의 프로그램(n)(200)을 통해 지정된 서버(170)에서 암호화한 OTP를 전달받아 복원하여 출력하는 과정을 도시한 것으로서, 본 발명이 속한 기술분야에서 통상의 지식을 가진 자라면, 본 도면5를 참조 및/또는 변형하여 상기 암호화된 OTP를 보안OS(120)를 통해 복원하여 출력하는 과정에 대한 다양한 실시 방법(예컨대, 일부 단계가 생략되거나, 또는 순서가 변경된 실시 방법)을 유추할 수 있을 것이나, 본 발명은 상기 유추되는 모든 실시 방법을 포함하여 이루어지며, 본 도면5에 도시된 실시 방법만으로 그 기술적 특징이 한정되지 아니한다.In more detail, FIG. 5 shows an OTP encrypted by the server 170 designated by the program (n) 200 of the general OS 110 in the program (s) 240 of the secure OS 120 If the person skilled in the art is familiar with the present invention, referring to and / or modifying FIG. 5, restoring the encrypted OTP through the secure OS 120 and outputting It is to be understood that the invention may be practiced otherwise than as specifically described herein, but it will be appreciated that the invention may be practiced otherwise than as specifically described herein, The technical features are not limited by the method alone.

도면5를 참조하면, 상기 도면4에 도시된 과정을 통해 보안OS(120)의 프로그램(s)(240)이 일반OS(110)의 프로그램(n)(200)과 공유하는 메모리영역을 확인하여 접근 권한을 확인한 경우, 상기 프로그램(s)(240)은 상기 메모리영역으로부터 상기 일반OS(110)의 프로그램(n)(200)이 제공한 암호화된 OTP를 확인한다(500). 만약 상기 메모리영역으로부터 상기 암호화된 OTP가 확인되지 않으면, 상기 프로그램(s)(240)은 상기 무선단말(100)의 OS를 일반OS(110)로 전환하도록 처리하며(530), 상기 무선단말(100)의 OS가 일반OS(110)로 전환된 경우에 상기 일반OS(110)의 프로그램(n)(200)은 상기 보안OS(120)로 전환 전 상기 프로그램(n)(200)의 상태를 복원한다(535).Referring to FIG. 5, a memory area shared by the program (s) 240 of the secure OS 120 and the program (n) 200 of the general OS 110 is checked through the process shown in FIG. 4 When the access right is confirmed, the program (s) 240 confirms (500) the encrypted OTP provided by the program (n) 200 of the general OS 110 from the memory area. If the encrypted OTP is not confirmed from the memory area, the program (s) 240 processes the OS of the wireless terminal 100 to switch to the general OS 110 (530) (N) 200 of the general OS 110 switches the state of the program (n) 200 before switching to the secure OS 120 when the OS of the general OS 110 is switched to the general OS 110 (535).

한편 상기 메모리영역으로부터 상기 암호화된 OTP가 확인되면, 상기 프로그램(s)(240)은 보안OS(120)의 지정된 저장영역에 저장된 복호화 키를 확인하고(505), 상기 확인된 복호화 키를 통해 상기 확인된 암호화된 OTP를 복호화하여 지정된 서버(170) 측에서 동적 생성한 OTP를 복원하며(510), 상기 무선단말(100)의 화면출력부(135)에 대한 접근 권한을 통해 상기 복원된 OTP를 화면 출력할 수 있다(520). 한편 상기 암호화된 OTP를 복호화한 데이터셋트에 상기 OTP기 지정된 서버(170) 측에서 생성된 OTP인지 검증하는 검증값이 포함된 경우, 상기 프로그램(s)(240)은 상기 검증값을 판독하여 상기 복원된 OTP가 지정된 서버(170)를 통해 생성된 OTP인지 검증할 수 있으며(515), 상기 복원된 OTP가 지정된 서버(170)에서 생성한 OTP로 검증된 경우에 무선단말(100)의 화면출력부(135)에 대한 접근 권한을 통해 상기 복원된 OTP를 화면 출력할 수 있다(520). 상기 프로그램(s)(240)은 상기 복원된 OTP를 화면 출력한 후에 상기 무선단말(100)의 OS를 일반OS(110)로 전환하도록 처리할 수 있으며(530), 실시 방법에 따라 상기 프로그램(s)(240)은 상기 복원된 OTP를 상기 일반OS(110)의 프로그램(n)(200)과 공유하는 메모리영역으로 제공한 후(525), 상기 무선단말(100)의 OS를 일반OS(110)로 전환하도록 처리할 수 있다(530). 한편 실시 방법에 따라 상기 프로그램(s)(240)은 상기 복원된 OTP를 지정된 암호방식으로 암호화하여 상기 메모리영역으로 제공한 후(525), 상기 무선단말(100)의 OS를 일반OS(110)로 전환하도록 처리할 수 있다(530).Meanwhile, if the encrypted OTP is confirmed from the memory area, the program (s) 240 confirms the decryption key stored in the designated storage area of the secure OS 120 (505) Decrypts the identified encrypted OTP and restores the dynamically generated OTP on the designated server 170 side and transmits the recovered OTP through the access right to the screen output unit 135 of the wireless terminal 100 (520). On the other hand, if the data set decrypting the encrypted OTP includes a verification value for verifying whether the OTP generated by the OTP server 170 is the OTP, the program (s) 240 reads the verification value, It is possible to verify whether the restored OTP is an OTP generated through the designated server 170 in step 515. If the restored OTP is verified to be the OTP generated in the designated server 170, The restored OTP can be displayed on the screen through the access right to the unit 135 (520). The program (s) 240 may process the OS of the wireless terminal 100 to switch to the general OS 110 after outputting the restored OTP (step 530) s 240 provides the restored OTP to a memory area shared with the program 200 of the general OS 110 and then transmits the OS of the wireless terminal 100 to the general OS 100 0.0 > 110). ≪ / RTI > In step 525, the program (s) 240 encrypts the restored OTP using a designated encryption method and provides the encrypted OTP to the memory area (step 525). Then, the program (s) (530). ≪ / RTI >

상기 무선단말(100)의 OS가 일반OS(110)로 전환된 경우에 상기 일반OS(110)의 프로그램(n)(200)은 상기 보안OS(120)로 전환 전 상기 프로그램(n)(200)의 상태를 복원한다(535). 상기 보안OS(120)의 프로그램(s)(240)를 통해 복원된 OTP가 표시된 경우 상기 일반OS(110)의 프로그램(n)(200)은 별도의 절차를 수행하지 않더라도 무방하다.When the OS of the wireless terminal 100 is switched to the general OS 110, the program 200 of the general OS 110 transmits the program 200 (n) before switching to the secure OS 120, (Step 535). When the restored OTP is displayed through the program (s) 240 of the secure OS 120, the program (n) 200 of the general OS 110 may not perform a separate procedure.

한편 상기 일반OS(110)의 프로그램(n)(200)은 상기 보안OS(120)의 프로그램(s)(240)와 공유된 메모리영역을 확인하여 접근하고(540), 상기 메모리영역으로부터 상기 보안OS(120)의 프로그램(s)(240)을 통해 복원된 OTP를 확인할 수 있다(545). 한편 상기 보안OS(120)의 프로그램(s)(240)을 통해 복원된 OTP가 확인되면, 상기 프로그램(n)(200)은 상기 보안OS(120)의 프로그램(s)(240)을 통해 복원된 OTP를 화면 출력하거나(550), 및/또는 상기 보안OS(120)의 프로그램(s)(240)을 통해 복원된 OTP를 지정된 서버(170)로 전송할 수 있다(550). Meanwhile, the program (n) 200 of the general OS 110 checks and accesses a memory area shared with the program (s) 240 of the secure OS 120 (540) The restored OTP can be confirmed through the program (s) 240 of the OS 120 (545). When the restored OTP is confirmed through the program (s) 240 of the secure OS 120, the program (n) 200 is restored through the program (s) 240 of the secure OS 120 (550) the OTP, and / or send the restored OTP to the designated server (170) via the program (s) (240) of the secure OS (120).

100 : 무선단말 110 : 일반OS
115 : 일반커널 120 : 보안OS
125 : 보안 모니터 130 : 보안커널
200 : 프로그램(n) 205 : OTP 판단부
210 : OTP 요청부 215 : OTP 수신부
220 : 연동 절차부 225 : OTP 참조부
230 : OTP 처리부 240 : 프로그램(s)
245 : PIN 등록부 250 : 연동 처리부
255 : PIN 인증부 260 : OTP 확인부
265 : OTP 복원부 270 : OTP 검증부
275 : OTP 출력부 280 : OTP 제공부
100: wireless terminal 110: general OS
115: Generic kernel 120: Security OS
125: Security Monitor 130: Security Kernel
200: program (n) 205: OTP judgment unit
210: OTP requesting unit 215: OTP receiving unit
220: connection procedure unit 225: OTP reference unit
230: OTP processor 240: Program (s)
245: PIN registration unit 250:
255: PIN authentication unit 260: OTP verification unit
265: OTP restoring unit 270: OTP verifying unit
275: OTP output unit 280: OTP provider

Claims (15)

보안커널(Secure Kennel)을 구비한 보안OS(Secure Operating System)와 커널구조가 공개된 일반OS(Normal Operating System)를 탑재한 무선단말을 통해 실행되는 방법에 있어서,
상기 일반OS의 프로그램(n)이 상기 일반OS에서 연결 가능한 통신망을 지정된 서버로부터 상기 서버의 코드생성알고리즘을 통해 서버에서 동적 생성된 OTP(One Time Password)와 상기 보안OS의 지정된 프로그램(s)를 통해 상기 OTP를 상기 서버에서 동적 생성한 OTP로 검증받기 위한 검증값을 상기 보안OS의 지정된 프로그램(s)를 통해서만 복호화되게 암호화된 OTP를 수신하는 제1 단계;
상기 일반OS의 프로그램(n)이 상기 보안OS의 지정된 프로그램(s)에서 접근 가능한 메모리영역을 할당하거나 또는 기 할당된 메모리영역을 확인하는 제2 단계;
상기 프로그램(n)이 상기 일반OS 상에서 수신된 암호화된 OTP를 상기 메모리영역으로 제공하는 제3 단계;
상기 보안OS의 프로그램(s)이 상기 메모리영역으로부터 암호화된 OTP를 확인하는 제4 단계;
상기 프로그램(s)이 상기 암호화된 OTP를 복호화하여 상기 서버에서 동적 생성한 OTP를 복원하고 상기 복원된 OTP를 상기 서버에서 생성한 OTP로 검증하기 위한 검증값을 확인하는 제5 단계;
상기 프로그램(s)이 상기 검증값을 판독하여 상기 복원된 OTP를 상기 서버에서 동적 생성한 OTP로 검증하는 제6 단계; 및
상기 복원된 OTP를 서버에서 생성한 OTP로 검증한 경우, 상기 프로그램(s)이 보안OS를 통해 무선단말의 화면출력수단에 접근하여 상기 복원된 OTP를 출력하는 제7 단계;를 포함하는 보안운영체제를 이용한 서버형 오티피 제공 방법.
1. A method for executing a secure operating system (OS) having a secure kernel (Kernel) and a wireless terminal equipped with a normal operating system (OS)
The program (n) of the general OS sends an OTP (One Time Password) dynamically generated in the server and a designated program (s) of the secure OS from a designated server via a code generation algorithm of the server, A first step of receiving a verification value for verifying the OTP with an OTP dynamically generated by the server, the encrypted OTP being decrypted only through a designated program (s) of the secure OS;
A second step in which the program (n) of the general OS allocates a memory area accessible by the designated program (s) of the secure OS or identifies an allocated memory area;
The program (n) providing an encrypted OTP received on the general OS to the memory area;
A fourth step of the program (s) of the secure OS verifying the encrypted OTP from the memory area;
A fifth step of decrypting the encrypted OTP by the program (s), restoring the OTP dynamically generated by the server, and verifying a verification value for verifying the restored OTP with the OTP generated by the server;
A sixth step of the program (s) reading the verification value and verifying the restored OTP as an OTP dynamically generated by the server; And
And a seventh step of the program (s) accessing the screen output means of the wireless terminal through the secure OS and outputting the restored OTP when the restored OTP is verified by the OTP generated by the server. A method of providing a server-type object.
제 1항에 있어서, 상기 보안OS는,
프로세서에 탑재된 트러스트존(Trust Zone)을 포함하여 이루어지는 것을 특징으로 하는 보안운영체제를 이용한 서버형 오티피 제공 방법.
The method of claim 1,
And a trust zone installed in the processor. The method of claim 1, wherein the trust zone is installed in the processor.
제 1항에 있어서,
상기 프로그램(n)이 상기 보안OS에 지정된 프로그램(s)이 탑재되었음을 식별하거나 상기 보안OS에 탑재된 프로그램(s)을 식별하는 식별정보를 일반OS 저장영역에 저장하는 단계를 더 포함하여 이루어지는 것을 특징으로 하는 보안운영체제를 이용한 서버형 오티피 제공 방법.
The method according to claim 1,
Further comprising the step of identifying that the program (n) has the program (s) assigned to the secure OS installed or the identification information identifying the program (s) mounted on the secure OS in the general OS storage area A method for providing server-type authentication using a secure operating system.
제 1항에 있어서,
상기 프로그램(n)이 상기 보안OS로 전환되기 직전의 상기 프로그램(n)에 대한 상태정보를 저장하여 유지하는 단계를 더 포함하여 이루어지는 것을 특징으로 하는 보안운영체제를 이용한 서버형 오티피 제공 방법.
The method according to claim 1,
Further comprising storing and maintaining state information on the program (n) immediately before the program (n) is switched to the secure OS.
제 1항에 있어서, 상기 제2 단계는,
상기 프로그램(n)이 SMC(Secure Monitor Call) 명령을 통해 보안OS를 구동하는 단계를 더 포함하여 이루어지는 것을 특징으로 하는 보안운영체제를 이용한 서버형 오티피 제공 방법.
2. The method according to claim 1,
Further comprising the step of the program (n) operating a secure OS through an SMC (Secure Monitor Call) command.
제 1항에 있어서, 상기 제2 단계는,
상기 프로그램(n)이 일반OS에 상기 메모리영역을 할당하거나 또는 기 할당된 메모리영역을 확인하는 것을 특징으로 하는 보안운영체제를 이용한 서버형 오티피 제공 방법.
2. The method according to claim 1,
Wherein the program (n) allocates the memory area to a general OS or identifies a pre-allocated memory area.
제 1항에 있어서, 상기 제2 단계는,
상기 프로그램(n)이 일반OS와 보안OS 간 전환 절차를 수행하는 보안 모니터에 상기 메모리영역을 할당하거나 또는 기 할당된 메모리영역을 확인하는 것을 특징으로 하는 보안운영체제를 이용한 서버형 오티피 제공 방법.
2. The method according to claim 1,
Wherein the program (n) allocates the memory area to the security monitor performing the switching procedure between the general OS and the security OS, or verifies the pre-allocated memory area.
제 1항에 있어서, 상기 제2 단계는,
상기 프로그램(n)이 네트워크 상의 보안서버에 보안OS의 프로그램(s)에서 접근 가능한 메모리영역을 할당하거나 또는 기 할당된 메모리영역을 확인하는 것을 특징으로 하는 보안운영체제를 이용한 서버형 오티피 제공 방법.
2. The method according to claim 1,
Wherein the program (n) allocates a memory area accessible from a program (s) of a secure OS to a security server on the network or identifies a pre-allocated memory area.
제 1항에 있어서, 상기 제2 단계는,
상기 프로그램(n)이 상기 메모리영역을 참조하는 일반OS 측의 프로세스로 상기 프로그램(n)을 설정하는 단계를 더 포함하여 이루어지는 것을 특징으로 하는 보안운영체제를 이용한 서버형 오티피 제공 방법.
2. The method according to claim 1,
Further comprising setting the program (n) as a process of a general OS side in which the program (n) refers to the memory area.
제 1항에 있어서,
상기 프로그램(s)이 상기 보안OS의 저장영역에 복호화 키를 저장하는 단계를 더 포함하며,
상기 제5 단계는, 상기 저장된 복호화 키를 통해 상기 암호화된 OTP를 복호화하여 복원하는 단계를 더 포함하여 이루어지는 것을 특징으로 하는 보안운영체제를 이용한 서버형 오티피 제공 방법.
The method according to claim 1,
Further comprising the step of the program (s) storing a decryption key in a storage area of the secure OS,
Wherein the fifth step further comprises decrypting and restoring the encrypted OTP through the stored decryption key. ≪ Desc / Clms Page number 19 >
제 1항에 있어서,
상기 프로그램(s)이 상기 보안OS에서 연결 가능한 통신망을 경유하여 지정된 서버와 복호화 키를 교환하는 단계를 더 포함하며,
상기 제5 단계는, 상기 교환된 복호화 키를 통해 상기 암호화된 OTP를 복호화하여 복원하는 단계를 더 포함하여 이루어지는 것을 특징으로 하는 보안운영체제를 이용한 서버형 오티피 제공 방법.
The method according to claim 1,
Further comprising the step of the program (s) exchanging a decryption key with a designated server via a communication network connectable in the secure OS,
Wherein the fifth step further comprises decrypting the encrypted OTP through the exchanged decryption key and restoring the decrypted OTP.
제 1항에 있어서,
상기 프로그램(s)이 보안OS를 통해 무선단말의 입력수단에 접근하여 PIN(Personal Identification Number)을 입력받는 단계; 및
상기 보안OS를 통해 입력된 PIN의 유효성을 인증하는 단계;를 더 포함하여 이루어지는 것을 특징으로 하는 보안운영체제를 이용한 서버형 오티피 제공 방법.
The method according to claim 1,
Receiving the PIN (Personal Identification Number) by accessing the input means of the wireless terminal through the security OS; And
And authenticating the validity of the PIN input through the secure OS. The method of claim 1, wherein the validity of the PIN is verified.
제 1항에 있어서,
상기 프로그램(s)이 상기 OTP를 복원한 경우,
상기 프로그램(s)이 상기 복원된 OTP를 상기 메모리영역으로 제공하는 제7 단계; 및
상기 프로그램(n)이 상기 메모리영역의 OTP를 일반OS의 OTP로 참조하는 제8 단계;를 더 포함하는 보안운영체제를 이용한 서버형 오티피 제공 방법.
The method according to claim 1,
When the program (s) restores the OTP,
The program (s) providing the restored OTP to the memory area; And
And the program (n) refers to the OTP of the memory area as an OTP of the general OS.
제 13항에 있어서, 상기 제8 단계는,
상기 프로그램(n)이 상기 메모리영역의 OTP를 확인하는 단계; 및
상기 프로그램(n)이 상기 무선단말의 화면출력수단을 통해 상기 확인된 OTP를 표시하는 단계;를 포함하여 이루어지는 것을 특징으로 하는 보안운영체제를 이용한 서버형 오티피 제공 방법.
14. The method of claim 13,
The program (n) verifying the OTP of the memory area; And
And displaying the confirmed OTP by the program (n) through a screen output unit of the wireless terminal.
제 13항에 있어서, 상기 제8 단계는,
상기 프로그램(n)이 상기 메모리영역의 OTP를 확인하는 단계; 및
상기 프로그램(n)이 상기 무선단말의 통신수단을 통해 상기 확인된 OTP를 지정된 서버로 전송하는 단계;를 포함하여 이루어지는 것을 특징으로 하는 보안운영체제를 이용한 서버형 오티피 제공 방법.
14. The method of claim 13,
The program (n) verifying the OTP of the memory area; And
And transmitting the confirmed OTP to the designated server through the communication unit of the wireless terminal by the program (n).
KR1020160082462A 2016-06-30 2016-06-30 Method for Providing Server type One Time Password by using Secure Operating System KR101866031B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020160082462A KR101866031B1 (en) 2016-06-30 2016-06-30 Method for Providing Server type One Time Password by using Secure Operating System

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020160082462A KR101866031B1 (en) 2016-06-30 2016-06-30 Method for Providing Server type One Time Password by using Secure Operating System

Publications (2)

Publication Number Publication Date
KR20180003089A KR20180003089A (en) 2018-01-09
KR101866031B1 true KR101866031B1 (en) 2018-06-08

Family

ID=61000421

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020160082462A KR101866031B1 (en) 2016-06-30 2016-06-30 Method for Providing Server type One Time Password by using Secure Operating System

Country Status (1)

Country Link
KR (1) KR101866031B1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150123155A (en) * 2014-04-24 2015-11-03 유한회사 실릭스 Method, apparatus and system for generating transaction related otp
KR101628610B1 (en) * 2015-03-25 2016-06-08 (주)에이티솔루션즈 Method for Providing One Time Password by using Secure Operating System
KR101628615B1 (en) * 2015-04-17 2016-06-08 (주)에이티솔루션즈 Method for Providing Safety Electronic Signature by using Secure Operating System

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080042581A (en) * 2006-11-10 2008-05-15 일진전기 주식회사 System and method for preventing a phishing and disguising user using one time access means
KR20140123353A (en) * 2013-04-12 2014-10-22 에스케이플래닛 주식회사 Secure message transmission system, apparatus therefor and secure message processing method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150123155A (en) * 2014-04-24 2015-11-03 유한회사 실릭스 Method, apparatus and system for generating transaction related otp
KR101628610B1 (en) * 2015-03-25 2016-06-08 (주)에이티솔루션즈 Method for Providing One Time Password by using Secure Operating System
KR101628615B1 (en) * 2015-04-17 2016-06-08 (주)에이티솔루션즈 Method for Providing Safety Electronic Signature by using Secure Operating System

Also Published As

Publication number Publication date
KR20180003089A (en) 2018-01-09

Similar Documents

Publication Publication Date Title
US20040006713A1 (en) Device authentication system
KR100689504B1 (en) Device for protecting transmission of contents
CN105325021B (en) Method and apparatus for remote portable wireless device authentication
TWI715833B (en) Air card issuing method, device, computing equipment, computer readable storage medium and computer program product
KR101628615B1 (en) Method for Providing Safety Electronic Signature by using Secure Operating System
KR101662947B1 (en) Method for Providing Session Security by using Secure Operating System
KR101853970B1 (en) Method for Relaying Authentication Number
KR20160124336A (en) Method for Providing Electronic Signature by using Secure Operating System
KR101866031B1 (en) Method for Providing Server type One Time Password by using Secure Operating System
KR101628610B1 (en) Method for Providing One Time Password by using Secure Operating System
KR101628614B1 (en) Method for Processing Electronic Signature by using Secure Operating System
KR20150004955A (en) Method for Providing Authentication Code by using End-To-End Authentication between USIM and Server
KR20170010341A (en) Method for Processing Certification by using Secure Operating System
KR101702770B1 (en) Method for Providing Security Keypad by using Secure Operating System
CN111246480A (en) Application communication method, system, equipment and storage medium based on SIM card
AU2019279983A1 (en) Secure access to encrypted data of a user terminal
KR101639794B1 (en) Authentication method and system for user confirmation and user authentication
KR101702771B1 (en) Method for Providing High Speed Data Encoding/Decoding by using Secure Operating System
KR101505735B1 (en) Method for Authenticating Near Field Communication Card by using Time Verification
KR102358598B1 (en) Method for Processing Two Channel Authentication by using Contactless Media
KR20170095797A (en) Method for Processing Certification by using Secure Operating System
KR20190047557A (en) Earphone Device for Providing OTP by using Asynchronous Local Area Radio Communication
KR101777041B1 (en) Method for Generating One Time Password based on Asynchronous Local Area Radio Communication
US11974126B2 (en) Method, first and second device and system for connecting to at least one chip
KR101678793B1 (en) Method for Verifying Integrity of Application by using Secure Operating System

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right