KR101972898B1 - A payment terminal apparatus for providing a compatibility of controlling modules and a method using it - Google Patents

A payment terminal apparatus for providing a compatibility of controlling modules and a method using it Download PDF

Info

Publication number
KR101972898B1
KR101972898B1 KR1020190004524A KR20190004524A KR101972898B1 KR 101972898 B1 KR101972898 B1 KR 101972898B1 KR 1020190004524 A KR1020190004524 A KR 1020190004524A KR 20190004524 A KR20190004524 A KR 20190004524A KR 101972898 B1 KR101972898 B1 KR 101972898B1
Authority
KR
South Korea
Prior art keywords
uds
module
information
payment
control module
Prior art date
Application number
KR1020190004524A
Other languages
Korean (ko)
Other versions
KR20190035625A (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 KR1020190004524A priority Critical patent/KR101972898B1/en
Publication of KR20190035625A publication Critical patent/KR20190035625A/en
Application granted granted Critical
Publication of KR101972898B1 publication Critical patent/KR101972898B1/en

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G1/00Cash registers
    • G07G1/12Cash registers electronically operated
    • G07G1/14Systems including one or more distant stations co-operating with a central processing unit
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/04Payment circuits
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/34Payment architectures, schemes or protocols characterised by the use of specific devices or networks using cards, e.g. integrated circuit [IC] cards or magnetic cards
    • G06Q20/341Active cards, i.e. cards including their own processing means, e.g. including an IC or chip

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Cash Registers Or Receiving Machines (AREA)

Abstract

본 발명의 실시 예에 따른 결제 단말 장치는, 결제 프로세스를 수행하는 제1 OS 기반 제어 모듈; 결제 관련 하나 이상의 하드웨어 장치를 제어하는 하나 이상의 제2 OS 기반 장치 모듈; 및 상기 제1 OS 기반 제어 모듈의 결제 프로세스에 따라, 상기 제1 OS 기반 제어 모듈과 상기 하나 이상의 제2 OS 기반 장치 모듈간 데이터 송수신을 UDS(unix domian socket) 프로토콜을 이용하여 중계하는 UDS 중계 모듈을 포함하고, 상기 제1 OS 기반 제어 모듈은, 상기 UDS 중계 모듈의 동작에 따라 상기 제2 OS 기반 장치 모듈에 대응하여 오픈된 소켓으로, 상기 제2 OS 기반 장치 모듈의 제어에 필요한 장치 식별 정보 및 상태 정보를 포함하는 장치 정보가 UDS 프로토콜 데이터로 전달되면, 상기 UDS 중계 모듈로부터 획득되는 상기 장치 정보에 따라, 상기 결제 프로세스 수행을 위해 상기 제2 OS 기반 장치 모듈을 제어하기 위한 공유 메시지를 생성하며, 상기 생성된 공유 메시지를 상기 UDS 중계 모듈로 전달하여, 상기 전달된 공유 메시지에 대응하는 UDS 프로토콜 데이터를 대상 제2 OS 기반 장치 모듈로 제공한다.A payment terminal apparatus according to an embodiment of the present invention includes a first OS-based control module for performing a payment process; One or more second OS-based device modules for controlling one or more hardware devices associated with the payment; And a UDS relay module for relaying data transmission / reception between the first OS-based control module and the at least one second OS-based device module using UDS (unix domian socket) protocol according to a payment process of the first OS- The first OS-based control module is a socket opened corresponding to the second OS-based device module according to an operation of the UDS relay module, and includes device identification information And generating a shared message for controlling the second OS-based device module for performing the payment process according to the device information acquired from the UDS relay module, when the device information including the status information and the status information is transmitted as UDS protocol data And transmits the generated shared message to the UDS relay module, and transmits UDS protocol data corresponding to the delivered shared message To the target second OS-based device module.

Description

장치 모듈의 제어 호환성을 제공하는 결제 단말 장치 {A PAYMENT TERMINAL APPARATUS FOR PROVIDING A COMPATIBILITY OF CONTROLLING MODULES AND A METHOD USING IT}BACKGROUND OF THE INVENTION 1. Field of the Invention [0001] The present invention relates to a payment terminal apparatus for providing control compatibility of a device module,

본 발명은 결제 단말 장치 및 그 동작 방법에 관한 것이다. 보다 구체적으로, 본 발명은 장치 모듈의 제어 호환성을 제공하는 결제 단말 장치에 관한 것이다.The present invention relates to a payment terminal device and an operation method thereof. More particularly, the present invention relates to a payment terminal device that provides control compatibility of a device module.

통상적으로, 카드 결제 결제 단말 장치에는 카드의 마그네틱 스트립에 인코딩(Encoding)된 카드 정보를 리딩하기 위해 자기 스트립 리더(Magnetic stripe reader :MSR) 모듈이 구비된다. 이때, 자기 스트립 리더를 통해 리딩된 카드 정보는 아날로그 신호 형태의 자기 스트립 데이터(MS, magnetic stripe data)로, 암호화되지 않은 평문 정보 상태이다.Typically, a card payment terminal device is provided with a magnetic stripe reader (MSR) module for reading the encoded card information on the magnetic strip of the card. At this time, the card information read through the magnetic strip reader is an unencrypted plaintext information state with magnetic stripe data (MS) in the form of an analog signal.

또한, 스마트카드라 불리는 IC 카드는 마이크로프로세서(microprocessor)와 메모리가 내장된 카드로서, 카드 내에서 정보의 저장과 처리가 가능해 마그네틱카드의 위변조 위험을 최소화하고 다양한 서비스를 제공할 수 있는 결제 수단이다. 기존의 마그네틱 카드에 비해 저장 용량이 월등하여 별도의 정보 저장이 요구되는 다양한 부가 기능을 수행할 수 있으며, 보안문제를 개선시킬 수 있다는 장점이 있다.In addition, an IC card called a smart card is a card having a microprocessor and a memory, and can store and process information in the card, thereby minimizing the risk of forgery and alteration of the magnetic card and providing a variety of services . The storage capacity is higher than that of the conventional magnetic card, so that it is possible to perform various additional functions requiring additional information storage, and the security problem can be improved.

한편, 이와 같은 결제 단말 장치를 구성하는 장치들은 각각의 하드웨어를 제어하기 위하여, 소프트웨어 코드에 의해 메모리상에 구현되는 장치 모듈의 동작에 의해 제어되며, 상기 소프트웨어 코드는 일반적으로 리눅스 기반의 언어로 구현되며, 이에 기반한 장치 모듈 상호간 통신에 따른 카드 리딩, 전문 생성 및 전표 출력 등의 일련의 결제 프로세스가 이루어지고 있다.On the other hand, devices constituting such a payment terminal device are controlled by operation of a device module implemented in a memory by a software code in order to control each hardware, and the software code is generally implemented in a Linux-based language And a series of payment processes such as card reading, professional creation, and journal output according to communication between the device modules based on the information are performed.

그러나, 최근 안드로이드 기반의 OS의 급격한 발전으로 인해, 위와 같은 결제 단말 장치를 안드로이드 OS상에서 구현하여, 보다 편리하고 확장성 높은 장치로 구현하고자 하는 요구가 높아지고 있는 실정이다.However, due to the recent rapid development of an Android-based OS, there is a growing demand for a more convenient and scalable device by implementing the payment terminal device on the Android OS.

그러나, 안드로이드 OS는 자바(JAVA) 어플리케이션으로 개발되어 결제 어플리케이션 또한 자바 언어로 구현되어야 하는 실정이다. 이는 기존의 개발 및 하드웨어와 연동된 결제 관련 장치 모듈들과는 서로 다른 데이터 처리 및 통신 프로토콜 지원을 요구하는 바, 모든 장치 모듈을 자바 어플리케이션에 맞춰 새로 개발 및 테스트해야 함으로써, 개발 비용 및 시간이 소요되는 문제점이 있다.However, the Android OS has been developed as a Java (JAVA) application and the payment application has to be implemented in the Java language. This requires different data processing and communication protocol support from existing development and payment related device modules linked with hardware, and all device modules must be newly developed and tested in accordance with Java applications, .

본 발명은 상기와 같은 문제점들을 해결하기 위한 것으로, 안드로이드 OS와 같은 자바(JAVA) 환경 기반의 OS에서, 리눅스 OS와 같이 다른 OS 기반으로 구동되는 결제 관련 장치 모듈들을 제어하기 위한 UDS(Unix domain socket) 중계 모듈을 구비하여, 그 제어 호환성을 제공하고, 이에 따라 별도의 자바환경의 OS 기반 장치 모듈 개발 및 구현 테스트 없이도, 결제 프로세스를 원활히 수행할 수 있는 결제 단말 장치를 제공하여 개발 비용 및 시간을 저감시키는데 그 목적이 있다.SUMMARY OF THE INVENTION The present invention has been made to solve the above problems and it is an object of the present invention to provide a UDS (Unix domain socket) for controlling settlement related device modules running on other OS-based systems such as a Linux OS in an OS based on JAVA environment such as Android OS ) Relay module to provide a control compatibility thereof, thereby providing a payment terminal device capable of smoothly performing a payment process without developing and implementing an OS-based device module in a separate Java environment, There is a purpose to reduce it.

상기와 같은 과제를 해결하기 위한 본 발명의 실시 예에 따른 장치는, 결제 단말 장치에 있어서, 결제 프로세스를 수행하는 제1 OS 기반 제어 모듈; 결제 관련 하나 이상의 하드웨어 장치를 제어하는 하나 이상의 제2 OS 기반 장치 모듈; 및 상기 제1 OS 기반 제어 모듈의 결제 프로세스에 따라, 상기 제1 OS 기반 제어 모듈과 상기 하나 이상의 제2 OS 기반 장치 모듈간 데이터 송수신을 UDS(unix domian socket) 프로토콜을 이용하여 중계하는 UDS 중계 모듈을 포함하고, 상기 제1 OS 기반 제어 모듈은, 상기 UDS 중계 모듈의 동작에 따라 상기 제2 OS 기반 장치 모듈에 대응하여 오픈된 소켓으로, 상기 제2 OS 기반 장치 모듈의 제어에 필요한 장치 식별 정보 및 상태 정보를 포함하는 장치 정보가 UDS 프로토콜 데이터로 전달되면, 상기 UDS 중계 모듈로부터 획득되는 상기 장치 정보에 따라, 상기 결제 프로세스 수행을 위해 상기 제2 OS 기반 장치 모듈을 제어하기 위한 공유 메시지를 생성하며, 상기 생성된 공유 메시지를 상기 UDS 중계 모듈로 전달하여, 상기 전달된 공유 메시지에 대응하는 UDS 프로토콜 데이터를 대상 제2 OS 기반 장치 모듈로 제공한다.According to another aspect of the present invention, there is provided a payment terminal apparatus comprising: a first OS-based control module for performing a payment process; One or more second OS-based device modules for controlling one or more hardware devices associated with the payment; And a UDS relay module for relaying data transmission / reception between the first OS-based control module and the at least one second OS-based device module using UDS (unix domian socket) protocol according to a payment process of the first OS- The first OS-based control module is a socket opened corresponding to the second OS-based device module according to an operation of the UDS relay module, and includes device identification information And generating a shared message for controlling the second OS-based device module for performing the payment process according to the device information acquired from the UDS relay module, when the device information including the status information and the status information is transmitted as UDS protocol data And transmits the generated shared message to the UDS relay module, and transmits UDS protocol data corresponding to the delivered shared message To the target second OS-based device module.

또한, 상기와 같은 과제를 해결하기 위한 본 발명의 실시 예에 따른 장치는, 결제 단말 장치에 있어서, 결제 프로세스를 수행하는 제1 OS 기반 제어 모듈; 결제 관련 하나 이상의 하드웨어 장치를 제어하는 하나 이상의 제2 OS 기반 장치 모듈; 및 상기 제1 OS 기반 제어 모듈의 결제 프로세스에 따라, 상기 제1 OS 기반 제어 모듈과 상기 하나 이상의 제2 OS 기반 장치 모듈간 데이터 송수신을 UDS(unix domian socket) 프로토콜을 이용하여 중계하는 UDS 중계 모듈을 포함하고, 상기 제2 OS 기반 장치 모듈은, 상기 제2 OS 기반 장치 모듈의 장치 정보를 이용하여 상기 UDS 중계 모듈의 오픈된 소켓으로부터 상기 제1 OS 기반 제어 모듈로부터 상기 제2 OS 기반 장치 모듈로 전달된 공유 메시지를 획득하고, 상기 공유 메시지에 대응하는 결과 응답 메시지를 상기 UDS 중계 모듈의 오픈된 소켓으로 전달하여, 상기 제1 OS 기반 제어 모듈에서 획득되도록 한다.According to another aspect of the present invention, there is provided a settlement terminal apparatus comprising: a first OS-based control module for performing a settlement process; One or more second OS-based device modules for controlling one or more hardware devices associated with the payment; And a UDS relay module for relaying data transmission / reception between the first OS-based control module and the at least one second OS-based device module using UDS (unix domian socket) protocol according to a payment process of the first OS- Based module from the first OS-based control module to the second OS-based device module from the opened socket of the UDS relay module using the device information of the second OS-based device module, And transmits a result response message corresponding to the shared message to the opened socket of the UDS relaying module to be obtained in the first OS-based control module.

본 발명의 실시 예에 따르면, 안드로이드 OS와 같은 자바 환경 기반의 OS에서, 리눅스 OS와 같이 다른 OS 기반으로 구동되는 결제 관련 장치 모듈들을 제어하기 위한 UDS(Unix domain socket) 중계 모듈을 구비시키고, 이에 따른 각 제어 모듈 및 장치 모듈을 제공함으로써, 제어 호환성을 제공할 수 있다.According to the embodiment of the present invention, there is provided a UDS (Unix domain socket) relay module for controlling settlement-related device modules running on other OS-based OS such as a Linux OS in a Java environment-based OS such as an Android OS, By providing each control module and device module according to the present invention, control compatibility can be provided.

이에 따라 별도의 자바환경 OS 기반 장치 모듈 개발 및 구현 테스트 없이도, 결제 프로세스를 원활히 수행할 수 있는 결제 단말 장치를 제공함으로써, 개발 비용 및 시간을 저감시킬 수 있다.Accordingly, development cost and time can be reduced by providing a payment terminal device capable of smoothly performing a payment process without developing and implementing a separate Java environment OS-based device module.

도 1은 본 발명의 실시 예에 따른 전체 시스템을 개략적으로 도시한 개념도이다.
도 2는 본 발명의 실시 예에 따른 결제 단말 장치를 보다 구체적으로 도시한 블록도이다.
도 3 및 도 4는 본 발명의 실시 예에 따른 결제 단말 장치의 동작 방법을 설명하기 위한 흐름도이다.
도 5는 본 발명의 실시 예에 따른 UDS 기반 메시지 데이터의 구조를 예시하기 위한 도면이다.
1 is a conceptual diagram schematically showing an overall system according to an embodiment of the present invention.
FIG. 2 is a block diagram showing a payment terminal according to an embodiment of the present invention.
3 and 4 are flowcharts for explaining a method of operating a payment terminal according to an embodiment of the present invention.
5 is a diagram illustrating a structure of UDS-based message data according to an embodiment of the present invention.

이하, 첨부한 도면을 참조하여 본 발명의 실시예에 대해 상세히 설명하고자 한다.Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

먼저, 본 발명의 명세서에서 사용되는 용어를 간략히 정의한 후, 본 발명의 실시 예를 설명하기로 한다.First, the terms used in the specification of the present invention will be briefly defined, and then an embodiment of the present invention will be described.

본 명세서에서 설명되는 "결제 단말 장치"에는 POS 결제 단말 장치, 컴퓨터, 휴대폰, 스마트 폰(smart phone), 노트북 컴퓨터(laptop computer), 디지털방송용 결제 단말 장치, PDA(Personal Digital Assistants), PMP(Portable Multimedia Player), 네비게이션 등이 포함될 수 있으나, 본 발명은 이에 한정되지 아니하며 그 이외에 사용자 입력 및 정보 표시 등이 가능한 다양한 장치일 수 있다.A "payment terminal device" described in this specification includes a POS payment terminal device, a computer, a mobile phone, a smart phone, a laptop computer, a payment terminal device for digital broadcasting, a PDA (Personal Digital Assistants) Multimedia Player), navigation, and the like, but the present invention is not limited thereto, and may be various devices capable of user input and information display.

또한, "중계 서버"라 함은 카드 전자 결제를 중계하는 밴(VAN) 사 측 서버를 일례로 지칭하였으나, 신용카드 전자 결제와 관련된 다양한 형태의 서버도 이에 해당할 수 있으며, 특정 기능에 따라서 실제 결제 중계 기능과 다른 부가 기능을 별도의 서버 형태로 분리하는 형태도 가능하다.The term " relay server " refers to a server of a VAN company that relays card electronic settlement. However, various types of servers related to credit card electronic settlement may also be applicable. The payment relay function and other additional functions may be separated into separate server types.

도 1은 본 발명의 실시 예에 따른 전체 시스템을 도시한 것이다.1 illustrates an overall system according to an embodiment of the present invention.

본 발명의 실시예에 따른 전자 결제 시스템은 결제 단말 장치(100), 중계 서버(300) 및 카드사 서버(500)를 포함한다.The electronic settlement system according to the embodiment of the present invention includes a settlement terminal apparatus 100, a relay server 300, and a card issuer server 500.

예를 들어, 결제 단말 장치(100)는 일반적인 통신망(30)을 통해 유무선 통신을 수행하며, 결제와 관련된 카드 정보, 결제 정보, 기타 단문 메시지(Short Message Service; SMS), 멀티 미디어 메시지(Multimedia Messaging Service; MMS), 이메일 메시지 등의 각종 메시지 중 적어도 하나를 송수신하는 컴퓨터, 태블릿 컴퓨터 또는 POS 결제 단말 장치 등이 예시될 수 있다.For example, the settlement terminal apparatus 100 performs wired / wireless communication through a general communication network 30 and transmits card information, payment information, other Short Message Service (SMS), multimedia message A tablet computer, a POS payment terminal, or the like, which transmits and receives at least one of various messages such as an electronic mail (MMS) service and an e-mail message.

또한, 위의 결제 단말 장치(100)는 통신망(30)에 접속하여 인터넷 등의 IP(Internet Protocol) 망(50)과 데이터를 송수신할 수 있다.In addition, the payment terminal apparatus 100 can access the communication network 30 and transmit / receive data to / from an IP (Internet Protocol) network 50 such as the Internet.

그리고, 중계 서버(300)는 카드(10)를 이용하는 전자 결제 시스템에서 결제 대행 서비스를 제공하는 밴(Value Added Network : VAN) 사 측의 서버를 일례로 들었다.The relay server 300 is an example of a server of a Value Added Network (VAN) company providing a payment agent service in an electronic payment system using the card 10. [

하지만, 본 발명은 이에 한정되는 것이 아니라 중계 서버(300)가 결제를 대행하는 서버 이외에 전표 매입만을 중계하는 서버일 수도 있으며, 일반 카드사의 서버와 연결되는 단순 중계 서버 등 다양한 형태를 모두 포함한다. 또한, 카드사 서버(500)는 위의 카드(10)를 발행한 카드사의 서버를 나타낸다.However, the present invention is not limited to this, but may be a server for relaying only the purchase of a paper other than a server for payment by the relay server 300, or a simple relay server connected to a server of a general card company. The card issuer server 500 also shows a server of the card issuer that issued the card 10 above.

또한, 결제 단말 장치(100)는 상기 승인 거래 정보 또는 취소 거래 정보에 따라, 상기 카드 리더 모듈에서 리딩되는 카드 정보를 이용한 승인 프로세스 또는 취소 프로세스를 선택적으로 수행할 수 있다.In addition, the payment terminal device 100 may selectively perform the approval process or the cancellation process using the card information read from the card reader module according to the approval transaction information or the cancellation transaction information.

한편, 본 발명의 실시예에서 도 1에 도시된 판매자의 결제 단말 장치(100)는 카드 리더 모듈과 연결되어 사용되는 것을 예시할 수 있다. 예를 들어, 카드 리더 모듈은 결제 단말 장치(100)의 USB 연결 단자, 시리얼 연결 단자, 이어폰 또는 마이크 연결 단자를 포함하는 연결 포트에 삽입되어 연결되는 구조를 가질 수 있다.Meanwhile, in the embodiment of the present invention, the payment terminal device 100 of the seller shown in FIG. 1 may be used in connection with the card reader module. For example, the card reader module may be inserted into a connection port including a USB connection terminal, a serial connection terminal, an earphone, or a microphone connection terminal of the settlement terminal device 100.

다만, 이는 예시일 뿐이며, 결제 단말 장치(100)에는 카드 리더 모듈이 포함되어 구성될 수도 있다.However, this is merely an example, and the payment terminal 100 may include a card reader module.

한편, 카드 리더 모듈을 이용한 카드 결제 시 결제 단말 장치(100)는 결제 프로그램을 구비하며, 이러한 결제 프로그램을 이용하여 중계 서버(300)에 거래 승인 요구 또는 취소 요구 메시지를 송신하여 승인 요청 또는 취소 요청을 함으로써 신용 결제 처리를 수행할 수 있다.On the other hand, the payment terminal device 100 includes a payment program in card settlement using the card reader module, and transmits a transaction approval request or cancellation request message to the relay server 300 using the payment program, The credit settlement processing can be performed.

결제 단말 장치(100)는 이러한 결제 프로그램을 이용하여 거래 승인 또는 취소 시 구매자의 결제 단말 장치로 거래 승인 또는 취소와 관련된 영수증이 포함된 메시지와, 현금영수증의 발행 또는 취소와 관련된 영수증이 포함된 메시지를 생성하여 전송할 수 있다.The payment terminal device 100 uses the payment program to transmit a message including a receipt related to transaction approval or cancellation to the payment terminal of the buyer when the transaction is approved or canceled and a message including a receipt related to issuance or cancellation of the cash receipt Can be generated and transmitted.

본 발명의 실시예에서 도 1에 도시된 중계 서버(300)는 가맹점으로부터 결제 단말 장치(100)를 이용하는 판매자 정보를 미리 등록받아 저장한다. 여기서, 판매자 정보는 판매자의 전화번호를 포함하고, 그 판매자의 성명, 그 판매자가 소속된 가맹점의 명칭, 사업자 등록번호 등을 추가로 포함할 수 있다. In the embodiment of the present invention, the relay server 300 shown in FIG. 1 registers and stores the seller information using the payment terminal device 100 from the merchant in advance. Here, the seller information includes a telephone number of the seller, and may further include a name of the seller, a name of a merchant to which the seller belongs, a business registration number, and the like.

또한, 중계 서버(300)는 판매자별 또는 가맹점별로 식별 ID를 부여하여 해당 판매자 또는 가맹점의 거래 정보를 관리할 수 있다. 이때, 중계 서버(300)는 밴(VAN) 사에서 직접 관리할 수 있고 별도의 부가적인 서버를 통해 판매자 또는 가맹점의 거래 정보를 관리할 수도 있다. 또한, 중계 서버(300)는 판매자의 결제 단말 장치(100)에 구비되는 결제 프로그램을 제공할 수 있다. Also, the relay server 300 can manage the transaction information of the seller or the franchisee by assigning an identification ID to each seller or each franchisee. At this time, the relay server 300 can directly manage the transaction information of the seller or the merchant through a separate additional server. Also, the relay server 300 can provide a payment program provided in the payment terminal 100 of the seller.

본 발명의 실시 예에서 결제 프로그램은, 예를 들어 VM(Virtual Machine) 다운로드 방식을 이용하여 판매자의 결제 단말 장치(100)로 제공된다. 이를 위해, 먼저 중계 서버(300)는 VM 다운로드를 위해 콜 백(call back) 타입의 메시지를 판매자의 결제 단말 장치(100)로 전송할 수 있다.In the embodiment of the present invention, the payment program is provided to the payment terminal device 100 of the seller using, for example, a VM (Virtual Machine) downloading method. To this end, the relay server 300 may first transmit a call back type message to the payment terminal device 100 of the seller to download the VM.

이후에, 콜 백 타입의 메시지를 수신한 판매자의 결제 단말 장치(100)로부터 미리 약속된 비밀 번호가 수신되면, 결제 프로그램을 판매자의 결제 단말 장치(100)로 전송한다.Thereafter, when a password promised in advance is received from the payment terminal device 100 of the seller who has received the callback type message, the payment program is transmitted to the payment terminal device 100 of the seller.

그리고, 판매자의 결제 단말 장치(100)에 결제 프로그램이 미리 설치되어 있는 경우 VM 다운로드 동작은 생략될 수 있다. 또한, 카드(10)의 결제 시 판매자의 결제 단말 장치(100)에 구비된 서명 패드를 통해 구매자의 서명을 입력받고, 그 서명 정보를 거래 승인 요구 메시지와 함께 중계 서버(300)로 전송하게 된다. If the payment program is previously installed in the payment terminal 100 of the seller, the VM downloading operation may be omitted. In addition, upon payment of the card 10, the signature of the purchaser is inputted through the signature pad provided in the payment terminal apparatus 100 of the seller, and the signature information is transmitted to the relay server 300 together with the transaction approval request message .

결제 프로그램의 제공은 VM 다운로드 방식을 이용하는 것으로 설명하였으나, 이는 일 예를 나타낸 것으로서 공지된 다양한 프로그램 전송 방식을 이용하여 결제 프로그램을 판매자의 결제 단말 장치(100)로 전송할 수 있다. Although the payment program is provided using the VM download method, this is an example, and it is possible to transmit the payment program to the payment terminal device 100 of the seller using various known program transmission methods.

예를 들어, 판매자가 인터넷상의 제휴 사이트 또는 안드로이드 마켓이나 앱 스토어와 같은 오픈 어플리케이션(application) 마켓에 접속하여 판매자 및 판매자 결제 단말 장치의 정보를 입력한 후 회원에 가입하고, 인증 절차를 거친 후 결제 프로그램을 웹상에서 다운받을 수도 있다.For example, a seller accesses an open application market such as an affiliate site on the Internet or an Android market or an app store, inputs information of a seller and a payment terminal device, joins a member, You can also download the program from the web.

이때, 결제 프로그램의 업로드, 업데이트 정보 또는 기타 관리는 중계 서버(300)에서 이루어지거나 기타 다른 형태의 서버에서 이루어질 수도 있다.At this time, uploading, updating information or other management of the settlement program may be performed in the relay server 300 or in another type of server.

도 2는 본 발명의 실시 예에 따른 결제 단말 장치를 보다 구체적으로 도시한 블록도이다.FIG. 2 is a block diagram showing a payment terminal according to an embodiment of the present invention.

도 2를 참조하면, 본 발명의 실시 예에 따른 결제 단말 장치는 제1 OS 기반 제어 모듈(110), 전원부(120), 메모리부(140), 표시부(160), UDS 디스패쳐(150) 및 하나 이상의 제2 OS 기반 장치 모듈(120)을 포함하며, 제1 OS 기반 제어 모듈(110)은 결제 정보 처리부(111) 및 인터페이스부(112)를 포함할 수 있다.2, a payment terminal according to an exemplary embodiment of the present invention includes a first OS-based control module 110, a power unit 120, a memory unit 140, a display unit 160, a UDS dispatcher 150, Based control module 110 may include at least one second OS based device module 120 and the first OS based control module 110 may include a payment information processing unit 111 and an interface unit 112. [

전원부(120)는 카드 리더 모듈(200) 전체의 각 구성부에 전원을 공급한다. The power supply unit 120 supplies power to the respective constituent units of the entire card reader module 200.

제1 OS 기반 제어 모듈(110)은 결제 단말 장치(100)의 전반적인 동작을 제어하며, 특히, UDS 디스패쳐(150)를 이용하여, 제2 OS 기반 장치 모듈(120)을 이용한 결제 프로세스가 수행되도록 할 수 있다. 이를 위해, 제1 OS 기반 제어 모듈(110)은 결제 정보 처리부(111) 및 인터페이스부(112)를 포함할 수 있다. 인터페이스부(112)는 연결된 입력 장치 또는 외부 장치로부터 결제 금액 정보 등의 결제 정보를 입력받아 결제 정보 처리부(111)에서 처리되는 데이터로 변환할 수 있다.The first OS-based control module 110 controls the overall operation of the settlement terminal device 100 and in particular performs a payment process using the second OS-based device module 120 using the UDS dispatcher 150 . To this end, the first OS-based control module 110 may include a payment information processing unit 111 and an interface unit 112. The interface unit 112 receives payment information such as payment amount information from the connected input device or external device and converts the payment information into data to be processed by the payment information processing unit 111.

그리고, 결제 정보 처리부(111)는 상기 입력된 결제 정보와 제2 OS 기반 장치 모듈(120)의 제어에 따라, 제2 OS 기반 장치 모듈(120)에서 리딩된 카드 정보를 이용한 거래 승인 요구 전문을 생성하여 통신망을 통해 중계 서버(300)로 전송처리하거나 응답 전문을 수신하여 처리하도록 할 수 있다.Based on the payment information and the control of the second OS-based device module 120, the payment information processing unit 111 transmits a transaction approval request message using the card information read from the second OS-based device module 120 And transmit it to the relay server 300 through the communication network or receive and process the response message.

이와 같은 처리를 위해, 제2 OS 기반 장치 모듈(120)은 결제 관련 하나 이상의 장치 모듈을 포함할 수 있으며, 하나 이상의 장치 모듈은 각각 결제 단말 장치(100)를 구성하여, 결제 프로세스 제공을 위해 무선 또는 유선 연결된 하나 이상의 하드웨어 장치를 제어하는 모듈일 수 있다.For this process, the second OS-based device module 120 may include one or more device modules associated with the payment, each of which may comprise a billing terminal device 100, Or a module that controls one or more hardware devices connected to the wired network.

이를 위해, 제2 OS 기반 장치 모듈(120)은 결제 서비스 기능을 제공하는 서비스 메인 장치(121), 전표 출력기능을 제공하는 프린터 장치(122), 보안화된 통신 기능을 제공하는 통신 장치(123), 카드 리딩을 제공하는 자기 스트립 리더(124A) 및 IC 카드 리더(124B)를 포함하는 카드 리더 장치(124)를 포함할 수 있다.To this end, the second OS-based device module 120 includes a service main device 121 providing a payment service function, a printer device 122 providing a document output function, a communication device 123 providing a secure communication function A magnetic strip reader 124A that provides card reading, and a card reader device 124 that includes an IC card reader 124B.

한편, 결제 단말 장치(100)는 카드 리더 장치(124)와 별도 시리얼 커넥터 등으로 외부 연결된 서명 패드 장치(200)를 더 포함할 수 있으며, 서명 패드 장치(200)를 통해 입력된 서명 정보는 카드 리더 장치(124)를 통해 수신되어 암호화 처리될 수 있다.The payment terminal apparatus 100 may further include a signature pad apparatus 200 connected to the card reader apparatus 124 via a separate serial connector or the like. May be received via the reader device 124 and encrypted.

한편, 중계 서버(300)에서는 상기 거래 승인 요구 전문을 카드사 서버(500)로 전송하고, 카드사 서버(500)는 이의 승인/거절 여부를 포함한 응답 전문을 중계 서버(300)로 전송하며, 중계 서버(300)는 상기 응답 전문을 다시 결제 단말 장치(100)로 전송할 수 있다.The relay server 300 transmits the transaction approval request telegram to the card issuer server 500. The card issuer server 500 transmits the reply telegram including the approval / rejection to the relay server 300, The payment terminal device 300 may transmit the reply to the payment terminal device 100 again.

그리고, 메모리부(140)는 플래시 롬, SRAM 등의 메모리를 포함할 수 있으며, 결제 정보 처리부(111)에서 이용되는 내부 메모리 및 제1 OS 기반 제어 모듈(110), UDS 디스패쳐(150)와 제2 OS 기반 장치 모듈(120)간 데이터 중계를 위한 메모리로 구분될 수 있다.The memory unit 140 may include a memory such as a flash ROM and an SRAM. The memory unit 140 may include an internal memory used in the payment information processing unit 111, a first OS-based control module 110, a UDS dispatcher 150, And a memory for relaying data between the second OS-based device modules 120.

그리고, 상기 제1 OS 및 제2 OS는 UDS 프로토콜 통신을 공통으로 지원할 수 있다. UDS(Unix Domain Socket)은 기존의 동일 OS 내 내부 프로세스들간 TCP 또는 UDP 프로토콜을 이용하여 통신할 수 있도록 하는 소켓 기반 데이터 통신 방식이나, 특히, 자바 기반 안드로이드 OS와 오픈 소스 언어 기반 리눅스 OS에서도 동일 또는 유사 UDS 기능을 지원하고 있으며, 이에 따라 본 발명의 실시 예에 따른 UDS 디스패쳐(150)는 상기 공통된 UDS 프로토콜을 이용한 데이터 교환 시스템을 구현함으로써, 기존의 리눅스 기반으로 구현된 제2 OS 기반 장치 모듈(120)들의 기능을 그대로 이용할 수 있게 되는 장점이 있다.The first OS and the second OS can commonly support UDS protocol communication. UDS (Unix Domain Socket) is a socket-based data communication method that enables communication between internal processes of the same OS by using TCP or UDP protocol. In particular, the UDS (Unix Domain Socket) The UDS dispatcher 150 according to the embodiment of the present invention implements the data exchange system using the common UDS protocol, thereby enabling the second OS-based device module It is possible to use the functions of the image processing apparatuses 120 as they are.

따라서, 상기 제1 OS는 자바 언어 기반의 안드로이드 OS가 예시될 수 있으며, 제2 OS는 리눅스 기반의 OS가 예시될 수 있다.Accordingly, the first OS may be an Android OS based on Java language, and the second OS may be an OS based on Linux.

이에 따라, 안드로이드 OS 기반 제어 모듈(110) 및 리눅스 OS 기반의 언어로 구현된 제2 OS 기반 장치 모듈(120)은 결제 프로세스 제공을 위한 UDS 디스패쳐(150)와의 상호 데이터 교환을 처리할 수 있다.Accordingly, the Android OS-based control module 110 and the second OS-based device module 120 implemented in a Linux OS-based language can process mutual data exchange with the UDS dispatcher 150 for providing a payment process .

보다 구체적으로, 제1 OS 기반 제어 모듈(110)은 상기 제1 OS 기반 제어 모듈(110)에서 제2 OS 기반 장치 모듈(120)의 하나 이상의 장치 모듈을 이용한 결제 프로세스를 수행시키기 위한 UDS(unix domian socket) 중계 모듈로서, 상기 UDS 디스패쳐(150)를 동작시킬 수 있다.More specifically, the first OS-based control module 110 generates a UDS (unix) for performing a payment process using one or more device modules of the second OS-based device module 120 in the first OS- domian socket) relay module, the UDS dispatcher 150 can be operated.

그리고, UDS 디스패쳐(150)의 동작에 따라 상기 장치 모듈(120)에 대응하여 오픈된 소켓(Socket)으로, 상기 장치 모듈(120)의 제어에 필요한 장치 식별 정보 및 상태 정보를 포함하는 장치 정보가 UDS 프로토콜 데이터로 전달될 수 있다. 여기서, 상기 장치 정보는 메모리부(140)의 메모리상에 일정 주기 또는 특정 요청 신호 발생에 따라 갱신될 수 있다.In accordance with the operation of the UDS dispatcher 150, device information including device identification information and status information necessary for controlling the device module 120 is transmitted to a socket opened corresponding to the device module 120, RTI ID = 0.0 > UDS < / RTI > protocol data. Here, the device information may be updated in a predetermined period on the memory of the memory unit 140 or upon generation of a specific request signal.

그리고, 제1 OS 기반 제어 모듈(110)은 상기 UDS 중계 모듈로부터 획득되는 상기 장치 정보에 따라, 상기 결제 프로세스 수행을 위해 상기 장치 모듈을 제어하기 위한 공유 메시지를 생성할 수 있다.The first OS-based control module 110 may generate a shared message for controlling the device module for performing the payment process according to the device information acquired from the UDS relay module.

이에 따라, 제1 OS 기반 제어 모듈(110)은 상기 생성된 공유 메시지를 상기 UDS 디스패쳐(150)로 전달하고, 상기 전달된 공유 메시지에 대응하는 UDS 프로토콜 데이터는 상기 UDS 디스패쳐(150)로부터 대상 장치 모듈(120)로 제공되어 필요한 일련의 결제 프로세스가 동시 또는 순차적으로 실행될 수 있다.Accordingly, the first OS-based control module 110 transmits the generated shared message to the UDS dispatcher 150, and the UDS protocol data corresponding to the delivered shared message is transmitted from the UDS dispatcher 150 May be provided to the target device module 120 so that a necessary series of payment processes may be executed concurrently or sequentially.

이에 따라, 상기 제2 OS 기반 장치 모듈(120)은, 상기 제2 OS 기반 장치 모듈의 장치 정보를 이용하여 상기 UDS 중계 모듈의 오픈된 소켓으로부터 상기 제1 OS 기반 제어 모듈(110)로부터 상기 제2 OS 기반 장치 모듈(120)로 전달된 공유 메시지를 획득하고, 상기 공유 메시지에 대응하는 하드웨어 장치의 제어를 수행하며, 제어 수행에 따른 결과 응답 메시지를 상기 UDS 디스패쳐(150)의 오픈된 소켓으로 전달하여, 상기 제1 OS 기반 제어 모듈(110)에서 획득되도록 할 수 있다. 여기서, 상기 결과 응답 메시지에는 응답을 수신할 대상 식별 정보로서, 제1 OS 기반 제어 모듈(110)의 식별 정보가 포함될 수 있다.Based on the device information of the second OS-based device module, the second OS-based device module 120 extracts, from the opened socket of the UDS relay module, 2 OS-based device module 120, performs control of the hardware device corresponding to the shared message, and transmits a result response message according to the control to the open socket of the UDS dispatcher 150 And may be acquired by the first OS-based control module 110. Here, the result response message may include identification information of the first OS-based control module 110 as object identification information to receive a response.

도 3 및 도 4는 본 발명의 실시 예에 따른 결제 단말 장치의 동작 방법을 설명하기 위한 흐름도이다.3 and 4 are flowcharts for explaining a method of operating a payment terminal according to an embodiment of the present invention.

도 3 및 도 4를 참조하면, 먼저 제1 OS 기반 제어 모듈(110)은 결제 프로그램을 실행하여(S101), 결제 정보 처리부(111)를 동작시킨다.Referring to FIGS. 3 and 4, the first OS-based control module 110 executes a payment program (S101) and operates the payment information processing unit 111. FIG.

이에 따라, 상기 제1 OS 기반 제어 모듈(110)에서 상기 하나 이상의 장치 모듈을 이용한 결제 프로세스를 수행시키기 위한 UDS(unix domian socket) 디스패쳐(150)가 동작된다.Accordingly, a UDS (unix domian socket) dispatcher 150 for operating the payment process using the one or more device modules is operated in the first OS-based control module 110.

여기서, 상기 UDS 디스패쳐(150)는 제2 OS 기반 장치 모듈(120)의 각 프로세스가 실행되면, 상기 장치 모듈에 대응하여 메모리상에 오픈된 소켓에 대한 장치 정보를 등록한다(S103).When each process of the second OS-based device module 120 is executed, the UDS dispatcher 150 registers device information about a socket opened in the memory corresponding to the device module (S103).

여기서, 소켓은 장치 모듈에 대응하는 FD(File Descriptor)의 생성에 의해 오픈될 수 있으며, UDS 디스패쳐(150)는 장치 식별 정보에 따라, 상기 소켓에 대응하는 FD 데이터 획득 및 갱신 처리를 수행함으로써, 각 제어 기능의 중계 처리를 제공할 수 있다.Here, the socket can be opened by generating an FD (File Descriptor) corresponding to the device module, and the UDS dispatcher 150 performs FD data acquisition and update processing corresponding to the socket in accordance with the device identification information , It is possible to provide relay processing of each control function.

이를 위해, 장치 식별 정보는 각 장치에 대응하는 메시지 식별 정보(Message ID)에 대응할 수 있다. 본 발명의 실시 예에 따른 UDS 데이터는 송신자의 메시지 식별 정보, 수신자의 메시지 식별 정보, 데이터 검증 정보, 통신 타입 정보, 상태 정보 및 공유 UDS 데이터 정보를 포함할 수 있으며, UDS 데이터 정보에 따라 특정 장치 모듈(120)에 대응하는 소켓의 FD 생성 및 갱신이 처리될 수 있다.To this end, the device identification information may correspond to message identification information (Message ID) corresponding to each device. The UDS data according to the embodiment of the present invention may include message identification information of a sender, message identification information of a receiver, data verification information, communication type information, status information and shared UDS data information, FD generation and update of the socket corresponding to the module 120 can be handled.

이에 따라, 각 장치 식별 정보별 소켓이 오픈되면(S105), 결제 프로세스 처리를 위한 일련의 프로세스들이 처리될 수 있다.Accordingly, when a socket is opened for each device identification information (S105), a series of processes for the settlement process process can be processed.

먼저, 카드 리더 장치(124)는 카드 리더 모듈을 통해 MS 또는 IC 카드의 삽입이 검출되면, 검출 정보를 제1 OS 기반 제어 모듈(110)로 전달할 수 있다(S109).First, when insertion of the MS or IC card is detected through the card reader module, the card reader device 124 can transmit the detection information to the first OS-based control module 110 (S109).

예를 들어, 상기 검출 정보는 UDS 디스패쳐(150)에 의해 생성된 메모리상의 카드 검출 플래그로 구성될 수 있으며, 제1 OS 기반 제어 모듈(110)은 JNI(JAVA NATIVE INTERFACE)를 통해 IC Detect JNI와 같은 명령어로 상기 UDS 디스패쳐(150)에 대한 검출 플래그 호출을 처리할 수 있다. 즉, 자바 코드를 네이티브 응용 프로그램이나 어셈블리 등 다른 언어로 구현된 라이브러리에 의해 호출되거나 호출할 수 있는 JNI가 UDS 프로토콜 기반 데이터 교환에 이용될 수 있다.For example, the detection information may be configured as a card detection flag on a memory generated by the UDS dispatcher 150, and the first OS-based control module 110 may detect an IC Detect JNI (JAVA NATIVE INTERFACE) To process a detection flag call to the UDS dispatcher 150 with instructions such as. That is, JNI can be used for UDS protocol-based data exchange where Java code can be called or called by libraries implemented in other languages, such as native applications or assemblies.

이에 따라, 제1 OS 기반 제어 모듈(110)은 JNI를 이용한 UDS 함수를 호출하여 본 발명의 실시 예에 따른 UDS 디스패쳐(150)로의 메시지 전송 요청 및 획득 처리를 수행할 수 있다.Accordingly, the first OS-based control module 110 calls the UDS function using the JNI to perform message transmission request and acquisition processing to the UDS dispatcher 150 according to the embodiment of the present invention.

이에 따라, 카드 검출 정보가 획득되면, 제1 OS 기반 제어 모듈(110)은 인터페이스부(112)를 통해 결제 정보를 입력받고(S111), 결제 정보에 대한 서명 정보를 요청하기 위한 서명 요청 정보를 UDS 디스패쳐(150)로 전달한다(S113).Accordingly, when the card detection information is acquired, the first OS-based control module 110 receives the payment information through the interface unit 112 (S111), and transmits the signature request information for requesting the signature information for the payment information To the UDS dispatcher 150 (S113).

여기서, 서명 요청 정보는 JNI를 이용한 UDS 호출 함수로 구성될 수 있으며, 수신자 메시지 식별 정보는 카드 리더 장치(124)에 대응할 수 있다.Here, the signature request information may be composed of a UDS call function using JNI, and the receiver message identification information may correspond to the card reader apparatus 124. [

이에 따라, UDS 디스패쳐(150)는 서명 요청 정보에 포함된 수신자 메시지 식별 정보에 대응하는 소켓 정보를 갱신하여, 카드 리더 장치(124)에 서명 요청을 전달할 수 있다(S115).Accordingly, the UDS dispatcher 150 can update the socket information corresponding to the recipient message identification information included in the signature request information, and deliver the signature request to the card reader device 124 (S115).

한편, 카드 리더 장치(124)는 UDS 디스패쳐(150)로부터 서명 요청 정보를 확인하면, 시리얼 커넥터로 연결된 서명 패드 장치(200)로 서명 정보를 요청하며(S117), 서명 정보에 대응하여 패드에 입력되는 실시간 좌표 정보를 수신하고(S119), 수신된 실시간 서명 좌표 정보는 UDS 프로토콜 변환되어 UDS 디스패쳐(150)로 전달될 수 있다(S121). 여기서, 실시간 서명 좌표 정보 메시지의 수신자 식별 정보는 제1 OS 기반 제어 모듈(110)에 대응할 수 있다.On the other hand, when the card reader apparatus 124 confirms the signature request information from the UDS dispatcher 150, the card reader apparatus 124 requests signature information from the signature pad apparatus 200 connected by the serial connector (S117) The received real-time coordinate information is received (S119), and the received real-time signature coordinate information is UDS protocol converted and transmitted to the UDS dispatcher 150 (S121). Here, the receiver identification information of the real-time signature coordinate information message may correspond to the first OS-based control module 110.

이에 따라, 제1 OS 기반 제어 모듈(110)은 UDS 디스패쳐(150)로부터 JAVA 기반 UDS 호출 함수를 이용하여, UDS 디스패쳐(150)로부터 바이패스(BYPASS)된 실시간 좌표 정보를 획득할 수 있으며(S123), 제1 OS 기반 제어 모듈(110)은 이에 따른 표시부(160)의 디스플레이 제어 및 입력 확인을 수행할 수 있다(S133).Accordingly, the first OS-based control module 110 can acquire BYPASS real-time coordinate information from the UDS dispatcher 150 using the JAVA-based UDS calling function from the UDS dispatcher 150 (S123), the first OS-based control module 110 can perform display control and input confirmation of the display unit 160 according to the result (S133).

한편, 결제를 위한 서명 데이터는 서명 패드 장치(200)에서 암호화 처리될 수 있으며, 암호화된 서명 데이터는 시리얼 연결을 통해 카드 리더 장치(124)로 제공될 수 있다.On the other hand, the signature data for settlement can be encrypted in the signature pad apparatus 200, and the encrypted signature data can be provided to the card reader apparatus 124 via the serial connection.

이에 따라, 암호화된 서명 데이터는 UDS 프로토콜 변환되어 UDS 디스패쳐(150)로 전달될 수 있다(S131). 여기서, 상기 암호화된 서명 데이터의 수신자측 식별 정보는 서비스 메인 장치(121)에 대응할 수 있다.Accordingly, the encrypted signature data may be UDS protocol converted and transmitted to the UDS dispatcher 150 (S131). Here, the receiver side identification information of the encrypted signature data may correspond to the service main device 121.

서비스 메인 장치(121)는 승인 요청 전문 및 전표 프로세스 처리를 위한 보안화된 결제 모듈을 구비할 수 있다. 이에 따라, 서비스 메인 장치(121)는 UDS 디스패쳐(150)로부터 그대로 바이패스된 상기 암호화된 서명 데이터를 획득할 수 있다(S139).The service main device 121 may comprise a secure payment module for authorization request telegraph and document process processing. Accordingly, the service main device 121 can obtain the encrypted signature data bypassed from the UDS dispatcher 150 (S139).

이후, 제1 OS 기반 제어 모듈(110)은 서명 입력 확인에 따른 결제 정보를 포함하는 신용 결제 요청을 UDS 디스패쳐(150)로 전달한다(S141).Then, the first OS-based control module 110 transmits a credit settlement request including payment information according to the signature input confirmation to the UDS dispatcher 150 (S141).

여기서, 신용 결제 요청은 JNI를 이용한 UDS 함수로 요청될 수 있으며, 수신자 식별 정보는 서비스 메인 장치(121)에 대응할 수 있다.Here, the credit settlement request may be requested by the UDS function using the JNI, and the receiver identification information may correspond to the service main device 121. [

이에 따라, UDS 디스패쳐(150)는 신용 결제 요청 정보를 바이패스하여, 서비스 메인 장치(121)로 전달한다(S137).Accordingly, the UDS dispatcher 150 bypasses the credit settlement request information and delivers it to the service main device 121 (S137).

서비스 메인 장치(121)는 UDS 데이터로 전달된 신용 결제 요청 정보 획득에 따른 거래 승인 요구 전문을 생성하며(S139), 생성된 거래 승인 요구 전문은 UDS 디스패쳐(150)를 통해(S141) 바이패스되어 통신 장치(123)로 전달되며(S143), 통신 장치(123)에서 수신된 승인 응답 전문은 다시 UDS 디스패쳐(150)를 통해(S145) 서비스 메인 장치(121)로 전달된다(S147). 상기 각 프로세스는 모두 UDS 기반의 데이터 교환으로 용이하게 처리될 수 있다.The service main device 121 generates a transaction approval request text based on the acquisition of the credit settlement request information transferred in the UDS data in step S139 and transmits the generated transaction approval request text in step S141 through the UDS dispatcher 150 And is transmitted to the communication device 123 (S143). The authorization response message received by the communication device 123 is transmitted to the service main device 121 through the UDS dispatcher 150 (S145) (S147). Each of the above processes can be easily handled by UDS-based data exchange.

또한, 승인 응답 전문을 획득한 서비스 메인 장치(121)는 응답 전문에 기초한 전표 데이터를 생성하며(S149), 전표 데이터에 대응하는 출력 요청은 UDS 디스패쳐(150)를 통해(S151) 프린터 장치(122)로 전달될 수 있으며(S153), 결과 메시지 화면 출력 요청이 UDS 디스패쳐(150)를 통해 제1 OS 기반 제어 모듈(110)로 전달될 수 있다(S157).The service main unit 121 that has acquired the approval response telegram generates the journal data based on the response telegram (S149), and the output request corresponding to the journal data is transmitted to the printer apparatus (S151) via the UDS dispatcher 150 122) (S153), and a result message screen output request may be transmitted to the first OS-based control module 110 through the UDS dispatcher 150 (S157).

여기서, 프린터 장치(122)로의 요청은 UDS 데이터의 전달만으로 처리될 수 있으며, 결과 메시지 화면 출력 요청은 JNI를 이용한 UDS 프로토콜 데이터로 구성될 수 있으며, 이에 따라 제1 OS 기반 제어 모듈(110)은 UDS 디스패쳐(150)로부터 결과 메시지 정보를 획득하여 표시부(160)를 통해 결제 처리 결과 화면을 디스플레이 출력할 수 있다.Here, the request to the printer device 122 can be processed only by transferring the UDS data, and the request message output request can be composed of the UDS protocol data using the JNI. Accordingly, the first OS-based control module 110 Obtains the result message information from the UDS dispatcher 150, and displays the payment processing result screen through the display unit 160. [

도 5는 본 발명의 실시 예에 따른 UDS 기반 메시지 데이터의 구조를 예시하기 위한 도면이다.5 is a diagram illustrating a structure of UDS-based message data according to an embodiment of the present invention.

도 5는 UDS 디스패쳐(150)의 소켓에 대응하여 FD 형태로 저장 및 관리됨으로써, 결과적으로 송수신되는 UDS 데이터의 구조를 예시하고 있다. 도 5를 참조하면, UDS 데이터는 2바이트의 cmdType 정보는 UDS 명령 정보를 나타내는 데 이용될 수 있으며, 4바이트의 scrNode 정보는 송신자 식별 정보를 나타내는 데 이용될 수 있으며, 4바이트의 destNode 정보는 수신자 식별 정보를 나타내는 데 이용될 수 있으며, 1바이트의 ctlType 정보는 데이터 검증 방법(CRC, LRC)을 나타내는데 이용될 수 있으며, 1바이트의 cmd 정보는 통신 타입을 나타내는데 이용될 수 있으며, 4바이트의 seqNo 및 timeSec는 각각 전송 순번 및 시간을 나타낼 수 있으며, 1바이트의 status 및 2바이트의 substatus는 데이터 상태 정보를 나타낼 수 있으며, 실제 교환에 이용되는 데이터는 80k바이트의 udsdata에 포함될 수 있다.5 illustrates the structure of the UDS data transmitted and received as a result of being stored and managed in the form of FD corresponding to the socket of the UDS dispatcher 150. [ 5, 2 bytes of cmdType information may be used to indicate UDS command information, 4 bytes of scrNode information may be used to indicate sender identification information, and 4 bytes of destNode information may be used to indicate UDS command information, One byte of ctlType information may be used to indicate the data verification method (CRC, LRC), one byte of cmd information may be used to indicate the communication type, and four bytes of seqNo And timeSec may represent the transmission sequence number and time, respectively. The 1-byte status and the 2-byte substatus may represent the data status information, and the data used for the actual exchange may be included in the 80-k byte udsdata.

이와 같은 데이터 구조에 따라, UDS 디스패쳐(150)는 파일의 저장 및 갱신 관리를 통해 제1 OS 기반 제어 모듈(110)과 제2 OS 기반 장치 모듈(120)간 데이터 교환 및 기능 처리를 용이하게 중계할 수 있으며, 이에 따라 안드로이드 OS상에서도 별도의 장치 모듈 구현 없이 기존의 리눅스 OS 기반으로 구현된 장치 모듈 및 하드웨어들을 그대로 이용할 수 있게 됨으로써, 개발 비용 및 시간을 크게 단축시킬 수 있으며, 장치 모듈의 별도 추가 없이도 기존 장치를 이용한 호환성을 제공하여 제조비용을 감축시킬 수 있다.According to such a data structure, the UDS dispatcher 150 facilitates data exchange and function processing between the first OS-based control module 110 and the second OS-based device module 120 through file storage and update management Accordingly, it is possible to directly use the device modules and hardware implemented on the existing Linux OS without implementing a separate device module on the Android OS, thereby greatly reducing the development cost and time, Without additional addition, compatibility with existing devices is provided, which can reduce manufacturing costs.

상술한 본 발명에 따른 방법은 컴퓨터에서 실행되기 위한 프로그램으로 제작되어 컴퓨터가 읽을 수 있는 기록 매체에 저장될 수 있으며, 컴퓨터가 읽을 수 있는 기록 매체의 예로는 ROM, RAM, CD-ROM, 자기 테이프, 플로피디스크, 광 데이터 저장장치 등이 있다.The method according to the present invention may be implemented as a program for execution on a computer and stored in a computer-readable recording medium. Examples of the computer-readable recording medium include a ROM, a RAM, a CD- , A floppy disk, an optical data storage device, and the like.

또한, 이상에서는 본 발명의 바람직한 실시예에 대하여 도시하고 설명하였지만, 본 발명은 상술한 특정의 실시예에 한정되지 아니하며, 청구범위에서 청구하는 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 의해 다양한 변형 실시가 가능한 것은 물론이고, 이러한 변형 실시들은 본 발명의 기술적 사상이나 전망으로부터 개별적으로 이해되어서는 안될 것이다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments, but, on the contrary, It should be understood that various modifications may be made by those skilled in the art without departing from the spirit and scope of the present invention.

Claims (7)

결제 단말 장치에 있어서,
결제 프로세스를 수행하는 제1 OS 기반 제어 모듈;
결제 관련 하나 이상의 하드웨어 장치를 제어하는 하나 이상의 제2 OS 기반 장치 모듈; 및
상기 제1 OS 기반 제어 모듈의 결제 프로세스에 따라, 상기 제1 OS 기반 제어 모듈과 상기 하나 이상의 제2 OS 기반 장치 모듈간 데이터 송수신을 UDS(unix domian socket) 프로토콜을 이용하여 중계하는 UDS 중계 모듈을 포함하고,
상기 제1 OS 기반 제어 모듈은,
상기 UDS 중계 모듈의 동작에 따라 상기 제2 OS 기반 장치 모듈에 대응하여 오픈된 소켓으로, 상기 제2 OS 기반 장치 모듈의 제어에 필요한 장치 식별 정보 및 상태 정보를 포함하는 장치 정보가 UDS 프로토콜 데이터로 전달되면, 상기 UDS 중계 모듈로부터 획득되는 상기 장치 정보에 따라, 상기 결제 프로세스 수행을 위해 상기 제2 OS 기반 장치 모듈을 제어하기 위한 공유 메시지를 생성하며, 상기 생성된 공유 메시지를 상기 UDS 중계 모듈로 전달하여, 상기 전달된 공유 메시지에 대응하는 UDS 프로토콜 데이터를 대상 제2 OS 기반 장치 모듈로 제공하는
결제 단말 장치.
In a payment terminal apparatus,
A first OS-based control module for performing a payment process;
One or more second OS-based device modules for controlling one or more hardware devices associated with the payment; And
Based UDS relay module for relaying data transmission / reception between the first OS-based control module and the at least one second OS-based device module using UDS (unix domian socket) protocol according to the payment process of the first OS-based control module Including,
Wherein the first OS-based control module comprises:
Based on the operation of the UDS relay module, device information including device identification information and status information necessary for controlling the second OS-based device module is transmitted as UDS protocol data Based module to control the second OS-based device module to perform the payment process according to the device information acquired from the UDS relay module, and transmits the generated shared message to the UDS relay module And provides the UDS protocol data corresponding to the delivered shared message to the target second OS-based device module
Payment terminal device.
결제 단말 장치에 있어서,
결제 프로세스를 수행하는 제1 OS 기반 제어 모듈;
결제 관련 하나 이상의 하드웨어 장치를 제어하는 하나 이상의 제2 OS 기반 장치 모듈; 및
상기 제1 OS 기반 제어 모듈의 결제 프로세스에 따라, 상기 제1 OS 기반 제어 모듈과 상기 하나 이상의 제2 OS 기반 장치 모듈간 데이터 송수신을 UDS(unix domian socket) 프로토콜을 이용하여 중계하는 UDS 중계 모듈을 포함하고,
상기 제2 OS 기반 장치 모듈은, 상기 제2 OS 기반 장치 모듈의 장치 정보를 이용하여 상기 UDS 중계 모듈의 오픈된 소켓으로부터 상기 제1 OS 기반 제어 모듈로부터 상기 제2 OS 기반 장치 모듈로 전달된 공유 메시지를 획득하고, 상기 공유 메시지에 대응하는 결과 응답 메시지를 상기 UDS 중계 모듈의 오픈된 소켓으로 전달하여, 상기 제1 OS 기반 제어 모듈에서 획득되도록 하는
결제 단말 장치.
In a payment terminal apparatus,
A first OS-based control module for performing a payment process;
One or more second OS-based device modules for controlling one or more hardware devices associated with the payment; And
Based UDS relay module for relaying data transmission / reception between the first OS-based control module and the at least one second OS-based device module using UDS (unix domian socket) protocol according to the payment process of the first OS-based control module Including,
The second OS-based device module may further include a second OS-based device module that receives from the open socket of the UDS relay module, And transmits a result response message corresponding to the shared message to an open socket of the UDS relay module to be acquired in the first OS-based control module
Payment terminal device.
제1항 또는 제2항에 있어서,
상기 공유 메시지는 상기 제1 OS 기반 제어 모듈로부터 생성된 서명 요청 정보를 포함하고,
제2 OS 기반 장치 모듈 중 카드 리더 장치는
상기 UDS 중계 모듈로부터 상기 서명 요청 정보에 대응하는 UDS 프로토콜 데이터가 수신된 경우, 외부로부터 연결된 서명 장치로부터 획득된 실시간 좌표 정보를 상기 UDS 중계 모듈로 전달하고,
상기 제어 모듈은 상기 실시간 좌표 정보에 따른 신용 결제 요청 정보를 생성하여 상기 UDS 중계 모듈을 통해 제2 OS 기반 장치 모듈 중 서비스 메인 장치로 전달하는
결제 단말 장치.
3. The method according to claim 1 or 2,
Wherein the shared message includes signature request information generated from the first OS-based control module,
The card reader device of the second OS-based device module
When the UDS protocol data corresponding to the signature request information is received from the UDS relay module, transmits real-time coordinate information obtained from an externally connected signature device to the UDS relay module,
The control module generates credit settlement request information according to the real-time coordinate information and transmits it to the service main unit of the second OS-based device module through the UDS relay module
Payment terminal device.
제3항에 있어서,
상기 카드 리더 장치는
리딩된 카드 정보 및 상기 서명 요청 정보에 대응하는 암호화된 서명 데이터를 상기 UDS 중계 모듈로 전달하고,
상기 서비스 메인 장치는 상기 제어 모듈로부터 전달된 신용 결제 요청 정보가 수신된 경우, 상기 UDS 중계 모듈로부터 상기 암호화된 서명 데이터 및 카드 정보를 획득하고, 이에 기초한 승인요청 전문을 생성하여, 상기 UDS 중계 모듈을 통해 제2 OS 기반 장치 모듈 중 보안화된 통신 장치로 전달하는
결제 단말 장치.
The method of claim 3,
The card reader device
Forwarding the read card information and the encrypted signature data corresponding to the signature request information to the UDS relaying module,
The service main unit obtains the encrypted signature data and the card information from the UDS relay module when the credit settlement request information transmitted from the control module is received, generates an approval request text based on the encrypted signature data and the card information, To the secure communication device of the second OS-based device module
Payment terminal device.
제4항에 있어서,
상기 서비스 메인 장치는
상기 UDS 중계 모듈을 통해 상기 통신 장치로 전송된 상기 승인요청 전문의 승인결과가 확인된 경우, 전표 출력 정보를 상기 UDS 중계 모듈을 통해 제2 OS 기반 장치 모듈 중 프린터 장치로 전달하는
결제 단말 장치.
5. The method of claim 4,
The service main device
When the approval result of the approval request telegram transmitted to the communication device is confirmed through the UDS relay module, the document output information is transmitted to the printer device of the second OS-based device module through the UDS relay module
Payment terminal device.
제5항에 있어서,
상기 서비스 메인 장치는
상기 UDS 중계 모듈을 통해 상기 통신 장치로 전송된 상기 승인요청 전문의 승인결과가 확인된 경우, 결과 메시지 출력 정보를 상기 UDS 중계 모듈을 통해 상기 제1 OS 기반 제어 모듈로 전달하는
결제 단말 장치.
6. The method of claim 5,
The service main device
And transmits the result message output information to the first OS-based control module through the UDS relay module when the approval result of the approval request telegram transmitted to the communication device through the UDS relay module is confirmed
Payment terminal device.
제1항에 있어서,
상기 제1 OS는 안드로이드 OS이며, 상기 제2 OS는 상기 제1 OS와 상이한 자바 환경 OS인 것을 특징으로 하는
결제 단말 장치.
The method according to claim 1,
Wherein the first OS is an Android OS and the second OS is a Java environment OS different from the first OS
Payment terminal device.
KR1020190004524A 2019-01-14 2019-01-14 A payment terminal apparatus for providing a compatibility of controlling modules and a method using it KR101972898B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020190004524A KR101972898B1 (en) 2019-01-14 2019-01-14 A payment terminal apparatus for providing a compatibility of controlling modules and a method using it

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020190004524A KR101972898B1 (en) 2019-01-14 2019-01-14 A payment terminal apparatus for providing a compatibility of controlling modules and a method using it

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
KR1020170124473A Division KR101951292B1 (en) 2017-09-26 2017-09-26 A payment terminal apparatus for providing a compatibility of controlling modules and a method using it

Publications (2)

Publication Number Publication Date
KR20190035625A KR20190035625A (en) 2019-04-03
KR101972898B1 true KR101972898B1 (en) 2019-04-26

Family

ID=66165742

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020190004524A KR101972898B1 (en) 2019-01-14 2019-01-14 A payment terminal apparatus for providing a compatibility of controlling modules and a method using it

Country Status (1)

Country Link
KR (1) KR101972898B1 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090000990A (en) * 2007-06-29 2009-01-08 한국정보통신서비스 주식회사 System and method for settling on-line payment using card device, card device and program recording medium
KR20090014420A (en) * 2009-01-28 2009-02-10 한국정보통신서비스 주식회사 Card device and program recording medium
KR101583726B1 (en) * 2014-04-07 2016-01-19 한국정보통신주식회사 Apparatus and method for proccesing card transaction in a payment system
KR102177407B1 (en) * 2014-06-12 2020-11-11 현대모비스 주식회사 An AVN system of a vehicle using a virtualization and an operating method of the AVN system

Also Published As

Publication number Publication date
KR20190035625A (en) 2019-04-03

Similar Documents

Publication Publication Date Title
US6807561B2 (en) Generic communication filters for distributed applications
US7003663B2 (en) Distribution of deployment information for remote applications
RU2488888C2 (en) Method of access to applications in secure mobile environment
US8943494B2 (en) Method for installing and managing NFC applications with pictures
US11159641B2 (en) Method and system for sharing data between terminals
CN111512618B (en) Electronic device for transmitting and receiving message including emoticon and control method thereof
TW201035889A (en) Interface module, system and method
US7340748B2 (en) Automatic client proxy configuration for portable services
US10748134B2 (en) System and method for management of payee information
JP2024097822A (en) Servers and Communication Devices
WO2018120892A1 (en) Method for accessing point of sale terminal, terminal, and non-volatile readable storage medium
US11593770B2 (en) System for transmitting payment information using mobile terminal and method thereof
KR101951292B1 (en) A payment terminal apparatus for providing a compatibility of controlling modules and a method using it
KR20160002430A (en) Payment agency server, card terminal and accounting system for card payment, and method for processing payment information thereof
KR101972898B1 (en) A payment terminal apparatus for providing a compatibility of controlling modules and a method using it
KR20200000595A (en) Blockchain based certificate management method and device, server and system thereof
EP2816517A1 (en) Method and apparatus for combining different kinds of wallets on a mobile device
US20200027082A1 (en) Virtual currency payment agent device, virtual currency payment agent method, and program recording medium
US20220164786A1 (en) Managing secure app-less distribution of customized transaction cards to online digital wallets with instant apps
KR101639866B1 (en) Card terminal, communication server and Method for processing payment information thereof
JP7280646B1 (en) estimation system, estimation method
WO2024066749A1 (en) Blockchain transaction execution method and apparatus, program product, device, and medium
CN114549000A (en) Method and device for acquiring and sending payment verification parameters based on unified platform
CN115552437A (en) System and method for protecting customer identity from service or product providers
CA2980887A1 (en) Secure online transaction system and method therefor

Legal Events

Date Code Title Description
A107 Divisional application of patent
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant