[go: up one dir, main page]

WO2018131885A1 - Method for providing payment gateway service using utxo-based protocol and server using same - Google Patents

Method for providing payment gateway service using utxo-based protocol and server using same Download PDF

Info

Publication number
WO2018131885A1
WO2018131885A1 PCT/KR2018/000474 KR2018000474W WO2018131885A1 WO 2018131885 A1 WO2018131885 A1 WO 2018131885A1 KR 2018000474 W KR2018000474 W KR 2018000474W WO 2018131885 A1 WO2018131885 A1 WO 2018131885A1
Authority
WO
WIPO (PCT)
Prior art keywords
payment
information
server
push token
user
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
PCT/KR2018/000474
Other languages
French (fr)
Korean (ko)
Inventor
서문규
홍재우
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Coinplug Inc
Original Assignee
Coinplug Inc
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 Coinplug Inc filed Critical Coinplug Inc
Publication of WO2018131885A1 publication Critical patent/WO2018131885A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/02Payment architectures, schemes or protocols involving a neutral party, e.g. certification authority, notary or trusted third party [TTP]
    • G06Q20/027Payment architectures, schemes or protocols involving a neutral party, e.g. certification authority, notary or trusted third party [TTP] involving a payment switch or gateway
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3821Electronic credentials
    • G06Q20/38215Use of certificates or encrypted proofs of transaction rights
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3827Use of message hashing
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/38Payment protocols; Details thereof
    • G06Q20/385Payment protocols; Details thereof using an alias or single-use codes
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • G06Q20/4012Verifying personal identification numbers [PIN]
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • G06Q20/4018Transaction verification using the card verification value [CVV] associated with the card
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Definitions

  • the payment flow of the simple payment which is a step further than the general payment method, is as follows.
  • the present invention prevents credit card information from being transmitted and received between entities participating in the card payment, thereby preventing the credit card information from being exposed, thereby enabling payment with high reliability of personal authentication.
  • a method for registering a certificate for providing a payment gateway service using a database includes: (a) identity authentication information or a value obtained by processing the same from a user terminal; , And when a first push token ID (PushTokenID), which is a unique identifier generated by the user terminal, is passed for pushing to the user terminal, the card company server causes the user terminal to send the user's public key and Supporting generating and storing a key pair comprising a private key; (b) if a second push token ID and the public key of the user are obtained, and the first push token ID and the second push token ID match, the card company server, the first push token ID or the second push token ID; Managing a push token ID as an integrated push token ID and storing registration information including the integrated push token ID and the public key; And (c) when the registration information is stored, the card company server, (i) a terminal identification information hash value which is a result of hashing terminal identification information which is information
  • a method for registering a certificate for providing a payment gateway service using a database includes: (a) (i) identity authentication information or the same from a user terminal; The card company server, which has received the processed value and the first push token ID (PushTokenID) which is a unique identifier generated by the user terminal for pushing to the user terminal, causes the user terminal to send the user's public key.
  • PushTokenID the first push token ID
  • a card company server that performs a registration method of a certificate to provide a payment gateway service using a database, the server, the user authentication information or from the user terminal
  • a communicator configured to receive a processed value and a first push token ID (PushTokenID), which is a unique identifier generated by the user terminal for pushing to the user terminal, or to allow another device to receive the processed value; And (i) when the user authentication information or the processed value and the first push token ID are delivered, allowing the user terminal to generate and store a key pair including the public key and the private key of the user.
  • PushTokenID a first push token ID
  • a card company server that performs a method for providing a payment gateway service using a database, the server corresponding to the user terminal in response to a user's payment request
  • a communication unit configured to obtain payment reception request information including a push token ID and a payment target information from a payment agent server or to allow another device to obtain information; And when the payment acceptance request information is obtained, (i) transmitting the payment acceptance result information including the terminal identification information hash value, which is a result of hashing the terminal identification information which is information for identifying the user terminal, to the payment agency server.
  • a payment agent server that performs a method for providing a payment gateway service using a database, the server being a server of a service provider in response to a user's payment request.
  • a communication unit for acquiring the terminal identification information hash value, the payment object information, and the service provider authentication information, which are the result of hashing the terminal identification information, which is information for identifying the user terminal, from the service provider server; And (i) payment receipt request information including a first push token ID (PushTokenID) and payment target information corresponding to the user terminal when the terminal identification information hash value, the payment target information, and the service provider authentication information are obtained.
  • PushTokenID first push token ID
  • a payment agency operating a payment agent server does not need to store a credit card number for payment.
  • the present invention allows all entities participating in the card settlement to use cryptographic techniques such as cryptographically valid public key-private key pairs (eg, RSA, ECC), hash functions, etc. This becomes impossible.
  • cryptographic techniques such as cryptographically valid public key-private key pairs (eg, RSA, ECC), hash functions, etc. This becomes impossible.
  • FIG. 1 is a conceptual diagram schematically illustrating a server device for providing a payment agency service according to an embodiment of the present invention.
  • FIG. 3 is a sequence diagram schematically illustrating a method for providing a payment agency service according to the first and second embodiments of the present invention.
  • FIG. 6 is a sequence diagram schematically illustrating a method for providing a payment agency service according to the third and fourth embodiments of the present invention.
  • FIG. 7 is a sequence diagram showing further subdivisions of specific steps of the method shown in FIG. 6.
  • FIGS. 8 and 9 are conceptual views schematically illustrating a process in which related transactions are recorded in a predetermined database according to the second and fourth embodiments of the present invention.
  • public blockchain database refers to utilizing all computing devices on a virtual currency system that manages the blockchain public blockchain, which is widely used in the public as a blockchain of virtual currency, as a database.
  • the servers according to the invention are accessible to this.
  • private blockchain database in the present specification refers to a so-called, privately configured private blockchain that is directly managed by servers according to the present invention, which uses a blockchain of virtual currency but is not a public blockchain used in the air. Refers to a database using.
  • the term “payment agency server” in the present specification refers to a server device operated by a payment agency to provide a payment agency service of the present invention
  • “card company server” refers to a payment agent service of a card company of the present invention.
  • the card In response to the card refers to the operating server device for providing a card payment service.
  • the present invention encompasses all possible combinations of the embodiments indicated herein. It should be understood that the various embodiments of the present invention are different but need not be mutually exclusive. For example, certain shapes, structures, and characteristics described herein may be embodied in other embodiments without departing from the spirit and scope of the invention with respect to one embodiment. In addition, it is to be understood that the location or arrangement of individual components within each disclosed embodiment may be changed without departing from the spirit and scope of the invention. The following detailed description, therefore, is not to be taken in a limiting sense, and the scope of the present invention, if properly described, is defined only by the appended claims, along with the full range of equivalents to which such claims are entitled. Like reference numerals in the drawings refer to the same or similar functions throughout the several aspects.
  • the first embodiment of the present invention is an embodiment in which the card company server operated by the card company plays a main role in the payment method according to the present invention, and is configured to record individual transactions in the first database as necessary. .
  • the second embodiment of the present invention is configured in such a way that the card company server operated by the card company plays a main role in the payment method according to the present invention, and after recording individual transactions in the first database, the first transaction is recorded in the first database.
  • the embodiment is configured in an anchoring manner in which the integrity of the recording is doubled by recording the representative hash value generated from the transactions in the second database.
  • the third embodiment of the present invention is implemented in such a way that the payment agent server operated by the payment agency in the payment method according to the present invention plays a main role, and is configured to record individual transactions in the first database as necessary. Yes.
  • the payment agent server operated by the payment agency in the payment method according to the present invention is configured in such a manner that the main role is recorded, after recording the individual transactions in the first database, and in the first database. It is an embodiment configured in an anchoring manner to double the record integrity by writing a representative hash value generated from recorded transactions to a second database.
  • the second database may be referred to as a database that is indirectly recorded through the first database for data integrity.
  • FIG. 1 is a conceptual diagram schematically illustrating a server device for providing a payment agency service according to an embodiment of the present invention.
  • the payment agent server and the card company server which are server devices according to the present invention, may be a computing device 100 including a communication unit 110 and a processor 120, and may be indirectly or directly with other computing devices. Can communicate.
  • the payment agent server may be configured with a plurality of computing devices including a payment agent management server as described below, and the card company server may be configured with a plurality of computing devices including a card company management server as well.
  • entities including a user terminal and a service provider server may typically be the computer device 100.
  • server devices and user terminals typically comprise computing devices (eg, devices that may include components of computer processors, memory, storage, input and output devices, other conventional computing devices; electronics such as routers, switches, and the like).
  • computing devices eg, devices that may include components of computer processors, memory, storage, input and output devices, other conventional computing devices; electronics such as routers, switches, and the like.
  • NAS network attached storage
  • SAN storage area network
  • the communication unit 110 of the computing device may transmit and receive a request and a response with another computing device to which the computing device is linked.
  • the request and response may be made by the same TCP session, but are not limited thereto.
  • it may be transmitted and received as a UDP datagram.
  • the processor 120 of the computing device may include a hardware configuration such as a micro processing unit (MPU) or a central processing unit (CPU), a cache memory, a data bus, and the like.
  • the operating system may further include a software configuration of an application performing a specific purpose.
  • FIG. 2 is a sequence diagram schematically illustrating a method for registering a certificate for providing a payment agent service according to the present invention.
  • the present invention accesses an app store and downloads an app to obtain an app for providing a billing service according to the present invention through the user terminal. It is assumed that the procedure S201 for receiving and the procedure S202 for installing the app on the user terminal are completed.
  • the card company server is divided into a card company management server and a card company authentication server for convenience of description, but a single card company server may perform the functions of the card company management server and the card company authentication server shown in FIG. 2. to be.
  • a method of registering a certificate for providing a payment gateway service includes a user authentication information or a processed value thereof from a user terminal, and the user terminal to the user terminal.
  • a first push token ID PushTokenID
  • a card company server causes the user terminal to transmit the user's public key and personal.
  • the authentication information may include at least one of a name of the user, a telephone number of the user, a card number, and a Card Verification Value (CVC), but is not limited thereto. will be.
  • CVC Card Verification Value
  • the push token ID functions as an identifier for transmitting, ie, pushing, data for notification to the user terminal from the outside, and is uniquely generated for each user terminal without duplication. do.
  • the terminal identification information which is similar to the above push token ID but is easy to remember and commonly used, may be, for example, a telephone number of the user corresponding to the user terminal.
  • the terminal identification information is not limited thereto and may be any identification information corresponding to the user terminal.
  • the terminal identification information may be a predetermined email address corresponding to the user terminal.
  • the PIN code is predetermined information input to the user terminal to prove that the user is the user.
  • the PIN code may be a password which may include alphanumeric characters and special characters, but is not limited thereto. It will be appreciated that the PIN code may be information used in biometric technology such as FIDO.
  • a second push token ID and a public key of the user are obtained (S255), and the first push token ID and the second push key are obtained. If the push token ID matches, the card company server manages the first push token ID or the second push token ID as an integrated push token ID, and stores registration information including the integrated push token ID and the public key. (S260, S265) further comprises the steps (S255 to S265).
  • the card company server may be configured to include a card company management server and a card company authentication server.
  • the steps S255 to S265 may include obtaining the second push token ID and the user's public key, If the push token ID and the second push token ID coincide, the card company management server passes the integrated push token ID and the public key to the card company authentication server, thereby causing the card company authentication server to execute the integrated push token ID and the public key. It may be characterized by supporting to hold a public key.
  • the card company server when the registration information is stored (S265), is (i) a terminal which is information for identifying the user terminal.
  • the terminal identification information hash value which is a result of hashing the identification information, and (ii) the user identification information including the integrated push token ID, is transferred to a payment agent server (S270), thereby causing the payment agent server to provide the user identification information.
  • Supporting to manage the step (S265 to S275) further includes.
  • the card company server may deliver a certificate registration completion message indicating registration of the certificate to the user terminal (S275).
  • the certificate registration method according to the first embodiment of the present invention, the card company server, the registration information including the integrated push token ID and the public key or the value of the registration information processed; Recording the data on the database as the registration transaction (S280) of the certificate or supporting other devices linked to the card company server (S280 and S285).
  • this step (S280, S285) is shown to be performed after the steps (S265 to S275), but this is only one example, the step (S280, S285) is the card company server holds only the registration information If so, it may be performed at any time after steps S255 to S265.
  • the database may be a blockchain database of virtual currency
  • the blockchain database may be a public blockchain database or a private blockchain database.
  • FIG. 3 is a sequence diagram schematically illustrating a method for providing a payment agency service according to the present invention.
  • the card company server is divided into a card company management server and a card company authentication server, but one card company server may perform the functions of the card company management server and the card company authentication server shown in FIG. 3. to be.
  • a first push token ID (PushTokenID) and payment target information corresponding to a user terminal according to a user's payment request (S305).
  • the payment request information including the information is obtained from the payment agent server (S310, S315), the card company server, (i) the terminal identification information hash that is a result of hashing the terminal identification information that is information for identifying the user terminal
  • the terminal identification information hash that is a result of hashing the terminal identification information that is information for identifying the user terminal
  • the payment request (S305) of the user may be first transmitted from the user terminal to the service provider server, and then the related information may be transmitted by the service provider server to the payment agency server.
  • the means of delivery may be a web page.
  • the present invention may be, but is not limited to, an application (app) and a point of sales (POS) device.
  • apps application
  • POS point of sales
  • a web page or an application it corresponds to an example of online payment
  • POS device it may correspond to an example of payment in an offline store.
  • the payment target information may include an order number, identification information of a card company, identification information of a service provider, predetermined additional information provided by the service provider, a name of a payment target, a price of the payment target, whether a partial payment, It may include at least one of identification information of the currency that is the means of payment, the name of the user, the address of the user, the date and time of payment approval and the status information of the payment.
  • the payment approval request information including the second push token ID is obtained under the user's approval (S335) as a response to the authentication request information.
  • the card company server manages the first push token ID or the second push token ID as an integrated push token ID, and the payment Validating the approval request information (S345, S350) further includes a step (S335 to S350).
  • the user's approval may be performed by determining the validity of the PIN code input to the user terminal.
  • the PIN code is as described above.
  • the payment approval based on the payment approval request information may include, for example, a method using random nonce and a method using a timestamp.
  • the process (S330) is characterized in that the card company server delivers the authentication request information and the payment target information including a random nonce to the user terminal, and the payment
  • the authorization request information includes the second push token ID, a random nonce signature value that is a result of signing the random nonce with the user's private key, and the user's public key, and in steps S345 and S350, the The card company server may verify the validity of the payment approval request information by using the user's public key and the random nonce signature value.
  • a predetermined hash value can be obtained from the random nonce signature value using the user's public key as the random nonce signature value, and a result value obtained by applying a predetermined hash function to the hash value and the random nonce.
  • the card company server verifies the validity of the payment approval request information using the user's public key and the timestamp signature value, and corresponds to the timestamp signature value. If the time interval between the first time and the second time which is the time at which the validity of the payment approval request information is verified is equal to or greater than a set value, the payment approval request information may be determined to be invalid.
  • the payment proxy service providing method may include: If valid, the card company server (in FIG. 4, the card company server is configured to include a card company management server, a card company authentication server, and a card company approval server) processes the card approval according to the payment approval request information (S351, S352). It includes more.
  • the process (S330) may be performed by the card company management server.
  • the first push token ID, the payment target information, and the authentication request information may be transmitted to the user terminal in response to the payment reception request information.
  • the steps S335 to S350 may include the authentication request information.
  • the card company management server When payment approval request information is obtained from the user terminal (S340), the card company management server, the random nonce signature value and the It is possible to support the card company authentication server to verify the validity of the payment approval request information (S345, S350) by transmitting a key to the card company authentication server, and the steps (S351, S352), the payment approval If the request information is valid, the card company management server delivers the card information for processing the card approval according to the payment approval request information to the card company approval server (S351), thereby allowing the card company approval server to use the card information. It may be characterized in that for supporting the card authorization processing (S352).
  • the card company server when the card approval is completed (S352), receives a payment approval result indicating that the card approval is completed.
  • the method may further include transmitting to at least one of the user terminal and the payment agent server (S355, S360).
  • the card company server transmits the payment approval result to the payment agency server (S360), thereby causing the payment agency server to transmit the terminal identification information hash value, the integrated push token ID, and the payment target information.
  • Transaction information including at least a portion or a processed value thereof may be supported to be recorded on the database as a proof of payment transaction (S375, S380).
  • the payment agent server sends the request to the user terminal. Transmitting payment reception request information including a corresponding first push token ID (PushTokenID) and payment target information to a card company server;
  • PushTokenID first push token ID
  • the payment agent server transmits the payment acceptance result information to the service provider server.
  • the user terminal under the user's approval in response to the authentication request information which is information for requesting authentication of the payment object information and the payment object information transmitted from the card company server to the user terminal in response to the payment reception request information.
  • the card company server is transmitted, and the second push token ID included in the payment approval request information is the first push token ID. If there is a match, the payment agent server manages the first push token ID or the second push token ID as an integrated push token ID, and among the terminal identification information hash value, the integrated push token ID, and the payment target information.
  • Transaction information containing at least a portion or a processed value of the proof of payment transaction As a step of supporting recording on the database, or to cause the recording to another device linked to the settlement server.
  • the payment agent server, the service provider server and the user with the payment approval result obtained from the card company server for the payment approval request information delivered in accordance with the user's approval It may be delivered to at least one of the terminals.
  • the database mentioned in the first embodiment corresponds to the first database.
  • an interworking process with the second database is added.
  • the method for registering a certificate for providing a payment agent service if the anchoring condition is satisfied after the above-described step (S285) with respect to the first embodiment, At least one neighbor hash value of which the card company server matches a specific hash value that is a hash value of the registration transaction, wherein the neighbor hash value is (i) specific registration information including a specific push token ID and a specific user's public key; A hash value of a specific registration transaction, which is a value of processing the specific registration information, or (ii) a transaction information including at least some of a specific terminal identification information hash value, the specific push token ID, and specific payment target information, or a specific payment, which is a value thereof.
  • Is a hash value of a content proof transaction-the second data is a representative hash value generated by hashing together or a value obtained by processing the representative hash value.
  • the aforementioned anchoring condition is (i) a condition in which a predetermined number of specific hash values and neighboring hash values are obtained or generated, (ii) a condition that a predetermined time elapses, and (iii) a block in the first database. This may include at least one of the generated conditions, (iv) conditions for service characteristics.
  • a particular hash value is denoted by input, and at least one neighboring hash value is represented by x1, x2,... , represented by xn, can be represented by the following equation.
  • the card company server may store and manage the specific hash value and the at least one neighbor hash value in a predetermined data structure.
  • the data structure may vary, for example, may be a merkle tree structure.
  • the calculation of the specific hash value and at least one neighbor hash value may be performed through the Merkle tree.
  • the card company server may generate or support a merkle tree in which the specific hash value is assigned to a leaf node, or may be generated by another device.
  • the card company server may match the specific hash value.
  • the card company server may record the hash value finally assigned to the root node of the Merkle tree as the representative hash value in the second database or support another device to record it. At this time, a value obtained by processing the representative hash value may be recorded. For example, the result of performing the hex operation may be registered in the representative hash value.
  • the card company server stores the specific hash value and the at least one neighbor hash value in a predetermined first data structure, and then stores and manages a second data structure having the same form as the first data structure
  • the first data structure and the second data structure may be connected in a chain form.
  • the root value of the first data structure or the hash value of the root value is the first leaf of the second data structure. Can be assigned to a node.
  • the Merkle tree is the first Merkle tree among at least one Merkle tree connected in a chain form
  • the first leaf node of the Merkle tree has a hash value of a predetermined message data consisting of text, numbers, or symbols or the same.
  • One value can be assigned. For example, a hash value of an input message initially assigned by a card company server may be assigned when generating a merkle tree.
  • the card company server may support to calculate or calculate (i) a specific hash value and (ii) a hash value assigned to the h3 node which is a sibling node of the h2 node which is the third leaf node to which the specific hash value is assigned. have.
  • the hash value for the operation value that is the result of the operation is assigned to the parent node (h23 node) of the h2 node and the h3 node.
  • the card company server may repeat the process by using the hash value assigned to the h23 node as the specific hash value. That is, the hash value assigned to the h23 node is designated as a specific hash value, and the hash value assigned to the h23 node and the hash value assigned to the h01 node are calculated and assigned to the parent node (h0123) node of the h23 node and the h01 node. have.
  • the card company server records the hash value assigned to the h0123 node or the processed value hex (h ⁇ node_index ⁇ ) in the second database or causes another device to record it. Can be supported.
  • the card company server is connected to (i) the sibling node of a specific node to which the specific hash value and (ii) the specific hash value are assigned. Hashing the assigned hash values together or allowing other devices to hash, assigning a hash value for the computed value that is the result of the operation to the parent node of the particular node, or allowing another device to assign it ( x2) if the parent node is the root node of the Merkle tree, support to record the hash value assigned to the parent node to the second database as the representative hash value or to allow other devices to record (x3) the parent node; If is not the root node of the Merkle tree, repeating the (x1) to (x3) by using the hash value assigned to the parent node as the specific hash value All.
  • the card company server may generate the root value of the aforementioned Merkle tree on a predetermined time unit (the (ii) anchoring condition). In this case, when a predetermined time elapses, the card company server may generate a Merkle tree using the input values up to that time, record the root value of the Merkle tree in a second database, or support another device to record.
  • a value may not be assigned to a sibling node of a node to which a specific hash value of the Merkle tree is assigned even after a predetermined time has elapsed.
  • the card company server allocates a predetermined hash value to the sibling node or causes another device to execute the hash value.
  • the allocation may be supported so that the root value of the Merkle tree is calculated in the above-described manner.
  • the card company server may duplicate the specific hash value and allocate the specific hash value to the sibling node or support another device to allocate it.
  • the service characteristic is a company type that is a management entity of the server involved in the recording, cost information paid by the entities using the payment agent service, time zone information on which the transaction is recorded, local information on the record, and the server involved in the recording. It can be at least part of the information. However, it is not limited to what was described here.
  • the card company server determines that the Merkle tree is assigned to the first leaf node and the second leaf node. It is possible to generate or support other devices to generate, and to record the root value or the processed value of the Merkle tree in a second database or allow other devices to record. In this case, for example, a leaf tree of two leaf nodes may be generated.
  • the card company server stores the specific hash value and the at least one neighboring hash value in a predetermined first data structure, and then stores and manages a second data structure having the same form as the first data structure.
  • the first data structure and the second data structure may be connected in a chain form.
  • a root value of the first data structure or a hash value of the root value may be allocated to the first leaf node of the second data structure.
  • FIG 9 illustrates a Merkle tree generated as the second data structure according to the present invention.
  • the present invention has an advantage of easily tracking even when data modulation occurs in the middle by connecting a plurality of data structures generated when a transaction occurs, thereby improving the integrity of the data.
  • the registration method of the certificate according to the second embodiment of the present invention additionally, at least one that the card company server is matched with the hash value of the at least one registration transaction recorded in the first database periodically (periodically)
  • the method may further include verifying an integrity of the first database by verifying whether a value matches a processed value (not shown).
  • the first and second databases may be blockchain databases.
  • the first database may be a private blockchain database
  • the second database may be a public blockchain database.
  • the present disclosure is not limited thereto, and a person skilled in the art may understand that the first database may be a private blockchain database or a public blockchain database, and likewise, the second database may be a private blockchain database or a public blockchain database. I can understand.
  • the card company server is connected to the payment agent server.
  • Is a hash value of the attestation transaction-the second data is a representative hash value generated by hashing together or a value obtained by processing the representative hash value.
  • the payment agent service providing method in addition, the card company server, periodically matching the hash value of the at least one payment content proof transaction recorded in the first database (periodically) A second representative hash value or a second representative hash value recorded in the second database corresponding to the first representative hash value generated by hashing together at least one neighboring hash value, or a value obtained by processing the first representative hash value.
  • the method may further include verifying an integrity of the first database by verifying whether the representative hash value matches the processed value.
  • the third embodiment does not include a technical feature for calculating a representative hash value through calculation with a neighbor hash value, for example, a technical feature using a Merkle tree. It is different.
  • FIG. 5 is a sequence diagram schematically illustrating a method of registering a certificate for providing a payment agent service according to the present invention.
  • a user accesses an app store to download an app for providing a billing service according to the present invention through the user terminal and downloads the app. It is assumed that the procedure of receiving (S501) and the procedure of installing the app on the user terminal (S502) are completed.
  • a payment agent server is divided into a payment agent management server and a payment agent authentication server for convenience of description, but a single payment agent server functions as a payment agent management server and a payment agent authentication server shown in FIG. 5. Of course it can be done.
  • a method of registering a certificate for providing a payment gateway service includes a user authentication information or a processed value thereof from a user terminal, and the user terminal to the user terminal.
  • a first push token ID PushTokenID
  • the payment agent server may include the identity authentication information or a processed value thereof, and And transmitting (S525) the first push token ID to a card company server (S520 and S525).
  • the payment agent server delivers the authentication result to the user terminal.
  • the user terminal further includes the operations S 555 and S 560 for generating and storing the key pair including the public key and the private key of the user, in step S 555 and S 560.
  • the key pair may be generated and stored to correspond to the PIN code input to the user terminal.
  • a second push token ID and a public key of the user are obtained from the user terminal (S565), and the first push token ID and the first push key are obtained. If the two push token IDs match, the payment agent server manages the first push token ID or the second push token ID as an integrated push token ID, and includes registration information including the integrated push token ID and the public key. It further includes the steps (S565 to S580) for storing (S570, S575).
  • the payment agent server may transmit a certificate registration completion message indicating registration of the certificate to the user terminal.
  • the payment agent server is configured to include a payment agent management server and a payment agent authentication server
  • the steps (S565 to S580), the second push token ID and the public key of the user is obtained from the user terminal, If the first push token ID and the second push token ID coincide, the payment agency management server transfers the integrated push token ID and the public key to the payment agency authentication server (S570), so that the payment agent authentication server It may be characterized in that for supporting to hold the integrated push token ID and the public key (S575).
  • the payment agent server records the registration information or the value obtained by processing the registration information on the database as a registration transaction of the certificate or to the payment agent server.
  • the method may further include steps S585 and S590 for supporting the interworking device to record.
  • steps S585 and S590 are shown to be performed after the steps S565 to S580. However, this is only one example. In steps S585 and S590, only the registration information is retained by the payment agent server. If so, it may be performed at any time after the steps S545 to S560.
  • a method of registering a certificate in order to provide a payment agent service will be described based on the card company server.
  • a value obtained by processing the same, and a first push token ID (PushTokenID), which is a unique identifier generated by the user terminal for pushing to the user terminal is transmitted through a payment agent server, the card company server, A process of delivering authentication request information including identity authentication information or a processed value to a card company member ledger server, and terminal identification information and the first push token as information for identifying the user terminal included in the identity authentication information; Performing a process of storing an ID; And obtaining an authentication result corresponding to the authentication request information from the card company member ledger server, and if the authentication result is successful, transmitting the authentication result to the payment agent server by the card company server.
  • PushTokenID a first push token ID
  • FIG. 6 is a sequence diagram schematically illustrating a method for providing a payment agency service according to the present invention.
  • a payment agent server is divided into a payment agent management server and a payment agent authentication server for convenience of description, but a single payment agent server functions as a payment agent management server and a payment agent authentication server shown in FIG. 6. Of course it can be done.
  • the method for providing a billing service is information for identifying a user terminal from a service provider server which is a server of a service provider in response to a user's payment request (S605).
  • the payment agency server may (i) add to the payment reception request information.
  • a program for transmitting authentication request information which is information for requesting authentication of the target information and the payment target information, to the user terminal. Performing a process (S630).
  • the payment approval request information including the second push token ID is obtained under the user's approval (S635) as a response to the authentication request information.
  • the payment agent server integrates the first push token ID or the second push token ID into an integrated push token. Managing as an ID, and the step (S635 to S650) to verify the validity of the payment approval request information (S645, S650).
  • payment approval based on the payment approval request information may include a method using random nonce and a method using a timestamp.
  • the process (S630) is characterized in that the payment agent server delivers the authentication request information including the random nonce and the payment target information to the user terminal.
  • the payment approval request information includes the second push token ID, a random nonce signature value that is a result of signing the random nonce with the private key of the user, and the public key of the user.
  • the payment is performed.
  • the agent server may verify the validity of the payment approval request information by using the user's public key and the random nonce signature value. The method of verifying the validity of the random nonce signature value is as described above.
  • the payment agent server verifies the validity of the payment approval request information by using the public key of the user and the timestamp signature value, and corresponds to the first timestamp signature value.
  • a time interval between a time and a second time which is a time at which the validity of the payment approval request information is verified, is equal to or greater than a set value, the payment approval request information may be determined to be invalid.
  • the payment proxy service providing method may include: If valid, the payment agency server (the payment agency server of FIG. 7 is configured to include a payment agency management server and a payment agency authentication server), the card company server (in Figure 7 card company server includes a card company management server and card company authentication server And configured to process card authorization according to the payment authorization request information (S655 and S660).
  • the payment agency server the payment agency server of FIG. 7 is configured to include a payment agency management server and a payment agency authentication server
  • the card company server in Figure 7 card company server includes a card company management server and card company authentication server And configured to process card authorization according to the payment authorization request information (S655 and S660).
  • the payment agent server transmits a payment approval result obtained from the card company server to at least one of the service provider server and the user terminal with respect to payment approval request information delivered according to the user's approval. (S665, S670).
  • the payment agent server may include at least one of the terminal identification information hash value, the integrated push token ID, and the payment target information.
  • the method may further include recording the transaction information including the portion or the processed value thereof on the database as a payment contents verification transaction or by allowing another device linked to the payment agent server to record the data (S680 and S685).
  • the process (S630) may include the payment agency management server.
  • the first push token ID, the payment target information, and the authentication request information may be transmitted to the user terminal in response to the payment reception request information.
  • the steps S635 to S650 may include the authentication request.
  • a random nonce signature value, the second push token ID, and the public key of the user which are the result of signing the random nonce with the private key of the user (S636 and S637) under the user's approval (S635).
  • the payment agency management server When payment approval request information including information is obtained from the user terminal (S640), the payment agency management server, the random nonce signature value and the By passing a public key to the payment agency authentication server (S645), it is possible to support the payment agency authentication server to verify the validity of the payment approval request information, and the steps (S655 and S660), the payment If the authorization request information is valid, the payment agency management server transmits the payment authorization request information to the card company server (S655) to allow the card company server to process card information for processing the card authorization according to the payment authorization request information. It may be characterized in that for supporting the card authorization processing (S656, S657).
  • the payment agent server displays a payment approval result indicating that the card approval is completed. And transmitting to at least one of the service provider server (S665, S670).
  • the terminal identification information hash value, the payment target information, and the service provider authentication information, which are the result of hashing the terminal identification information, which is information for identifying the user terminal, from the service provider server which is a server, are acquired by the payment agent server as the payment reception request information.
  • the fourth embodiment further includes all the technical features of the third embodiment, and further includes a technical feature for calculating a representative hash value through calculation with neighboring hash values as in the second embodiment, for example, a technical feature using a Merkle tree. .
  • At least one neighbor hash value of which the payment agent server matches a specific hash value that is a hash value of the registration transaction wherein the neighbor hash value includes: (i) specific registration information including a specific push token ID and a specific user's public key; Or a hash value of a specific registration transaction, which is a value of processing the specific registration information, or (ii) a transaction information including at least some of a specific terminal identification information hash value, the specific push token ID, and specific payment target information, or a value that is processing the same.
  • the forgery of payment-related information such as public key, hash value, etc. is virtually impossible to ensure the reliability of the payment system, risk of exposing credit card information in the flow of payment It is possible to minimize the number of transactions and to record transactions in the blockchain of virtual currency, thereby facilitating the management of information on card payments and at the same time improving the integrity for error prevention.

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Computer Security & Cryptography (AREA)
  • Finance (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The present invention relates to a method for providing a payment agency service and a server using same, and specifically, to a method for registering an authentication certificate, a method for providing a payment agency service, a card company server, and a payment agency server. A method according to the present invention comprises the steps of: a card company server supporting a user terminal to generate and save a public key and a personal key of a user, when identity authentication information and a first push token ID is delivered from the user terminal; managing the first push token ID or a second push token ID as an integrated push token ID when the first push token ID and the second push token ID match, and saving registration information including the integrated push token ID and the public key; and supporting the payment agency server to manage user identification information including (i) a terminal identification information hash value and (ii) the user identification information including the integrated push token ID.

Description

UTXO 기반 프로토콜을 사용하여 페이먼트 게이트웨이 서비스를 제공하는 방법 및 이를 이용한 서버Method for providing payment gateway service using UTXO based protocol and server using same

본 발명은 UTXO(unspent transaction output) 기반 프로토콜을 사용하여 페이먼트 게이트웨이(payment gateway) 서비스를 제공하기 위한 방법 및 이를 이용한 서버에 관한 것으로서, 구체적으로, 페이먼트 게이트웨이(payment gateway) 서비스를 제공하기 위한 인증서의 등록 방법, 이를 이용한 결제 대행 서비스 제공 방법, 및 이를 이용하는 카드사 서버 및 결제 대행 서버에 관한 것이다. The present invention relates to a method for providing a payment gateway service using an unspent transaction output (UTXO) based protocol and a server using the same. More specifically, the present invention relates to a certificate for providing a payment gateway service. It relates to a registration method, a payment agent service providing method using the same, and a card company server and a payment agent server using the same.

인터넷 온라인 쇼핑몰 및 오프라인 상점에서의 신용카드 사용자가 증가하면서, 신용카드는 현금과 함께 중요한 결제 수단으로 자리잡고 있다. With the increase of credit card users in online shopping malls and offline stores, credit cards are becoming an important payment method along with cash.

종래에 신용카드를 이용한 일반적인 결제의 흐름은 다음과 같다.The general flow of payment using a credit card is as follows.

우선, 사용자가 특정 상품 또는 서비스를 구매하기 위하여 쇼핑몰과 같은 서비스 제공자에게 구매 요청을 하고, 온라인 인증사에 카드 번호를 입력한다. 그러면, 온라인 인증사는 카드사에 카드 번호의 인증을 요청하고, 카드사로부터 카드 번호의 인증 결과를 전달받는다. 인증 결과가 성공적이면, 온라인 인증사는 서비스 제공자에게 인증번호를 전달하고, 쇼핑몰은 암호화된 카드 번호와 인증번호를 결제 대행사(PG사; payment gateway사)에 전달하며, 결제 대행사는 이를 VAN사에 전달하고, VAN사는 이를 다시 카드사에 전달하는 연쇄적인 전달이 이루어진다. 그리고 카드사로부터 나온 승인결과가 다시 VAN사에 전달되고, VAN사로부터 결제 대행사에, 결제 대행사로부터 서비스 제공자에게 전달되어, 최종적인 승인 결과를 사용자가 전달받게 된다.First, a user makes a purchase request to a service provider such as a shopping mall in order to purchase a specific product or service, and inputs a card number to an online certification company. Then, the online certification company requests the card company to authenticate the card number, and receives an authentication result of the card number from the card company. If the authentication result is successful, the online certification company passes the authentication number to the service provider, the shopping mall passes the encrypted card number and the authentication number to the payment gateway (PG company) and the payment agency passes it to the VAN company. And, the VAN is a serial delivery is made to pass it back to the card company. Then, the approval result from the card company is delivered to the VAN company, the VAN company to the payment agency, the payment agency from the payment provider to the service provider, and the user receives the final approval result.

종래에 이와 같은 일반 결제 방식은 온라인 결제를 하기 위하여 별도의 사용자 인증과 카드 인증을 행한 후에 등록한 일반결제 비밀번호를 본인의 신용카드의 카드 번호와 함께 입력하여 결제하는 방식이었는바, 온라인 결제의 특성상 본인 확인이 취약한 형태인 신용카드의 카드 번호 입력을 통한 결제 방식이라고 할 수 있다. 또한, 결제대행사 및 VAN사에서 사용자의 카드 번호를 저장 및 이용하고 있으므로 카드 정보 누출에 대한 위험에 크게 노출되어 있는 단점이 있다.Conventionally, such a general payment method is a method of inputting a general payment password registered with a user's credit card after performing separate user authentication and card authentication to make an online payment. It can be said to be a payment method by entering a card number of a credit card which is weak in verification. In addition, since the payment agency and VAN company stores and uses the user's card number, there is a disadvantage in that the risk of leaking card information is greatly exposed.

이에 따라 종래의 일반 결제 방식을 유지하기 위하여는 정보 보호 인증, 적격 PG사, PCI-DSS 인증 자격 취득을 위한 과도한 비용과 노력이 필요하며, FDS(이상 상태 인지 시스템) 등의 이상 거래 추적 시스템 및 인력 운영이 필요한 반면에, 이에 대한 전문적인 인력이 부족한 것이 현실이다.Accordingly, in order to maintain the conventional payment method, excessive cost and effort for obtaining information protection certification, qualified PG company, and PCI-DSS certification qualification are required, and abnormal transaction tracking system such as FDS (Abnormal State Awareness System) and While manpower management is necessary, there is a lack of specialized manpower for this.

이러한 일반 결제 방식보다 한 단계 발전한 방식인 간편 결제의 결제 흐름은 다음과 같다.The payment flow of the simple payment, which is a step further than the general payment method, is as follows.

우선, 사용자가 서비스 제공자에게 구매 요청을 하면, 서비스 제공자는 결제대행사에 결제를 요청한다. 그러면, 결제대행사는 결제대행사에 의하여 사용자의 모바일 단말에 설치할 수 있도록 제공된 간편 결제 앱에 인증 요청 신호를 보내고, 사용자는 그 인증 요청 신호에 대한 응답으로서 소정의 비밀번호 입력과 같은 인증 확인 액션을 취한다. 그러면, 간편 결제 앱으로부터 신용카드의 카드 번호가 결제대행사로 전송되고, 결제대행사는 자체적으로 이를 인증 확인하고, 암호화된 카드 번호를 VAN사에 전달하며, VAN사는 다시 이를 카드사에 전달하는 전달이 이루어진다. 그리고 카드사로부터 나온 승인결과가 다시 VAN사에 전달되고, VAN사로부터 결제 대행사에, 결제 대행사로부터 서비스 제공자에게 전달되어, 최종적인 승인 결과를 사용자가 전달받게 된다.First, when a user makes a purchase request to a service provider, the service provider requests a payment from a payment agency. Then, the payment agency sends an authentication request signal to the simple payment app provided to be installed on the user's mobile terminal by the payment agency, and the user takes an authentication confirmation action such as inputting a predetermined password as a response to the authentication request signal. . Then, the card number of the credit card is sent to the payment agency from the simple payment app, the payment agency authenticates itself, passes the encrypted card number to the VAN company, and the VAN company transfers it to the card company again. . Then, the approval result from the card company is delivered to the VAN company, the VAN company to the payment agency, the payment agency from the payment provider to the service provider, and the user receives the final approval result.

이와 같은 간편 결제는 온라인 결제에 있어서 일반 결제 방식의 복잡하고 불편한 결제를 앱 비밀번호의 입력만으로 간단히 행할 수 있도록 하는 서비스이다.Such a simple payment is a service that allows a simple and complicated payment of the general payment method in the online payment simply by inputting the app password.

그런데, 이와 같은 간편 결제도, 적격 PG사의 자격을 취득한 결제대행사의 앱을 통하여 사용자의 카드 번호를 저장 및 이용하는 방식인바, 결제대행사 및 VAN사에서 사용자의 신용 카드 정보를 저장 및 이용하므로 여전히 카드 정보 노출의 위험이 있다. 앞서 언급한 일반 결제 방식의 단점과 마찬가지로 간편 결제 방식에 있어서도 정보 보호 인증, 적격 PG사, PCI-DSS 인증 자격 취득을 위한 과도한 비용과 노력이 필요하며, FDS(이상 상태 인지 시스템) 등의 이상 거래 추적 시스템 및 인력 운영이 필요한 반면에, 이에 대한 전문적인 인력이 부족한 것이 현실이다.However, such a simple payment is a method of storing and using a user's card number through an app of a qualified payment agent, which is a qualified PG company, and thus still stores and uses the user's credit card information in a payment agency and a VAN company. There is a risk of exposure. As with the shortcomings of the above-mentioned general payment method, the simple payment method requires excessive cost and effort to obtain information protection certification, qualified PG company, and PCI-DSS certification, and abnormal transactions such as FDS (Abnormal State Awareness System) While tracking systems and manpower operations are required, there is a shortage of specialist personnel.

게다가 간편 결제 방식의 절대적 사업자가 없는 상황에서는 사용자는 자신이 많이 이용하는 신용카드의 카드 번호를 다양한 간편 결제 앱에 등록하여 이용하여야 한다. 2016년 12월 현재, 네이버페이, 카카오페이, 시럽페이, 케이페이, 페이나우 등 15종 이상의 매우 다양한 간편 결제 앱이 존재하고, 서비스 제공자에 따라 사용자가 주로 사용하는 간편 결제 앱을 보유하고 있지 않은 경우에는 반복하여 신용카드 정보를 등록하여야 하는 단점이 있다.In addition, in the situation where there is no absolute operator of the simple payment method, the user must register and use the card number of the credit card he uses a lot in various simple payment apps. As of December 2016, there are more than 15 different kinds of simple payment apps, such as Naver Pay, Cacao Pay, Syrup Pay, K Pay, and Payau, and do not have simple payment apps that users mainly use depending on the service provider. In this case, it is necessary to repeatedly register credit card information.

본 발명은 상술한 문제점들을 모두 해결하는 것을 그 목적으로 한다. The present invention aims to solve all the above-mentioned problems.

또한, 본 발명은 결제의 흐름 상 신용카드 정보가 노출되는 위험을 최소화하는 것을 목적으로 한다.In addition, an object of the present invention is to minimize the risk of exposing credit card information in the flow of payment.

특히, 본 발명은 신용카드 정보가 카드 결제에 참여하는 엔티티(entity)들 사이에서 송수신되지 않게 함으로써 신용카드 정보가 노출되지 않게 되어 개인 정보가 보호되면서도, 본인 인증의 신뢰성이 높은 결제를 가능하게 되는 것을 목적으로 한다.Particularly, the present invention prevents credit card information from being transmitted and received between entities participating in the card payment, thereby preventing the credit card information from being exposed, thereby enabling payment with high reliability of personal authentication. For the purpose of

그리고 본 발명은 데이터베이스에 트랜잭션을 기록하게 함으로써 카드 결제에 관한 정보의 관리를 용이하게 함과 동시에 오류 방지를 위한 무결성을 도모할 수 있도록 하는 것을 또 다른 목적으로 한다.Another object of the present invention is to facilitate the management of information on card payment and to attain integrity for error prevention by allowing a transaction to be recorded in a database.

이를 위하여 본 발명은 카드 결제에 참여하는 모든 엔티티(entity)들이 암호학적으로 유효한 공개키-개인키 쌍(예컨대, RSA, ECC), 해시 함수 등의 암호화 기술을 이용하게 함으로써 보안이 보장되고 위변작이 불가능하게끔 한다.To this end, the present invention allows all entities participating in the card settlement to use cryptographic techniques such as cryptographically valid public key-private key pairs (eg, RSA, ECC), hash functions, etc. Makes this impossible.

그리고 본 발명은 인증서의 등록 및 결제 증명에 관한 트랜잭션을 데이터베이스에 등록함에 있어서 가상 화폐의 블록체인을 그 데이터베이스로서 활용함으로써 거래 정보의 위변작이 불가능하도록 하는 방법을 제공하는 것을 다른 목적으로 한다. Another object of the present invention is to provide a method for preventing forgery of transaction information by using a blockchain of virtual currency as a database in registering a transaction regarding certificate registration and proof of payment in a database.

상기 목적을 달성하기 위한 본 발명의 대표적인 구성은 다음과 같다.Representative configuration of the present invention for achieving the above object is as follows.

본 발명의 일 태양에 따르면, 데이터베이스를 이용하여 결제 대행(payment gateway) 서비스를 제공하기 위한 인증서의 등록 방법이 제공되는바, 그 방법은, (a) 사용자 단말로부터 본인 인증 정보 또는 이를 가공한 값, 및 상기 사용자 단말로의 푸시(push)를 위하여 상기 사용자 단말에 의하여 생성된 고유 식별자인 제1 푸시 토큰 ID(PushTokenID)가 전달되면, 카드사 서버가, 상기 사용자 단말로 하여금 상기 사용자의 공개키 및 개인키를 포함하는 키 쌍을 생성 및 저장하도록 지원하는 단계; (b) 제2 푸시 토큰 ID 및 상기 사용자의 공개키가 획득되고, 상기 제1 푸시 토큰 ID와 상기 제2 푸시 토큰 ID가 일치하면, 상기 카드사 서버가, 상기 제1 푸시 토큰 ID 또는 상기 제2 푸시 토큰 ID를 통합 푸시 토큰 ID로서 관리하고, 상기 통합 푸시 토큰 ID 및 상기 공개키를 포함하는 등록 정보를 저장하는 단계; 및 (c) 상기 등록 정보가 저장되면, 상기 카드사 서버가, (i) 상기 사용자 단말을 식별하기 위한 정보인 단말 식별 정보를 해시 연산한 결과값인 단말 식별 정보 해시값, 및 (ii) 상기 통합 푸시 토큰 ID를 포함하는 사용자 식별 정보를 결제 대행 서버로 전달함으로써 상기 결제 대행 서버로 하여금 상기 사용자 식별 정보를 관리하도록 지원하는 단계를 포함한다.According to one aspect of the present invention, a method for registering a certificate for providing a payment gateway service using a database is provided, which method includes: (a) identity authentication information or a value obtained by processing the same from a user terminal; , And when a first push token ID (PushTokenID), which is a unique identifier generated by the user terminal, is passed for pushing to the user terminal, the card company server causes the user terminal to send the user's public key and Supporting generating and storing a key pair comprising a private key; (b) if a second push token ID and the public key of the user are obtained, and the first push token ID and the second push token ID match, the card company server, the first push token ID or the second push token ID; Managing a push token ID as an integrated push token ID and storing registration information including the integrated push token ID and the public key; And (c) when the registration information is stored, the card company server, (i) a terminal identification information hash value which is a result of hashing terminal identification information which is information for identifying the user terminal, and (ii) the integration. And supporting the payment agent server to manage the user identification information by transferring the user identification information including the push token ID to the payment agent server.

본 발명의 다른 태양에 따르면, 데이터베이스를 이용하여 결제 대행(payment gateway) 서비스를 제공하기 위한 인증서의 등록 방법이 제공되는바, 그 방법은, (a) (i) 사용자 단말로부터 본인 인증 정보 또는 이를 가공한 값, 및 상기 사용자 단말로의 푸시(push)를 위하여 상기 사용자 단말에 의하여 생성된 고유 식별자인 제1 푸시 토큰 ID(PushTokenID)를 전달받은 카드사 서버가 상기 사용자 단말로 하여금 상기 사용자의 공개키 및 개인키를 포함하는 키 쌍을 생성 및 저장하도록 지원하고, (ii) 제2 푸시 토큰 ID 및 상기 사용자의 공개키가 획득되고, 상기 제1 푸시 토큰 ID와 상기 제2 푸시 토큰 ID가 일치하여, 상기 카드사 서버가, 상기 제1 푸시 토큰 ID 또는 상기 제2 푸시 토큰 ID를 통합 푸시 토큰 ID로서 관리하고, 상기 통합 푸시 토큰 ID 및 상기 공개키를 포함하는 등록 정보를 저장하여 상기 등록 정보가 저장된 상태에서, 결제 대행 서버가, 상기 카드사 서버로부터 상기 사용자 단말을 식별하기 위한 정보인 단말 식별 정보를 해시 연산한 결과값인 단말 식별 정보 해시값, 및 상기 통합 푸시 토큰 ID를 포함하는 사용자 식별 정보를 획득하는 단계; 및 (b) 상기 사용자 식별 정보가 획득되면, 상기 결제 대행 서버가, 상기 사용자 식별 정보를 관리하는 단계를 포함한다.According to another aspect of the present invention, a method for registering a certificate for providing a payment gateway service using a database is provided, which method includes: (a) (i) identity authentication information or the same from a user terminal; The card company server, which has received the processed value and the first push token ID (PushTokenID) which is a unique identifier generated by the user terminal for pushing to the user terminal, causes the user terminal to send the user's public key. And generate and store a key pair comprising a private key, (ii) a second push token ID and the user's public key are obtained, and the first push token ID and the second push token ID match The card company server manages the first push token ID or the second push token ID as an integrated push token ID, and includes the integrated push token ID and the public key. A terminal identification information hash value which is a result of hash calculation of terminal identification information which is information for identifying the user terminal from the card company server, and the integration, when the lock information is stored and the registration information is stored. Obtaining user identification information including a push token ID; And (b) when the user identification information is obtained, the payment agent server managing the user identification information.

본 발명의 또 다른 태양에 따르면, 데이터베이스를 이용하여 결제 대행(payment gateway) 서비스를 제공하는 방법이 제공되는바, 그 방법은, (a) 사용자의 결제 요청에 따라 사용자 단말에 대응되는 제1 푸시 토큰 ID(PushTokenID) 및 결제 대상 정보를 포함하는 결제 접수 요청 정보가 결제 대행 서버로부터 획득되면, 카드사 서버가, (i) 상기 사용자 단말을 식별하기 위한 정보인 단말 식별 정보를 해시 연산한 결과값인 단말 식별 정보 해시값을 포함하는 결제 접수 결과 정보를 상기 결제 대행 서버에 전달하는 프로세스 및 (ii) 상기 결제 접수 요청 정보에 응하여 상기 결제 대상 정보 및 상기 결제 대상 정보에 대한 인증을 요청하는 정보인 인증 요청 정보를 상기 사용자 단말에 전달하는 프로세스를 수행하는 단계; (b) 상기 인증 요청 정보에 대한 응답으로서 상기 사용자의 승인 하에서 제2 푸시 토큰 ID를 포함하는 결제 승인 요청 정보가 획득되고, 상기 제1 푸시 토큰 ID와 상기 제2 푸시 토큰 ID가 일치하면, 상기 카드사 서버가, 상기 제1 푸시 토큰 ID 또는 상기 제2 푸시 토큰 ID를 통합 푸시 토큰 ID로서 관리하고, 상기 결제 승인 요청 정보의 유효성을 검증하는 단계; 및 (c) 상기 결제 승인 요청 정보가 유효하면, 상기 카드사 서버가, 상기 결제 승인 요청 정보에 따른 카드 승인을 처리하는 단계를 포함한다.According to another aspect of the present invention, there is provided a method for providing a payment gateway service using a database, the method comprising: (a) a first push corresponding to a user terminal in response to a user's payment request; When payment reception request information including a token ID (PushTokenID) and payment target information is obtained from a payment agent server, the card company server (i) is a result of hashing terminal identification information which is information for identifying the user terminal. A process of delivering payment receipt result information including a terminal identification information hash value to the payment agency server; and (ii) authentication which is information for requesting authentication for the payment target information and the payment target information in response to the payment reception request information. Performing a process of delivering request information to the user terminal; (b) if payment approval request information including a second push token ID is obtained under the user's approval as a response to the authentication request information, and the first push token ID and the second push token ID match, the Managing, by the card company server, the first push token ID or the second push token ID as an integrated push token ID, and validating the payment approval request information; And (c) if the payment approval request information is valid, processing the card approval according to the payment approval request information by the card company server.

본 발명의 또 다른 태양에 따르면, 데이터베이스를 이용하여 결제 대행(payment gateway) 서비스를 제공하는 방법이 제공되는바, 그 방법은, (a) 사용자의 결제 요청에 응하여 서비스 제공자의 서버인 서비스 제공자 서버로부터 사용자 단말을 식별하기 위한 정보인 단말 식별 정보를 해시 연산한 결과값인 단말 식별 정보 해시값, 결제 대상 정보 및 서비스 제공자 인증 정보가 획득되면, 결제 대행 서버가, 상기 사용자 단말에 대응되는 제1 푸시 토큰 ID(PushTokenID) 및 결제 대상 정보를 포함하는 결제 접수 요청 정보를 카드사 서버에 전달하는 단계; (b) 상기 카드사 서버로부터 상기 단말 식별 정보 해시값 및 상기 결제 대상 정보에 포함된 주문 번호를 포함하는 결제 접수 결과 정보가 획득되면, 상기 결제 대행 서버가, 상기 결제 접수 결과 정보를 상기 서비스 제공자 서버에 전달하는 단계; 및 (c) 상기 결제 접수 요청 정보에 응하여 카드사 서버로부터 상기 사용자 단말에 전달된 상기 결제 대상 정보 및 상기 결제 대상 정보에 대한 인증을 요청하는 정보인 인증 요청 정보에 대한 응답으로서 상기 사용자의 승인 하에 상기 사용자 단말로부터 상기 카드사 서버에 전달된 결제 승인 요청 정보를 참조로 하여 획득된 결제 승인 결과가 성공적임이 상기 카드사 서버로부터 전달되고, 상기 결제 승인 요청 정보에 포함된 제2 푸시 토큰 ID가 상기 제1 푸시 토큰 ID가 일치하면, 상기 결제 대행 서버가, 상기 제1 푸시 토큰 ID 또는 상기 제2 푸시 토큰 ID를 통합 푸시 토큰 ID로서 관리하고, 상기 단말 식별 정보 해시값, 상기 통합 푸시 토큰 ID, 및 상기 결제 대상 정보 중 적어도 일부를 포함하는 트랜잭션 정보 또는 이를 가공한 값을 결제 내용 증명 트랜잭션으로서 상기 데이터베이스 상에 기록하거나 상기 결제 대행 서버에 연동되는 타 장치로 하여금 기록하도록 지원하는 단계를 포함한다.According to another aspect of the present invention, there is provided a method for providing a payment gateway service using a database, the method comprising: (a) a service provider server that is a server of a service provider in response to a user's payment request; When the terminal identification information hash value, the payment target information, and the service provider authentication information, which are the result of hashing the terminal identification information which is information for identifying the user terminal from the terminal, are obtained, the payment agent server may be configured to perform a first operation corresponding to the user terminal. Transmitting payment acceptance request information including a push token ID (PushTokenID) and payment target information to a card company server; (b) when the payment reception result information including the terminal identification information hash value and the order number included in the payment target information is obtained from the card company server, the payment agency server sends the payment reception result information to the service provider server. Delivering to; And (c) receiving the user's approval in response to the authentication request information, which is information for requesting authentication of the payment object information and the payment object information transmitted from the card company server to the user terminal in response to the payment reception request information. The payment approval result obtained by referring to payment approval request information transmitted from the user terminal to the card company server is successful is transmitted from the card company server, and the second push token ID included in the payment approval request information is the first push. If the token IDs match, the payment agent server manages the first push token ID or the second push token ID as an integrated push token ID, the terminal identification information hash value, the integrated push token ID, and the payment. Transaction information including at least a part of the target information or a processed value of the proof of payment content Sean as a step that supports recording on the database, or to allow the recording to another device linked to the settlement server.

본 발명의 또 다른 태양에 따르면, 데이터베이스를 이용하여 결제 대행(payment gateway) 서비스를 제공하기 위하여 인증서의 등록 방법을 수행하는 카드사 서버가 제공되는바, 그 서버는, 사용자 단말로부터 본인 인증 정보 또는 이를 가공한 값, 및 상기 사용자 단말로의 푸시(push)를 위하여 상기 사용자 단말에 의하여 생성된 고유 식별자인 제1 푸시 토큰 ID(PushTokenID)를 전달받거나 타 장치로 하여금 전달받도록 지원하는 통신부; 및 (i) 상기 본인 인증 정보 또는 이를 가공한 값, 및 상기 제1 푸시 토큰 ID가 전달되면, 상기 사용자 단말로 하여금 상기 사용자의 공개키 및 개인키를 포함하는 키 쌍을 생성 및 저장하도록 지원하는 프로세스, (ii) 제2 푸시 토큰 ID 및 상기 사용자의 공개키가 획득되고, 상기 제1 푸시 토큰 ID와 상기 제2 푸시 토큰 ID가 일치하면, 상기 제1 푸시 토큰 ID 또는 상기 제2 푸시 토큰 ID를 통합 푸시 토큰 ID로서 관리하고, 상기 통합 푸시 토큰 ID 및 상기 공개키를 포함하는 등록 정보를 저장하는 프로세스, 및 (iii) 상기 등록 정보가 저장되면, (i) 상기 사용자 단말을 식별하기 위한 정보인 단말 식별 정보를 해시 연산한 결과값인 단말 식별 정보 해시값, 및 (ii) 상기 통합 푸시 토큰 ID를 포함하는 사용자 식별 정보를 결제 대행 서버로 전달함으로써 상기 결제 대행 서버로 하여금 상기 사용자 식별 정보를 관리하도록 지원하는 프로세스를 수행하는 프로세서를 포함한다. According to another aspect of the present invention, there is provided a card company server that performs a registration method of a certificate to provide a payment gateway service using a database, the server, the user authentication information or from the user terminal A communicator configured to receive a processed value and a first push token ID (PushTokenID), which is a unique identifier generated by the user terminal for pushing to the user terminal, or to allow another device to receive the processed value; And (i) when the user authentication information or the processed value and the first push token ID are delivered, allowing the user terminal to generate and store a key pair including the public key and the private key of the user. Process, (ii) if a second push token ID and a public key of the user are obtained, and the first push token ID and the second push token ID match, the first push token ID or the second push token ID Is managed as an integrated push token ID, and stores registration information including the integrated push token ID and the public key, and (iii) when the registration information is stored, (i) information for identifying the user terminal. The terminal identification information hash value, which is a result of hashing the terminal identification information, and (ii) the user's identification information including the integrated push token ID to the payment agent server by transmitting the payment agent. Burrow to cause a processor to perform a process that helps manage the user identification information.

본 발명의 또 다른 태양에 따르면, 데이터베이스를 이용하여 결제 대행(payment gateway) 서비스를 제공하기 위하여 인증서의 등록 방법을 수행하는 결제 대행 서버가 제공되는바, 그 서버는, (i) 사용자 단말로부터 본인 인증 정보 또는 이를 가공한 값, 및 상기 사용자 단말로의 푸시(push)를 위하여 상기 사용자 단말에 의하여 생성된 고유 식별자인 제1 푸시 토큰 ID(PushTokenID)를 전달 받은 카드사 서버가 상기 사용자 단말로 하여금 상기 사용자의 공개키 및 개인키를 포함하는 키 쌍을 생성 및 저장하도록 지원하고, (ii) 제2 푸시 토큰 ID 및 상기 사용자의 공개키가 획득되고, 상기 제1 푸시 토큰 ID와 상기 제2 푸시 토큰 ID가 일치하여, 상기 카드사 서버가, 상기 제1 푸시 토큰 ID 또는 상기 제2 푸시 토큰 ID를 통합 푸시 토큰 ID로서 관리하고, 상기 통합 푸시 토큰 ID 및 상기 공개키를 포함하는 등록 정보를 저장하여 상기 등록 정보가 저장된 상태에서, 상기 카드사 서버로부터 상기 사용자 단말을 식별하기 위한 정보인 단말 식별 정보를 해시 연산한 결과값인 단말 식별 정보 해시값, 및 상기 통합 푸시 토큰 ID를 포함하는 사용자 식별 정보를 획득하거나 타 장치로 하여금 획득하도록 지원하는 통신부; 및 상기 사용자 식별 정보가 획득되면, 상기 사용자 식별 정보를 관리하는 프로세서를 포함한다.According to another aspect of the present invention, there is provided a payment agent server that performs a method of registering a certificate to provide a payment gateway service using a database, the server comprising: (i) the user from the user terminal; The card company server, which has received the authentication information or the processed value and the first push token ID (PushTokenID) which is a unique identifier generated by the user terminal for pushing to the user terminal, causes the user terminal to receive the information. Support for generating and storing a key pair comprising a user's public key and a private key, (ii) a second push token ID and the user's public key are obtained, and the first push token ID and the second push token As the IDs match, the card company server manages the first push token ID or the second push token ID as an integrated push token ID, and the integrated push token I A terminal identification information hash value which is a result of hashing terminal identification information which is information for identifying the user terminal from the card company server while storing registration information including D and the public key and storing the registration information; And a communicator configured to acquire user identification information including the integrated push token ID or to allow another device to obtain the identification information. And a processor managing the user identification information when the user identification information is obtained.

본 발명의 또 다른 태양에 따르면, 데이터베이스를 이용하여 결제 대행(payment gateway) 서비스를 제공하는 방법을 수행하는 카드사 서버가 제공되는바, 그 서버는, 사용자의 결제 요청에 따라 사용자 단말에 대응되는 제1 푸시 토큰 ID(PushTokenID) 및 결제 대상 정보를 포함하는 결제 접수 요청 정보를 결제 대행 서버로부터 획득하거나 타 장치로 하여금 획득하도록 지원하는 통신부; 및 상기 결제 접수 요청 정보가 획득되면, (i) 상기 사용자 단말을 식별하기 위한 정보인 단말 식별 정보를 해시 연산한 결과값인 단말 식별 정보 해시값을 포함하는 결제 접수 결과 정보를 상기 결제 대행 서버에 전달하는 프로세스 및 (ii) 상기 결제 접수 요청 정보에 응하여 상기 결제 대상 정보 및 상기 결제 대상 정보에 대한 인증을 요청하는 정보인 인증 요청 정보를 상기 사용자 단말에 전달하거나 타 장치로 하여금 전달하도록 지원하는 프로세스를 수행하는 프로세서를 포함하되, 상기 프로세서는, 상기 인증 요청 정보에 대한 응답으로서 상기 사용자의 승인 하에서 제2 푸시 토큰 ID를 포함하는 결제 승인 요청 정보가 획득되고, 상기 제1 푸시 토큰 ID와 상기 제2 푸시 토큰 ID가 일치하면, 상기 제1 푸시 토큰 ID 또는 상기 제2 푸시 토큰 ID를 통합 푸시 토큰 ID로서 관리하고, 상기 결제 승인 요청 정보의 유효성을 검증하거나 타 장치로 하여금 검증하도록 지원하며, 상기 결제 승인 요청 정보가 유효하면, 상기 결제 승인 요청 정보에 따른 카드 승인을 처리하는 것을 특징으로 한다.According to another aspect of the present invention, there is provided a card company server that performs a method for providing a payment gateway service using a database, the server corresponding to the user terminal in response to a user's payment request A communication unit configured to obtain payment reception request information including a push token ID and a payment target information from a payment agent server or to allow another device to obtain information; And when the payment acceptance request information is obtained, (i) transmitting the payment acceptance result information including the terminal identification information hash value, which is a result of hashing the terminal identification information which is information for identifying the user terminal, to the payment agency server. (Ii) a process of delivering to the user terminal or requesting another device to transmit authentication request information, which is information for requesting authentication of the payment target information and the payment target information, in response to the payment reception request information; And a processor configured to perform the processing, wherein the processor is further configured to obtain payment approval request information including a second push token ID under the user's approval as a response to the authentication request information, wherein the first push token ID and the first push token ID are obtained. 2 If the push token ID matches, the first push token ID or the second push token ID is unified; Manage as a token ID, and verify the validity of the payment authorization request information or to allow other devices to verify, and if the payment authorization request information is valid, processing the card authorization according to the payment authorization request information. .

본 발명의 또 다른 태양에 따르면, 데이터베이스를 이용하여 결제 대행(payment gateway) 서비스를 제공하는 방법을 수행하는 결제 대행 서버가 제공되는바, 그 서버는, 사용자의 결제 요청에 응하여 서비스 제공자의 서버인 서비스 제공자 서버로부터 사용자 단말을 식별하기 위한 정보인 단말 식별 정보를 해시 연산한 결과값인 단말 식별 정보 해시값, 결제 대상 정보 및 서비스 제공자 인증 정보를 획득하거나 타 장치로 하여금 획득하도록 지원하는 통신부; 및 (i) 상기 단말 식별 정보 해시값, 상기 결제 대상 정보 및 상기 서비스 제공자 인증 정보가 획득되면, 상기 사용자 단말에 대응되는 제1 푸시 토큰 ID(PushTokenID) 및 결제 대상 정보를 포함하는 결제 접수 요청 정보를 카드사 서버에 전달하는 프로세스, (ii) 상기 카드사 서버로부터 상기 단말 식별 정보 해시값 및 상기 결제 대상 정보에 포함된 주문 번호를 포함하는 결제 접수 결과 정보가 획득되면, 상기 결제 접수 결과 정보를 상기 서비스 제공자 서버에 전달하는 프로세스, 및 (iii) 상기 결제 접수 요청 정보에 응하여 카드사 서버로부터 상기 사용자 단말에 전달된 상기 결제 대상 정보 및 상기 결제 대상 정보에 대한 인증을 요청하는 정보인 인증 요청 정보에 대한 응답으로서 상기 사용자의 승인 하에 상기 사용자 단말로부터 상기 카드사 서버에 전달된 결제 승인 요청 정보를 참조로 하여 획득된 결제 승인 결과가 성공적임이 상기 카드사 서버로부터 전달되고, 상기 결제 승인 요청 정보에 포함된 제2 푸시 토큰 ID가 상기 제1 푸시 토큰 ID가 일치하면, 상기 제1 푸시 토큰 ID 또는 상기 제2 푸시 토큰 ID를 통합 푸시 토큰 ID로서 관리하고, 상기 단말 식별 정보 해시값, 상기 통합 푸시 토큰 ID, 및 상기 결제 대상 정보 중 적어도 일부를 포함하는 트랜잭션 정보 또는 이를 가공한 값을 결제 내용 증명 트랜잭션으로서 상기 데이터베이스 상에 기록하거나 상기 결제 대행 서버에 연동되는 타 장치로 하여금 기록하도록 지원하는 프로세스를 수행하는 프로세서를 포함한다.According to yet another aspect of the present invention, there is provided a payment agent server that performs a method for providing a payment gateway service using a database, the server being a server of a service provider in response to a user's payment request. A communication unit for acquiring the terminal identification information hash value, the payment object information, and the service provider authentication information, which are the result of hashing the terminal identification information, which is information for identifying the user terminal, from the service provider server; And (i) payment receipt request information including a first push token ID (PushTokenID) and payment target information corresponding to the user terminal when the terminal identification information hash value, the payment target information, and the service provider authentication information are obtained. (Ii) when the payment acceptance result information including the terminal identification information hash value and the order number included in the payment target information is obtained from the card company server, the payment reception result information is transmitted to the service provider. A process for delivering to a provider server, and (iii) a response to authentication request information which is information for requesting authentication for the payment target information and the payment target information transmitted from the card company server to the user terminal in response to the payment reception request information. Transfer from the user terminal to the card company server with the user's approval as If the payment approval result obtained with reference to the payment approval request information has been successfully transmitted from the card company server, and the second push token ID included in the payment approval request information matches the first push token ID, Manage one push token ID or the second push token ID as an integrated push token ID, and include transaction information or at least some of the terminal identification information hash value, the integrated push token ID, and the payment target information; And a processor configured to record a value on the database as a proof of payment transaction or to allow another device linked to the payment agent server to record a value.

본 발명에 의하면, 결제의 흐름 상 신용카드 정보가 노출되는 위험이 최소화되는 효과가 있다. 구체적으로, 본 발명에 따르면 결제 대행 서버를 운영하는 결제대행사가 결제를 위한 신용카드 번호를 저장할 필요가 없어진다.According to the present invention, there is an effect of minimizing the risk of exposing credit card information in the flow of payment. Specifically, according to the present invention, a payment agency operating a payment agent server does not need to store a credit card number for payment.

또한, 본 발명은 데이터베이스에 인증서의 등록 및 결제 증명에 관한 트랜잭션을 등록하여 카드 결제에 관한 정보의 관리를 용이하게 함과 동시에 오류 방지를 위한 무결성을 도모하여 신용카드 결제 시스템의 신뢰성 및 보안성을 향상시킬 수 있다.In addition, the present invention registers a transaction related to the registration of the certificate and proof of payment in the database to facilitate the management of the information on the card payment, and at the same time to improve the integrity for error prevention reliability and security of the credit card payment system Can be improved.

이를 위하여 본 발명은 카드 결제에 참여하는 모든 엔티티(entity)들이 암호학적으로 유효한 공개키-개인키 쌍(예컨대, RSA, ECC), 해시 함수 등의 암호화 기술을 이용하게 함으로써 보안이 보장되고 위변작이 불가능해진다.To this end, the present invention allows all entities participating in the card settlement to use cryptographic techniques such as cryptographically valid public key-private key pairs (eg, RSA, ECC), hash functions, etc. This becomes impossible.

본 발명에 따르면 종래의 결제대행사, VAN사를 경유하는 복잡한 프로세스가 필요하지 않게 되므로 쇼핑몰과 같은 서비스 제공자는 간편 결제, 일반 결제, 안심 결제 등과 같은 복잡한 시스템을 도입할 필요가 없어지는 효과가 있다.According to the present invention, since a complicated process of passing through the conventional payment agency and the VAN company is not necessary, a service provider such as a shopping mall does not need to introduce a complicated system such as simple payment, general payment, and secure payment.

덧붙여, 본 발명은 가상 화폐의 블록체인에 트랜잭션을 기록하게 함으로써 거래 정보의 위변작이 불가능하도록 하여 신용 카드 결제 시스템 전체의 신뢰성 및 보안성을 향상시킬 수 있는 효과가 있다.In addition, the present invention has the effect of improving the reliability and security of the entire credit card payment system by making it impossible to forgery the transaction information by recording the transaction in the blockchain of the virtual currency.

도 1은 본 발명의 일 실시예에 따라 결제 대행 서비스를 제공하기 위한 서버 장치를 개략적으로 도시한 개념도이다.1 is a conceptual diagram schematically illustrating a server device for providing a payment agency service according to an embodiment of the present invention.

도 2는 본 발명의 제1 및 제2 실시예에 따라 결제 대행 서비스를 제공하기 위한 인증서의 등록 방법을 개략적으로 도시한 시퀀스 다이어그램(sequence diagram)이다.FIG. 2 is a sequence diagram schematically illustrating a method for registering a certificate for providing a payment agent service according to the first and second embodiments of the present invention.

도 3은 본 발명의 제1 및 제2 실시예에 따라 결제 대행 서비스를 제공하는 방법을 개략적으로 도시한 시퀀스 다이어그램이다.3 is a sequence diagram schematically illustrating a method for providing a payment agency service according to the first and second embodiments of the present invention.

도 4는 도 3에 도시된 방법의 특정 단계들을 더 세분화하여 도시한 시퀀스 다이어그램이다.FIG. 4 is a sequence diagram showing further subdivisions of specific steps of the method shown in FIG. 3.

도 5는 본 발명의 제3 및 제4 실시예에 따라 결제 대행 서비스를 제공하기 위한 인증서의 등록 방법을 개략적으로 도시한 시퀀스 다이어그램이다.5 is a sequence diagram schematically illustrating a method of registering a certificate for providing a payment agency service according to the third and fourth embodiments of the present invention.

도 6은 본 발명의 제3 및 제4 실시예에 따라 결제 대행 서비스를 제공하는 방법을 개략적으로 도시한 시퀀스 다이어그램이다.6 is a sequence diagram schematically illustrating a method for providing a payment agency service according to the third and fourth embodiments of the present invention.

도 7은 도 6에 도시된 방법의 특정 단계들을 더 세분화하여 도시한 시퀀스 다이어그램이다.FIG. 7 is a sequence diagram showing further subdivisions of specific steps of the method shown in FIG. 6.

도 8 및 도 9는 본 발명의 제2 및 제4 실시예에 따라 관련 트랜잭션이 소정의 데이터베이스에 기록되는 과정을 개략적으로 도시한 개념도이다.8 and 9 are conceptual views schematically illustrating a process in which related transactions are recorded in a predetermined database according to the second and fourth embodiments of the present invention.

후술하는 본 발명에 대한 상세한 설명은, 본 발명의 목적들, 기술적 해법들 및 장점들을 분명하게 하기 위하여 본 발명이 실시될 수 있는 특정 실시예를 예시로서 도시하는 첨부 도면을 참조한다. 이들 실시예는 통상의 기술자가 본 발명을 실시할 수 있기에 충분하도록 상세히 설명된다. DETAILED DESCRIPTION The following detailed description of the invention refers to the accompanying drawings that show, by way of illustration, specific embodiments in which the invention may be practiced to clarify the objects, technical solutions and advantages of the invention. These embodiments are described in sufficient detail to enable those skilled in the art to practice the invention.

본 명세서에서 “데이터베이스”라고 함은, 체계화된 데이터, 즉 통합 관리되는 정보의 집합 및 이를 관리하는 시스템을 의미하는바, 일반 관계형 데이터베이스, 몽고 데이터베이스(MongoDB), 및 블록체인 데이터베이스를 포함하나 이에 한정되지 않는다. 본 명세서에서는 설명의 편의상, 가상 화폐의 블록체인 데이터베이스를 예시로 설명하고 있으나 이에 한정되지 않음을 통상의 기술자는 이해할 수 있을 것이다.As used herein, the term “database” refers to a system of data, that is, a set of integrated managed information and a system for managing the same, including, but not limited to, a general relational database, a MongoDB database, and a blockchain database. It doesn't work. In the present specification, for convenience of description, a blockchain database of virtual currency is described as an example, but a person skilled in the art will understand that the present invention is not limited thereto.

본 명세서에서 “퍼블릭 블록체인 데이터베이스”라고 함은, 가상 화폐의 블록체인으로서 공중에 널리 이용되고 있는 블록체인인 퍼블릭 블록체인을 관장하는 가상 화폐 시스템 상의 모든 컴퓨팅 장치들을 데이터베이스로서 활용하는 것을 지칭하는바, 본 발명에 따른 서버들이 이에 접근 가능하다.As used herein, the term "public blockchain database" refers to utilizing all computing devices on a virtual currency system that manages the blockchain public blockchain, which is widely used in the public as a blockchain of virtual currency, as a database. The servers according to the invention are accessible to this.

상기 가상 화폐는 블록체인 기술이 적용된 전자 지갑을 기반으로 하는 트랜잭션(transaction)에 의하여 유통되는 디지털 화폐를 지칭하는바, 가상 화폐에는 비트코인, 라이트코인, 다크코인, 네임코인, 도기코인 및 리플 등이 있다.The virtual currency refers to a digital currency circulated by a transaction based on an electronic wallet with blockchain technology, and in the virtual currency, bitcoin, light coin, dark coin, name coin, ceramic coin, ripple, etc. There is this.

또한, 본 명세서에서 “프라이빗 블록체인 데이터베이스”라고 함은, 가상 화폐의 블록체인을 이용하되, 상기 공중에 이용되는 퍼블릭 블록체인이 아닌 본 발명에 따른 서버들이 직접 관리하는 이른바, 독자 구성된 프라이빗 블록체인을 이용하는 데이터베이스를 지칭한다.In addition, the term “private blockchain database” in the present specification refers to a so-called, privately configured private blockchain that is directly managed by servers according to the present invention, which uses a blockchain of virtual currency but is not a public blockchain used in the air. Refers to a database using.

그리고 본 명세서에서 “결제 대행 서버”라고 함은, 결제대행사가 본 발명의 결제 대행 서비스를 제공하기 위하여 운영하는 서버 장치를 지칭하며, “카드사 서버”라고 함은, 카드사가 본 발명의 결제 대행 서비스에 응하여 카드 결제 서비스를 제공하기 위한 운영하는 서버 장치를 지칭한다.In addition, the term “payment agency server” in the present specification refers to a server device operated by a payment agency to provide a payment agency service of the present invention, and “card company server” refers to a payment agent service of a card company of the present invention. In response to the card refers to the operating server device for providing a card payment service.

또한, 본 발명의 상세한 설명 및 청구항들에 걸쳐, ‘포함하다’라는 단어 및 그것의 변형은 다른 기술적 특징들, 부가물들, 구성요소들 또는 단계들을 제외하는 것으로 의도된 것이 아니다. 통상의 기술자에게 본 발명의 다른 목적들, 장점들 및 특성들이 일부는 본 설명서로부터, 그리고 일부는 본 발명의 실시로부터 드러날 것이다. 아래의 예시 및 도면은 실례로서 제공되며, 본 발명을 한정하는 것으로 의도된 것이 아니다.Moreover, throughout the description and claims of the present invention, the word "comprises" and variations thereof are not intended to exclude other technical features, additives, components or steps. Other objects, advantages and features of the present invention will become apparent to those skilled in the art, in part from this description and in part from the practice of the invention. The following examples and drawings are provided by way of illustration and are not intended to limit the invention.

더욱이 본 발명은 본 명세서에 표시된 실시예들의 모든 가능한 조합들을 망라한다. 본 발명의 다양한 실시예는 서로 다르지만 상호 배타적일 필요는 없음이 이해되어야 한다. 예를 들어, 여기에 기재되어 있는 특정 형상, 구조 및 특성은 일 실시예에 관련하여 본 발명의 정신 및 범위를 벗어나지 않으면서 다른 실시예로 구현될 수 있다. 또한, 각각의 개시된 실시예 내의 개별 구성요소의 위치 또는 배치는 본 발명의 정신 및 범위를 벗어나지 않으면서 변경될 수 있음이 이해되어야 한다. 따라서, 후술하는 상세한 설명은 한정적인 의미로서 취하려는 것이 아니며, 본 발명의 범위는, 적절하게 설명된다면, 그 청구항들이 주장하는 것과 균등한 모든 범위와 더불어 첨부된 청구항에 의해서만 한정된다. 도면에서 유사한 참조부호는 여러 측면에 걸쳐서 동일하거나 유사한 기능을 지칭한다. Moreover, the present invention encompasses all possible combinations of the embodiments indicated herein. It should be understood that the various embodiments of the present invention are different but need not be mutually exclusive. For example, certain shapes, structures, and characteristics described herein may be embodied in other embodiments without departing from the spirit and scope of the invention with respect to one embodiment. In addition, it is to be understood that the location or arrangement of individual components within each disclosed embodiment may be changed without departing from the spirit and scope of the invention. The following detailed description, therefore, is not to be taken in a limiting sense, and the scope of the present invention, if properly described, is defined only by the appended claims, along with the full range of equivalents to which such claims are entitled. Like reference numerals in the drawings refer to the same or similar functions throughout the several aspects.

본 발명의 제1 실시예는, 본 발명에 따른 결제 방식에 있어서 카드사가 운영하는 카드사 서버가 주된 역할을 하는 방식으로 구성되고, 필요에 따라서 개별 트랜잭션을 제1 데이터베이스에 기록하도록 구성되는 실시예이다.The first embodiment of the present invention is an embodiment in which the card company server operated by the card company plays a main role in the payment method according to the present invention, and is configured to record individual transactions in the first database as necessary. .

본 발명의 제2 실시예는, 본 발명에 따른 결제 방식에 있어서 카드사가 운영하는 카드사 서버가 주된 역할을 하는 방식으로 구성되되, 개별 트랜잭션을 제1 데이터베이스에 기록한 후, 그 제1 데이터베이스에 기록된 트랜잭션들로부터 생성되는 대표 해시값을 제2 데이터베이스에 기록함으로써 이중으로 기록의 무결성을 도모하는 앵커링(anchoring) 방식으로 구성되는 실시예이다.The second embodiment of the present invention is configured in such a way that the card company server operated by the card company plays a main role in the payment method according to the present invention, and after recording individual transactions in the first database, the first transaction is recorded in the first database. The embodiment is configured in an anchoring manner in which the integrity of the recording is doubled by recording the representative hash value generated from the transactions in the second database.

본 발명의 제3 실시예는, 본 발명에 따른 결제 방식에 있어서 결제대행사가 운영하는 결제 대행 서버가 주된 역할을 하는 방식으로 구성되고, 필요에 따라 개별 트랜잭션을 제1 데이터베이스에 기록하도록 구성되는 실시예이다.The third embodiment of the present invention is implemented in such a way that the payment agent server operated by the payment agency in the payment method according to the present invention plays a main role, and is configured to record individual transactions in the first database as necessary. Yes.

본 발명의 제4 실시예는, 본 발명에 따른 결제 방식에 있어서 결제대행사가 운영하는 결제 대행 서버가 주된 역할을 하는 방식으로 구성되되, 개별 트랜잭션을 제1 데이터베이스에 기록한 후, 그 제1 데이터베이스에 기록된 트랜잭션들로부터 생성되는 대표 해시값을 제2 데이터베이스에 기록함으로써 이중으로 기록의 무결성을 도모하는 앵커링 방식으로 구성되는 실시예이다.In the fourth embodiment of the present invention, the payment agent server operated by the payment agency in the payment method according to the present invention is configured in such a manner that the main role is recorded, after recording the individual transactions in the first database, and in the first database. It is an embodiment configured in an anchoring manner to double the record integrity by writing a representative hash value generated from recorded transactions to a second database.

참고로, 본 발명에서 상기 제1 데이터베이스가 트랜잭션의 데이터가 직접 기록되는 데이터베이스라고 한다면, 상기 제2 데이터베이스는 데이터의 무결성을 위하여 상기 제1 데이터베이스를 거쳐 간접적으로 기록되는 데이터베이스라고 할 수 있다.For reference, in the present invention, if the first database is a database in which data of a transaction is directly recorded, the second database may be referred to as a database that is indirectly recorded through the first database for data integrity.

본 명세서에서 달리 표시되거나 분명히 문맥에 모순되지 않는 한, 단수로 지칭된 항목은, 그 문맥에서 달리 요구되지 않는 한, 복수의 것을 아우른다. 이하, 통상의 기술자가 본 발명을 용이하게 실시할 수 있도록 하기 위하여, 본 발명의 바람직한 실시예들에 관하여 첨부된 도면을 참조하여 상세히 설명하기로 한다.Unless otherwise indicated herein or clearly contradicted by context, an item referred to in the singular encompasses the plural unless the context otherwise requires. Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily implement the present invention.

도 1은 본 발명의 일 실시예에 따라 결제 대행 서비스를 제공하기 위한 서버 장치를 개략적으로 도시한 개념도이다.1 is a conceptual diagram schematically illustrating a server device for providing a payment agency service according to an embodiment of the present invention.

도 1을 참조하면, 본 발명에 따른 서버 장치인, 결제 대행 서버 및 카드사 서버는 통신부(110) 및 프로세서(120)를 포함하는 컴퓨팅 장치(100)일 수 있으며, 다른 컴퓨팅 장치와 간접 또는 직접적으로 통신할 수 있다. 결제 대행 서버는 후술하는 바와 같이 결제 대행 관리 서버를 포함하는 다수의 컴퓨팅 장치로 구성될 수 있으며, 카드사 서버도 마찬가지로 카드사 관리 서버를 포함하는 다수의 컴퓨팅 장치로 구성될 수 있다.Referring to FIG. 1, the payment agent server and the card company server, which are server devices according to the present invention, may be a computing device 100 including a communication unit 110 and a processor 120, and may be indirectly or directly with other computing devices. Can communicate. The payment agent server may be configured with a plurality of computing devices including a payment agent management server as described below, and the card company server may be configured with a plurality of computing devices including a card company management server as well.

또한, 사용자 단말 및 서비스 제공자 서버를 포함하는 엔티티들은 전형적으로 컴퓨터 장치(100)일 수 있다.Also, entities including a user terminal and a service provider server may typically be the computer device 100.

구체적으로, 서버 장치 및 사용자 단말은 전형적으로 컴퓨팅 장치(예컨대, 컴퓨터 프로세서, 메모리, 스토리지, 입력 장치 및 출력 장치, 기타 기존의 컴퓨팅 장치의 구성요소들을 포함할 수 있는 장치; 라우터, 스위치 등과 같은 전자 통신 장치; 네트워크 부착 스토리지(NAS) 및 스토리지 영역 네트워크(SAN)와 같은 전자 정보 스토리지 시스템)와 컴퓨터 소프트웨어(즉, 컴퓨팅 장치로 하여금 특정의 방식으로 기능하게 하는 인스트럭션들)의 조합을 이용하여 원하는 시스템 성능을 달성하는 것일 수 있다. Specifically, server devices and user terminals typically comprise computing devices (eg, devices that may include components of computer processors, memory, storage, input and output devices, other conventional computing devices; electronics such as routers, switches, and the like). A desired system using a combination of a communication device; an electronic information storage system such as network attached storage (NAS) and a storage area network (SAN) and computer software (ie, instructions that cause a computing device to function in a particular way). May be to achieve performance.

이와 같은 컴퓨팅 장치의 통신부(110)는 연동되는 타 컴퓨팅 장치와 요청과 응답을 송수신할 수 있는바, 일 예시로서 그러한 요청과 응답은 동일한 TCP 세션에 의하여 이루어질 수 있지만, 이에 한정되지는 않는바, 예컨대 UDP 데이터그램으로서 송수신될 수도 있을 것이다. The communication unit 110 of the computing device may transmit and receive a request and a response with another computing device to which the computing device is linked. For example, the request and response may be made by the same TCP session, but are not limited thereto. For example, it may be transmitted and received as a UDP datagram.

또한 컴퓨팅 장치의 프로세서(120)는 MPU(Micro Processing Unit) 또는 CPU(Central Processing Unit), 캐쉬 메모리(Cache Memory), 데이터 버스(Data Bus) 등의 하드웨어 구성을 포함할 수 있다. 또한, 운영체제, 특정 목적을 수행하는 애플리케이션의 소프트웨어 구성을 더 포함할 수도 있다.In addition, the processor 120 of the computing device may include a hardware configuration such as a micro processing unit (MPU) or a central processing unit (CPU), a cache memory, a data bus, and the like. In addition, the operating system may further include a software configuration of an application performing a specific purpose.

제1 실시예First embodiment

이제 본 발명에 따라 결제 대행 서비스를 제공하는 방법을 제1 실시예부터 설명하기로 한다.Now, a method of providing a payment agent service according to the present invention will be described from the first embodiment.

도 2는 본 발명에 따라 결제 대행 서비스를 제공하기 위한 인증서의 등록 방법을 개략적으로 도시한 시퀀스 다이어그램이다.2 is a sequence diagram schematically illustrating a method for registering a certificate for providing a payment agent service according to the present invention.

도 2를 참조하면, 우선, 본 발명은, 사용자가 상기 사용자 단말을 통하여 우선 본 발명에 따라 결제 대행 서비스를 제공하기 위한 앱(app; application)을 획득하기 위하여 앱스토어에 접속하여 상기 앱을 다운받는 절차(S201) 및 상기 사용자 단말에 상기 앱을 설치하는 절차(S202)가 완료된 상태임을 상정한다.Referring to FIG. 2, firstly, the present invention accesses an app store and downloads an app to obtain an app for providing a billing service according to the present invention through the user terminal. It is assumed that the procedure S201 for receiving and the procedure S202 for installing the app on the user terminal are completed.

도 2에서는 설명의 편의를 위하여 카드사 서버가 카드사 관리 서버 및 카드사 인증 서버로 구분되어 도시되어 있으나 도 2에 도시된 카드사 관리 서버 및 카드사 인증 서버의 기능을 하나의 카드사 서버가 수행할 수 있음은 물론이다.In FIG. 2, the card company server is divided into a card company management server and a card company authentication server for convenience of description, but a single card company server may perform the functions of the card company management server and the card company authentication server shown in FIG. 2. to be.

도 2를 참조하면, 본 발명의 제1 실시예에 따라 결제 대행(payment gateway) 서비스를 제공하기 위한 인증서의 등록 방법은, 사용자 단말로부터 본인 인증 정보 또는 이를 가공한 값, 및 상기 사용자 단말로의 푸시(push)를 위하여 상기 사용자 단말에 의하여 생성(S215)된 고유 식별자인 제1 푸시 토큰 ID(PushTokenID)가 전달(S220)되면, 카드사 서버가, 상기 사용자 단말로 하여금 상기 사용자의 공개키 및 개인키를 포함하는 키 쌍을 생성 및 저장(S250)하도록 지원하는 단계(S210 내지 S250)를 포함한다.Referring to FIG. 2, a method of registering a certificate for providing a payment gateway service according to a first embodiment of the present invention includes a user authentication information or a processed value thereof from a user terminal, and the user terminal to the user terminal. When a first push token ID (PushTokenID), which is a unique identifier generated by the user terminal (S215) for delivery, is passed (S220), a card company server causes the user terminal to transmit the user's public key and personal. Supporting (S210 to S250) to generate and store (S250) a key pair including the key.

여기에서 상기 본인 인증 정보는, 상기 사용자의 성명, 상기 사용자의 전화 번호, 카드 번호 및 CVC(Card Verification Value) 중 적어도 하나를 포함할 수 있는바, 이에 한정되지 않음은 통상의 기술자가 이해할 수 있을 것이다.Here, the authentication information may include at least one of a name of the user, a telephone number of the user, a card number, and a Card Verification Value (CVC), but is not limited thereto. will be.

제1 실시예에서, 상기 단계(S210 내지 S250)는, 상기 본인 인증 정보 또는 이를 가공한 값, 및 상기 제1 푸시 토큰 ID가 전달(S220)되면, 상기 카드사 서버가, 상기 본인 인증 정보 또는 이를 가공한 값을 포함하는 인증 요청 정보를 카드사 회원 원장 서버에 전달하는 프로세스(S225), 및 상기 사용자 단말을 식별하기 위한 정보인 단말 식별 정보 및 상기 제1 푸시 토큰 ID를 저장하는 프로세스(S230)를 수행하는 단계; 및 상기 카드사 회원 원장 서버로부터 상기 인증 요청 정보에 대응되는 인증 결과가 획득(S235)되고, 상기 인증 결과가 성공적이면, 상기 카드사 서버가, 상기 사용자 단말에 상기 인증 결과를 전달(S240)함으로써 상기 사용자 단말로 하여금 상기 사용자 단말에 입력된 PIN 코드(S245)에 대응되도록 상기 키 쌍을 생성 및 저장(S250)하도록 지원하는 단계를 포함할 수 있다.In the first embodiment, the steps (S210 to S250), if the identity authentication information or a value processed therein, and the first push token ID is passed (S220), the card company server, the identity authentication information or this A process of transmitting authentication request information including the processed value to a card company ledger server (S225), and a process of storing the terminal identification information and the first push token ID (S230) which are information for identifying the user terminal; Performing; And an authentication result corresponding to the authentication request information is obtained from the card company member ledger server (S235), and if the authentication result is successful, the card company server delivers the authentication result to the user terminal (S240). It may include the step of supporting the terminal to generate and store the key pair (S250) to correspond to the PIN code (S245) input to the user terminal.

여기에서 상기 푸시 토큰 ID(PushTokenID)는 외부에서 사용자 단말에 알림을 위한 데이터를 송출, 즉, 푸시(push)하기 위한 식별자로 기능하는 것인바, 중복되지 않게 사용자 단말 별로 일의적(uniquely)으로 생성된다.Herein, the push token ID (PushTokenID) functions as an identifier for transmitting, ie, pushing, data for notification to the user terminal from the outside, and is uniquely generated for each user terminal without duplication. do.

또한, 위 푸시 토큰 ID와 유사한 역할을 하지만 기억하기에 용이하여 흔히 통용되는 것인 상기 단말 식별 정보는, 예컨대, 상기 사용자 단말에 대응되는 상기 사용자의 전화 번호일 수 있다. 하지만 상기 단말 식별 정보는 이에 한정되지 않고 상기 사용자 단말에 대응되는 유일한 식별 정보라면 무엇이라도 가능한바, 예를 들어, 상기 사용자 단말에 대응되는 소정의 이메일 주소(email address)일 수도 있다.In addition, the terminal identification information, which is similar to the above push token ID but is easy to remember and commonly used, may be, for example, a telephone number of the user corresponding to the user terminal. However, the terminal identification information is not limited thereto and may be any identification information corresponding to the user terminal. For example, the terminal identification information may be a predetermined email address corresponding to the user terminal.

그리고 상기 PIN 코드는 사용자가 사용자 본인임을 증명하기 위하여 사용자 단말에 입력하는 소정의 정보로서, 일 예시로 영숫자 및 특수문자를 포함할 수 있는 패스워드일 수 있으나, 이에 한정되지는 않으며, 통상의 기술자는 상기 PIN 코드가 FIDO와 같은 생체인식 기술에서 이용되는 정보일 수도 있다는 점을 이해할 수 있을 것이다.The PIN code is predetermined information input to the user terminal to prove that the user is the user. For example, the PIN code may be a password which may include alphanumeric characters and special characters, but is not limited thereto. It will be appreciated that the PIN code may be information used in biometric technology such as FIDO.

다시 도 2를 참조하면, 본 발명의 제1 실시예에 따른 인증서의 등록 방법은, 제2 푸시 토큰 ID 및 상기 사용자의 공개키가 획득(S255)되고, 상기 제1 푸시 토큰 ID와 상기 제2 푸시 토큰 ID가 일치하면, 상기 카드사 서버가, 상기 제1 푸시 토큰 ID 또는 상기 제2 푸시 토큰 ID를 통합 푸시 토큰 ID로서 관리하고, 상기 통합 푸시 토큰 ID 및 상기 공개키를 포함하는 등록 정보를 저장(S260, S265)하는 단계(S255 내지 S265)를 더 포함한다.Referring back to FIG. 2, in the certificate registration method according to the first embodiment of the present invention, a second push token ID and a public key of the user are obtained (S255), and the first push token ID and the second push key are obtained. If the push token ID matches, the card company server manages the first push token ID or the second push token ID as an integrated push token ID, and stores registration information including the integrated push token ID and the public key. (S260, S265) further comprises the steps (S255 to S265).

상기 카드사 서버가 카드사 관리 서버 및 카드사 인증 서버를 포함하도록 구성될 수도 있는데, 이 경우에 상기 단계(S255 내지 S265)는, 상기 제2 푸시 토큰 ID 및 상기 사용자의 공개키가 획득되고, 상기 제1 푸시 토큰 ID와 상기 제2 푸시 토큰 ID가 일치하면, 상기 카드사 관리 서버가, 상기 통합 푸시 토큰 ID 및 상기 공개키를 상기 카드사 인증 서버에 전달함으로써 상기 카드사 인증 서버로 하여금 상기 통합 푸시 토큰 ID 및 상기 공개키를 보유하도록 지원하는 것을 특징으로 할 수 있다.The card company server may be configured to include a card company management server and a card company authentication server. In this case, the steps S255 to S265 may include obtaining the second push token ID and the user's public key, If the push token ID and the second push token ID coincide, the card company management server passes the integrated push token ID and the public key to the card company authentication server, thereby causing the card company authentication server to execute the integrated push token ID and the public key. It may be characterized by supporting to hold a public key.

또 도 2를 참조하면, 본 발명의 제1 실시예에 따른 인증서의 등록 방법은, 상기 등록 정보가 저장(S265)되면, 상기 카드사 서버가, (i) 상기 사용자 단말을 식별하기 위한 정보인 단말 식별 정보를 해시 연산한 결과값인 단말 식별 정보 해시값, 및 (ii) 상기 통합 푸시 토큰 ID를 포함하는 사용자 식별 정보를 결제 대행 서버로 전달(S270)함으로써 상기 결제 대행 서버로 하여금 상기 사용자 식별 정보를 관리하도록 지원하는 단계(S265 내지 S275)를 더 포함한다.2, in the method of registering a certificate according to the first embodiment of the present invention, when the registration information is stored (S265), the card company server is (i) a terminal which is information for identifying the user terminal. The terminal identification information hash value, which is a result of hashing the identification information, and (ii) the user identification information including the integrated push token ID, is transferred to a payment agent server (S270), thereby causing the payment agent server to provide the user identification information. Supporting to manage the step (S265 to S275) further includes.

이 단계(S265 내지 S275)에서는, 상기 카드사 서버가, 상기 인증서의 등록을 나타내는 인증서 등록 완료 메시지를 상기 사용자 단말에 전달(S275)할 수도 있다.In this step (S265 to S275), the card company server may deliver a certificate registration completion message indicating registration of the certificate to the user terminal (S275).

한편, 도 2를 참조하면, 본 발명의 제1 실시예에 따른 인증서의 등록 방법은, 상기 카드사 서버가, 상기 통합 푸시 토큰 ID 및 상기 공개키를 포함하는 등록 정보 또는 상기 등록 정보를 가공한 값을 상기 인증서의 등록 트랜잭션(S280)으로서 상기 데이터베이스 상에 기록하거나 상기 카드사 서버에 연동되는 타 장치로 하여금 기록하도록 지원하는 단계(S280, S285)를 더 포함한다. On the other hand, referring to Figure 2, the certificate registration method according to the first embodiment of the present invention, the card company server, the registration information including the integrated push token ID and the public key or the value of the registration information processed; Recording the data on the database as the registration transaction (S280) of the certificate or supporting other devices linked to the card company server (S280 and S285).

도 2에서는 이 단계(S280, S285)가 상기 단계(S265 내지 S275) 후에 수행되는 것으로 표시되어 있으나, 이는 하나의 예시일 뿐, 단계(S280, S285)는 상기 등록 정보만 상기 카드사 서버가 보유하고 있다면, 단계(S255 내지 S265) 이후의 어느 시기에라도 수행될 수 있다.In Figure 2, this step (S280, S285) is shown to be performed after the steps (S265 to S275), but this is only one example, the step (S280, S285) is the card company server holds only the registration information If so, it may be performed at any time after steps S255 to S265.

여기에서 상기 데이터베이스는 가상 화폐의 블록체인 데이터베이스일 수 있으며, 상기 블록체인 데이터베이스는 퍼블릭 블록체인 데이터베이스 또는 프라이빗 블록체인 데이터베이스일 수 있다. Here, the database may be a blockchain database of virtual currency, and the blockchain database may be a public blockchain database or a private blockchain database.

다음으로, 전술한 인증서를 기반으로 제1 실시예에 따라 결제 대행 서비스를 제공하는 방법을 설명한다.Next, a method of providing a payment agent service according to the first embodiment will be described based on the above-described certificate.

도 3은 본 발명에 따라 결제 대행 서비스를 제공하는 방법을 개략적으로 도시한 시퀀스 다이어그램이다. 도 3에서는 설명의 편의를 위하여 카드사 서버가 카드사 관리 서버 및 카드사 인증 서버로 구분되어 도시되어 있으나 도 3에 도시된 카드사 관리 서버 및 카드사 인증 서버의 기능을 하나의 카드사 서버가 수행할 수 있음은 물론이다.3 is a sequence diagram schematically illustrating a method for providing a payment agency service according to the present invention. In FIG. 3, for convenience of explanation, the card company server is divided into a card company management server and a card company authentication server, but one card company server may perform the functions of the card company management server and the card company authentication server shown in FIG. 3. to be.

도 3을 참조하면, 본 발명의 제1 실시예에 따라 결제 대행 서비스를 제공하는 방법은, 사용자의 결제 요청(S305)에 따라 사용자 단말에 대응되는 제1 푸시 토큰 ID(PushTokenID) 및 결제 대상 정보를 포함하는 결제 접수 요청 정보가 결제 대행 서버로부터 획득(S310, S315)되면, 카드사 서버가, (i) 상기 사용자 단말을 식별하기 위한 정보인 단말 식별 정보를 해시 연산한 결과값인 단말 식별 정보 해시값을 포함하는 결제 접수 결과 정보를 상기 결제 대행 서버에 전달하는 프로세스(S320) 및 (ii) 상기 결제 접수 요청 정보에 응하여 상기 결제 대상 정보 및 상기 결제 대상 정보에 대한 인증을 요청하는 정보인 인증 요청 정보를 상기 사용자 단말에 전달하는 프로세스(S330)를 수행하는 단계(S305 내지 S330)를 포함한다.Referring to FIG. 3, in the method of providing a payment agent service according to the first embodiment of the present invention, a first push token ID (PushTokenID) and payment target information corresponding to a user terminal according to a user's payment request (S305). When the payment request information including the information is obtained from the payment agent server (S310, S315), the card company server, (i) the terminal identification information hash that is a result of hashing the terminal identification information that is information for identifying the user terminal A process of transmitting payment reception result information including a value to the payment agency server (S320) and (ii) an authentication request which is information for requesting authentication for the payment target information and the payment target information in response to the payment reception request information; And performing the process of transmitting information to the user terminal (S330) (S305 to S330).

여기에서 사용자의 결제 요청(S305)은 일차적으로 사용자 단말로부터 서비스 제공자 서버에 전달된 후 상기 서비스 제공자 서버에 의하여 결제 대행 서버에 관련 정보가 전송될 수 있는데, 그 전달의 수단은 웹페이지(web page), 애플리케이션(application; app), POS(point of sales) 장치가 될 수 있으나 이에 한정되지 않음을 통상의 기술자는 이해할 수 있을 것이다. 웹페이지나 애플리케이션과 같은 경우에는 온라인 결제의 예시에 대응되며, POS 장치의 경우에는 오프라인 매장에서의 결제 예시에 대응될 수 있을 것이다.Here, the payment request (S305) of the user may be first transmitted from the user terminal to the service provider server, and then the related information may be transmitted by the service provider server to the payment agency server. The means of delivery may be a web page. It will be appreciated by those skilled in the art that the present invention may be, but is not limited to, an application (app) and a point of sales (POS) device. In the case of a web page or an application, it corresponds to an example of online payment, and in the case of a POS device, it may correspond to an example of payment in an offline store.

여기에서 상기 결제 대상 정보는, 주문 번호, 카드사의 식별 정보, 서비스 제공자의 식별 정보, 상기 서비스 제공자에 의하여 제공되는 소정의 추가 정보, 결제 대상의 이름, 상기 결제 대상의 가격, 분할 결제의 여부, 결제의 수단이 되는 화폐의 식별 정보, 상기 사용자의 이름, 상기 사용자의 주소, 결제 승인의 일시 및 상기 결제의 상태 정보 중 적어도 하나를 포함할 수 있다.Herein, the payment target information may include an order number, identification information of a card company, identification information of a service provider, predetermined additional information provided by the service provider, a name of a payment target, a price of the payment target, whether a partial payment, It may include at least one of identification information of the currency that is the means of payment, the name of the user, the address of the user, the date and time of payment approval and the status information of the payment.

다음으로, 본 발명의 제1 실시예에 따른 결제 대행 서비스 제공 방법은, 상기 인증 요청 정보에 대한 응답으로서 상기 사용자의 승인(S335) 하에서 제2 푸시 토큰 ID를 포함하는 결제 승인 요청 정보가 획득(S340)되고, 상기 제1 푸시 토큰 ID와 상기 제2 푸시 토큰 ID가 일치하면, 상기 카드사 서버가, 상기 제1 푸시 토큰 ID 또는 상기 제2 푸시 토큰 ID를 통합 푸시 토큰 ID로서 관리하고, 상기 결제 승인 요청 정보의 유효성을 검증(S345, S350)하는 단계(S335 내지 S350)를 더 포함한다. 예를 들어 상기 사용자의 승인은, 상기 사용자 단말에 입력된 PIN 코드의 유효성을 판단함으로써 수행될 수 있는바, PIN 코드는 전술한 바와 같다.Next, in the payment agent service providing method according to the first embodiment of the present invention, the payment approval request information including the second push token ID is obtained under the user's approval (S335) as a response to the authentication request information. S340), if the first push token ID and the second push token ID match, the card company server manages the first push token ID or the second push token ID as an integrated push token ID, and the payment Validating the approval request information (S345, S350) further includes a step (S335 to S350). For example, the user's approval may be performed by determining the validity of the PIN code input to the user terminal. The PIN code is as described above.

구체적으로 상기 결제 승인 요청 정보에 의한 결제 승인은 예를 들어 랜덤 넌스(random nonce)를 이용하는 방식과 타임스탬프(timestamp)를 이용하는 방식이 있을 수 있다.Specifically, the payment approval based on the payment approval request information may include, for example, a method using random nonce and a method using a timestamp.

랜덤 넌스를 이용하는 방식에서는, 프로세스(S330)는, 상기 카드사 서버가, 랜덤 넌스(random nonce)를 포함하는 상기 인증 요청 정보 및 상기 결제 대상 정보를 상기 사용자 단말에 전달하는 것을 특징으로 하고, 상기 결제 승인 요청 정보는, 상기 제2 푸시 토큰 ID, 상기 랜덤 넌스를 상기 사용자의 개인키로 서명한 결과값인 랜덤 넌스 서명값, 및 상기 사용자의 공개키를 포함하며, 단계(S345, S350)에서, 상기 카드사 서버가, 상기 사용자의 공개키 및 상기 랜덤 넌스 서명값을 이용하여 상기 결제 승인 요청 정보의 유효성을 검증하는 것을 특징으로 할 수 있다.In the method using a random nonce, the process (S330) is characterized in that the card company server delivers the authentication request information and the payment target information including a random nonce to the user terminal, and the payment The authorization request information includes the second push token ID, a random nonce signature value that is a result of signing the random nonce with the user's private key, and the user's public key, and in steps S345 and S350, the The card company server may verify the validity of the payment approval request information by using the user's public key and the random nonce signature value.

이 경우, 상기 랜덤 넌스 서명값에 상기 사용자의 공개키를 이용하여 상기 랜덤 넌스 서명값으로부터 소정의 해쉬값을 얻을 수 있으며, 이 해쉬값과 상기 랜덤 넌스에 소정의 해쉬 함수를 적용하여 얻은 결과값을 비교함으로써 서명의 유효성을 검증할 수 있다. 이와 같은 비교에서 상기 해시값과 상기 소정의 해시 함수를 적용하여 얻은 결과값이 상이하면 서명이 무효이고 동일하면 서명이 유효한 것은 이미 통상의 기술자에게 잘 알려진 바와 같은바, 통상의 기술자는 서명(여기에서는 전자 서명)의 유효성을 검증하는 방법을 잘 알 수 있을 것이다.In this case, a predetermined hash value can be obtained from the random nonce signature value using the user's public key as the random nonce signature value, and a result value obtained by applying a predetermined hash function to the hash value and the random nonce. By comparing the, we can validate the signature. In such a comparison, the signature is invalid if the hash value and the result obtained by applying the predetermined hash function are different, and if the signature is the same, it is well known to a person skilled in the art. You will see how to validate digital signatures.

한편, 타임스탬프를 이용하는 방식에서는, 상기 결제 승인 요청 정보는, 상기 제2 푸시 토큰 ID, 소정의 타임스탬프를 상기 사용자의 개인키로 서명한 결과값인 타임스탬프 서명값, 및 상기 사용자의 공개키를 포함하며, 단계(S345, S350)에서, 상기 카드사 서버가, 상기 사용자의 공개키 및 상기 타임스탬프 서명값을 이용하여 상기 결제 승인 요청 정보의 유효성을 검증하되, 상기 타임스탬프 서명값에 대응되는 제1 시각과 상기 결제 승인 요청 정보의 유효성이 검증되는 시각인 제2 시각 사이의 시간 간격이 설정값 이상이면, 상기 결제 승인 요청 정보가 무효인 것으로 판정될 수 있다.On the other hand, in the method using a time stamp, the payment approval request information, the second stamp token ID, a time stamp signature value that is a result of signing a predetermined time stamp with the user's private key, and the user's public key And in step S345 and S350, the card company server verifies the validity of the payment approval request information using the user's public key and the timestamp signature value, and corresponds to the timestamp signature value. If the time interval between the first time and the second time which is the time at which the validity of the payment approval request information is verified is equal to or greater than a set value, the payment approval request information may be determined to be invalid.

다음으로, 도 3 및 그 도 3에 도시된 방법의 특정 단계들을 더 세분화하여 도시한 도 4를 참조하면, 본 발명의 제1 실시예에 따른 결제 대행 서비스 제공 방법은, 상기 결제 승인 요청 정보가 유효하면, 상기 카드사 서버(도 4에서는 카드사 서버가 카드사 관리 서버, 카드사 인증 서버 및 카드사 승인 서버를 포함하도록 구성됨)가, 상기 결제 승인 요청 정보에 따른 카드 승인을 처리하는 단계(S351, S352)를 더 포함한다.Next, referring to FIG. 4, which further illustrates specific steps of the method illustrated in FIG. 3 and FIG. 3, the payment proxy service providing method according to the first embodiment of the present invention may include: If valid, the card company server (in FIG. 4, the card company server is configured to include a card company management server, a card company authentication server, and a card company approval server) processes the card approval according to the payment approval request information (S351, S352). It includes more.

도 4를 참조하면 상기 카드사 서버가 카드사 관리 서버, 카드사 인증 서버 및 카드사 승인 서버를 포함하도록 구성되고 상기 인증 요청 정보에 랜덤 넌스가 포함되는 경우에, 상기 프로세스(S330)는, 상기 카드사 관리 서버가, 상기 결제 접수 요청 정보에 응하여 상기 제1 푸시 토큰 ID, 상기 결제 대상 정보 및 인증 요청 정보를 상기 사용자 단말에 전달하는 것을 특징으로 할 수 있으며, 상기 단계(S335 내지 S350)는, 상기 인증 요청 정보에 대한 응답으로서 상기 사용자의 승인(S335) 하에서 상기 랜덤 넌스를 상기 사용자의 개인키로 서명(S336, S337)한 결과값인 랜덤 넌스 서명값, 상기 제2 푸시 토큰 ID 및 상기 사용자의 공개키를 포함하는 결제 승인 요청 정보가 상기 사용자 단말로부터 획득(S340)되면, 상기 카드사 관리 서버가, 상기 랜덤 넌스 서명값 및 상기 공개키를 상기 카드사 인증 서버에 전달함으로써 상기 카드사 인증 서버로 하여금 상기 결제 승인 요청 정보의 유효성을 검증(S345, S350)하도록 지원하는 것을 특징으로 할 수 있고, 단계(S351, S352)는, 상기 결제 승인 요청 정보가 유효하면, 상기 카드사 관리 서버가, 상기 결제 승인 요청 정보에 따른 카드 승인을 처리하기 위한 카드 정보를 상기 카드사 승인 서버에 전달(S351)함으로써 상기 카드사 승인 서버로 하여금 상기 카드 정보를 이용하여 상기 카드 승인을 처리(S352)하도록 지원하는 것을 특징으로 할 수 있다.Referring to FIG. 4, when the card company server is configured to include a card company management server, a card company authentication server, and a card company approval server, and the random request is included in the authentication request information, the process (S330) may be performed by the card company management server. The first push token ID, the payment target information, and the authentication request information may be transmitted to the user terminal in response to the payment reception request information. The steps S335 to S350 may include the authentication request information. A random nonce signature value, the second push token ID, and the public key of the user, the result of signing the random nonce with the private key of the user (S336, S337) under the user's approval (S335) as a response to the response. When payment approval request information is obtained from the user terminal (S340), the card company management server, the random nonce signature value and the It is possible to support the card company authentication server to verify the validity of the payment approval request information (S345, S350) by transmitting a key to the card company authentication server, and the steps (S351, S352), the payment approval If the request information is valid, the card company management server delivers the card information for processing the card approval according to the payment approval request information to the card company approval server (S351), thereby allowing the card company approval server to use the card information. It may be characterized in that for supporting the card authorization processing (S352).

다시 도 3을 참조하면, 본 발명의 제1 실시예에 따른 결제 대행 서비스 제공 방법은, 상기 카드 승인이 완료(S352)되면, 상기 카드사 서버가, 상기 카드 승인이 완료되었음을 나타내는 결제 승인 결과를 상기 사용자 단말 및 상기 결제 대행 서버 중 적어도 하나에 전달하는 단계(S355, S360)를 더 포함할 수 있다.Referring back to FIG. 3, in the method for providing a billing service according to the first embodiment of the present invention, when the card approval is completed (S352), the card company server receives a payment approval result indicating that the card approval is completed. The method may further include transmitting to at least one of the user terminal and the payment agent server (S355, S360).

그 일 예시로서, 상기 카드사 서버가, 상기 결제 승인 결과를 상기 결제 대행 서버에 전달(S360)함으로써, 상기 결제 대행 서버로 하여금 상기 단말 식별 정보 해시값, 상기 통합 푸시 토큰 ID, 및 상기 결제 대상 정보 중 적어도 일부를 포함하는 트랜잭션 정보 또는 이를 가공한 값을 결제 내용 증명 트랜잭션으로서 상기 데이터베이스 상에 기록하도록 지원(S375, S380)할 수 있다.As an example, the card company server transmits the payment approval result to the payment agency server (S360), thereby causing the payment agency server to transmit the terminal identification information hash value, the integrated push token ID, and the payment target information. Transaction information including at least a portion or a processed value thereof may be supported to be recorded on the database as a proof of payment transaction (S375, S380).

전술한 바와 같이 본 발명의 제1 실시예에 따라 결제 대행 서비스를 제공하는 방법을 결제 대행 서버를 기준으로 다시 설명하자면, 결제 대행 서비스 제공 방법은, 우선, 사용자의 결제 요청에 응하여 서비스 제공자의 서버인 서비스 제공자 서버로부터 사용자 단말을 식별하기 위한 정보인 단말 식별 정보를 해시 연산한 결과값인 단말 식별 정보 해시값, 결제 대상 정보 및 서비스 제공자 인증 정보가 획득되면, 결제 대행 서버가, 상기 사용자 단말에 대응되는 제1 푸시 토큰 ID(PushTokenID) 및 결제 대상 정보를 포함하는 결제 접수 요청 정보를 카드사 서버에 전달하는 단계; 상기 카드사 서버로부터 상기 단말 식별 정보 해시값 및 상기 결제 대상 정보에 포함된 주문 번호를 포함하는 결제 접수 결과 정보가 획득되면, 상기 결제 대행 서버가, 상기 결제 접수 결과 정보를 상기 서비스 제공자 서버에 전달하는 단계; 및 상기 결제 접수 요청 정보에 응하여 카드사 서버로부터 상기 사용자 단말에 전달된 상기 결제 대상 정보 및 상기 결제 대상 정보에 대한 인증을 요청하는 정보인 인증 요청 정보에 대한 응답으로서 상기 사용자의 승인 하에 상기 사용자 단말로부터 상기 카드사 서버에 전달된 결제 승인 요청 정보를 참조로 하여 획득된 결제 승인 결과가 성공적임이 상기 카드사 서버로부터 전달되고, 상기 결제 승인 요청 정보에 포함된 제2 푸시 토큰 ID가 상기 제1 푸시 토큰 ID가 일치하면, 상기 결제 대행 서버가, 상기 제1 푸시 토큰 ID 또는 상기 제2 푸시 토큰 ID를 통합 푸시 토큰 ID로서 관리하고, 상기 단말 식별 정보 해시값, 상기 통합 푸시 토큰 ID, 및 상기 결제 대상 정보 중 적어도 일부를 포함하는 트랜잭션 정보 또는 이를 가공한 값을 결제 내용 증명 트랜잭션으로서 상기 데이터베이스 상에 기록하거나 상기 결제 대행 서버에 연동되는 타 장치로 하여금 기록하도록 지원하는 단계를 포함한다.As described above, the method for providing the payment agent service according to the first embodiment of the present invention will be described again with reference to the payment agent server. When the terminal identification information hash value, the payment target information, and the service provider authentication information, which are the result of hashing the terminal identification information that is information for identifying the user terminal from the in-service provider server, are obtained, the payment agent server sends the request to the user terminal. Transmitting payment reception request information including a corresponding first push token ID (PushTokenID) and payment target information to a card company server; When payment acceptance result information including the terminal identification information hash value and the order number included in the payment target information is obtained from the card company server, the payment agent server transmits the payment acceptance result information to the service provider server. step; And the user terminal under the user's approval in response to the authentication request information which is information for requesting authentication of the payment object information and the payment object information transmitted from the card company server to the user terminal in response to the payment reception request information. When the payment approval result obtained by referring to the payment approval request information transmitted to the card company server is successful, the card company server is transmitted, and the second push token ID included in the payment approval request information is the first push token ID. If there is a match, the payment agent server manages the first push token ID or the second push token ID as an integrated push token ID, and among the terminal identification information hash value, the integrated push token ID, and the payment target information. Transaction information containing at least a portion or a processed value of the proof of payment transaction As a step of supporting recording on the database, or to cause the recording to another device linked to the settlement server.

제1 실시예에 따른 결제 대행 서비스 제공 방법에서, 상기 결제 대행 서버는, 상기 사용자의 승인에 따라 전달된 결제 승인 요청 정보에 대하여 상기 카드사 서버로부터 획득된 결제 승인 결과를 상기 서비스 제공자 서버 및 상기 사용자 단말 중 적어도 하나에 전달할 수도 있다.In the payment agent service providing method according to the first embodiment, the payment agent server, the service provider server and the user with the payment approval result obtained from the card company server for the payment approval request information delivered in accordance with the user's approval It may be delivered to at least one of the terminals.

제2 실시예Second embodiment

다음으로, 본 발명에 따라 결제 대행 서비스를 제공하는 방법에 관한 제2 실시예를 설명하기로 한다. 하기에서는 전술한 제1 실시예와 동일한 기술적 특징은 반복하여 설명하지 않을 것인바, 차이점만을 구체적으로 설명한다. 제2 실시예에서는 제1 실시예에서 언급되었던 데이터베이스가 제1 데이터베이스에 해당되는바, 제2 실시예에서는 제2 데이터베이스와의 연동 과정이 추가된다.Next, a second embodiment of a method of providing a payment agent service according to the present invention will be described. In the following description, the same technical features as those of the first embodiment will not be repeated, and only the differences will be described in detail. In the second embodiment, the database mentioned in the first embodiment corresponds to the first database. In the second embodiment, an interworking process with the second database is added.

다시 도 2를 참조하면, 본 발명의 제2 실시예에 따라 결제 대행 서비스를 제공하기 위한 인증서의 등록 방법은, 제1 실시예에 관하여 전술한 단계(S285) 후에, anchoring 조건이 만족되면, 상기 카드사 서버가, 상기 등록 트랜잭션의 해시값인 특정 해시값과 매칭되는 적어도 하나의 이웃 해시값 - 상기 이웃 해시값은, (i) 특정 푸시 토큰 ID 및 특정 사용자의 공개키를 포함하는 특정 등록 정보 또는 상기 특정 등록 정보를 가공한 값인 특정 등록 트랜잭션의 해시값 또는 (ii) 특정 단말 식별 정보 해시값, 상기 특정 푸시 토큰 ID 및 특정 결제 대상 정보 중 적어도 일부를 포함하는 트랜잭션 정보 또는 이를 가공한 값인 특정 결제 내용 증명 트랜잭션의 해시값임 - 을 함께 해시 연산함으로써 생성되는 대표 해시값 또는 상기 대표 해시값을 가공한 값을 제2 데이터베이스에 기록하거나 상기 타 장치로 하여금 기록하도록 지원하고, 상기 대표 해시값 또는 상기 대표 해시값을 가공한 값이 상기 제2 데이터베이스에 기록된 위치 정보인 트랜잭션 ID를 획득하는 단계(미도시)를 더 포함한다.Referring back to Figure 2, according to a second embodiment of the present invention, the method for registering a certificate for providing a payment agent service, if the anchoring condition is satisfied after the above-described step (S285) with respect to the first embodiment, At least one neighbor hash value of which the card company server matches a specific hash value that is a hash value of the registration transaction, wherein the neighbor hash value is (i) specific registration information including a specific push token ID and a specific user's public key; A hash value of a specific registration transaction, which is a value of processing the specific registration information, or (ii) a transaction information including at least some of a specific terminal identification information hash value, the specific push token ID, and specific payment target information, or a specific payment, which is a value thereof. Is a hash value of a content proof transaction-the second data is a representative hash value generated by hashing together or a value obtained by processing the representative hash value. Writing to the database or allowing the other device to record, and acquiring a transaction ID (not shown) in which the representative hash value or a value obtained by processing the representative hash value is position information recorded in the second database. Include.

이때, 전술한 anchoring 조건이란, (i) 소정의 개수만큼의 상기 특정 해시값과 이웃 해시값이 획득되거나 생성되는 조건, (ii) 소정 시간이 경과하는 조건, (iii) 상기 제1 데이터베이스에서 블록이 생성되는 조건, (iv) 서비스 특성에 대한 조건 중 적어도 하나를 포함할 수 있다.In this case, the aforementioned anchoring condition is (i) a condition in which a predetermined number of specific hash values and neighboring hash values are obtained or generated, (ii) a condition that a predetermined time elapses, and (iii) a block in the first database. This may include at least one of the generated conditions, (iv) conditions for service characteristics.

특정 해시값과 적어도 하나의 이웃 해시값의 연산은 다양한 함수에 의하여 수행될 수 있다. 특정 해시값을 input이라고 나타내고, 적어도 하나의 이웃 해시값을 x1, x2, …, xn이라고 나타낼 때, 대표 해시값 t은 다음 수학식과 같이 나타낼 수 있다.The operation of a particular hash value and at least one neighbor hash value may be performed by various functions. A particular hash value is denoted by input, and at least one neighboring hash value is represented by x1, x2,... , represented by xn, can be represented by the following equation.

Figure PCTKR2018000474-appb-M000001
Figure PCTKR2018000474-appb-M000001

이때, 카드사 서버는 상기 특정 해시값과 상기 적어도 하나의 이웃 해시값을 소정의 데이터 구조로 저장하여 관리할 수 있다. 여기에서 데이터 구조는 다양할 수 있는데, 일 예로 머클 트리(merkle tree) 구조가 될 수도 있다. 이 경우, 상기 특정 해시값과 적어도 하나의 이웃 해시값의 연산은 머클 트리를 통하여 이루어질 수 있다.In this case, the card company server may store and manage the specific hash value and the at least one neighbor hash value in a predetermined data structure. The data structure may vary, for example, may be a merkle tree structure. In this case, the calculation of the specific hash value and at least one neighbor hash value may be performed through the Merkle tree.

즉, 상기 카드사 서버는, 상기 특정 해시값이 리프 노드에 할당된 머클 트리(merkle tree)를 생성하거나 타 장치로 하여금 생성하도록 지원할 수 있고, 상기 anchoring 조건이 만족되면, 상기 특정 해시값과 매칭되는 적어도 하나의 다른 리프 노드에 할당된 해시값을 함께 해시 연산하여 생성되는 상기 대표 해시값 또는 상기 대표 해시값을 가공한 값을 획득하고, 상기 획득된 값을 상기 제2 데이터베이스에 기록하거나 타 장치로 하여금 기록하도록 지원할 수 있다.That is, the card company server may generate or support a merkle tree in which the specific hash value is assigned to a leaf node, or may be generated by another device. When the anchoring condition is satisfied, the card company server may match the specific hash value. Obtain the representative hash value or the processed value of the representative hash value generated by hashing together the hash values assigned to at least one other leaf node, and writing the obtained value to the second database or to another device. Can help you record.

상기 카드사 서버는, 최종적으로 머클 트리의 루트 노드에 할당된 해시값을 대표 해시값으로서 상기 제2 데이터베이스에 기록하거나 타 장치로 하여금 기록하도록 지원할 수 있다. 이때, 대표 해시값을 가공한 값이 기록될 수도 있다. 예를 들어, 대표 해시값에 hex 연산이 수행된 결과값이 등록될 수 있다.The card company server may record the hash value finally assigned to the root node of the Merkle tree as the representative hash value in the second database or support another device to record it. At this time, a value obtained by processing the representative hash value may be recorded. For example, the result of performing the hex operation may be registered in the representative hash value.

한편, 상기 카드사 서버가 상기 특정 해시값과 상기 적어도 하나의 이웃 해시값을 소정의 제1 데이터 구조로 저장하고, 이후 상기 제1 데이터 구조와 동일한 형태의 제2 데이터 구조를 저장하여 관리하는 경우, 상기 제1 데이터 구조와 상기 제2 데이터 구조는 체인 형태로 연결될 수 있다.Meanwhile, when the card company server stores the specific hash value and the at least one neighbor hash value in a predetermined first data structure, and then stores and manages a second data structure having the same form as the first data structure, The first data structure and the second data structure may be connected in a chain form.

특히, 상술한 예에서와 같이 상기 제1 데이터 구조 및 상기 제2 데이터 구조가 머클 트리인 경우, 상기 제1 데이터 구조의 루트값 또는 상기 루트값의 해시값이 상기 제2 데이터 구조의 첫 번째 리프 노드에 할당될 수 있다.In particular, when the first data structure and the second data structure are Merkle trees as in the above-described example, the root value of the first data structure or the hash value of the root value is the first leaf of the second data structure. Can be assigned to a node.

또한, 제2 데이터 구조가 생성될 때는 제1 데이터 구조에 대한 검증이 이루어짐으로써 데이터의 무결성이 좀 더 확실히 보장될 수 있다.In addition, when the second data structure is generated, verification of the first data structure is performed to more surely ensure the integrity of the data.

또한, 상기 머클 트리가 체인 형태로 연결된 적어도 하나의 머클 트리 중 첫 번째 머클 트리인 경우, 상기 머클 트리의 첫 번째 리프 노드에는 텍스트, 숫자, 또는 기호로 이루어진 소정의 메시지 데이터의 해시값 또는 이를 가공한 값이 할당될 수 있다. 예를 들어, 머클 트리 생성시 카드사 서버에 의하여 최초로 부여된 입력 메시지의 해시값이 할당될 수 있다.In addition, when the Merkle tree is the first Merkle tree among at least one Merkle tree connected in a chain form, the first leaf node of the Merkle tree has a hash value of a predetermined message data consisting of text, numbers, or symbols or the same. One value can be assigned. For example, a hash value of an input message initially assigned by a card company server may be assigned when generating a merkle tree.

도 8 및 9는 본 발명에 따라 생성된 머클 트리의 예를 도시한 도면이다.8 and 9 illustrate examples of merkle trees created in accordance with the present invention.

도 8에서는 리프 노드의 개수가 4(22)개인 머클 트리가 도시된다. 도시된 머클 트리는 첫 번째 머클 트리이기 때문에(tree_id = 0), 첫 번째 리프 노드인 h1 노드에는 소정의 메시지 데이터 PrivBC_unique_message의 해시값 SHA256(PrivBC_unique_message)이 할당되었음을 알 수 있다. 트랜잭션들의 등록이 있는 경우, 상기 카드사 서버는, 현재 구성 중인 머클 트리의 가장 마지막 리프 노드의 다음 리프 노드를 생성하여 특정 해시값 또는 특정 해시값을 가공한 값을 할당하거나 타 장치로 하여금 할당하도록 지원한다. 예를 들어, 도 8의 머클 트리에서 이전 단계에서 두 번째 리프 노드인 h1 노드까지 값 할당이 완료된 경우, 다음 리프 노드인 h2 노드를 생성하여 특정 해시값 또는 특정 해시값을 가공한 값(SHA256(input2))을 할당할 수 있다. 또한, 상기 카드사 서버는, (i) 특정 해시값과, (ii) 상기 특정 해시값이 할당된 세 번째 리프 노드인 h2 노드의 형제 노드인 h3 노드에 할당된 해시값을 연산하거나 연산하도록 지원할 수 있다. 상기 연산의 결과인 연산값에 대한 해시값은 h2 노드와 h3 노드의 부모 노드(h23 노드)에 할당된다. 부모 노드(h23 노드)가 머클 트리의 루트 노드가 아니므로, 상기 카드사 서버는, 상기 h23 노드에 할당된 해시값을 상기 특정 해시값으로 하여 상기 과정을 반복하여 수행할 수 있다. 즉, h23 노드에 할당된 해시값을 특정 해시값으로 하고, h23 노드에 할당된 해시값과 h01 노드에 할당된 해시값을 연산하여 h23 노드와 h01 노드의 부모 노드(h0123) 노드에 할당할 수 있다. 이때, h0123 노드가 머클 트리의 루트 노드이므로, 상기 카드사 서버는, h0123 노드에 할당된 해시값 또는 이를 가공한 값(hex(h{node_index}))을 제2 데이터베이스에 기록하거나 타 장치로 하여금 기록하도록 지원할 수 있다.8 shows a Merkle tree with a number of leaf nodes 4 (2 2 ). Since the illustrated Merkle tree is the first Merkle tree (tree_id = 0), it can be seen that the hash value SHA256 (PrivBC_unique_message) of the predetermined message data PrivBC_unique_message is assigned to the h1 node which is the first leaf node. If there is a registration of transactions, the card company server creates a next leaf node of the last leaf node of the current Merkle tree, and assigns a specific hash value or a processed value of a hash value, or allows another device to assign it. do. For example, in the merkle tree of FIG. 8, when the value assignment is completed from the previous step to the second leaf node h1 node, the next leaf node h2 is created to process a specific hash value or a specific hash value (SHA256 ( input2)) can be assigned. In addition, the card company server may support to calculate or calculate (i) a specific hash value and (ii) a hash value assigned to the h3 node which is a sibling node of the h2 node which is the third leaf node to which the specific hash value is assigned. have. The hash value for the operation value that is the result of the operation is assigned to the parent node (h23 node) of the h2 node and the h3 node. Since the parent node (h23 node) is not the root node of the Merkle tree, the card company server may repeat the process by using the hash value assigned to the h23 node as the specific hash value. That is, the hash value assigned to the h23 node is designated as a specific hash value, and the hash value assigned to the h23 node and the hash value assigned to the h01 node are calculated and assigned to the parent node (h0123) node of the h23 node and the h01 node. have. At this time, since the h0123 node is the root node of the Merkle tree, the card company server records the hash value assigned to the h0123 node or the processed value hex (h {node_index}) in the second database or causes another device to record it. Can be supported.

이를 재귀적(recursive)으로 설명하자면, 상기 anchoring 조건이 만족될 때, (x1) 상기 카드사 서버가, (i) 상기 특정 해시값과 (ii) 상기 특정 해시값이 할당된 특정 노드의 형제 노드에 할당된 해시값을 함께 해시 연산하거나 타 장치로 하여금 해시 연산하도록 지원하고, 상기 연산의 결과인 연산값에 대한 해시값을 상기 특정 노드의 부모 노드에 할당하거나 타 장치로 하여금 할당하도록 지원하며, (x2) 상기 부모 노드가 상기 머클 트리의 루트 노드이면, 상기 부모 노드에 할당된 해시값을 상기 대표 해시값으로서 상기 제2 데이터베이스에 기록하거나 타 장치로 하여금 기록하도록 지원하고, (x3) 상기 부모 노드가 상기 머클 트리의 루트 노드가 아니면, 상기 부모 노드에 할당된 해시값을 상기 특정 해시값으로 하여 상기 (x1) 내지 (x3)을 반복하여 수행하는 것이다.To describe this recursively, when the anchoring condition is satisfied, (x1) the card company server is connected to (i) the sibling node of a specific node to which the specific hash value and (ii) the specific hash value are assigned. Hashing the assigned hash values together or allowing other devices to hash, assigning a hash value for the computed value that is the result of the operation to the parent node of the particular node, or allowing another device to assign it ( x2) if the parent node is the root node of the Merkle tree, support to record the hash value assigned to the parent node to the second database as the representative hash value or to allow other devices to record (x3) the parent node; If is not the root node of the Merkle tree, repeating the (x1) to (x3) by using the hash value assigned to the parent node as the specific hash value All.

제2 실시예에서, 해시값들 - (i) 특정 푸시 토큰 ID 및 특정 사용자의 공개키를 포함하는 특정 등록 정보 또는 상기 특정 등록 정보를 가공한 값인 특정 등록 트랜잭션의 해시값 또는 (ii) 특정 단말 식별 정보 해시값, 상기 특정 푸시 토큰 ID 및 특정 결제 대상 정보 중 적어도 일부를 포함하는 트랜잭션 정보 또는 이를 가공한 값인 특정 결제 내용 증명 트랜잭션의 해시값 - 이 리프 노드 수만큼 획득되면, 각각의 해시값이 전술한 머클 트리의 입력값(리프 노드에 할당된 값)이 될 수 있다.In a second embodiment, hash values-(i) specific registration information including a specific push token ID and a specific user's public key or a hash value of a specific registration transaction which is a value obtained by processing the specific registration information, or (ii) a specific terminal. A hash value of a transaction information including at least a portion of an identification information hash value, the specific push token ID, and the specific payment target information, or a specific payment content proof transaction that is a processed value thereof-when the number of leaf nodes is obtained, each hash value is obtained. It may be an input value (value assigned to the leaf node) of the aforementioned merkle tree.

또한, 카드사 서버는, 소정 시간 단위로 전술한 머클 트리의 루트값을 생성할 수 있다(상기 (ii) anchoring 조건). 이 경우, 상기 카드사 서버는, 소정의 시간이 경과되면 그때까지의 입력값을 이용하여 머클 트리를 생성하고 머클 트리의 루트값을 제2 데이터베이스에 기록하거나 타 장치로 하여금 기록하도록 지원할 수 있다.Also, the card company server may generate the root value of the aforementioned Merkle tree on a predetermined time unit (the (ii) anchoring condition). In this case, when a predetermined time elapses, the card company server may generate a Merkle tree using the input values up to that time, record the root value of the Merkle tree in a second database, or support another device to record.

그런데, 이 경우에는 소정 시간이 경과하였음에도 머클 트리의 특정 해시값이 할당된 노드의 형제 노드에 값이 할당되지 않을 수 있다. 이처럼 소정의 상기 anchoring 조건이 만족되었음에도 상기 특정 해시값이 할당된 노드의 형제 노드에 해시값이 할당되어 있지 않은 경우, 상기 카드사 서버는, 상기 형제 노드에 소정의 해시값을 할당하거나 타 장치로 하여금 할당하도록 지원하여 전술한 방식으로 머클 트리의 루트값이 산출되도록 할 수 있다. 예를 들어, 상기 카드사 서버는, 상기 특정 해시값을 복제하여 상기 형제 노드에 할당하거나 타 장치로 하여금 할당하도록 지원할 수 있다.In this case, however, a value may not be assigned to a sibling node of a node to which a specific hash value of the Merkle tree is assigned even after a predetermined time has elapsed. In this case, when a predetermined anchoring condition is satisfied and a hash value is not assigned to a sibling node of a node to which the specific hash value is assigned, the card company server allocates a predetermined hash value to the sibling node or causes another device to execute the hash value. The allocation may be supported so that the root value of the Merkle tree is calculated in the above-described manner. For example, the card company server may duplicate the specific hash value and allocate the specific hash value to the sibling node or support another device to allocate it.

또한, 상기 서비스 특성이란, 결제 대행 서비스를 이용하는 엔티티(entity)들이 지급한 비용 정보, 상기 트랜잭션의 기록이 이루어지는 시간대 정보, 상기 기록이 이루어지는 지역 정보, 상기 기록에 관여한 서버의 관리 주체인 회사 타입 정보 중 적어도 일부가 될 수 있다. 다만, 여기에서 기재한 것에 한정되지는 않는다.In addition, the service characteristic is a company type that is a management entity of the server involved in the recording, cost information paid by the entities using the payment agent service, time zone information on which the transaction is recorded, local information on the record, and the server involved in the recording. It can be at least part of the information. However, it is not limited to what was described here.

한편, 새로운 머클 트리의 생성이 시작되고, 트랜잭션의 수신이 없는 상태에서 상기 anchoring 조건이 만족되면, 상기 카드사 서버는, 소정의 메시지 데이터가 첫 번째 리프 노드와 두 번째 리프 노드에 할당된 머클 트리를 생성하거나 타 장치로 하여금 생성하도록 지원하고, 상기 머클 트리의 루트값 또는 이를 가공한 값을 제2 데이터베이스에 기록하거나 타 장치로 하여금 기록하도록 지원할 수 있다. 예컨대, 이 경우에는 리프 노드 2개짜리의 머클 트리가 생성될 수도 있을 것이다.On the other hand, if the creation of a new Merkle tree is started and the anchoring condition is satisfied in the absence of receiving a transaction, the card company server determines that the Merkle tree is assigned to the first leaf node and the second leaf node. It is possible to generate or support other devices to generate, and to record the root value or the processed value of the Merkle tree in a second database or allow other devices to record. In this case, for example, a leaf tree of two leaf nodes may be generated.

한편, 전술한 것처럼 카드사 서버가 상기 특정 해시값과 상기 적어도 하나의 이웃 해시값을 소정의 제1 데이터 구조로 저장하고, 이후 상기 제1 데이터 구조와 동일한 형태의 제2 데이터 구조를 저장하여 관리하는 경우, 상기 제1 데이터 구조와 상기 제2 데이터 구조는 체인 형태로 연결될 수 있다. 특히, 상기 제1 데이터 구조 및 상기 제2 데이터 구조가 머클 트리인 경우, 상기 제1 데이터 구조의 루트값 또는 상기 루트값의 해시값이 상기 제2 데이터 구조의 첫 번째 리프 노드에 할당될 수 있다.Meanwhile, as described above, the card company server stores the specific hash value and the at least one neighboring hash value in a predetermined first data structure, and then stores and manages a second data structure having the same form as the first data structure. In this case, the first data structure and the second data structure may be connected in a chain form. In particular, when the first data structure and the second data structure are Merkle trees, a root value of the first data structure or a hash value of the root value may be allocated to the first leaf node of the second data structure. .

도 9은 본 발명에 따라 상기 제2 데이터 구조로서 생성된 머클 트리를 도시한 도면이다.9 illustrates a Merkle tree generated as the second data structure according to the present invention.

도 9을 참조하면, 도 8의 머클 트리(tree_id = 0)의 루트값(hex(h0123))이 새로운 머클 트리의 첫 번째 리프 노드(h4 노드)에 할당되었음을 알 수 있다. 본 발명은 이와 같이 트랜잭션 발생시에 생성되는 복수의 데이터 구조를 연결함으로써 중간에 데이터의 변조가 발생되는 경우라도 쉽게 트래킹이 가능하여 데이터의 무결성을 향상시키는 장점을 가진다.Referring to FIG. 9, it can be seen that the root value hex (h0123) of the merkle tree (tree_id = 0) of FIG. 8 is assigned to the first leaf node (h4 node) of the new merkle tree. The present invention has an advantage of easily tracking even when data modulation occurs in the middle by connecting a plurality of data structures generated when a transaction occurs, thereby improving the integrity of the data.

또한, 본 발명의 제2 실시예에 따른 인증서의 등록 방법은, 추가적으로, 상기 카드사 서버가, 주기적으로(periodically) 상기 제1 데이터베이스에 기록된 적어도 하나의 상기 등록 트랜잭션의 해시값과 매칭되는 적어도 하나의 상기 이웃 해시값을 함께 해시 연산함으로써 생성되는 제1 대표 해시값 또는 상기 제1 대표 해시값을 가공한 값을 이에 대응되는 상기 제2 데이터베이스에 기록된 제2 대표 해시값 또는 상기 제2 대표 해시값을 가공한 값과 일치하는지를 검증함으로써 상기 제1 데이터베이스의 무결성을 검증하는 단계(미도시)를 더 포함할 수 있다.In addition, the registration method of the certificate according to the second embodiment of the present invention, additionally, at least one that the card company server is matched with the hash value of the at least one registration transaction recorded in the first database periodically (periodically) A second representative hash value or a second representative hash recorded in the second database corresponding to a first representative hash value or a value obtained by processing the first representative hash value generated by hashing the neighboring hash values of The method may further include verifying an integrity of the first database by verifying whether a value matches a processed value (not shown).

일 예시로서, 상기 제1 및 제2 데이터베이스는 블록체인 데이터베이스일 수 있다. 이때, 상기 제1 데이터베이스가 프라이빗(private) 블록체인 데이터베이스이고, 상기 제2 데이터베이스가 퍼블릭(public) 블록체인 데이터베이스일 수 있다.As an example, the first and second databases may be blockchain databases. In this case, the first database may be a private blockchain database, and the second database may be a public blockchain database.

다만, 이에 한정되지 않으며, 통상의 기술자는 상기 제1 데이터베이스가 프라이빗 블록체인 데이터베이스 또는 퍼블릭 블록체인 데이터베이스일 수 있으며, 마찬가지로 상기 제2 데이터베이스가 프라이빗 블록체인 데이터베이스 또는 퍼블릭 블록체인 데이터베이스일 수 있다는 점을 잘 이해할 수 있을 것이다.However, the present disclosure is not limited thereto, and a person skilled in the art may understand that the first database may be a private blockchain database or a public blockchain database, and likewise, the second database may be a private blockchain database or a public blockchain database. I can understand.

다음으로, 제2 실시예에 따라 결제 대행 서비스를 제공하는 방법이 설명될 것인바, 전술한 제1 실시예와 동일한 기술적 특징은 반복하여 설명하지 않고, 차이점만을 구체적으로 설명하기로 한다.Next, a method of providing a payment agent service according to the second embodiment will be described. The same technical features as the above-described first embodiment will not be repeatedly described, and only differences will be described in detail.

도 3을 참조하면, 본 발명의 제2 실시예에 따라 결제 대행 서비스를 제공하는 방법은, 전술한 단계(미도시) 이후에, anchoring 조건이 만족되면, 상기 카드사 서버가, 상기 결제 대행 서버로 하여금 상기 결제 내용 증명 트랜잭션의 해시값인 특정 해시값과 매칭되는 적어도 하나의 이웃 해시값 - 상기 이웃 해시값은, (i) 특정 푸시 토큰 ID 및 특정 사용자의 공개키를 포함하는 특정 등록 정보 또는 상기 특정 등록 정보를 가공한 값인 특정 등록 트랜잭션의 해시값 또는 (ii) 특정 단말 식별 정보 해시값, 상기 특정 푸시 토큰 ID 및 특정 결제 대상 정보 중 적어도 일부를 포함하는 트랜잭션 정보 또는 이를 가공한 값인 특정 결제 내용 증명 트랜잭션의 해시값임 - 을 함께 해시 연산함으로써 생성되는 대표 해시값 또는 상기 대표 해시값을 가공한 값을 제2 데이터베이스에 기록하도록 지원하고, 상기 대표 해시값 또는 상기 대표 해시값을 가공한 값이 상기 제2 데이터베이스에 기록된 위치 정보인 트랜잭션 ID를 획득하는 단계(미도시)를 더 포함하는바, 이는 앞서 인증서의 등록 방법에서 설명했던 바와 마찬가지이다. 즉, 특정 해시값으로부터 대표 해시값을 생성하여 제2 데이터베이스에 기록하는 과정은 전술한 바와 같으므로 중복되는 설명은 생략하기로 한다.Referring to FIG. 3, in the method of providing a payment agent service according to the second embodiment of the present invention, after the above-described step (not shown), when the anchoring condition is satisfied, the card company server is connected to the payment agent server. At least one neighbor hash value that matches a specific hash value that is a hash value of the proof of payment transaction, wherein the neighbor hash value comprises: (i) specific registration information including a specific push token ID and a specific user's public key; A hash value of a specific registration transaction, which is a value of processing specific registration information, or (ii) a transaction information including at least a part of a hash value of a specific terminal identification information, the specific push token ID, and specific payment target information, or a specific payment content that is a processing value thereof Is a hash value of the attestation transaction-the second data is a representative hash value generated by hashing together or a value obtained by processing the representative hash value. And recording (e.g., noting) a transaction ID, wherein the representative hash value or the value processed by the representative hash value is location information recorded in the second database (not shown). Same as described in the registration method. That is, since the process of generating the representative hash value from the specific hash value and recording it in the second database is the same as described above, redundant description will be omitted.

또한, 본 발명의 제2 실시예에 따른 결제 대행 서비스 제공 방법은, 추가적으로, 상기 카드사 서버가, 주기적으로(periodically) 상기 제1 데이터베이스에 기록된 적어도 하나의 상기 결제 내용 증명 트랜잭션의 해시값과 매칭되는 적어도 하나의 상기 이웃 해시값을 함께 해시 연산함으로써 생성되는 제1 대표 해시값 또는 상기 제1 대표 해시값을 가공한 값을 이에 대응되는 상기 제2 데이터베이스에 기록된 제2 대표 해시값 또는 상기 제2 대표 해시값을 가공한 값과 일치하는지를 검증함으로써 상기 제1 데이터베이스의 무결성을 검증하는 단계(미도시)를 더 포함할 수 있다.In addition, the payment agent service providing method according to the second embodiment of the present invention, in addition, the card company server, periodically matching the hash value of the at least one payment content proof transaction recorded in the first database (periodically) A second representative hash value or a second representative hash value recorded in the second database corresponding to the first representative hash value generated by hashing together at least one neighboring hash value, or a value obtained by processing the first representative hash value. The method may further include verifying an integrity of the first database by verifying whether the representative hash value matches the processed value.

제3 실시예Third embodiment

다음으로, 본 발명에 따라 결제 대행 서비스를 제공하는 방법에 관한 제3 실시예를 설명하기로 한다. 하기에서는 전술한 제1 실시예 및 제2 실시예와 동일한 기술적 특징은 반복하여 설명하지 않을 것인바, 차이점만을 구체적으로 설명한다. 제3 실시예는 제1 실시예와 마찬가지로 이웃 해쉬값과의 연산을 통하여 대표 해쉬값을 연산하는 기술적 특징, 예컨대 머클 트리를 이용하는 기술적 특징은 포함하지 않는바, 이는 제2 및 제4 실시예와 다른 점이다.Next, a third embodiment of a method of providing a payment agent service according to the present invention will be described. In the following description, the same technical features as those of the first and second embodiments will not be described repeatedly, and only differences will be described in detail. Like the first embodiment, the third embodiment does not include a technical feature for calculating a representative hash value through calculation with a neighbor hash value, for example, a technical feature using a Merkle tree. It is different.

도 5는 본 발명에 따라 결제 대행 서비스를 제공하기 위한 인증서의 등록 방법을 개략적으로 도시한 시퀀스 다이어그램이다.5 is a sequence diagram schematically illustrating a method of registering a certificate for providing a payment agent service according to the present invention.

도 5를 참조하면, 우선, 본 발명은, 사용자가 상기 사용자 단말을 통하여 우선 본 발명에 따라 결제 대행 서비스를 제공하기 위한 앱(app; application)을 획득하기 위하여 앱스토어에 접속하여 상기 앱을 다운받는 절차(S501) 및 상기 사용자 단말에 상기 앱을 설치하는 절차(S502)가 완료된 상태임을 상정한다.Referring to FIG. 5, firstly, in the present invention, a user accesses an app store to download an app for providing a billing service according to the present invention through the user terminal and downloads the app. It is assumed that the procedure of receiving (S501) and the procedure of installing the app on the user terminal (S502) are completed.

도 5에서는 설명의 편의를 위하여 결제 대행 서버가 결제 대행 관리 서버 및 결제 대행 인증 서버로 구분되어 도시되어 있으나 도 5에 도시된 결제 대행 관리 서버 및 결제 대행 인증 서버의 기능을 하나의 결제 대행 서버가 수행할 수 있음은 물론이다.In FIG. 5, a payment agent server is divided into a payment agent management server and a payment agent authentication server for convenience of description, but a single payment agent server functions as a payment agent management server and a payment agent authentication server shown in FIG. 5. Of course it can be done.

도 5를 참조하면, 본 발명의 제3 실시예에 따라 결제 대행(payment gateway) 서비스를 제공하기 위한 인증서의 등록 방법은, 사용자 단말로부터 본인 인증 정보 또는 이를 가공한 값, 및 상기 사용자 단말로의 푸시(push)를 위하여 상기 사용자 단말에 의하여 생성(S515)된 고유 식별자인 제1 푸시 토큰 ID(PushTokenID)가 전달(S520)되면, 결제 대행 서버가, 상기 본인 인증 정보 또는 이를 가공한 값, 및 상기 제1 푸시 토큰 ID를 카드사 서버에 전달(S525)하는 단계(S520, S525)를 포함한다.Referring to FIG. 5, a method of registering a certificate for providing a payment gateway service according to a third embodiment of the present invention includes a user authentication information or a processed value thereof from a user terminal, and the user terminal to the user terminal. When a first push token ID (PushTokenID), which is a unique identifier generated by the user terminal (S515), is transferred for pushing, in step S520, the payment agent server may include the identity authentication information or a processed value thereof, and And transmitting (S525) the first push token ID to a card company server (S520 and S525).

다음으로, 제3 실시예에 따른 인증서의 등록 방법은, 상기 카드사 서버로부터 인증 결과가 획득되고, 상기 인증 결과가 성공적(S545)이면, 상기 결제 대행 서버가, 상기 사용자 단말에 상기 인증 결과를 전달(S550)함으로써 상기 사용자 단말로 하여금 상기 사용자의 공개키 및 비밀키를 포함하는 키 쌍을 생성 및 저장(S560)하도록 지원(S555, S560)하는 단계(S545 내지 S560)를 더 포함한다.Next, in the certificate registration method according to the third embodiment, if the authentication result is obtained from the card company server, and the authentication result is successful (S545), the payment agent server delivers the authentication result to the user terminal. In operation S 550, the user terminal further includes the operations S 555 and S 560 for generating and storing the key pair including the public key and the private key of the user, in step S 555 and S 560.

여기에서 상기 키 쌍은 상기 사용자 단말에 입력된 PIN 코드에 대응되도록 생성 및 저장될 수도 있다.The key pair may be generated and stored to correspond to the PIN code input to the user terminal.

다시 도 5를 참조하면, 제3 실시예에 따른 인증서의 등록 방법은, 상기 사용자 단말로부터 제2 푸시 토큰 ID 및 상기 사용자의 공개키가 획득(S565)되고, 상기 제1 푸시 토큰 ID와 상기 제2 푸시 토큰 ID가 일치하면, 상기 결제 대행 서버가, 상기 제1 푸시 토큰 ID 또는 상기 제2 푸시 토큰 ID를 통합 푸시 토큰 ID로서 관리하고, 상기 통합 푸시 토큰 ID 및 상기 공개키를 포함하는 등록 정보를 저장(S570, S575)하는 단계(S565 내지 S580)를 더 포함한다.Referring back to FIG. 5, in the method for registering a certificate according to the third embodiment, a second push token ID and a public key of the user are obtained from the user terminal (S565), and the first push token ID and the first push key are obtained. If the two push token IDs match, the payment agent server manages the first push token ID or the second push token ID as an integrated push token ID, and includes registration information including the integrated push token ID and the public key. It further includes the steps (S565 to S580) for storing (S570, S575).

상기 단계(S565 내지 S580)에서는, 상기 결제 대행 서버가, 상기 인증서의 등록을 나타내는 인증서 등록 완료 메시지를 상기 사용자 단말에 전달할 수도 있다.In steps S565 to S580, the payment agent server may transmit a certificate registration completion message indicating registration of the certificate to the user terminal.

상기 결제 대행 서버가 결제 대행 관리 서버 및 결제 대행 인증 서버를 포함하도록 구성되는 경우에 상기 단계(S565 내지 S580)는, 상기 사용자 단말로부터 상기 제2 푸시 토큰 ID 및 상기 사용자의 공개키가 획득되고, 상기 제1 푸시 토큰 ID와 상기 제2 푸시 토큰 ID가 일치하면, 상기 결제 대행 관리 서버가, 상기 통합 푸시 토큰 ID 및 상기 공개키를 상기 결제 대행 인증 서버에 전달(S570)함으로써 상기 결제 대행 인증 서버로 하여금 상기 통합 푸시 토큰 ID 및 상기 공개키를 보유(S575)하도록 지원하는 것을 특징으로 할 수도 있다.When the payment agent server is configured to include a payment agent management server and a payment agent authentication server, the steps (S565 to S580), the second push token ID and the public key of the user is obtained from the user terminal, If the first push token ID and the second push token ID coincide, the payment agency management server transfers the integrated push token ID and the public key to the payment agency authentication server (S570), so that the payment agent authentication server It may be characterized in that for supporting to hold the integrated push token ID and the public key (S575).

다음으로, 제3 실시예에 따른 인증서의 등록 방법은, 상기 결제 대행 서버가, 상기 등록 정보 또는 상기 등록 정보를 가공한 값을 상기 인증서의 등록 트랜잭션으로서 상기 데이터베이스 상에 기록하거나 상기 결제 대행 서버에 연동되는 타 장치로 하여금 기록하도록 지원하는 단계(S585, S590)를 더 포함할 수 있다.Next, in the registration method of the certificate according to the third embodiment, the payment agent server records the registration information or the value obtained by processing the registration information on the database as a registration transaction of the certificate or to the payment agent server. The method may further include steps S585 and S590 for supporting the interworking device to record.

도 5에서는 이 단계(S585, S590)가 상기 단계(S565 내지 S580) 후에 수행되는 것으로 표시되어 있으나, 이는 하나의 예시일 뿐, 단계(S585, S590)는 상기 등록 정보만 상기 결제 대행 서버가 보유하고 있다면, 단계(S545 내지 S560) 이후의 어느 시기에라도 수행될 수 있다.In FIG. 5, the steps S585 and S590 are shown to be performed after the steps S565 to S580. However, this is only one example. In steps S585 and S590, only the registration information is retained by the payment agent server. If so, it may be performed at any time after the steps S545 to S560.

한편, 전술한 바와 같이 본 발명의 제3 실시예에 따라 결제 대행 서비스를 제공하기 위하여 인증서를 등록하는 방법을 카드사 서버를 기준으로 다시 설명하자면, 인증서 등록 방법은, 우선, 사용자 단말로부터 본인 인증 정보 또는 이를 가공한 값, 및 상기 사용자 단말로의 푸시(push)를 위하여 상기 사용자 단말에 의하여 생성된 고유 식별자인 제1 푸시 토큰 ID(PushTokenID)가 결제 대행 서버를 통하여 전달되면, 카드사 서버가, 상기 본인 인증 정보 또는 이를 가공한 값을 포함하는 인증 요청 정보를 카드사 회원 원장 서버에 전달하는 프로세스, 및 상기 본인 인증 정보에 포함된 상기 사용자 단말을 식별하기 위한 정보인 단말 식별 정보 및 상기 제1 푸시 토큰 ID를 저장하는 프로세스를 수행하는 단계; 및 상기 카드사 회원 원장 서버로부터 상기 인증 요청 정보에 대응되는 인증 결과가 획득되고, 상기 인증 결과가 성공적이면, 상기 카드사 서버가, 상기 결제 대행 서버에 상기 인증 결과를 전달하는 단계를 포함한다.Meanwhile, as described above, a method of registering a certificate in order to provide a payment agent service according to the third embodiment of the present invention will be described based on the card company server. Or a value obtained by processing the same, and a first push token ID (PushTokenID), which is a unique identifier generated by the user terminal for pushing to the user terminal, is transmitted through a payment agent server, the card company server, A process of delivering authentication request information including identity authentication information or a processed value to a card company member ledger server, and terminal identification information and the first push token as information for identifying the user terminal included in the identity authentication information; Performing a process of storing an ID; And obtaining an authentication result corresponding to the authentication request information from the card company member ledger server, and if the authentication result is successful, transmitting the authentication result to the payment agent server by the card company server.

다음으로, 전술한 인증서를 기반으로 제3 실시예에 따라 결제 대행 서비스를 제공하는 방법을 설명한다.Next, a method of providing a payment agent service according to the third embodiment will be described based on the above-described certificate.

도 6은 본 발명에 따라 결제 대행 서비스를 제공하는 방법을 개략적으로 도시한 시퀀스 다이어그램이다. 도 6에서는 설명의 편의를 위하여 결제 대행 서버가 결제 대행 관리 서버 및 결제 대행 인증 서버로 구분되어 도시되어 있으나 도 6에 도시된 결제 대행 관리 서버 및 결제 대행 인증 서버의 기능을 하나의 결제 대행 서버가 수행할 수 있음은 물론이다.6 is a sequence diagram schematically illustrating a method for providing a payment agency service according to the present invention. In FIG. 6, a payment agent server is divided into a payment agent management server and a payment agent authentication server for convenience of description, but a single payment agent server functions as a payment agent management server and a payment agent authentication server shown in FIG. 6. Of course it can be done.

도 6을 참조하면, 본 발명의 제3 실시예에 따라 결제 대행 서비스를 제공하는 방법은, 사용자의 결제 요청(S605)에 응하여 서비스 제공자의 서버인 서비스 제공자 서버로부터 사용자 단말을 식별하기 위한 정보인 단말 식별 정보를 해시 연산한 결과값인 단말 식별 정보 해시값, 결제 대상 정보 및 서비스 제공자 인증 정보가 결제 접수 요청 정보로서 획득(S610)되면, 결제 대행 서버가, (i) 상기 결제 접수 요청 정보에 대응되며 상기 단말 식별 정보 해시값 및 상기 결제 대상 정보에 포함된 주문 번호를 포함하는 결제 접수 결과 정보를 상기 서비스 제공자 서버에 전달하는 프로세스(S625) 및 (ii) 상기 결제 접수 요청 정보에 응하여 상기 결제 대상 정보 및 상기 결제 대상 정보에 대한 인증을 요청하는 정보인 인증 요청 정보를 상기 사용자 단말에 전달하는 프로세스(S630)를 수행하는 단계를 포함한다.Referring to FIG. 6, the method for providing a billing service according to the third embodiment of the present invention is information for identifying a user terminal from a service provider server which is a server of a service provider in response to a user's payment request (S605). When the terminal identification information hash value, the payment target information, and the service provider authentication information, which are the result of hashing the terminal identification information, are acquired as the payment reception request information (S610), the payment agency server may (i) add to the payment reception request information. A process of transmitting payment result information corresponding to the terminal identification information hash value and the order number included in the payment target information to the service provider server (S625) and (ii) the payment in response to the payment reception request information. A program for transmitting authentication request information, which is information for requesting authentication of the target information and the payment target information, to the user terminal. Performing a process (S630).

다음으로, 본 발명의 제3 실시예에 따른 결제 대행 서비스 제공 방법은, 상기 인증 요청 정보에 대한 응답으로서 상기 사용자의 승인(S635) 하에서 제2 푸시 토큰 ID를 포함하는 결제 승인 요청 정보가 획득(S640)되고, 상기 인증 요청 정보에 포함된 제1 푸시 토큰 ID와 상기 제2 푸시 토큰 ID가 일치하면, 상기 결제 대행 서버가, 상기 제1 푸시 토큰 ID 또는 상기 제2 푸시 토큰 ID를 통합 푸시 토큰 ID로서 관리하고, 상기 결제 승인 요청 정보의 유효성을 검증(S645, S650)하는 단계(S635 내지 S650)를 더 포함한다.Next, in the payment agent service providing method according to the third embodiment of the present invention, the payment approval request information including the second push token ID is obtained under the user's approval (S635) as a response to the authentication request information. S640), and when the first push token ID included in the authentication request information and the second push token ID match, the payment agent server integrates the first push token ID or the second push token ID into an integrated push token. Managing as an ID, and the step (S635 to S650) to verify the validity of the payment approval request information (S645, S650).

전술한 제1 실시예 및 제2 실시예에서와 마찬가지로 상기 결제 승인 요청 정보에 의한 결제 승인에는 랜덤 넌스(random nonce)를 이용하는 방식과 타임스탬프(timestamp)를 이용하는 방식이 있을 수 있다.As in the first and second embodiments described above, payment approval based on the payment approval request information may include a method using random nonce and a method using a timestamp.

랜덤 넌스를 이용하는 방식에서는, 프로세스(S630)는, 상기 결제 대행 서버가, 랜덤 넌스(random nonce)를 포함하는 상기 인증 요청 정보 및 상기 결제 대상 정보를 상기 사용자 단말에 전달하는 것을 특징으로 하고, 상기 결제 승인 요청 정보는, 상기 제2 푸시 토큰 ID, 상기 랜덤 넌스를 상기 사용자의 개인키로 서명한 결과값인 랜덤 넌스 서명값, 및 상기 사용자의 공개키를 포함하며, 단계(S645)에서, 상기 결제 대행 서버가, 상기 사용자의 공개키 및 상기 랜덤 넌스 서명값을 이용하여 상기 결제 승인 요청 정보의 유효성을 검증하는 것을 특징으로 할 수 있다. 상기 랜덤 넌스 서명값의 유효성을 검증하는 방법은 전술한 바와 같다.In the method using a random nonce, the process (S630) is characterized in that the payment agent server delivers the authentication request information including the random nonce and the payment target information to the user terminal. The payment approval request information includes the second push token ID, a random nonce signature value that is a result of signing the random nonce with the private key of the user, and the public key of the user. In step S645, the payment is performed. The agent server may verify the validity of the payment approval request information by using the user's public key and the random nonce signature value. The method of verifying the validity of the random nonce signature value is as described above.

한편, 타임스탬프를 이용하는 방식에서는, 상기 결제 승인 요청 정보는, 상기 제2 푸시 토큰 ID, 소정의 타임스탬프를 상기 사용자의 개인키로 서명한 결과값인 타임스탬프 서명값, 및 상기 사용자의 공개키를 포함하며, 단계(S645)에서, 상기 결제 대행 서버가, 상기 사용자의 공개키 및 상기 타임스탬프 서명값을 이용하여 상기 결제 승인 요청 정보의 유효성을 검증하되, 상기 타임스탬프 서명값에 대응되는 제1 시각과 상기 결제 승인 요청 정보의 유효성이 검증되는 시각인 제2 시각 사이의 시간 간격이 설정값 이상이면, 상기 결제 승인 요청 정보가 무효인 것으로 판정될 수 있다.On the other hand, in the method using a time stamp, the payment approval request information, the second stamp token ID, a time stamp signature value that is a result of signing a predetermined time stamp with the user's private key, and the user's public key In operation S645, the payment agent server verifies the validity of the payment approval request information by using the public key of the user and the timestamp signature value, and corresponds to the first timestamp signature value. When a time interval between a time and a second time, which is a time at which the validity of the payment approval request information is verified, is equal to or greater than a set value, the payment approval request information may be determined to be invalid.

다음으로, 도 6 및 그 도 6에 도시된 방법의 특정 단계들을 더 세분화하여 도시한 도 7을 참조하면, 본 발명의 제3 실시예에 따른 결제 대행 서비스 제공 방법은, 상기 결제 승인 요청 정보가 유효하면, 상기 결제 대행 서버(도 7의 결제 대행 서버가 결제 대행 관리 서버 및 결제 대행 인증 서버를 포함하도록 구성됨)가, 카드사 서버(도 7에서는 카드사 서버가 카드사 관리 서버 및 카드사 인증 서버를 포함하도록 구성됨)로 하여금 상기 결제 승인 요청 정보에 따른 카드 승인을 처리하도록 지원하는 단계(S655, S660)를 더 포함한다.Next, referring to FIG. 7, which further illustrates specific steps of the method illustrated in FIG. 6 and FIG. 6, the payment proxy service providing method according to the third embodiment of the present invention may include: If valid, the payment agency server (the payment agency server of FIG. 7 is configured to include a payment agency management server and a payment agency authentication server), the card company server (in Figure 7 card company server includes a card company management server and card company authentication server And configured to process card authorization according to the payment authorization request information (S655 and S660).

다시 도 6을 참조하면, 상기 결제 대행 서버는, 상기 사용자의 승인에 따라 전달된 결제 승인 요청 정보에 대하여 상기 카드사 서버로부터 획득된 결제 승인 결과를 상기 서비스 제공자 서버 및 상기 사용자 단말 중 적어도 하나에 전달(S665, S670)할 수도 있다.Referring back to FIG. 6, the payment agent server transmits a payment approval result obtained from the card company server to at least one of the service provider server and the user terminal with respect to payment approval request information delivered according to the user's approval. (S665, S670).

또한, 도 6을 참조하면, 본 발명의 제3 실시예에 따른 결제 대행 서비스 제공 방법은, 상기 결제 대행 서버가, 상기 단말 식별 정보 해시값, 상기 통합 푸시 토큰 ID, 및 상기 결제 대상 정보 중 적어도 일부를 포함하는 트랜잭션 정보 또는 이를 가공한 값을 결제 내용 증명 트랜잭션으로서 상기 데이터베이스 상에 기록하거나 상기 결제 대행 서버에 연동되는 타 장치로 하여금 기록하도록 지원하는 단계(S680, S685)를 더 포함할 수 있다.6, in the payment agent service providing method according to the third embodiment of the present invention, the payment agent server may include at least one of the terminal identification information hash value, the integrated push token ID, and the payment target information. The method may further include recording the transaction information including the portion or the processed value thereof on the database as a payment contents verification transaction or by allowing another device linked to the payment agent server to record the data (S680 and S685). .

다시 도 7을 참조하면 상기 결제 대행 서버가 결제 대행 관리 서버 및 결제 대행 인증 서버를 포함하도록 구성되고 상기 인증 요청 정보에 랜덤 넌스가 포함되는 경우에, 상기 프로세스(S630)는, 상기 결제 대행 관리 서버가, 상기 결제 접수 요청 정보에 응하여 상기 제1 푸시 토큰 ID, 상기 결제 대상 정보 및 인증 요청 정보를 상기 사용자 단말에 전달하는 것을 특징으로 할 수 있으며, 상기 단계(S635 내지 S650)는, 상기 인증 요청 정보에 대한 응답으로서 상기 사용자의 승인(S635) 하에서 상기 랜덤 넌스를 상기 사용자의 개인키로 서명(S636, S637)한 결과값인 랜덤 넌스 서명값, 상기 제2 푸시 토큰 ID 및 상기 사용자의 공개키를 포함하는 결제 승인 요청 정보가 상기 사용자 단말로부터 획득(S640)되면, 상기 결제 대행 관리 서버가, 상기 랜덤 넌스 서명값 및 상기 공개키를 상기 결제 대행 인증 서버에 전달(S645)함으로써 상기 결제 대행 인증 서버로 하여금 상기 결제 승인 요청 정보의 유효성을 검증하도록 지원하는 것을 특징으로 할 수 있고, 단계(S655, S660)는, 상기 결제 승인 요청 정보가 유효하면, 상기 결제 대행 관리 서버가, 상기 결제 승인 요청 정보를 상기 카드사 서버에 전달(S655)함으로써 상기 카드사 서버로 하여금 상기 결제 승인 요청 정보에 따른 카드 승인을 처리하기 위한 카드 정보를 이용하여 상기 카드 승인을 처리(S656, S657)하도록 지원하는 것을 특징으로 할 수 있다.Referring to FIG. 7 again, when the payment agency server is configured to include a payment agency management server and a payment agency authentication server, and the random request is included in the authentication request information, the process (S630) may include the payment agency management server. The first push token ID, the payment target information, and the authentication request information may be transmitted to the user terminal in response to the payment reception request information. The steps S635 to S650 may include the authentication request. In response to the information, a random nonce signature value, the second push token ID, and the public key of the user, which are the result of signing the random nonce with the private key of the user (S636 and S637) under the user's approval (S635). When payment approval request information including information is obtained from the user terminal (S640), the payment agency management server, the random nonce signature value and the By passing a public key to the payment agency authentication server (S645), it is possible to support the payment agency authentication server to verify the validity of the payment approval request information, and the steps (S655 and S660), the payment If the authorization request information is valid, the payment agency management server transmits the payment authorization request information to the card company server (S655) to allow the card company server to process card information for processing the card authorization according to the payment authorization request information. It may be characterized in that for supporting the card authorization processing (S656, S657).

다시 도 6을 참조하면, 본 발명의 제3 실시예에 따른 결제 대행 서비스 제공 방법은, 상기 카드 승인이 완료되면, 상기 결제 대행 서버가, 상기 카드 승인이 완료되었음을 나타내는 결제 승인 결과를 상기 사용자 단말 및 상기 서비스 제공자 서버 중 적어도 하나에 전달하는 단계(S665, S670)를 더 포함할 수 있다.Referring back to FIG. 6, in the payment agent service providing method according to the third embodiment of the present disclosure, when the card approval is completed, the payment agent server displays a payment approval result indicating that the card approval is completed. And transmitting to at least one of the service provider server (S665, S670).

전술한 바와 같이 본 발명의 제3 실시예에 따라 결제 대행 서비스를 제공하는 방법을 카드사 서버를 기준으로 다시 설명하자면, 결제 대행 서비스를 제공하는 방법은, 우선, 사용자의 결제 요청에 응하여 서비스 제공자의 서버인 서비스 제공자 서버로부터 사용자 단말을 식별하기 위한 정보인 단말 식별 정보를 해시 연산한 결과값인 단말 식별 정보 해시값, 결제 대상 정보 및 서비스 제공자 인증 정보가 결제 접수 요청 정보로서 결제 대행 서버에 의하여 획득되어, 상기 결제 대행 서버에 의하여 상기 결제 대상 정보 및 상기 결제 대상 정보에 대한 인증을 요청하는 정보인 인증 요청 정보가 상기 사용자 단말에 전달되고, 상기 인증 요청 정보에 대한 응답으로서 상기 사용자의 승인 하에서 상기 결제 대행 서버에 전달된 결제 승인 요청 정보가 유효한 것으로 판정된 상태에서, 카드사 서버가, 상기 결제 대행 서버로부터 상기 결제 승인 요청 정보를 획득하는 단계; 및 상기 카드사 서버가, 획득된 상기 결제 승인 요청 정보에 따른 카드 승인을 처리하기 위한 카드 정보를 이용하여 상기 카드 승인을 처리하는 단계를 포함한다.As described above, the method of providing the payment agency service according to the third embodiment of the present invention will be described again based on the card company server. The terminal identification information hash value, the payment target information, and the service provider authentication information, which are the result of hashing the terminal identification information, which is information for identifying the user terminal, from the service provider server which is a server, are acquired by the payment agent server as the payment reception request information. And the authentication request information, which is information for requesting authentication of the payment target information and the payment target information, by the payment agent server, is transmitted to the user terminal, and in response to the authentication request information, The payment authorization request information passed to the billing server is valid Acquiring, by the card company server, the payment approval request information from the payment agency server; And processing, by the card company server, the card approval using card information for processing card approval according to the obtained payment approval request information.

제4 실시예Fourth embodiment

마지막으로, 본 발명에 따라 결제 대행 서비스를 제공하는 방법에 관한 제4 실시예를 설명하기로 한다. 하기에서는 전술한 제3 실시예와 동일한 기술적 특징은 반복하여 설명하지 않을 것인바, 차이점만을 구체적으로 설명한다. 제4 실시예는 제3 실시예의 기술적 특징을 모두 포함하면서, 제2 실시예와 마찬가지로 이웃 해쉬값과의 연산을 통하여 대표 해쉬값을 연산하는 기술적 특징, 예컨대 머클 트리를 이용하는 기술적 특징을 더 포함한다.Finally, a fourth embodiment of a method of providing a payment agent service according to the present invention will be described. In the following description, the same technical features as those of the above-described third embodiment will not be repeated, and only differences will be described in detail. The fourth embodiment further includes all the technical features of the third embodiment, and further includes a technical feature for calculating a representative hash value through calculation with neighboring hash values as in the second embodiment, for example, a technical feature using a Merkle tree. .

구체적으로, 도 5를 다시 참조하면, 본 발명의 제4 실시예에 따라 결제 대행 서비스를 제공하기 위한 인증서의 등록 방법은, 제3 실시예의 단계(미도시) 후에, anchoring 조건이 만족되면, 상기 결제 대행 서버가, 상기 등록 트랜잭션의 해시값인 특정 해시값과 매칭되는 적어도 하나의 이웃 해시값 - 상기 이웃 해시값은, (i) 특정 푸시 토큰 ID 및 특정 사용자의 공개키를 포함하는 특정 등록 정보 또는 상기 특정 등록 정보를 가공한 값인 특정 등록 트랜잭션의 해시값 또는 (ii) 특정 단말 식별 정보 해시값, 상기 특정 푸시 토큰 ID 및 특정 결제 대상 정보 중 적어도 일부를 포함하는 트랜잭션 정보 또는 이를 가공한 값인 특정 결제 내용 증명 트랜잭션의 해시값임 - 을 함께 해시 연산함으로써 생성되는 대표 해시값 또는 상기 대표 해시값을 가공한 값을 제2 데이터베이스에 기록하거나 상기 타 장치로 하여금 기록하도록 지원하고, 상기 대표 해시값 또는 상기 대표 해시값을 가공한 값이 상기 제2 데이터베이스에 기록된 위치 정보인 트랜잭션 ID를 획득하는 단계(미도시)를 더 포함한다.Specifically, referring back to FIG. 5, in the method of registering a certificate for providing a payment agency service according to the fourth embodiment of the present invention, if the anchoring condition is satisfied after the step (not shown) of the third embodiment, At least one neighbor hash value of which the payment agent server matches a specific hash value that is a hash value of the registration transaction, wherein the neighbor hash value includes: (i) specific registration information including a specific push token ID and a specific user's public key; Or a hash value of a specific registration transaction, which is a value of processing the specific registration information, or (ii) a transaction information including at least some of a specific terminal identification information hash value, the specific push token ID, and specific payment target information, or a value that is processing the same. It is a hash value of the transaction of proof of payment contents-a second hash value generated by hashing together or a value obtained by processing the representative hash value. Recording to a database or allowing the other device to record, and obtaining a transaction ID (not shown) in which the representative hash value or a value obtained by processing the representative hash value is position information recorded in the second database; It includes more.

이와 같이 대표 해시값 또는 상기 대표 해시값을 가공한 값을 제2 데이터베이스에 기록하는 방식에 대하여는 이를 수행하는 주체가 카드사 서버가 아닌 결제 대행 서버라는 점에서만 차이가 있을 뿐, 제2 실시예에 관하여 전술한 바와 같으므로 생략할 것이다.As described above, the method of recording the representative hash value or the processed value of the representative hash value in the second database is different only in that the subject performing the same is not the card company server but the payment agent server. As described above, it will be omitted.

또한, 도 6을 다시 참조하면, 본 발명의 제4 실시예에 따라 결제 대행 서비스를 제공하는 방법은, 제3 실시예의 단계(미도시) 후에, anchoring 조건이 만족되면, 상기 결제 대행 서버가, 상기 결제 내용 증명 트랜잭션의 해시값인 특정 해시값과 매칭되는 적어도 하나의 이웃 해시값 - 상기 이웃 해시값은, (i) 특정 푸시 토큰 ID 및 특정 사용자의 공개키를 포함하는 특정 등록 정보 또는 상기 특정 등록 정보를 가공한 값인 특정 등록 트랜잭션의 해시값 또는 (ii) 특정 단말 식별 정보 해시값, 상기 특정 푸시 토큰 ID 및 특정 결제 대상 정보 중 적어도 일부를 포함하는 트랜잭션 정보 또는 이를 가공한 값인 특정 결제 내용 증명 트랜잭션의 해시값임 - 을 함께 해시 연산함으로써 생성되는 대표 해시값 또는 상기 대표 해시값을 가공한 값을 제2 데이터베이스에 기록하거나 상기 타 장치로 하여금 기록하도록 지원하고, 상기 대표 해시값 또는 상기 대표 해시값을 가공한 값이 상기 제2 데이터베이스에 기록된 위치 정보인 트랜잭션 ID를 획득하는 단계(미도시)를 더 포함한다.In addition, referring back to FIG. 6, in the method of providing a payment agent service according to the fourth embodiment of the present invention, if the anchoring condition is satisfied after the step (not shown) of the third embodiment, the payment agent server, At least one neighbor hash value that matches a specific hash value that is a hash value of the proof of payment transaction-The neighbor hash value includes: (i) specific registration information or a specific user's public key including a specific push token ID and a specific user's public key; A hash value of a specific registration transaction, which is a value of processing registration information, or (ii) Transaction information including at least some of the specific terminal identification information hash value, the specific push token ID, and specific payment target information, or proof of a specific payment content that is processing value thereof. Represents a hash value generated by hashing together a transaction or a value obtained by processing the representative hash value. Or support to enable the recording to the other device, and further comprising the step (not shown) to the value processing of the representative hash value or the representative hash value obtained for the transaction ID, the position information recorded in the second database.

전술한 본 발명의 모든 실시예들에 걸쳐, 보안성과 사용성이 강하면서도 저비용으로 신용 카드의 결제 대행 서비스를 제공할 수 있으며, 무단 복제 또는 위변작이 불가능하도록 하여 신용 카드 결제 시스템의 신뢰성 및 보안성을 향상시킬 수 있는 효과가 있다.Through all the embodiments of the present invention described above, it is possible to provide a credit card settlement agent service at a low cost with security and usability, and to prevent unauthorized copying or forgery, thereby providing reliability and security of the credit card settlement system. There is an effect to improve.

상기 실시예들로서 여기에서 설명된 기술의 이점은, 공개키, 해시값 등의 결제 관련 정보의 위변작이 사실상 불가능하게 됨으로써 결제 시스템의 신뢰성이 보장되고, 결제의 흐름 상 신용카드 정보가 노출되는 위험을 최소화할 수 있으며, 가상 화폐의 블록체인에 트랜잭션을 기록하게 함으로써 카드 결제에 관한 정보의 관리를 용이하게 함과 동시에 오류 방지를 위한 무결성을 도모할 수 있게 된다는 점이다.Advantages of the technology described herein as the above embodiments, the forgery of payment-related information such as public key, hash value, etc. is virtually impossible to ensure the reliability of the payment system, risk of exposing credit card information in the flow of payment It is possible to minimize the number of transactions and to record transactions in the blockchain of virtual currency, thereby facilitating the management of information on card payments and at the same time improving the integrity for error prevention.

위 실시예의 설명에 기초하여 통상의 기술자는, 본 발명이 소프트웨어 및 하드웨어의 결합을 통하여 달성되거나 하드웨어만으로 달성될 수 있다는 점을 명확하게 이해할 수 있다. 본 발명의 기술적 해법의 대상물 또는 선행 기술들에 기여하는 부분들은 다양한 컴퓨터 구성요소를 통하여 수행될 수 있는 프로그램 명령어의 형태로 구현되어 컴퓨터 판독 가능한 기록 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능한 기록 매체는 프로그램 명령어, 데이터 파일, 자료 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 컴퓨터 판독 가능한 기록 매체에 기록되는 프로그램 명령어는 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 통상의 기술자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능한 기록 매체의 예에는, 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체, CD-ROM, DVD와 같은 광기록 매체, 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 ROM, RAM, 플래시 메모리 등과 같은 프로그램 명령어를 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령어의 예에는, 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드도 포함된다. 상기 하드웨어 장치는 본 발명에 따른 처리를 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다. 상기 하드웨어 장치는, 프로그램 명령어를 저장하기 위한 ROM/RAM 등과 같은 메모리와 결합되고 상기 메모리에 저장된 명령어들을 실행하도록 구성되는 CPU나 GPU와 같은 프로세서를 포함할 수 있으며, 외부 장치와 신호를 주고 받을 수 있는 통신부를 포함할 수 있다. 덧붙여, 상기 하드웨어 장치는 개발자들에 의하여 작성된 명령어들을 전달받기 위한 키보드, 마우스, 기타 외부 입력장치를 포함할 수 있다.Based on the description of the above embodiment, a person skilled in the art can clearly understand that the present invention can be achieved through a combination of software and hardware or by hardware alone. The objects contributing to the object of the technical solution or the prior art of the present invention may be embodied in the form of program instructions that can be executed by various computer components and recorded in a computer-readable recording medium. The computer-readable recording medium may include program instructions, data files, data structures, etc. alone or in combination. Program instructions recorded on the computer-readable recording medium may be those specially designed and configured for the present invention, or may be known and available to those skilled in the art. Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks and magnetic tape, optical recording media such as CD-ROMs, DVDs, and magneto-optical media such as floptical disks. media), and hardware devices specifically configured to store and execute program instructions, such as ROM, RAM, flash memory, and the like. Examples of program instructions include not only machine code generated by a compiler, but also high-level language code that can be executed by a computer using an interpreter or the like. The hardware device may be configured to operate as one or more software modules to perform the process according to the invention, and vice versa. The hardware device may include a processor, such as a CPU or a GPU, coupled with a memory such as a ROM / RAM for storing program instructions and configured to execute instructions stored in the memory, and may exchange signals with an external device. It may include a communication unit. In addition, the hardware device may include a keyboard, a mouse, and other external input devices for receiving instructions written by developers.

이상에서 본 발명이 구체적인 구성요소 등과 같은 특정 사항들과 한정된 실시예 및 도면에 의해 설명되었으나, 이는 본 발명의 보다 전반적인 이해를 돕기 위해서 제공된 것일 뿐, 본 발명이 상기 실시예들에 한정되는 것은 아니며, 본 발명이 속하는 기술분야에서 통상적인 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형을 꾀할 수 있다.Although the present invention has been described by specific embodiments such as specific components and the like, but the embodiments and the drawings are provided to assist in a more general understanding of the present invention, the present invention is not limited to the above embodiments. For those skilled in the art, various modifications and variations can be made from these descriptions.

따라서, 본 발명의 사상은 상기 설명된 실시예에 국한되어 정해져서는 아니 되며, 후술하는 특허청구범위뿐만 아니라 이 특허청구범위와 균등하게 또는 등가적으로 변형된 모든 것들은 본 발명의 사상의 범주에 속한다고 할 것이다.Accordingly, the spirit of the present invention should not be limited to the above-described embodiments, and all of the equivalents or equivalents of the claims, as well as the appended claims, fall within the scope of the spirit of the present invention. I will say.

Claims (31)

데이터베이스를 이용하여 결제 대행(payment gateway) 서비스를 제공하기 위한 인증서의 등록 방법으로서, As a registration method of a certificate for providing a payment gateway service using a database, (a) 사용자 단말로부터 본인 인증 정보 또는 이를 가공한 값, 및 상기 사용자 단말로의 푸시(push)를 위하여 상기 사용자 단말에 의하여 생성된 고유 식별자인 제1 푸시 토큰 ID(PushTokenID)가 전달되면, 카드사 서버가, 상기 사용자 단말로 하여금 상기 사용자의 공개키 및 개인키를 포함하는 키 쌍을 생성 및 저장하도록 지원하는 단계; (a) the card company if the first authentication token or the processed value from the user terminal and the first push token ID (PushTokenID), which is a unique identifier generated by the user terminal for pushing to the user terminal, are delivered, Supporting, by the server, the user terminal to generate and store a key pair including the public key and the private key of the user; (b) 제2 푸시 토큰 ID 및 상기 사용자의 공개키가 획득되고, 상기 제1 푸시 토큰 ID와 상기 제2 푸시 토큰 ID가 일치하면, 상기 카드사 서버가, 상기 제1 푸시 토큰 ID 또는 상기 제2 푸시 토큰 ID를 통합 푸시 토큰 ID로서 관리하고, 상기 통합 푸시 토큰 ID 및 상기 공개키를 포함하는 등록 정보를 저장하거나 타 장치로 하여금 저장하도록 지원하는 단계; 및 (b) if a second push token ID and the public key of the user are obtained, and the first push token ID and the second push token ID match, the card company server, the first push token ID or the second push token ID; Managing a push token ID as an integrated push token ID and storing registration information including the integrated push token ID and the public key or allowing another device to store it; And (c) 상기 등록 정보가 저장되면, 상기 카드사 서버가, (i) 상기 사용자 단말을 식별하기 위한 정보인 단말 식별 정보를 해시 연산한 결과값인 단말 식별 정보 해시값, 및 (ii) 상기 통합 푸시 토큰 ID를 포함하는 사용자 식별 정보를 결제 대행 서버로 전달하거나 타 장치로 하여금 전달하도록 지원함으로써 상기 결제 대행 서버로 하여금 상기 사용자 식별 정보를 관리하도록 지원하는 단계(c) when the registration information is stored, the card company server, (i) a terminal identification information hash value that is a result of hashing terminal identification information which is information for identifying the user terminal, and (ii) the integrated push. Assisting the payment agency server to manage the user identification information by transferring user identification information including a token ID to a payment agent server or by allowing another device to deliver the user identification information. 를 포함하는 방법. How to include. 제1항에 있어서, The method of claim 1, 상기 (b) 단계 이후에,After step (b), (d) 상기 카드사 서버가, 상기 통합 푸시 토큰 ID 및 상기 공개키를 포함하는 등록 정보 또는 상기 등록 정보를 가공한 값을 상기 인증서의 등록 트랜잭션으로서 상기 데이터베이스 상에 기록하거나 상기 카드사 서버에 연동되는 타 장치로 하여금 기록하도록 지원하는 단계(d) The card company server records registration information including the integrated push token ID and the public key or a value obtained by processing the registration information on the database as a registration transaction of the certificate or is linked to the card company server. Supporting the device to record 를 더 포함하는 것을 특징으로 하는 방법.Method further comprising a. 제1항에 있어서, The method of claim 1, 상기 (a) 단계는, In step (a), (a1) 상기 본인 인증 정보 또는 이를 가공한 값, 및 상기 제1 푸시 토큰 ID가 전달되면, 상기 카드사 서버가, 상기 본인 인증 정보 또는 이를 가공한 값을 포함하는 인증 요청 정보를 카드사 회원 원장 서버에 전달하는 프로세스, 및 상기 단말 식별 정보 및 상기 제1 푸시 토큰 ID를 저장하는 프로세스를 수행하는 단계; 및 (a1) When the identity authentication information or a value processed therein and the first push token ID are transmitted, the card company server sends authentication request information including the identity authentication information or the processed value to the card company member ledger server. Performing a process of forwarding and storing the terminal identification information and the first push token ID; And (a2) 상기 카드사 회원 원장 서버로부터 상기 인증 요청 정보에 대응되는 인증 결과가 획득되고, 상기 인증 결과가 성공적이면, 상기 카드사 서버가, 상기 사용자 단말에 상기 인증 결과를 전달하거나 타 장치로 하여금 전달하도록 지원함으로써 상기 사용자 단말로 하여금 상기 사용자 단말에 입력된 PIN 코드에 대응되도록 상기 키 쌍을 생성 및 저장하도록 지원하는 단계(a2) An authentication result corresponding to the authentication request information is obtained from the card company member ledger server, and if the authentication result is successful, the card company server delivers the authentication result to the user terminal or causes another device to deliver it. Supporting the user terminal to generate and store the key pair so as to correspond to a PIN code inputted to the user terminal 를 포함하는 것을 특징으로 하는 방법.Method comprising a. 제1항에 있어서, The method of claim 1, 상기 카드사 서버는 카드사 관리 서버 및 카드사 인증 서버를 포함하고, The card company server includes a card company management server and a card company authentication server, 상기 (b) 단계는, In step (b), 상기 제2 푸시 토큰 ID 및 상기 사용자의 공개키가 획득되고, 상기 제1 푸시 토큰 ID와 상기 제2 푸시 토큰 ID가 일치하면, 상기 카드사 관리 서버가, 상기 통합 푸시 토큰 ID 및 상기 공개키를 상기 카드사 인증 서버에 전달함으로써 상기 카드사 인증 서버로 하여금 상기 통합 푸시 토큰 ID 및 상기 공개키를 보유하거나 타 장치로 하여금 보유하도록 지원하는 것을 특징으로 하는 방법.If the second push token ID and the public key of the user are obtained, and the first push token ID and the second push token ID coincide, the card company management server sends the integrated push token ID and the public key. Delivering to the card company authentication server to support the card company authentication server to hold the integrated push token ID and the public key or to be held by another device. 제1항에 있어서, The method of claim 1, 상기 (c) 단계는, In step (c), 상기 카드사 서버가, 상기 인증서의 등록을 나타내는 인증서 등록 완료 메시지를 상기 사용자 단말에 전달하거나 타 장치로 하여금 전달하도록 지원하는 것을 특징으로 하는 방법.The card company server, characterized in that for transmitting the certificate registration complete message indicating the registration of the certificate to the user terminal or to allow other devices to deliver. 제1항에 있어서, The method of claim 1, 상기 본인 인증 정보는, The identity verification information, 상기 사용자의 성명, 상기 사용자의 전화 번호, 카드 번호 및 CVC(Card Verification Value) 중 적어도 하나를 포함하는 것을 특징으로 하는 방법.And at least one of a name of the user, a telephone number of the user, a card number, and a card verification value (CVC). 제1항에 있어서, The method of claim 1, 상기 단말 식별 정보는, The terminal identification information, 상기 사용자 단말에 대응되는 상기 사용자의 전화 번호인 것을 특징으로 하는 방법.And the telephone number of the user corresponding to the user terminal. 제2항에 있어서, The method of claim 2, 상기 데이터베이스는 가상 화폐의 블록체인 데이터베이스이며, The database is a blockchain database of virtual currency, 상기 블록체인 데이터베이스는 퍼블릭 블록체인 데이터베이스 또는 프라이빗 블록체인 데이터베이스인 것을 특징으로 하는 방법.The blockchain database is a public blockchain database or a private blockchain database. 데이터베이스를 이용하여 결제 대행(payment gateway) 서비스를 제공하기 위한 인증서의 등록 방법으로서, As a registration method of a certificate for providing a payment gateway service using a database, (a) (i) 사용자 단말로부터 본인 인증 정보 또는 이를 가공한 값, 및 상기 사용자 단말로의 푸시(push)를 위하여 상기 사용자 단말에 의하여 생성된 고유 식별자인 제1 푸시 토큰 ID(PushTokenID)를 전달받은 카드사 서버가 상기 사용자 단말로 하여금 상기 사용자의 공개키 및 개인키를 포함하는 키 쌍을 생성 및 저장하도록 지원하고, (ii) 제2 푸시 토큰 ID 및 상기 사용자의 공개키가 획득되고, 상기 제1 푸시 토큰 ID와 상기 제2 푸시 토큰 ID가 일치하여, 상기 카드사 서버가, 상기 제1 푸시 토큰 ID 또는 상기 제2 푸시 토큰 ID를 통합 푸시 토큰 ID로서 관리하고, 상기 통합 푸시 토큰 ID 및 상기 공개키를 포함하는 등록 정보를 저장하여 상기 등록 정보가 저장된 상태에서, 결제 대행 서버가, 상기 카드사 서버로부터 상기 사용자 단말을 식별하기 위한 정보인 단말 식별 정보를 해시 연산한 결과값인 단말 식별 정보 해시값, 및 상기 통합 푸시 토큰 ID를 포함하는 사용자 식별 정보를 획득하거나 타 장치로 하여금 획득하도록 지원하는 단계; 및 (a) (i) Passing identity authentication information or a processed value from the user terminal, and a first push token ID (PushTokenID) which is a unique identifier generated by the user terminal for pushing to the user terminal. The received card company server supports the user terminal to generate and store a key pair including the public key and the private key of the user, (ii) a second push token ID and the user's public key are obtained, and The first push token ID and the second push token ID match, so that the card company server manages the first push token ID or the second push token ID as an integrated push token ID, and the integrated push token ID and the public disclosure. A terminal formula that stores payment information including a key and is information for identifying a user terminal from the card company server by the payment agent server while the registration information is stored. The hash value calculated as a result of the terminal identification information, the hash value, and further comprising: support to obtain or acquire cause the other device to the user identification information including the integrated push token ID; And (b) 상기 사용자 식별 정보가 획득되면, 상기 결제 대행 서버가, 상기 사용자 식별 정보를 관리하거나 타 장치로 하여금 관리하도록 지원하는 단계(b) if the user identification information is obtained, by the payment agent server, managing the user identification information or supporting another device to manage the identification information; 를 포함하는 방법.How to include. 데이터베이스를 이용하여 결제 대행(payment gateway) 서비스를 제공하는 방법으로서, As a method of providing a payment gateway service using a database, (a) 사용자의 결제 요청에 따라 사용자 단말에 대응되는 제1 푸시 토큰 ID(PushTokenID) 및 결제 대상 정보를 포함하는 결제 접수 요청 정보가 결제 대행 서버로부터 획득되면, 카드사 서버가, (i) 상기 사용자 단말을 식별하기 위한 정보인 단말 식별 정보를 해시 연산한 결과값인 단말 식별 정보 해시값을 포함하는 결제 접수 결과 정보를 상기 결제 대행 서버에 전달하는 프로세스 및 (ii) 상기 결제 접수 요청 정보에 응하여 상기 결제 대상 정보 및 상기 결제 대상 정보에 대한 인증을 요청하는 정보인 인증 요청 정보를 상기 사용자 단말에 전달하는 프로세스를 수행하거나 타 장치로 하여금 수행하도록 지원하는 단계; (a) when payment receipt request information including a first push token ID (PushTokenID) corresponding to the user terminal and payment target information is obtained from a payment agent server according to a user's payment request, the card company server, (i) the user; Transmitting, to the payment agency server, payment acceptance result information including the terminal identification information hash value which is a result of hashing the terminal identification information which is information for identifying the terminal; and (ii) in response to the payment reception request information. Performing a process of delivering to the user terminal authentication request information, which is payment object information and information for requesting authentication of the payment object information, or supporting another device to perform; (b) 상기 인증 요청 정보에 대한 응답으로서 상기 사용자의 승인 하에서 제2 푸시 토큰 ID를 포함하는 결제 승인 요청 정보가 획득되고, 상기 제1 푸시 토큰 ID와 상기 제2 푸시 토큰 ID가 일치하면, 상기 카드사 서버가, 상기 제1 푸시 토큰 ID 또는 상기 제2 푸시 토큰 ID를 통합 푸시 토큰 ID로서 관리하고, 상기 결제 승인 요청 정보의 유효성을 검증하거나 타 장치로 하여금 검증하도록 지원하는 단계; 및 (b) if payment approval request information including a second push token ID is obtained under the user's approval as a response to the authentication request information, and the first push token ID and the second push token ID match, the Managing, by the card company server, the first push token ID or the second push token ID as an integrated push token ID, and validating the payment approval request information or supporting another device to verify it; And (c) 상기 결제 승인 요청 정보가 유효하면, 상기 카드사 서버가, 상기 결제 승인 요청 정보에 따른 카드 승인을 처리하는 단계(c) the card company server processing the card approval according to the payment approval request information if the payment approval request information is valid. 를 포함하는 방법.How to include. 제10항에 있어서, The method of claim 10, 상기 (a) 단계의 상기 (ii) 프로세스는, The process (ii) of the step (a), 상기 카드사 서버가, 랜덤 넌스(random nonce)를 포함하는 상기 인증 요청 정보 및 상기 결제 대상 정보를 상기 사용자 단말에 전달하는 것을 특징으로 하고, The card company server, characterized in that for transmitting the authentication request information and the payment target information including a random nonce (random nonce) to the user terminal, 상기 (b) 단계에서,In step (b), 상기 결제 승인 요청 정보는, 상기 제2 푸시 토큰 ID, 상기 랜덤 넌스를 상기 사용자의 개인키로 서명한 결과값인 랜덤 넌스 서명값, 및 상기 사용자의 공개키를 포함하며, The payment approval request information includes the second push token ID, a random nonce signature value that is a result of signing the random nonce with the private key of the user, and the public key of the user, 상기 카드사 서버가, 상기 사용자의 공개키 및 상기 랜덤 넌스 서명값을 이용하여 상기 결제 승인 요청 정보의 유효성을 검증하는 것을 특징으로 하는 방법.And the card company server verifies the validity of the payment approval request information using the public key of the user and the random nonce signature value. 제10항에 있어서, The method of claim 10, 상기 (b) 단계에서,In step (b), 상기 결제 승인 요청 정보는, 상기 제2 푸시 토큰 ID, 소정의 타임스탬프를 상기 사용자의 개인키로 서명한 결과값인 타임스탬프 서명값, 및 상기 사용자의 공개키를 포함하며, The payment approval request information includes the second push token ID, a timestamp signature value that is a result of signing a predetermined timestamp with the user's private key, and the user's public key. 상기 카드사 서버가, 상기 사용자의 공개키 및 상기 타임스탬프 서명값을 이용하여 상기 결제 승인 요청 정보의 유효성을 검증하되, The card company server verifies the validity of the payment approval request information using the public key of the user and the timestamp signature value, 상기 타임스탬프 서명값에 대응되는 제1 시각과 상기 결제 승인 요청 정보의 유효성이 검증되는 시각인 제2 시각 사이의 시간 간격이 설정값 이상이면, 상기 결제 승인 요청 정보를 무효인 것으로 판정하는 것을 특징으로 하는 방법.And when the time interval between the first time corresponding to the timestamp signature value and the second time, which is a time at which the validity of the payment approval request information is validated, is equal to or greater than a predetermined value, determining that the payment approval request information is invalid. How to. 제10항에 있어서, The method of claim 10, (d) 상기 카드 승인이 완료되면, 상기 카드사 서버가, 상기 카드 승인이 완료되었음을 나타내는 결제 승인 결과를 상기 사용자 단말 및 상기 결제 대행 서버 중 적어도 하나에 전달하는 단계(d) when the card approval is completed, the card company server transferring the payment approval result indicating that the card approval is completed to at least one of the user terminal and the payment proxy server. 를 더 포함하는 것을 특징으로 하는 방법.Method further comprising a. 제13항에 있어서, The method of claim 13, 상기 (d) 단계는, In step (d), 상기 카드사 서버가, 상기 결제 승인 결과를 상기 결제 대행 서버에 전달함으로써, 상기 결제 대행 서버로 하여금 상기 단말 식별 정보 해시값, 상기 통합 푸시 토큰 ID, 및 상기 결제 대상 정보 중 적어도 일부를 포함하는 트랜잭션 정보 또는 이를 가공한 값을 결제 내용 증명 트랜잭션으로서 상기 데이터베이스 상에 기록하도록 지원하는 것을 특징으로 하는 방법.The card company server transmits the payment approval result to the payment agency server, causing the payment agency server to include at least a portion of the terminal identification information hash value, the integrated push token ID, and the payment target information. Or recording the processed value on the database as a proof of payment transaction. 제10항에 있어서, The method of claim 10, 상기 카드사 서버는 카드사 관리 서버, 카드사 인증 서버 및 카드사 승인 서버를 포함하고, The card company server includes a card company management server, card company authentication server and card company approval server, 상기 인증 요청 정보는 랜덤 넌스(random nonce)를 더 포함하며, The authentication request information further includes a random nonce, 상기 (a) 단계의 상기 (ii) 프로세스는, The process (ii) of the step (a), 상기 카드사 관리 서버가, 상기 결제 접수 요청 정보에 응하여 상기 제1 푸시 토큰 ID, 상기 결제 대상 정보 및 인증 요청 정보를 상기 사용자 단말에 전달하거나 타 장치로 하여금 전달하도록 지원하는 것을 특징으로 하고, The card company management server, in response to the payment reception request information, the first push token ID, the payment object information and authentication request information to the user terminal or to support the other device to deliver, 상기 (b) 단계는, In step (b), 상기 인증 요청 정보에 대한 응답으로서 상기 사용자의 승인 하에서 상기 랜덤 넌스를 상기 사용자의 개인키로 서명한 결과값인 랜덤 넌스 서명값, 상기 제2 푸시 토큰 ID 및 상기 사용자의 공개키를 포함하는 결제 승인 요청 정보가 상기 사용자 단말로부터 획득되면, 상기 카드사 관리 서버가, 상기 랜덤 넌스 서명값 및 상기 공개키를 상기 카드사 인증 서버에 전달함으로써 상기 카드사 인증 서버로 하여금 상기 결제 승인 요청 정보의 유효성을 검증하도록 지원하는 것을 특징으로 하며, In response to the authentication request information, a payment approval request including a random nonce signature value, the second push token ID, and the user's public key that are the result of signing the random nonce with the user's private key under the user's approval. When the information is obtained from the user terminal, the card company management server, by passing the random nonce signature value and the public key to the card company authentication server to support the card company authentication server to verify the validity of the payment approval request information Characterized in that, 상기 (c) 단계는, In step (c), 상기 결제 승인 요청 정보가 유효하면, 상기 카드사 관리 서버가, 상기 결제 승인 요청 정보에 따른 카드 승인을 처리하기 위한 카드 정보를 상기 카드사 승인 서버에 전달함으로써 상기 카드사 승인 서버로 하여금 상기 카드 정보를 이용하여 상기 카드 승인을 처리하도록 지원하는 것을 특징으로 하는 방법.If the payment approval request information is valid, the card company management server sends the card information for processing the card approval according to the payment approval request information to the card company approval server so that the card company approval server uses the card information. And support processing the card authorization. 제10항에 있어서, The method of claim 10, 상기 결제 대상 정보는, The payment target information, 주문 번호, 카드사의 식별 정보, 서비스 제공자의 식별 정보, 상기 서비스 제공자에 의하여 제공되는 소정의 추가 정보, 결제 대상의 이름, 상기 결제 대상의 가격, 분할 결제의 여부, 결제의 수단이 되는 화폐의 식별 정보, 상기 사용자의 이름, 상기 사용자의 주소, 결제 승인의 일시 및 상기 결제의 상태 정보 중 적어도 하나를 포함하는 것을 특징으로 하는 방법.Order number, identification information of the card company, identification information of the service provider, predetermined additional information provided by the service provider, the name of the payment object, the price of the payment object, whether or not a partial payment, the identification of the currency as a means of payment And at least one of information, a name of the user, an address of the user, a date and time of payment approval, and status information of the payment. 제10항에 있어서, The method of claim 10, 상기 사용자의 승인은, Authorization of the user, 상기 사용자 단말에 입력된 PIN 코드의 유효성을 판단함으로써 수행되는 것을 특징으로 하는 방법.And determining the validity of the PIN code input to the user terminal. 데이터베이스를 이용하여 결제 대행(payment gateway) 서비스를 제공하는 방법으로서, As a method of providing a payment gateway service using a database, (a) 사용자의 결제 요청에 응하여 서비스 제공자의 서버인 서비스 제공자 서버로부터 사용자 단말을 식별하기 위한 정보인 단말 식별 정보를 해시 연산한 결과값인 단말 식별 정보 해시값, 결제 대상 정보 및 서비스 제공자 인증 정보가 획득되면, 결제 대행 서버가, 상기 사용자 단말에 대응되는 제1 푸시 토큰 ID(PushTokenID) 및 결제 대상 정보를 포함하는 결제 접수 요청 정보를 카드사 서버에 전달하거나 타 장치로 하여금 전달하도록 지원하는 단계; (a) In response to a user's payment request, a terminal identification information hash value, payment target information, and service provider authentication information, which is a result of hashing terminal identification information, information for identifying a user terminal, from a service provider server which is a server of a service provider. If is obtained, the payment agent server, the payment request information including the first push token ID (PushTokenID) and payment object information corresponding to the user terminal to pass to the card company server or to support other devices to deliver; (b) 상기 카드사 서버로부터 상기 단말 식별 정보 해시값 및 상기 결제 대상 정보에 포함된 주문 번호를 포함하는 결제 접수 결과 정보가 획득되면, 상기 결제 대행 서버가, 상기 결제 접수 결과 정보를 상기 서비스 제공자 서버에 전달하거나 타 장치로 하여금 전달하도록 지원하는 단계; 및 (b) when the payment reception result information including the terminal identification information hash value and the order number included in the payment target information is obtained from the card company server, the payment agency server sends the payment reception result information to the service provider server. Delivering to or supporting other devices to deliver; And (c) 상기 결제 접수 요청 정보에 응하여 카드사 서버로부터 상기 사용자 단말에 전달된 상기 결제 대상 정보 및 상기 결제 대상 정보에 대한 인증을 요청하는 정보인 인증 요청 정보에 대한 응답으로서 상기 사용자의 승인 하에 상기 사용자 단말로부터 상기 카드사 서버에 전달된 결제 승인 요청 정보를 참조로 하여 획득된 결제 승인 결과가 성공적임이 상기 카드사 서버로부터 전달되고, 상기 결제 승인 요청 정보에 포함된 제2 푸시 토큰 ID가 상기 제1 푸시 토큰 ID가 일치하면, 상기 결제 대행 서버가, 상기 제1 푸시 토큰 ID 또는 상기 제2 푸시 토큰 ID를 통합 푸시 토큰 ID로서 관리하고, 상기 단말 식별 정보 해시값, 상기 통합 푸시 토큰 ID, 및 상기 결제 대상 정보 중 적어도 일부를 포함하는 트랜잭션 정보 또는 이를 가공한 값을 결제 내용 증명 트랜잭션으로서 상기 데이터베이스 상에 기록하거나 상기 결제 대행 서버에 연동되는 타 장치로 하여금 기록하도록 지원하는 단계(c) the user under the approval of the user in response to the authentication request information, which is information for requesting authentication of the payment object information and the payment object information transmitted from the card company server to the user terminal in response to the payment reception request information. The payment approval result obtained by referring to payment approval request information transmitted from the terminal to the card company server is successful is transmitted from the card company server, and the second push token ID included in the payment approval request information is the first push token. If the IDs match, the payment agent server manages the first push token ID or the second push token ID as an integrated push token ID, the terminal identification information hash value, the integrated push token ID, and the payment target. Transaction information including at least a part of the information, or a processed value of the proof of payment content transaction A step that supports recording on the record to the database or to allow other devices to be linked to the settlement server 를 포함하는 방법.How to include. 제18항에 있어서, The method of claim 18, 상기 (c) 단계는, In step (c), 상기 결제 대행 서버가, 상기 사용자의 승인에 따라 전달된 결제 승인 요청 정보에 대하여 상기 카드사 서버로부터 획득된 결제 승인 결과를 상기 서비스 제공자 서버 및 상기 사용자 단말 중 적어도 하나에 전달하는 것을 특징으로 하는 방법.The payment agent server, characterized in that for transmitting the payment approval result obtained from the card company server with respect to the payment approval request information delivered in accordance with the user's approval to the at least one of the service provider server and the user terminal. 데이터베이스를 이용하여 결제 대행(payment gateway) 서비스를 제공하기 위하여 인증서의 등록 방법을 수행하는 카드사 서버로서, A card company server that performs a certificate registration method to provide a payment gateway service using a database. 사용자 단말로부터 본인 인증 정보 또는 이를 가공한 값, 및 상기 사용자 단말로의 푸시(push)를 위하여 상기 사용자 단말에 의하여 생성된 고유 식별자인 제1 푸시 토큰 ID(PushTokenID)를 전달받거나 타 장치로 하여금 전달받도록 지원하는 통신부; 및 Receives the user authentication information or the processed value from the user terminal, and a first push token ID (PushTokenID) which is a unique identifier generated by the user terminal for pushing to the user terminal, or is transmitted to another device. Communication unit to support receiving; And (i) 상기 본인 인증 정보 또는 이를 가공한 값, 및 상기 제1 푸시 토큰 ID가 전달되면, 상기 사용자 단말로 하여금 상기 사용자의 공개키 및 개인키를 포함하는 키 쌍을 생성 및 저장하도록 지원하는 프로세스, (ii) 제2 푸시 토큰 ID 및 상기 사용자의 공개키가 획득되고, 상기 제1 푸시 토큰 ID와 상기 제2 푸시 토큰 ID가 일치하면, 상기 제1 푸시 토큰 ID 또는 상기 제2 푸시 토큰 ID를 통합 푸시 토큰 ID로서 관리하고, 상기 통합 푸시 토큰 ID 및 상기 공개키를 포함하는 등록 정보를 저장하는 프로세스, 및 (iii) 상기 등록 정보가 저장되면, (i) 상기 사용자 단말을 식별하기 위한 정보인 단말 식별 정보를 해시 연산한 결과값인 단말 식별 정보 해시값, 및 (ii) 상기 통합 푸시 토큰 ID를 포함하는 사용자 식별 정보를 결제 대행 서버로 전달함으로써 상기 결제 대행 서버로 하여금 상기 사용자 식별 정보를 관리하도록 지원하는 프로세스를 수행하는 프로세서를 포함하는 카드사 서버. (i) a process of assisting the user terminal to generate and store a key pair including the public key and the private key of the user if the identity information or the processed value thereof and the first push token ID are passed; (ii) when the second push token ID and the public key of the user are obtained, and the first push token ID and the second push token ID match, the first push token ID or the second push token ID. Managing as an integrated push token ID and storing registration information including the integrated push token ID and the public key; and (iii) if the registration information is stored, (i) information for identifying the user terminal. The payment agent by transmitting the terminal identification information hash value, which is a result of hashing the terminal identification information, and (ii) user identification information including the integrated push token ID to a payment agent server. Allow the credit card company server, a processor for performing a process that helps manage the user identification information. 제20항에 있어서, The method of claim 20, 상기 프로세서는, The processor, 상기 통합 푸시 토큰 ID 및 상기 공개키를 포함하는 등록 정보 또는 상기 등록 정보를 가공한 값을 상기 인증서의 등록 트랜잭션으로서 상기 데이터베이스 상에 기록하거나 상기 카드사 서버에 연동되는 타 장치로 하여금 기록하도록 지원하는 것을 특징으로 하는 카드사 서버.Support to record the registration information including the integrated push token ID and the public key or a value obtained by processing the registration information on the database as a registration transaction of the certificate or by another device linked to the card company server. Card company server characterized in that. 제20항에 있어서, The method of claim 20, 상기 프로세서는, The processor, 상기 본인 인증 정보 또는 이를 가공한 값, 및 상기 제1 푸시 토큰 ID가 전달되면, 상기 본인 인증 정보 또는 이를 가공한 값을 포함하는 인증 요청 정보를 카드사 회원 원장 서버에 전달하는 프로세스, 및 상기 단말 식별 정보 및 상기 제1 푸시 토큰 ID를 저장하는 프로세스를 수행하고, A process of delivering, to the card company member ledger server, authentication request information including the identity authentication information or the processed value thereof and the first push token ID, the identity authentication information or the processed value thereof; and the terminal identification. Perform a process of storing information and the first push token ID, 상기 카드사 회원 원장 서버로부터 상기 인증 요청 정보에 대응되는 인증 결과가 획득되고, 상기 인증 결과가 성공적이면, 상기 사용자 단말에 상기 인증 결과를 전달함으로써 상기 사용자 단말로 하여금 상기 사용자 단말에 입력된 PIN 코드에 대응되도록 상기 키 쌍을 생성 및 저장하도록 지원하는 것을 특징으로 하는 카드사 서버. An authentication result corresponding to the authentication request information is obtained from the card company member ledger server, and if the authentication result is successful, the user terminal transmits the authentication result to the user terminal to the PIN code input to the user terminal. Card company server, characterized in that for supporting to generate and store the key pair. 제20항에 있어서, The method of claim 20, 상기 프로세서는, The processor, 상기 인증서의 등록을 나타내는 인증서 등록 완료 메시지를 상기 사용자 단말에 전달하는 것을 특징으로 하는 카드사 서버.Card company server, characterized in that for transmitting the certificate registration complete message indicating the registration of the certificate to the user terminal. 데이터베이스를 이용하여 결제 대행(payment gateway) 서비스를 제공하기 위하여 인증서의 등록 방법을 수행하는 결제 대행 서버로서, A payment agent server that performs a registration method of a certificate to provide a payment gateway service using a database. (i) 사용자 단말로부터 본인 인증 정보 또는 이를 가공한 값, 및 상기 사용자 단말로의 푸시(push)를 위하여 상기 사용자 단말에 의하여 생성된 고유 식별자인 제1 푸시 토큰 ID(PushTokenID)를 전달 받은 카드사 서버가 상기 사용자 단말로 하여금 상기 사용자의 공개키 및 개인키를 포함하는 키 쌍을 생성 및 저장하도록 지원하고, (ii) 제2 푸시 토큰 ID 및 상기 사용자의 공개키가 획득되고, 상기 제1 푸시 토큰 ID와 상기 제2 푸시 토큰 ID가 일치하여, 상기 카드사 서버가, 상기 제1 푸시 토큰 ID 또는 상기 제2 푸시 토큰 ID를 통합 푸시 토큰 ID로서 관리하고, 상기 통합 푸시 토큰 ID 및 상기 공개키를 포함하는 등록 정보를 저장하여 상기 등록 정보가 저장된 상태에서, 상기 카드사 서버로부터 상기 사용자 단말을 식별하기 위한 정보인 단말 식별 정보를 해시 연산한 결과값인 단말 식별 정보 해시값, 및 상기 통합 푸시 토큰 ID를 포함하는 사용자 식별 정보를 획득하거나 타 장치로 하여금 획득하도록 지원하는 통신부; 및 (i) the card company server which has received the personal authentication information or the processed value from the user terminal and a first push token ID (PushTokenID) which is a unique identifier generated by the user terminal for pushing to the user terminal; Allow the user terminal to generate and store a key pair comprising the user's public key and a private key, (ii) a second push token ID and the user's public key are obtained, and the first push token The ID and the second push token ID coincide with each other, so that the card company server manages the first push token ID or the second push token ID as an integrated push token ID and includes the integrated push token ID and the public key. Storing the registration information and hashing the terminal identification information which is information for identifying the user terminal from the card company server while the registration information is stored. A communication unit for obtaining user identification information including a terminal identification information hash value as a result value and the integrated push token ID or for allowing other devices to obtain the identification information; And 상기 사용자 식별 정보가 획득되면, 상기 사용자 식별 정보를 관리하는 프로세서를 포함하는 결제 대행 서버.And the processor for managing the user identification information when the user identification information is obtained. 데이터베이스를 이용하여 결제 대행(payment gateway) 서비스를 제공하는 방법을 수행하는 카드사 서버로서, A card company server performing a method of providing a payment gateway service using a database. 사용자의 결제 요청에 따라 사용자 단말에 대응되는 제1 푸시 토큰 ID(PushTokenID) 및 결제 대상 정보를 포함하는 결제 접수 요청 정보를 결제 대행 서버로부터 획득하거나 타 장치로 하여금 획득하도록 지원하는 통신부; 및 A communication unit for acquiring payment reception request information including a first push token ID (PushTokenID) corresponding to a user terminal and payment object information from a payment agent server or for allowing another device to obtain information according to a user's payment request; And 상기 결제 접수 요청 정보가 획득되면, (i) 상기 사용자 단말을 식별하기 위한 정보인 단말 식별 정보를 해시 연산한 결과값인 단말 식별 정보 해시값을 포함하는 결제 접수 결과 정보를 상기 결제 대행 서버에 전달하는 프로세스 및 (ii) 상기 결제 접수 요청 정보에 응하여 상기 결제 대상 정보 및 상기 결제 대상 정보에 대한 인증을 요청하는 정보인 인증 요청 정보를 상기 사용자 단말에 전달하거나 타 장치로 하여금 전달하도록 지원하는 프로세스를 수행하는 프로세서를 포함하되, When the payment acceptance request information is obtained, (i) transmitting the payment acceptance result information including the terminal identification information hash value which is a result of hashing the terminal identification information which is information for identifying the user terminal, to the payment agency server. And (ii) a process of transmitting to the user terminal or supporting other devices to transmit authentication request information, which is information for requesting authentication of the payment object information and the payment object information, in response to the payment reception request information. Include processors that perform 상기 프로세서는, 상기 인증 요청 정보에 대한 응답으로서 상기 사용자의 승인 하에서 제2 푸시 토큰 ID를 포함하는 결제 승인 요청 정보가 획득되고, 상기 제1 푸시 토큰 ID와 상기 제2 푸시 토큰 ID가 일치하면, 상기 제1 푸시 토큰 ID 또는 상기 제2 푸시 토큰 ID를 통합 푸시 토큰 ID로서 관리하고, 상기 결제 승인 요청 정보의 유효성을 검증하거나 타 장치로 하여금 검증하도록 지원하며, If the processor receives payment approval request information including a second push token ID under the user's approval as a response to the authentication request information, and the first push token ID and the second push token ID match, Manage the first push token ID or the second push token ID as an integrated push token ID, validate the payment approval request information or support another device to verify; 상기 결제 승인 요청 정보가 유효하면, 상기 결제 승인 요청 정보에 따른 카드 승인을 처리하는 것을 특징으로 하는 카드사 서버.If the payment approval request information is valid, the card company server, characterized in that for processing the card authorization according to the payment approval request information. 제25항에 있어서, The method of claim 25, 상기 프로세서는, The processor, 랜덤 넌스(random nonce)를 포함하는 상기 인증 요청 정보 및 상기 결제 대상 정보를 상기 사용자 단말에 전달하는 것을 특징으로 하고, And transmitting the authentication request information and the payment target information including a random nonce to the user terminal. 상기 결제 승인 요청 정보는, 상기 제2 푸시 토큰 ID, 상기 랜덤 넌스를 상기 사용자의 개인키로 서명한 결과값인 랜덤 넌스 서명값, 및 상기 사용자의 공개키를 포함하며, The payment approval request information includes the second push token ID, a random nonce signature value that is a result of signing the random nonce with the private key of the user, and the public key of the user, 상기 프로세서는, The processor, 상기 사용자의 공개키 및 상기 랜덤 넌스 서명값을 이용하여 상기 결제 승인 요청 정보의 유효성을 검증하는 것을 특징으로 하는 카드사 서버.Card company server, characterized in that for validating the payment authorization request information using the user's public key and the random nonce signature value. 제25항에 있어서, The method of claim 25, 상기 결제 승인 요청 정보는, 상기 제2 푸시 토큰 ID, 소정의 타임스탬프를 상기 사용자의 개인키로 서명한 결과값인 타임스탬프 서명값, 및 상기 사용자의 공개키를 포함하며, The payment approval request information includes the second push token ID, a timestamp signature value that is a result of signing a predetermined timestamp with the user's private key, and the user's public key. 상기 프로세서는, The processor, 상기 사용자의 공개키 및 상기 타임스탬프 서명값을 이용하여 상기 결제 승인 요청 정보의 유효성을 검증하되, Validating the payment approval request information by using the user's public key and the timestamp signature value, 상기 타임스탬프 서명값에 대응되는 제1 시각과 상기 결제 승인 요청 정보의 유효성이 검증되는 시각인 제2 시각 사이의 시간 간격이 설정값 이상이면, 상기 결제 승인 요청 정보를 무효인 것으로 판정하는 것을 특징으로 하는 카드사 서버.And when the time interval between the first time corresponding to the timestamp signature value and the second time, which is a time at which the validity of the payment approval request information is validated, is equal to or greater than a predetermined value, determining that the payment approval request information is invalid. Card company server. 제25항에 있어서, The method of claim 25, 상기 프로세서는, The processor, 상기 카드 승인이 완료되면, 상기 카드 승인이 완료되었음을 나타내는 결제 승인 결과를 상기 사용자 단말 및 상기 결제 대행 서버 중 적어도 하나에 전달하는 것을 특징으로 하는 카드사 서버.When the card approval is completed, the card company server, characterized in that for transmitting the payment approval result indicating that the card approval is completed to at least one of the user terminal and the payment agent server. 제28항에 있어서, The method of claim 28, 상기 프로세서는, The processor, 상기 결제 승인 결과를 상기 결제 대행 서버에 전달함으로써, 상기 결제 대행 서버로 하여금 상기 단말 식별 정보 해시값, 상기 통합 푸시 토큰 ID, 및 상기 결제 대상 정보 중 적어도 일부를 포함하는 트랜잭션 정보 또는 이를 가공한 값을 결제 내용 증명 트랜잭션으로서 상기 데이터베이스 상에 기록하도록 지원하는 것을 특징으로 하는 카드사 서버.By transmitting the payment approval result to the payment agency server, the payment agency server to the transaction information or the processed value including at least some of the terminal identification information hash value, the integrated push token ID, and the payment target information The card company server, characterized in that for supporting the recording on the database as a proof of payment transaction. 데이터베이스를 이용하여 결제 대행(payment gateway) 서비스를 제공하는 방법을 수행하는 결제 대행 서버로서, A payment agent server performing a method of providing a payment gateway service using a database, 사용자의 결제 요청에 응하여 서비스 제공자의 서버인 서비스 제공자 서버로부터 사용자 단말을 식별하기 위한 정보인 단말 식별 정보를 해시 연산한 결과값인 단말 식별 정보 해시값, 결제 대상 정보 및 서비스 제공자 인증 정보를 획득하거나 타 장치로 하여금 획득하도록 지원하는 통신부; 및 In response to a user's request for payment, obtain a terminal identification information hash value, payment target information, and service provider authentication information, which are a result of hashing terminal identification information, information for identifying a user terminal, from a service provider server, which is a server of a service provider; A communication unit supporting other devices to acquire; And (i) 상기 단말 식별 정보 해시값, 상기 결제 대상 정보 및 상기 서비스 제공자 인증 정보가 획득되면, 상기 사용자 단말에 대응되는 제1 푸시 토큰 ID(PushTokenID) 및 결제 대상 정보를 포함하는 결제 접수 요청 정보를 카드사 서버에 전달하는 프로세스, (ii) 상기 카드사 서버로부터 상기 단말 식별 정보 해시값 및 상기 결제 대상 정보에 포함된 주문 번호를 포함하는 결제 접수 결과 정보가 획득되면, 상기 결제 접수 결과 정보를 상기 서비스 제공자 서버에 전달하는 프로세스, 및 (iii) 상기 결제 접수 요청 정보에 응하여 카드사 서버로부터 상기 사용자 단말에 전달된 상기 결제 대상 정보 및 상기 결제 대상 정보에 대한 인증을 요청하는 정보인 인증 요청 정보에 대한 응답으로서 상기 사용자의 승인 하에 상기 사용자 단말로부터 상기 카드사 서버에 전달된 결제 승인 요청 정보를 참조로 하여 획득된 결제 승인 결과가 성공적임이 상기 카드사 서버로부터 전달되고, 상기 결제 승인 요청 정보에 포함된 제2 푸시 토큰 ID가 상기 제1 푸시 토큰 ID가 일치하면, 상기 제1 푸시 토큰 ID 또는 상기 제2 푸시 토큰 ID를 통합 푸시 토큰 ID로서 관리하고, 상기 단말 식별 정보 해시값, 상기 통합 푸시 토큰 ID, 및 상기 결제 대상 정보 중 적어도 일부를 포함하는 트랜잭션 정보 또는 이를 가공한 값을 결제 내용 증명 트랜잭션으로서 상기 데이터베이스 상에 기록하거나 상기 결제 대행 서버에 연동되는 타 장치로 하여금 기록하도록 지원하는 프로세스를 수행하는 프로세서를 포함하는 결제 대행 서버.(i) When the terminal identification information hash value, the payment target information, and the service provider authentication information are obtained, payment reception request information including a first push token ID (PushTokenID) and payment target information corresponding to the user terminal is obtained. A process of delivering to the card company server; and (ii) when the payment acceptance result information including the terminal identification information hash value and the order number included in the payment target information is obtained from the card company server, the service acceptance result information is transmitted to the service provider. And (iii) a response to the authentication request information, which is information for requesting authentication of the payment object information and the payment object information transmitted from the card company server to the user terminal in response to the payment reception request information. Transferred from the user terminal to the card company server with the user's approval When the payment approval result obtained by referring to payment approval request information is successful, the card company server is transmitted, and when the second push token ID included in the payment approval request information matches the first push token ID, the first push token ID is determined. Transaction information or a processed value of the push token ID or the second push token ID is managed as an integrated push token ID and includes at least some of the terminal identification information hash value, the integrated push token ID, and the payment target information. And a processor for performing a process of supporting a recording by the other device interworking with the payment agent server or recording on the database as a proof of payment transaction. 제30항에 있어서, The method of claim 30, 상기 프로세서는, The processor, 상기 사용자의 승인에 따라 전달된 결제 승인 요청 정보에 대하여 상기 카드사 서버로부터 획득된 결제 승인 결과를 상기 서비스 제공자 서버 및 상기 사용자 단말 중 적어도 하나에 전달하는 것을 특징으로 하는 결제 대행 서버.The payment agency server, characterized in that for transmitting the payment approval result obtained from the card company server with respect to the payment approval request information delivered in accordance with the user's approval to at least one of the service provider server and the user terminal.
PCT/KR2018/000474 2017-01-11 2018-01-10 Method for providing payment gateway service using utxo-based protocol and server using same Ceased WO2018131885A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020170004419A KR101862859B1 (en) 2017-01-11 2017-01-11 Method for providing payment gateway service in use of unspent transaction output based protocol and servers using the same
KR10-2017-0004419 2017-01-11

Publications (1)

Publication Number Publication Date
WO2018131885A1 true WO2018131885A1 (en) 2018-07-19

Family

ID=62454187

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2018/000474 Ceased WO2018131885A1 (en) 2017-01-11 2018-01-10 Method for providing payment gateway service using utxo-based protocol and server using same

Country Status (2)

Country Link
KR (1) KR101862859B1 (en)
WO (1) WO2018131885A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109831435A (en) * 2019-01-31 2019-05-31 广州银云信息科技有限公司 A kind of database operation method, system and proxy server and storage medium
CN115150095A (en) * 2022-06-30 2022-10-04 蚂蚁区块链科技(上海)有限公司 Data processing method and device
US20230102525A1 (en) * 2021-09-29 2023-03-30 Intertrust Technologies Corporation Cryptographic token rights management systems and methods using trusted ledgers

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102430269B1 (en) * 2020-08-13 2022-08-08 주식회사 한컴위드 Cloud-based gold asset management server that enables the production of customized gold bars with personal images embedded on the basis of digital gold tokens and operating method thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140089736A (en) * 2013-01-07 2014-07-16 주식회사 케이지이니시스 Method and System for Providing Payment by using Alliance Application
KR101637863B1 (en) * 2016-01-05 2016-07-08 주식회사 코인플러그 Security system and method for transmitting a password
KR101637854B1 (en) * 2015-10-16 2016-07-08 주식회사 코인플러그 Certificate issuance system and method based on block chain, certificate authentication system and method based on block chain
KR101661930B1 (en) * 2015-08-03 2016-10-05 주식회사 코인플러그 Certificate issuance system based on block chain
KR101680260B1 (en) * 2015-12-14 2016-11-29 주식회사 코인플러그 Certificate issuance system and method based on block chain

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140089736A (en) * 2013-01-07 2014-07-16 주식회사 케이지이니시스 Method and System for Providing Payment by using Alliance Application
KR101661930B1 (en) * 2015-08-03 2016-10-05 주식회사 코인플러그 Certificate issuance system based on block chain
KR101637854B1 (en) * 2015-10-16 2016-07-08 주식회사 코인플러그 Certificate issuance system and method based on block chain, certificate authentication system and method based on block chain
KR101680260B1 (en) * 2015-12-14 2016-11-29 주식회사 코인플러그 Certificate issuance system and method based on block chain
KR101637863B1 (en) * 2016-01-05 2016-07-08 주식회사 코인플러그 Security system and method for transmitting a password

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109831435A (en) * 2019-01-31 2019-05-31 广州银云信息科技有限公司 A kind of database operation method, system and proxy server and storage medium
CN109831435B (en) * 2019-01-31 2021-06-01 广州银云信息科技有限公司 Database operation method, system, proxy server and storage medium
US20230102525A1 (en) * 2021-09-29 2023-03-30 Intertrust Technologies Corporation Cryptographic token rights management systems and methods using trusted ledgers
US12411913B2 (en) * 2021-09-29 2025-09-09 Intertrust Technologies Corporation Cryptographic token rights management systems and methods using trusted ledgers
CN115150095A (en) * 2022-06-30 2022-10-04 蚂蚁区块链科技(上海)有限公司 Data processing method and device

Also Published As

Publication number Publication date
KR101862859B1 (en) 2018-05-31

Similar Documents

Publication Publication Date Title
WO2018131886A1 (en) Method for providing payment gateway service using utxo-based protocol and server using same
WO2018151427A1 (en) Method for superseding log-in of user through pki-based authentication by using smart contact and blockchain database, and server employing same
WO2018151425A1 (en) Method for superseding log-in of user through pki-based authentication by using blockchain database of utxo-based protocol, and server employing same
WO2018155822A1 (en) Method for providing simplified account registration service and user authentication service, and authentication server using same
WO2018194350A1 (en) Method for managing document on basis of blockchain by using utxo-based protocol, and document management server using same
WO2018194351A1 (en) Method for managing document on basis of blockchain by using merkle tree structure in utxo-based protocol, and document management server using same
WO2018070848A1 (en) Method for providing smart contract-based certificate service, and server employing same
WO2018124857A1 (en) Blockchain database-based method and terminal for authenticating user non-face-to-face by utilizing mobile id, and server utilizing method and terminal
WO2018194379A1 (en) Method for approving use of card by using token id on basis of blockchain and merkle tree structure associated therewith, and server using same
WO2018070784A2 (en) Method for issuing, redeeming, refunding, settling and revoking electronic voucher by managing balance database by blocks in blockchain, and server employing same
WO2018151426A1 (en) Method for superseding log-in of user through pki-based authentication by using merkle tree structure in utxo-based protocol, and server employing same
WO2018194378A1 (en) Method for approving use of card by using blockchain-based token id and server using method
WO2018131885A1 (en) Method for providing payment gateway service using utxo-based protocol and server using same
WO2020062642A1 (en) Blockchain-based method, device, and equipment for electronic contract signing, and storage medium
WO2020189926A1 (en) Method and server for managing user identity by using blockchain network, and method and terminal for user authentication using blockchain network-based user identity
WO2017135670A1 (en) Method and server for providing notary service for file and verifying file recorded by notary service
WO2019198866A1 (en) Method and device for providing transaction service for cryptocurrencies based on different blockchains
WO2017135669A1 (en) Method and server for providing notary service for file and verifying file recorded by notary service
WO2018124718A1 (en) Method for providing integrated point service by managing balance database for each block in blockchain, and support server using same
WO2018070781A2 (en) Method for issuing, redeeming, refunding, settling and revoking electronic voucher by using utxo-based protocol, and server employing same
WO2020189927A1 (en) Method and server for managing identity of user by using blockchain network, and method and terminal for authenticating user by using user identity on basis of blockchain network
WO2018070783A2 (en) Method for issuing, redeeming, refunding, settling and revoking electronic voucher on basis of utxo and by using merkle tree structure, and server employing same
WO2018124856A1 (en) Method and terminal for authenticating user by utilizing mobile id by means of blockchain database, and server utilizing method and terminal
CN113271311A (en) Digital identity management method and system in cross-link network
WO2019078623A1 (en) Blockchain-based payment method, and payment server using same

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18739392

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC , EPO FORM 1205A DATED 11.10.19.

122 Ep: pct application non-entry in european phase

Ref document number: 18739392

Country of ref document: EP

Kind code of ref document: A1