KR102382636B1 - Method And System for Issuing Electronic Receipt - Google Patents

Method And System for Issuing Electronic Receipt Download PDF

Info

Publication number
KR102382636B1
KR102382636B1 KR1020210108739A KR20210108739A KR102382636B1 KR 102382636 B1 KR102382636 B1 KR 102382636B1 KR 1020210108739 A KR1020210108739 A KR 1020210108739A KR 20210108739 A KR20210108739 A KR 20210108739A KR 102382636 B1 KR102382636 B1 KR 102382636B1
Authority
KR
South Korea
Prior art keywords
data
receipt
standard
electronic receipt
standard data
Prior art date
Application number
KR1020210108739A
Other languages
Korean (ko)
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 KR1020210108739A priority Critical patent/KR102382636B1/en
Application granted granted Critical
Publication of KR102382636B1 publication Critical patent/KR102382636B1/en

Links

Images

Classifications

    • 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
    • G06Q20/047Payment circuits using payment protocols involving electronic receipts
    • 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
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • 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/08Payment architectures
    • G06Q20/20Point-of-sale [POS] network systems
    • G06Q20/201Price look-up processing, e.g. updating
    • 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/08Payment architectures
    • G06Q20/20Point-of-sale [POS] network systems
    • G06Q20/209Specified transaction journal output feature, e.g. printed receipt or voice output
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/14Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
    • H04L63/1441Countermeasures against malicious traffic

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Engineering & Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Human Resources & Organizations (AREA)
  • Finance (AREA)
  • Economics (AREA)
  • Data Mining & Analysis (AREA)
  • Tourism & Hospitality (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Cash Registers Or Receiving Machines (AREA)

Abstract

Disclosed is a method and system for issuing an electronic receipt. The embodiment of the present invention generates an electronic receipt file instead of outputting a receipt on paper at the time of payment, converts the electronic receipt file to a standardized data format based on various protocols of a franchise payment terminal that generated the electronic receipt file, and It parses the standardized data format so that they can be processed into a variety of output formats. The system comprises: a franchise payment terminal; an interface server; and an electronic receipt server.

Description

전자영수증 발급 방법 및 시스템{Method And System for Issuing Electronic Receipt}Method And System for Issuing Electronic Receipt

본 발명의 일 실시예는 전자영수증 발급 방법 및 시스템에 관한 것이다. An embodiment of the present invention relates to an electronic receipt issuance method and system.

이하에 기술되는 내용은 단순히 본 실시예와 관련되는 배경 정보만을 제공할 뿐 종래기술을 구성하는 것이 아니다.The content described below merely provides background information related to the present embodiment and does not constitute the prior art.

전자영수증을 발급하기 위해서는 POS(Point Of Sales)로부터 거래에 관한 정보와 사업자에 관한 정보를 서버로 전송하고, 서버에서는 등록된 고객의 이동통신단말기의 앱이나 전자지갑 등으로 전자영수증을 전송하여 발급하는 방식을 사용하고 있다. In order to issue an e-receipt, transaction information and business information are transmitted from the POS (Point Of Sales) to the server, and the server sends the e-receipt to the registered customer's mobile communication terminal app or e-wallet, etc. method is being used.

그러나 위와 같은 방식으로 전자영수증을 발급하는 경우, 종래에 사용되는 POS는 종이영수증과 전자영수증이 동시에 발급되도록 할 수밖에 없는 문제가 있다. However, in the case of issuing an electronic receipt in the above manner, there is a problem in that the POS used in the prior art has no choice but to issue a paper receipt and an electronic receipt at the same time.

현재 사용되고 있는 대부분의 POS는 종이영수증을 출력하는 프린터가 연결되어 고객이 결제를 하는 경우, 자동적으로 종이영수증을 프린트하도록 되어 있고, 음식점과 같은 경우 주방에 전달되는 고객이 주문한 메뉴가 프린터를 통해 출력되고 있어, 종이 사용을 억제하고자 하는 취지에 반하는 한계가 있다. Most of the POS currently used are connected to a printer that prints paper receipts so that when a customer makes a payment, the paper receipt is automatically printed. Therefore, there is a limit contrary to the purpose of suppressing the use of paper.

본 실시예는 결제시 영수증을 종이로 출력하는 대신 전자영수증 파일을 생성하고, 전자영수증 파일을 생성한 다양한 가맹점 결제 단말기의 프로토콜을 기반으로 전자영수증 파일을 표준화 데이터 포맷으로 변환한 후 표준화 데이터 포맷을 다양한 출력 양식으로 가공하도록 파싱하도록 하는 전자영수증 발급 방법 및 시스템을 제공하는 데 목적이 있다.This embodiment generates an electronic receipt file instead of outputting a receipt on paper at the time of payment, converts the electronic receipt file to a standardized data format based on the protocol of various merchant payment terminals that generated the electronic receipt file, and then converts the standardized data format into various formats. An object of the present invention is to provide an electronic receipt issuance method and system that allows parsing to be processed into a printed form.

본 실시예의 일 측면에 의하면, 프린터로 전달되는 영수증 데이터를 가로채서 인쇄되기 전에 파일로서 출력하는 전자영수증 발급 프로그램을 탑재한 가맹점 결제 단말기; 상기 영수증 데이터를 표준 데이터로 변환하고, 상기 표준 데이터를 기 설정된 복수의 출력 양식 중 어느 하나로 변환한 변환 데이터를 출력하는 인터페이스 서버; 상기 변환 데이터를 기 설정된 양식의 전자 영수증으로 발급하도록 하는 전자영수증 서버;를 포함하는 것을 특징으로 하는 전자영수증 발급 시스템을 제공한다.According to one aspect of this embodiment, the merchant payment terminal equipped with an electronic receipt issuance program that intercepts the receipt data transmitted to the printer and outputs it as a file before being printed; an interface server that converts the receipt data into standard data, and outputs the converted data converted from the standard data into any one of a plurality of preset output formats; It provides an electronic receipt issuance system comprising a; an electronic receipt server to issue the converted data as an electronic receipt in a preset format.

본 실시예의 다른 측면에 의하면, 가맹점 결제 단말기에서 탑재한 전자영수증 발급 프로그램을 이용하여 프린터로 전달되는 영수증 데이터를 가로채서 인쇄되기 전에 파일로서 출력하는 과정; 인터페이스 서버에서 상기 영수증 데이터를 표준 데이터로 변환하고, 상기 표준 데이터를 기 설정된 복수의 출력 양식 중 어느 하나로 변환한 변환 데이터를 출력하는 과정; 전자영수증 서버에서 상기 변환 데이터를 기 설정된 방식으로 전자 영수증으로 발급하도록 하는 과정;을 포함하는 것을 특징으로 하는 전자영수증 발급 방법을 제공한다.According to another aspect of this embodiment, the process of intercepting the receipt data transmitted to the printer using the electronic receipt issuance program mounted in the merchant payment terminal and outputting it as a file before being printed; The process of converting the receipt data into standard data in the interface server, and outputting the converted data converted from the standard data into any one of a plurality of preset output formats; The electronic receipt server provides an electronic receipt issuance method, comprising: issuing the converted data as an electronic receipt in a preset manner.

이상에서 설명한 바와 같이 본 실시예에 의하면, 결제시 영수증을 종이로 출력하는 대신 전자영수증 파일을 생성하고, 전자영수증 파일을 생성한 다양한 가맹점 결제 단말기의 프로토콜을 기반으로 전자영수증 파일을 표준화 데이터 포맷으로 변환한 후 표준화 데이터 포맷을 다양한 출력 양식으로 가공하도록 파싱하도록 하는 효과가 있다.As described above, according to this embodiment, an electronic receipt file is generated instead of outputting a receipt on paper at the time of payment, and the electronic receipt file is converted into a standardized data format based on the protocol of various merchant payment terminals that generated the electronic receipt file. After doing this, it has the effect of parsing the standardized data format to be processed into various output formats.

도 1은 본 실시예에 따른 전자영수증 발급 프로그램을 이용하여 전자 영수증 발급 시스템을 나타낸 도면이다.
도 2는 본 실시예에 따른 가맹점 결제 단말기에 탑재된 전자영수증 발급 프로그램을 나타낸 도면이다.
도 3은 본 실시예에 따른 인터페이스 서버를 나타낸 도면이다.
도 4는 본 실시예에 따른 인터페이스 서버에 탑재된 표준 데이터 변환기를 나타낸 도면이다.
도 5는 본 실시예에 따른 인터페이스 서버에서 데이터 변환 후 프로세스를 나타낸 도면이다.
1 is a view showing an electronic receipt issuance system using the electronic receipt issuance program according to the present embodiment.
2 is a view showing an electronic receipt issuance program mounted on the affiliated store payment terminal according to the present embodiment.
3 is a diagram illustrating an interface server according to the present embodiment.
4 is a view showing a standard data converter mounted on the interface server according to the present embodiment.
5 is a diagram illustrating a process after data conversion in the interface server according to the present embodiment.

이하, 본 실시예를 첨부된 도면을 참조하여 상세하게 설명한다.Hereinafter, this embodiment will be described in detail with reference to the accompanying drawings.

도 1은 본 실시예에 따른 전자영수증 발급 프로그램을 이용하여 전자 영수증 발급 시스템을 나타낸 도면이다.1 is a view showing an electronic receipt issuance system using the electronic receipt issuance program according to the present embodiment.

본 실시예에 따른 전자 영수증 발급 시스템은 가맹점 결제 단말기(110), 전자영수증 발급 프로그램(120), 인터페이스 서버(130), 전자영수증 서버(132)를 포함한다. 전자 영수증 발급 시스템에 포함된 구성요소는 반드시 이에 한정되는 것은 아니다.The electronic receipt issuance system according to this embodiment includes a merchant payment terminal 110 , an electronic receipt issuance program 120 , an interface server 130 , and an electronic receipt server 132 . Components included in the electronic receipt issuing system are not necessarily limited thereto.

가맹점 결제 단말기(110)는 POS(Point Of Sales) 단말기인 것이 바람직하며, 각종 기기 또는 유무선 네트워크와 통신을 수행하기 위한 통신 모뎀 등의 통신 장치, 각종 프로그램과 데이터를 저장하기 위한 메모리, 프로그램을 실행하여 연산 및 제어하기 위한 마이크로프로세서 등을 구비하는 다양한 장치이다. The affiliated store payment terminal 110 is preferably a Point Of Sales (POS) terminal, a communication device such as a communication modem for communicating with various devices or wired and wireless networks, a memory for storing various programs and data, and a program execution It is a variety of devices having a microprocessor, etc. for operation and control.

가맹점 결제 단말기(110)는 메모리 내에 전자영수증 발급 프로그램(120)을 탑재한다.Merchant payment terminal 110 mounts the electronic receipt issuance program 120 in the memory.

가맹점 결제 단말기(110)는 영수증을 발급하기 위해서 프린터(112)와 물리적인 시리얼케이블로 연결된다. 가맹점 결제 단말기(110) 내에 탑재된 전자영수증 발급 프로그램(120)에서 시리얼케이블로 전달되는 영수증 데이터를 중간 가로챈다. 가맹점 결제 단말기(110) 내에 탑재된 전자영수증 발급 프로그램(120)은 영수증 데이터를 프린터(112)로 전달하지 않은 상태에서 파일로서 출력한다.The merchant payment terminal 110 is connected to the printer 112 by a physical serial cable to issue a receipt. Intercepts receipt data transmitted through a serial cable from the electronic receipt issuance program 120 mounted in the affiliated store payment terminal 110 . The electronic receipt issuance program 120 mounted in the affiliated store payment terminal 110 outputs the receipt data as a file without transmitting the receipt data to the printer 112 .

가맹점 결제 단말기(110) 내에 탑재된 전자영수증 발급 프로그램(120)은 영수증 데이터를 파일로서 출력한 후 전자영수증 서버(132)로 전송하여 고객 단말기로 전자영수증을 보낼 수 있다.The electronic receipt issuing program 120 mounted in the affiliated store payment terminal 110 may output the receipt data as a file and then transmit it to the electronic receipt server 132 to send the electronic receipt to the customer terminal.

가맹점 결제 단말기(110) 내에 탑재된 전자영수증 발급 프로그램(120)은 영수증 데이터를 전자영수증 서버(132)로 전송하는 동시에, 영수증 데이터에 대응하는 주문 내역을 주방 단말기로 전달한다. 가맹점 결제 단말기(110) 내에 탑재된 전자영수증 발급 프로그램(120)은 영수증 데이터에 대응하는 매출 데이터를 출력한다. 가맹점 결제 단말기(110) 내에 탑재된 전자영수증 발급 프로그램(120)은 CAT(Credit Authorization Terminal) 단말기를 연결하여 결제될 때, 영수증 데이터를 파일로서 처리한다.The electronic receipt issuance program 120 mounted in the affiliated store payment terminal 110 transmits receipt data to the electronic receipt server 132 and, at the same time, transmits order details corresponding to the receipt data to the kitchen terminal. The electronic receipt issuing program 120 mounted in the affiliated store payment terminal 110 outputs sales data corresponding to the receipt data. The electronic receipt issuance program 120 mounted in the affiliated store payment terminal 110 processes the receipt data as a file when payment is made by connecting the CAT (Credit Authorization Terminal) terminal.

본 실시예에 따른 가맹점 결제 단말기(110)는 탑재된 전자영수증 발급 프로그램을 이용하여 프린터(112)로 전달되는 영수증 데이터를 가로채서 인쇄되기 전에 파일로서 출력한다.The affiliated store payment terminal 110 according to the present embodiment intercepts the receipt data transmitted to the printer 112 using the mounted electronic receipt issuing program and outputs it as a file before being printed.

가맹점 결제 단말기(110)는 탑재된 전자영수증 발급 프로그램을 이용하여 프린터와 연결된 시리얼 포트로 전달되는 영수증 데이터를 가로채서 프린터(112)에서 영수증 데이터가 인쇄되기 전에 파일로서 출력한다.The merchant payment terminal 110 intercepts the receipt data transmitted to the serial port connected to the printer using the mounted electronic receipt issuance program, and outputs the receipt data as a file before the printer 112 is printed.

가맹점 결제 단말기(110)는 탑재된 전자영수증 발급 프로그램을 이용하여 영수증 데이터를 암호화한 암호화 영수증 데이터를 인터페이스 서버(130)로 전송하여 사전공격(Dictionary attack)이나 무차별 대입 공격 등의 해킹 방어하도록 한다.The affiliated store payment terminal 110 transmits the encrypted receipt data obtained by encrypting the receipt data to the interface server 130 using the mounted electronic receipt issuing program to prevent hacking such as dictionary attack or brute force attack.

전자영수증 발급 프로그램(120)은 영수증 데이터를 처리할 때, 표준 데이터 변환기를 이용하여 전자영수증, 주방주문서(고객주문서), 매출데이터 출력 등을 처리한다. 전자영수증 발급 프로그램(120)은 표준 데이터 변환기를 이용하여 다양한 업체의 포맷을 표준화하여 처리한다.When processing receipt data, the electronic receipt issuance program 120 processes electronic receipts, kitchen orders (customer orders), sales data output, and the like using a standard data converter. The electronic receipt issuance program 120 uses a standard data converter to standardize and process the formats of various companies.

인터페이스 서버(130)는 가맹점 결제 단말기(110)로부터 영수증 데이터를 수신하고, 영수증 데이터를 하나의 표준 데이터로 변환한다. The interface server 130 receives receipt data from the affiliated store payment terminal 110 and converts the receipt data into one standard data.

본 실시예에 따른 인터페이스 서버(130)는 영수증 데이터를 표준 데이터로 변환하고, 표준 데이터를 기 설정된 복수의 출력 양식 중 어느 하나로 변환한 변환 데이터를 출력한다.The interface server 130 according to the present embodiment converts the receipt data into standard data, and outputs the converted data obtained by converting the standard data into any one of a plurality of preset output formats.

인터페이스 서버(130)는 복수의 가맹점 결제 단말기(110)로부터 암호화 영수증 데이터 각각을 수신한 후 복호화한 복호화 영수증 데이터를 생성한다. 인터페이스 서버(130)는 서로 상이한 복수의 복호화 영수증 데이터를 표준 데이터로 변환한다.The interface server 130 receives each of the encrypted receipt data from the plurality of merchant payment terminals 110 and then generates decrypted decrypted receipt data. The interface server 130 converts a plurality of different decrypted receipt data into standard data.

인터페이스 서버(130)는 표준 데이터를 기반으로 고객 영수증, 고객 주문서, 주방용 주문서, 결제 요청 및 매출집계내역, 결제 데이터의 양식에 맞게 파싱하여 출력한다.The interface server 130 parses and outputs the form of the customer receipt, customer order form, kitchen order form, payment request and sales aggregate details, and payment data based on standard data.

전자영수증 서버(132)는 카드번호 또는 전화번호를 기준으로 구입매장, 구입 시간대, 구입 품목을 매칭한 전자영수증을 발급한다. 본 실시예에 따른 전자영수증 서버(132)는 인터페이스 서버(130)로부터 수신된 변환 데이터를 기 설정된 양식의 전자 영수증으로 발급하도록 한다.The e-receipt server 132 issues an e-receipt matching the purchase store, purchase time zone, and purchase item based on the card number or phone number. The electronic receipt server 132 according to this embodiment issues the converted data received from the interface server 130 as an electronic receipt in a preset format.

① 사용자는 매장에서 물품구입 또는 서비스 이용 후 결제요청을 하면서 전자영수증을 발급을 요청한다.① The user requests the issuance of an electronic receipt while making a payment request after purchasing goods or using the service at the store.

② 매장의 가맹점 결제 단말기(110)는 결제가 완료되면, 결제 비용에 대응하는 영수증 데이터에 대한 출력을 실행한다.② When the payment is completed, the merchant payment terminal 110 of the store outputs receipt data corresponding to the payment cost.

③ 가맹점 결제 단말기(110)에 탑재된 전자영수증 발급 프로그램(120)은 영수증 데이터가 프린터(112)로 전달되는 과정에서, 영수증 데이터를 가로채서 종이 영수증이 인쇄되지 않도록 한다.③ The electronic receipt issuance program 120 mounted on the affiliated store payment terminal 110 intercepts the receipt data while the receipt data is transmitted to the printer 112 to prevent the paper receipt from being printed.

가맹점 결제 단말기(110)에 탑재된 전자영수증 발급 프로그램(120)은 영수증 데이터를 전자영수증 서버(132)로 전송한다.The electronic receipt issuing program 120 mounted on the affiliated store payment terminal 110 transmits receipt data to the electronic receipt server 132 .

④ 가맹점 결제 단말기(110)에 탑재된 전자영수증 발급 프로그램(120)은 사용자의 결제 카드번호와 입력된 전화번호를 기준으로 주 구입매장, 주 구입 시간대, 주 구입 품목 등의 패턴을 분석하여 동일매장의 2회차 방문부터는 전화번호 입력 없이도 전자영수증 발급하도록 한다. 전자영수증 서버(132)는 발급된 전자영수증을 전자영수증 애플리케이션, SMS/알림 중계자로 전달한다.④ The electronic receipt issuance program 120 mounted on the merchant payment terminal 110 analyzes the patterns of the main purchase store, main purchase time zone, main purchase item, etc. From the 2nd visit, e-receipts should be issued without entering a phone number. The e-receipt server 132 transmits the issued e-receipt to the e-receipt application and SMS/notification relay.

도 2는 본 실시예에 따른 가맹점 결제 단말기에 탑재된 전자영수증 발급 프로그램을 나타낸 도면이다.2 is a view showing an electronic receipt issuance program mounted on the affiliated store payment terminal according to the present embodiment.

본 실시예에 따른 전자영수증 발급 프로그램(120)은 전자영수증 발급 드라이버(210), 데이터 변환부(220), 암호화부(230), 전송부(240)를 포함한다. 전자영수증 발급 프로그램(120)에 포함된 구성요소는 반드시 이에 한정되는 것은 아니다.The electronic receipt issuance program 120 according to this embodiment includes an electronic receipt issuance driver 210 , a data conversion unit 220 , an encryption unit 230 , and a transmission unit 240 . Components included in the electronic receipt issuance program 120 are not necessarily limited thereto.

전자영수증 발급 드라이버(210)는 프린터(112)로 전달되는 영수증 데이터를 수집하고, 영수증 데이터를 바이너리 코드로 변환한다. 데이터 변환부(220)는 바이너리 코드를 아스키(ASCII) 코드로 변환한다.The electronic receipt issuing driver 210 collects receipt data transmitted to the printer 112 and converts the receipt data into a binary code. The data conversion unit 220 converts the binary code into an ASCII code.

암호화부(230)는 아스키 코드를 대칭키 방식의 암호 저장 기술인 AES(Advanced Encryption Standard)-256 방식으로 암호화할 때, 임의의 솔트(Salt)값을 추가하여 동일한 데이터라도 서로 다른 결과값을 부여한 암호화 영수증 데이터를 생성한다.When the encryption unit 230 encrypts the ASCII code by the AES (Advanced Encryption Standard)-256 method, which is a symmetric key method of encryption storage technology, an encryption in which different result values are given to the same data by adding an arbitrary salt value. Generate receipt data.

전송부(240)는 암호화 영수증 데이터를 외부로 전송할 때, 입력받은 카드번호 또는 전화번호를 기준으로 구입매장 식별정보, 구입 시간 정보, 구입 품목 정보를 확인한 후 동일한 구입매장 식별정보에서 두 번째 구입 시간 정보, 구입 품목 정보가 확인되는 경우, 전화번호의 추가 입력 없이도 암호화 영수증 데이터를 전화번호에 대응하는 단말기로 전자영수증으로 발급하도록 한다. When transmitting the encrypted receipt data to the outside, the transmitter 240 checks the purchase store identification information, purchase time information, and purchase item information based on the input card number or phone number, and then determines the second purchase time from the same purchase store identification information. When information and purchase item information are confirmed, encrypted receipt data is issued as an electronic receipt to the terminal corresponding to the phone number without additional input of the phone number.

① 매장의 가맹점 결제 단말기(110)는 결제가 완료되면, 결제 비용에 대응하는 영수증 데이터에 대한 인쇄를 실행한다.① When the payment is completed, the merchant payment terminal 110 of the store prints the receipt data corresponding to the payment cost.

② 가맹점 결제 단말기(110)에 탑재된 전자영수증 발급 프로그램(120)은 영수증 데이터가 프린터(112)로 전달되는 과정에서, 영수증 데이터를 가로채서 전자영수증 발급 드라이버(210)로 영수증 데이터를 전달한다. 전자영수증 발급 프로그램(120) 내의 전자영수증 발급 드라이버(210)는 가맹점 결제 단말기(110)로부터 영수증 데이터를 수집한다. 전자영수증 발급 드라이버(210)는 영수증 데이터를 바이너리 코드로 변환한다. ② The electronic receipt issuance program 120 mounted on the merchant payment terminal 110 intercepts the receipt data in the process of transferring the receipt data to the printer 112 and transmits the receipt data to the electronic receipt issuance driver 210 . The electronic receipt issuing driver 210 in the electronic receipt issuing program 120 collects receipt data from the affiliated store payment terminal 110 . The electronic receipt issuing driver 210 converts the receipt data into a binary code.

③ 전자영수증 발급 프로그램(120) 내의 데이터 변환부(220)는 전자영수증 발급 드라이버(210)로부터 수신한 바이너리 코드를 아스키(ASCII) 코드로 변환한다.③ The data conversion unit 220 in the electronic receipt issuing program 120 converts the binary code received from the electronic receipt issuing driver 210 into an ASCII code.

④ 전자영수증 발급 프로그램(120) 내의 암호화부(230)는 아스키 코드를 암호화한다. 전자영수증 발급 프로그램(120) 내의 암호화부(230)는 아스키 코드를 암호화할 때, 임의의 솔트(Salt)값을 추가하여 암호화 영수증 데이터를 생성한다.④ The encryption unit 230 in the electronic receipt issuance program 120 encrypts the ASCII code. When the encryption unit 230 in the electronic receipt issuance program 120 encrypts the ASCII code, an arbitrary salt value is added to generate encrypted receipt data.

다시 말해, 암호화부(230)는 아스키 코드를 대칭키 방식의 암호 저장 기술인 AES(Advanced Encryption Standard)-256 방식으로 암호화하면서 임의의 솔트값을 추가하여 동일한 데이터라도 암호화할 때마다 다른 결과값을 생성하여 사전공격(Dictionary attack)이나 무차별 대입 공격 등의 해킹을 방어한다.In other words, the encryption unit 230 encrypts the ASCII code using the AES (Advanced Encryption Standard)-256 method, which is a symmetric key encryption storage technology, and adds an arbitrary salt value to generate a different result value each time the same data is encrypted. It protects against hacking such as dictionary attacks and brute force attacks.

⑤ 전송부(240)는 종이영수증 요청 명령을 수신한 경우, 기존 시리얼 포트로 영수증 데이터를 인쇄하도록 하는 인쇄명령을 전송하여 프린터(112)에서 영수증 데이터가 종이로 인쇄되도록 한다. 전송부(240)는 암호화 영수증 데이터를 인터페이스 서버(130)로 전송한다. ⑤ When the transmission unit 240 receives the paper receipt request command, the printer 112 transmits a print command to print the receipt data to the existing serial port so that the receipt data is printed on paper. The transmitter 240 transmits the encrypted receipt data to the interface server 130 .

도 3은 본 실시예에 따른 인터페이스 서버를 나타낸 도면이다.3 is a diagram illustrating an interface server according to the present embodiment.

본 실시예에 따른 인터페이스 서버(130)는 데이터 복호화부(310), 표준 데이터 변환기(320)를 포함한다. 인터페이스 서버(130)에 포함된 구성요소는 반드시 이에 한정되는 것은 아니다.The interface server 130 according to the present embodiment includes a data decoding unit 310 and a standard data converter 320 . Components included in the interface server 130 are not necessarily limited thereto.

데이터 복호화부(310)는 암호화 영수증 데이터를 수신하여 복호화한 복호화 영수증 데이터를 생성한다.The data decryption unit 310 receives the encrypted receipt data and generates decrypted decrypted receipt data.

표준 데이터 변환기(320)는 복호화 영수증 데이터를 표준 데이터로 변환하고, 표준 데이터를 기 설정된 복수의 출력 양식 중 어느 하나로 변환한 변환 데이터를 출력한다.The standard data converter 320 converts the decrypted receipt data into standard data, and outputs the converted data converted from the standard data into any one of a plurality of preset output formats.

일반적인 프로그램들은 영수증 데이터만을 추출하고 변환하여 감열식 영수증프린터만 사용 가능한 것에 반해 전자영수증 발급 프로그램(120)은 CAT 단말기, 감열식 영수증프린터 등 모든 출력기기에서 사용 가능하다.While general programs extract and convert only receipt data to use only a thermal receipt printer, the electronic receipt issuance program 120 can be used in all output devices such as CAT terminals and thermal receipt printers.

가맹점 결제 단말기(110)에서 마감할 때 매출집계를 위한 결제요청(매출집계요청)에 따라 고객용이 아니라 매장에서 결제내역(매출집계)을 출력하는 경우가 발생한다.When the affiliate payment terminal 110 closes, there is a case in which payment details (sales aggregation) are output at the store instead of for customers according to a payment request (sales aggregation request) for sales counting.

가맹점 결제 단말기(110)가 CAT 단말기와 연결되어 결제하는 경우, 가맹점 결제 단말기(110)에서 결제요청(매출집계요청)하면, CAT 단말기로부터 결제내역(매출집계) 데이터를 수신한다. 이때, 가맹점 결제 단말기(110) CAT 단말기로부터 결제 데이터와 영수증 데이터를 두 번 수신하게 된다.When the affiliated store payment terminal 110 is connected to the CAT terminal to make a payment, when the affiliated store payment terminal 110 makes a payment request (sales aggregation request), payment history (sales aggregation) data is received from the CAT terminal. At this time, payment data and receipt data are received twice from the affiliated store payment terminal 110 CAT terminal.

이때, 가맹점 결제 단말기(110)에 탑재된 전자영수증 발급 프로그램(120)에서 CAT 단말기로부터 수신한 결제내역(매출집계) 데이터가 결제 데이터이면 결제 데이터를 CAT 단말기로 전달하고, CAT 단말기로부터 수신한 결제내역(매출집계) 데이터가 영수증 데이터이면 영수증 프로세스를 수행(인터페이스 서버(130)로 데이터 전송)한다.At this time, if the payment history (sales aggregate) data received from the CAT terminal in the electronic receipt issuance program 120 mounted on the merchant payment terminal 110 is payment data, the payment data is transferred to the CAT terminal, and the payment received from the CAT terminal If the breakdown (sales aggregation) data is receipt data, a receipt process is performed (data transmitted to the interface server 130).

가맹점 결제 단말기(110)에 탑재된 전자영수증 발급 프로그램(120)은 시리얼포트로부터 데이터를 확인하여 영수증인지 결제데이터인지를 확인한다.The electronic receipt issuance program 120 mounted on the affiliated store payment terminal 110 checks the data from the serial port to confirm whether it is a receipt or payment data.

클라이언트로부터 수신된 프로토콜 데이터는 가맹점 결제 단말기(110) 프로그램 개발사마다 각각 상이하기 때문에 표준 변환작업이 필요하다. 인터페이스 서버(130)는 복수의 프로토콜 명령어를 표준 영수증 데이터로 변환하여 고객영수증, 고객주문서, 주방주문서 등으로 분리하여 용도에 맞는 영수증으로 변환한다.Since protocol data received from the client is different for each program developer of the affiliated store payment terminal 110, a standard conversion operation is required. The interface server 130 converts a plurality of protocol commands into standard receipt data, separates them into customer receipts, customer orders, and kitchen orders, and converts them into receipts suitable for use.

인터페이스 서버(130)는 데이터 복호화부(310)와 표준 데이터 변환기(320)를 포함한다. 데이터 복호화부(310)는 전자영수증 발급 프로그램(120)으로부터 암호화 영수증 데이터를 수신하여 복호화한 복호화 영수증 데이터를 생성한다. 표준 데이터 변환기(320)는 복호화환 영수증 데이터를 복수의 양식에 따른 영수증 양식으로 변환한다.The interface server 130 includes a data decoding unit 310 and a standard data converter 320 . The data decryption unit 310 receives the encrypted receipt data from the electronic receipt issuing program 120 and generates decrypted decrypted receipt data. The standard data converter 320 converts the decrypted receipt data into a receipt format according to a plurality of formats.

도 4는 본 실시예에 따른 인터페이스 서버에 탑재된 표준 데이터 변환기를 나타낸 도면이다.4 is a view showing a standard data converter mounted on the interface server according to the present embodiment.

표준 데이터 변환기(320)는 약 80개의 프로토콜을 분석하여 가맹점 결제 단말기(110) 또는 ERP(Enterprise Resource Planning) 프로그램을 사용하는 단말기 기종에서 사용하는 프로토콜을 분석하여 가맹점 결제 단말기(110), ERP 프로그램별 데이터를 변환한다. 표준 데이터 변환기(320)는 문자열을 파싱하여 고객 영수증, 고객주문서, 주방용 주문서, 결제요청 및 매출집계내역, 결제 데이터로 변환한다.The standard data converter 320 analyzes about 80 protocols and analyzes the protocols used by the merchant payment terminal 110 or the terminal model using the ERP (Enterprise Resource Planning) program to analyze the merchant payment terminal 110, each ERP program. Transform data. The standard data converter 320 parses the string and converts it into customer receipts, customer orders, kitchen orders, payment requests and sales aggregate details, and payment data.

표준 데이터 변환기(320)는 코드와 데이터값을 분리하고, 데이터를 정리한다. 표준 데이터 변환기(320)는 영수증과 CAT 단말기의 연결 여부를 분석하여 데이터변환 및 파싱을 수행한다.The standard data converter 320 separates the code and the data value, and organizes the data. The standard data converter 320 performs data conversion and parsing by analyzing whether the receipt and the CAT terminal are connected.

표준 데이터 변환기(320)는 표준 데이터 포맷을 이용하여 복수의 업체마다 다양한 형태의 데이터를 표준 데이터로 변환한 후 전자영수증서버/주방/각종 매출정보의 출력 양식에 맞게 출력한다.The standard data converter 320 converts various types of data into standard data for each of a plurality of companies using a standard data format, and then outputs it according to the output format of the electronic receipt server / kitchen / various sales information.

본 실시예에 따른 표준 데이터 변환기(320)는 프로토콜 분석부(410), 표준 데이터 변환부(420) 및 파싱부(430)를 포함한다. 표준 데이터 변환기(320)에 포함된 구성요소는 반드시 이에 한정되는 것은 아니다.The standard data converter 320 according to the present embodiment includes a protocol analyzer 410 , a standard data converter 420 , and a parsing unit 430 . Components included in the standard data converter 320 are not necessarily limited thereto.

프로토콜 분석부(410)는 복호화 영수증 데이터에 대한 프로토콜을 분석한 프로토콜 분석 정보를 생성한다. 프로토콜 분석부(410)는 데이터 복호화부(310)로부터 복호화 영수증 데이터를 수신한다.The protocol analysis unit 410 generates protocol analysis information by analyzing the protocol for the decrypted receipt data. The protocol analysis unit 410 receives the decryption receipt data from the data decryption unit 310 .

프로토콜 분석부(410)는 복호화 영수증 데이터에 대한 프로토콜을 분석한 프로토콜 분석 정보를 생성한다. 예컨대, 프로토콜 분석부(410)는 복호화 영수증 데이터에 대한 프로토콜을 HT, CR, DLE EOT, CAN, ESC FF, ESC !, ESC $, ESC 2, GS !, GS w, RS인지를 확인한 프로토콜 분석 정보를 생성한다.The protocol analysis unit 410 generates protocol analysis information by analyzing the protocol for the decrypted receipt data. For example, the protocol analysis unit 410 determines whether the protocol for the decrypted receipt data is HT, CR, DLE EOT, CAN, ESC FF, ESC !, ESC $, ESC 2, GS !, GS w, RS protocol analysis information to create

프로토콜 분석부(410)는 복호화 영수증 데이터에 대한 Hex 필드를 09로 확인하면, 프로토콜을 HT로 설정한다. 프로토콜 분석부(410)는 복호화 영수증 데이터에 대한 Hex 필드를 0D로 확인하면, 프로토콜을 CR로 설정한다. 프로토콜 분석부(410)는 복호화 영수증 데이터에 대한 Hex 필드를 10 04로 확인하면, 프로토콜을 DLE EOT로 설정한다.When the protocol analyzer 410 checks the Hex field for the decrypted receipt data as 09, the protocol is set to HT. When the protocol analyzer 410 checks the Hex field for the decrypted receipt data as 0D, the protocol analyzer 410 sets the protocol to CR. When the protocol analysis unit 410 checks the Hex field for the decrypted receipt data as 10 04, it sets the protocol to DLE EOT.

프로토콜 분석부(410)는 복호화 영수증 데이터에 대한 Hex 필드를 18로 확인하면, 프로토콜을 CAN로 설정한다. 프로토콜 분석부(410)는 복호화 영수증 데이터에 대한 Hex 필드를 1B FF로 확인하면, 프로토콜을 ESC FF로 설정한다. 프로토콜 분석부(410)는 복호화 영수증 데이터에 대한 Hex 필드를 18 21로 확인하면, 프로토콜을 ESC !로 설정한다. 프로토콜 분석부(410)는 복호화 영수증 데이터에 대한 Hex 필드를 1B 24로 확인하면, 프로토콜을 ESC $로 설정한다.When the protocol analysis unit 410 checks the Hex field for the decrypted receipt data as 18, the protocol is set to CAN. When the protocol analyzer 410 checks the Hex field for the decrypted receipt data as 1B FF, it sets the protocol to ESC FF. When the protocol analysis unit 410 checks the Hex field for the decrypted receipt data as 18 21, the protocol is set to ESC ! When the protocol analysis unit 410 checks the Hex field for the decrypted receipt data as 1B 24, the protocol is set to ESC $.

프로토콜 분석부(410)는 복호화 영수증 데이터에 대한 Hex 필드를 1B 32로 확인하면, 프로토콜을 ESC 2로 설정한다. 프로토콜 분석부(410)는 복호화 영수증 데이터에 대한 Hex 필드를 1D 21로 확인하면, 프로토콜을 GS !로 설정한다. 프로토콜 분석부(410)는 복호화 영수증 데이터에 대한 Hex 필드를 1D 77로 확인하면, 프로토콜을 GS w로 설정한다. 프로토콜 분석부(410)는 복호화 영수증 데이터에 대한 Hex 필드를 1E로 확인하면, 프로토콜을 RS로 설정한다.When the protocol analysis unit 410 checks the Hex field for the decrypted receipt data as 1B 32, the protocol is set to ESC 2 . When the protocol analyzer 410 checks the Hex field for the decrypted receipt data as 1D 21, the protocol analyzer 410 sets the protocol to GS ! When the protocol analysis unit 410 checks the Hex field for the decrypted receipt data as 1D 77, the protocol is set to GS w. When the protocol analysis unit 410 checks the Hex field for the decrypted receipt data as 1E, it sets the protocol to RS.

표준 데이터 변환부(420)는 프로토콜 분석 정보를 기반으로 가맹점 결제 단말기 또는 ERP 프로그램별로 데이터를 표준 데이터로 변환한 표준 데이터를 생성한다.The standard data conversion unit 420 generates standard data obtained by converting data into standard data for each merchant payment terminal or ERP program based on the protocol analysis information.

파싱부(430)는 표준 데이터를 기반으로 고객 영수증, 고객 주문서, 주방용 주문서, 결제 요청 내역, 매출 집계 내역, 결제 데이터 중 어느 하나의 양식에 맞게 파싱하여 출력한다.The parsing unit 430 parses and outputs the standard data according to any one of the customer receipt, customer order form, kitchen order form, payment request history, sales aggregate history, and payment data based on standard data.

도 5는 본 실시예에 따른 인터페이스 서버에서 데이터 변환 후 프로세스를 나타낸 도면이다.5 is a diagram illustrating a process after data conversion in the interface server according to the present embodiment.

인터페이스 서버(130)는 표준 데이터 변환기(320)를 이용하여 영수증 데이터를 표준 데이터로 변환한 후 용도에 맞게 전자영수증, 주문서 출력, 주방주문 알림 APP, CAT단말기 등의 용도로 파싱하여 전송한다.The interface server 130 converts the receipt data into standard data using the standard data converter 320, and then parses and transmits the receipt data for the purpose of electronic receipt, order form output, kitchen order notification APP, CAT terminal, etc. according to the purpose.

인터페이스 서버(130)에서 표준 데이터 변환기(320)를 이용하여 파싱한 고객영수증은 SMS/알림톡으로 전달되어 전자영수증으로 발급된다. 인터페이스 서버(130)에서 표준 데이터 변환기(320)를 이용하여 파싱한 고객주문서, 결제요청 및 매출집계내역은 프린터로 전송되어 영수증으로 인쇄된다. 인터페이스 서버(130)에서 표준 데이터 변환기(320)를 이용하여 파싱한 주방용 주문서는 주방주문 알림 애플리케이션으로 전송된다. 인터페이스 서버(130)에서 표준 데이터 변환기(320)를 이용하여 파싱한 결제데이터는 가맹점 결제 단말기(110), 판매정산 프로그램(ERP)에 연결된 CAT 단말기로 전송된다.The customer receipt parsed by the interface server 130 using the standard data converter 320 is delivered as an SMS/receipt to be issued as an electronic receipt. The customer order form, payment request, and sales aggregate details parsed by the interface server 130 using the standard data converter 320 are transmitted to the printer and printed as a receipt. The kitchen order book parsed by the interface server 130 using the standard data converter 320 is transmitted to the kitchen order notification application. The payment data parsed by the interface server 130 using the standard data converter 320 is transmitted to the merchant payment terminal 110 and the CAT terminal connected to the sales settlement program (ERP).

다시 말해, 표준 데이터 변환기(320)는 표준 데이터를 고객 영수증으로 파싱한 경우, 고객 영수증을 전자영수증 서버(132)를 경유하여 알림 서버로 전송한다. 표준 데이터 변환기(320)는 표준 데이터를 고객 주문서, 결제 요청 내역, 매출 집계 내역으로 파싱한 경우, 고객 주문서, 결제 요청 내역, 매출 집계 내역을 전자영수증 발급 프로그램(120)으로 전송한다.In other words, when the standard data converter 320 parses the standard data into the customer receipt, the customer receipt is transmitted to the notification server via the electronic receipt server 132 . When the standard data converter 320 parses the standard data into customer orders, payment request details, and sales aggregate details, the customer order book, payment request details, and sales aggregate details are transmitted to the electronic receipt issuance program 120 .

표준 데이터 변환기(320)는 표준 데이터를 주방용 주문서로 파싱한 경우, 주방용 주문서를 전자영수증 서버(132)를 경유하여 주방주문 알림 애플리케이션으로 전송한다. 표준 데이터 변환기(320)는 표준 데이터를 결제 데이터로 파싱한 경우, 결제 데이터를 전자영수증 발급 프로그램(120)을 경유하여 CAT(Credit Authorization Terminal) 단말기로 전송한다.When the standard data converter 320 parses the standard data into the kitchen order form, the kitchen order form is transmitted to the kitchen order notification application via the electronic receipt server 132 . When the standard data converter 320 parses the standard data into the payment data, the payment data is transmitted to the CAT (Credit Authorization Terminal) terminal via the electronic receipt issuance program 120 .

이상의 설명은 본 실시예의 기술 사상을 예시적으로 설명한 것에 불과한 것으로서, 본 실시예가 속하는 기술 분야에서 통상의 지식을 가진 자라면 본 실시예의 본질적인 특성에서 벗어나지 않는 범위에서 다양한 수정 및 변형이 가능할 것이다. 따라서, 본 실시예들은 본 실시예의 기술 사상을 한정하기 위한 것이 아니라 설명하기 위한 것이고, 이러한 실시예에 의하여 본 실시예의 기술 사상의 범위가 한정되는 것은 아니다. 본 실시예의 보호 범위는 아래의 청구범위에 의하여 해석되어야 하며, 그와 동등한 범위 내에 있는 모든 기술 사상은 본 실시예의 권리범위에 포함되는 것으로 해석되어야 할 것이다.The above description is merely illustrative of the technical idea of this embodiment, and a person skilled in the art to which this embodiment belongs may make various modifications and variations without departing from the essential characteristics of the present embodiment. Accordingly, the present embodiments are intended to explain rather than limit the technical spirit of the present embodiment, and the scope of the technical spirit of the present embodiment is not limited by these embodiments. The protection scope of this embodiment should be interpreted by the following claims, and all technical ideas within the scope equivalent thereto should be interpreted as being included in the scope of the present embodiment.

110: 가맹점 결제 단말기
112: 프린터
120: 전자영수증 발급 프로그램
130: 인터페이스 서버
140: 전자영수증 서버
110: Merchant payment terminal
112: printer
120: Electronic receipt issuance program
130: interface server
140: e-receipt server

Claims (6)

프린터로 전달되는 영수증 데이터를 가로채서 인쇄되기 전에 파일로서 출력하는 전자영수증 발급 프로그램을 탑재한 가맹점 결제 단말기;
상기 영수증 데이터를 표준 데이터로 변환하고, 상기 표준 데이터를 기 설정된 복수의 출력 양식 중 어느 하나로 변환한 변환 데이터를 출력하는 인터페이스 서버;
상기 변환 데이터를 기 설정된 양식의 전자 영수증으로 발급하도록 하는 전자영수증 서버;
를 포함하되, 상기 전자영수증 발급 프로그램은, 상기 프린터로 전달되는 상기 영수증 데이터를 수집하고, 상기 영수증 데이터를 바이너리 코드로 변환하는 전자영수증 발급 드라이버; 상기 바이너리 코드를 아스키(ASCII) 코드로 변환하는 데이터 변환부; 상기 아스키 코드를 대칭키 방식의 암호 저장 기술인 AES(Advanced Encryption Standard)-256 방식으로 암호화할 때, 임의의 솔트(Salt)값을 추가하여 동일한 데이터라도 서로 다른 결과값을 부여한 암호화 영수증 데이터를 생성하는 암호화부; 상기 암호화 영수증 데이터를 외부로 전송할 때, 입력받은 카드번호 또는 전화번호를 기준으로 구입매장 식별정보, 구입 시간 정보, 구입 품목 정보를 확인한 후 동일한 구입매장 식별정보에서 두 번째 구입 시간 정보, 구입 품목 정보가 확인되는 경우, 상기 전화번호의 추가 입력 없이도 상기 암호화 영수증 데이터를 상기 전화번호에 대응하는 단말기로 전자영수증으로 발급하도록 하는 전송부;를 포함하며,
상기 인터페이스 서버는, 상기 암호화 영수증 데이터를 수신하여 복호화한 복호화 영수증 데이터를 생성하는 데이터 복호화부; 및 상기 복호화 영수증 데이터를 상기 표준 데이터로 변환하고, 상기 표준 데이터를 기 설정된 복수의 출력 양식 중 어느 하나로 변환한 변환 데이터를 출력하는 표준 데이터 변환기를 포함하며
상기 표준 데이터 변환기는, 복호화 영수증 데이터에 대한 프로토콜을 분석한 프로토콜 분석 정보를 생성하는 프로토콜 분석부; 상기 프로토콜 분석 정보를 기반으로 가맹점 결제 단말기 또는 ERP 프로그램 별로 데이터를 표준 데이터로 변환한 표준 데이터를 생성하는 표준 데이터 변환부; 상기 표준 데이터를 기반으로 고객 영수증, 고객 주문서, 주방용 주문서, 결제 요청 내역, 매출 집계 내역, 결제 데이터 중 어느 하나의 양식에 맞게 파싱하여 출력하는 파싱부;를 포함하는 것을 특징으로 하는 전자영수증 발급 시스템.
A merchant payment terminal equipped with an electronic receipt issuance program that intercepts receipt data transmitted to a printer and outputs it as a file before being printed;
an interface server that converts the receipt data into standard data, and outputs the converted data converted from the standard data into any one of a plurality of preset output formats;
an electronic receipt server that issues the converted data as an electronic receipt in a preset format;
Including, wherein the e-receipt issuance program, the e-receipt issuance driver for collecting the receipt data transmitted to the printer, and converting the receipt data into a binary code; a data conversion unit converting the binary code into an ASCII code; When encrypting the ASCII code using the AES (Advanced Encryption Standard)-256 method, which is a symmetric key encryption storage technology, a random salt value is added to generate encrypted receipt data in which different result values are given even for the same data. encryption unit; When transmitting the encrypted receipt data to the outside, after checking the purchase store identification information, purchase time information, and purchase item information based on the input card number or phone number, the second purchase time information and purchase item information from the same purchase store identification information is confirmed, a transmission unit for issuing the encrypted receipt data as an electronic receipt to the terminal corresponding to the phone number without additional input of the phone number;
The interface server may include: a data decryption unit for receiving the encrypted receipt data and generating decrypted receipt data; and a standard data converter that converts the decrypted receipt data into the standard data and outputs the converted data converted from the standard data into any one of a plurality of preset output formats,
The standard data converter may include: a protocol analysis unit generating protocol analysis information obtained by analyzing a protocol for decrypted receipt data; a standard data conversion unit for generating standard data converted into standard data for each merchant payment terminal or ERP program based on the protocol analysis information; Based on the standard data, a parsing unit that parses and outputs a customer receipt, customer order form, kitchen order form, payment request history, sales aggregate history, and payment data according to any one form; Electronic receipt issuance system comprising a .
제1항에 있어서,
상기 가맹점 결제 단말기는,
상기 전자영수증 발급 프로그램을 이용하여 상기 프린터와 연결된 시리얼 포트로 전달되는 상기 영수증 데이터를 가로채서 상기 프린터에서 상기 영수증 데이터가 인쇄되기 전에 파일로서 출력하는 것을 특징으로 하는 전자영수증 발급 시스템.
According to claim 1,
The merchant payment terminal,
The electronic receipt issuing system, characterized in that by using the electronic receipt issuing program, the receipt data transmitted to the serial port connected to the printer is intercepted and output as a file before the receipt data is printed in the printer.
제1항에 있어서,
상기 가맹점 결제 단말기는,
상기 전자영수증 발급 프로그램을 이용하여 상기 영수증 데이터를 암호화한 암호화 영수증 데이터를 상기 인터페이스 서버로 전송하여 사전공격(Dictionary attack)이나 무차별 대입 공격 등의 해킹 방어하도록 하는 것을 특징으로 하는 전자영수증 발급 시스템.
According to claim 1,
The merchant payment terminal,
The electronic receipt issuance system, characterized in that by transmitting the encrypted receipt data obtained by encrypting the receipt data by using the electronic receipt issuing program to the interface server, hacking prevention such as a dictionary attack or a brute force attack is performed.
제3항에 있어서,
상기 인터페이스 서버는,
복수의 상기 가맹점 결제 단말기로부터 상기 암호화 영수증 데이터 각각을 수신한 후 복호화한 복호화 영수증 데이터를 생성하고, 서로 상이한 복수의 상기 복호화 영수증 데이터를 상기 표준 데이터로 변환하는 것을 특징으로 하는 전자영수증 발급 시스템.
4. The method of claim 3,
The interface server,
Electronic receipt issuance system, characterized in that after receiving each of the encrypted receipt data from the plurality of merchant payment terminals, generating decrypted decrypted receipt data, and converting a plurality of different decrypted receipt data into the standard data.
삭제delete 가맹점 결제 단말기에서 탑재한 전자영수증 발급 프로그램을 이용하여 프린터로 전달되는 영수증 데이터를 가로채서 인쇄되기 전에 파일로서 출력하는 과정;
인터페이스 서버에서 상기 영수증 데이터를 표준 데이터로 변환하고, 상기 표준 데이터를 기 설정된 복수의 출력 양식 중 어느 하나로 변환한 변환 데이터를 출력하는 과정;
전자영수증 서버에서 상기 변환 데이터를 기 설정된 방식으로 전자 영수증으로 발급하도록 하는 과정;
을 포함하되, 상기 전자영수증 발급 프로그램은, 상기 프린터로 전달되는 상기 영수증 데이터를 수집하고, 상기 영수증 데이터를 바이너리 코드로 변환하는 전자영수증 발급 드라이버; 상기 바이너리 코드를 아스키(ASCII) 코드로 변환하는 데이터 변환부; 상기 아스키 코드를 대칭키 방식의 암호 저장 기술인 AES(Advanced Encryption Standard)-256 방식으로 암호화할 때, 임의의 솔트(Salt)값을 추가하여 동일한 데이터라도 서로 다른 결과값을 부여한 암호화 영수증 데이터를 생성하는 암호화부; 상기 암호화 영수증 데이터를 외부로 전송할 때, 입력받은 카드번호 또는 전화번호를 기준으로 구입매장 식별정보, 구입 시간 정보, 구입 품목 정보를 확인한 후 동일한 구입매장 식별정보에서 두 번째 구입 시간 정보, 구입 품목 정보가 확인되는 경우, 상기 전화번호의 추가 입력 없이도 상기 암호화 영수증 데이터를 상기 전화번호에 대응하는 단말기로 전자영수증으로 발급하도록 하는 전송부;를 포함하며,
상기 인터페이스 서버는, 상기 암호화 영수증 데이터를 수신하여 복호화한 복호화 영수증 데이터를 생성하는 데이터 복호화부; 및 상기 복호화 영수증 데이터를 상기 표준 데이터로 변환하고, 상기 표준 데이터를 기 설정된 복수의 출력 양식 중 어느 하나로 변환한 변환 데이터를 출력하는 표준 데이터 변환기를 포함하며
상기 표준 데이터 변환기는, 복호화 영수증 데이터에 대한 프로토콜을 분석한 프로토콜 분석 정보를 생성하는 프로토콜 분석부; 상기 프로토콜 분석 정보를 기반으로 가맹점 결제 단말기 또는 ERP 프로그램 별로 데이터를 표준 데이터로 변환한 표준 데이터를 생성하는 표준 데이터 변환부; 상기 표준 데이터를 기반으로 고객 영수증, 고객 주문서, 주방용 주문서, 결제 요청 내역, 매출 집계 내역, 결제 데이터 중 어느 하나의 양식에 맞게 파싱하여 출력하는 파싱부;를 포함하는 것을 특징으로 하는 전자영수증 발급 방법.
A process of intercepting receipt data transmitted to a printer using an electronic receipt issuance program mounted in a merchant payment terminal and outputting it as a file before being printed;
The process of converting the receipt data into standard data in the interface server, and outputting the converted data converted from the standard data into any one of a plurality of preset output formats;
The process of issuing the converted data as an electronic receipt in a preset manner in the electronic receipt server;
Including, wherein the e-receipt issuance program comprises: an e-receipt issuance driver for collecting the receipt data transmitted to the printer and converting the receipt data into a binary code; a data conversion unit converting the binary code into an ASCII code; When encrypting the ASCII code using the AES (Advanced Encryption Standard)-256 method, which is a symmetric key encryption storage technology, a random salt value is added to generate encrypted receipt data in which different result values are given even for the same data. encryption unit; When transmitting the encrypted receipt data to the outside, after checking the purchase store identification information, purchase time information, and purchase item information based on the input card number or phone number, the second purchase time information and purchase item information from the same purchase store identification information is confirmed, a transmission unit for issuing the encrypted receipt data as an electronic receipt to a terminal corresponding to the phone number without additional input of the phone number;
The interface server may include: a data decryption unit for receiving the encrypted receipt data and generating decrypted receipt data; and a standard data converter that converts the decrypted receipt data into the standard data and outputs the converted data converted from the standard data into any one of a plurality of preset output formats,
The standard data converter may include: a protocol analysis unit generating protocol analysis information obtained by analyzing a protocol for decrypted receipt data; a standard data conversion unit for generating standard data converted from data into standard data for each merchant payment terminal or ERP program based on the protocol analysis information; Based on the standard data, a parsing unit that parses and outputs a customer receipt, customer order form, kitchen order form, payment request history, sales aggregate history, and payment data according to any one form; Electronic receipt issuance method comprising a .
KR1020210108739A 2021-08-18 2021-08-18 Method And System for Issuing Electronic Receipt KR102382636B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020210108739A KR102382636B1 (en) 2021-08-18 2021-08-18 Method And System for Issuing Electronic Receipt

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020210108739A KR102382636B1 (en) 2021-08-18 2021-08-18 Method And System for Issuing Electronic Receipt

Publications (1)

Publication Number Publication Date
KR102382636B1 true KR102382636B1 (en) 2022-04-04

Family

ID=81182666

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020210108739A KR102382636B1 (en) 2021-08-18 2021-08-18 Method And System for Issuing Electronic Receipt

Country Status (1)

Country Link
KR (1) KR102382636B1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014078060A (en) * 2012-10-09 2014-05-01 Shinichi Tanaka Receipt issuing method and device
KR20150049299A (en) * 2013-10-30 2015-05-08 삼성에스디에스 주식회사 Apparatus and method for electronic receipt
KR20210093733A (en) * 2020-01-20 2021-07-28 주식회사 테라이엠 Electronic Receipt Service System

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014078060A (en) * 2012-10-09 2014-05-01 Shinichi Tanaka Receipt issuing method and device
KR20150049299A (en) * 2013-10-30 2015-05-08 삼성에스디에스 주식회사 Apparatus and method for electronic receipt
KR20210093733A (en) * 2020-01-20 2021-07-28 주식회사 테라이엠 Electronic Receipt Service System

Similar Documents

Publication Publication Date Title
US10972257B2 (en) Multi-level communication encryption
EP1281265B1 (en) Method for the authorization of transactions
CN103699989B (en) Payment platform system based on smart machine and method of payment
CN104145284A (en) Payment processing system, payment terminal, communication device, payment server and payment processing method
CN103903140A (en) O2O safety payment method, system and safety payment background
CN103714453B (en) Payment platform system based on smart machine and method of payment
US10664815B2 (en) Secure customer relationship marketing system and method
KR100973553B1 (en) Method for Processing Payment Statement of Affiliate Payment Terminal, and Affiliate Store Payment Terminal
KR102168613B1 (en) Electronic Receipt Service System
EP2779069A1 (en) Method and system for managing a transaction
CN103824203A (en) Point payment system of mobile intelligent terminal
KR102382636B1 (en) Method And System for Issuing Electronic Receipt
US20210224774A1 (en) Systems and methods for managing electronic receipts of a point of sale terminal
US20210390546A1 (en) Systems and Methods for Secure Transaction Processing
KR101511194B1 (en) METHOD AND SYSTEM OF MANAGING PAYMENT CHANNEL AND Recording Medium
KR101126605B1 (en) The system of issuing a ticket using a message and method thereof
KR20120088015A (en) System and Method for Usage Point using Settlement Terminal, Settlement Terminal and Recording Medium
US11928672B2 (en) Personalization method and system for financial IC card having dynamic verification code
TWI722333B (en) Card reading transaction system and method for operating a card reading transaction system
CN104036390A (en) Intelligent card information processing terminal, system and method, and background server
KR101182395B1 (en) Method for managing financial product, financial system and method for calculating price of goods
CA3068883A1 (en) Systems and methods for managing electronic receipts of a point of sale terminal
US10685192B2 (en) Card reading transaction system with an intermediate server
KR102398669B1 (en) A method for issuancing smart e-receipt, and an apparatus and a system therefor
KR101639865B1 (en) Card terminal and Method for processing payment information thereof

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
GRNT Written decision to grant