WO2018080206A1 - Method for issuing currency and making payment using merkle tree structure in utxo-based protocol and server using same - Google Patents

Method for issuing currency and making payment using merkle tree structure in utxo-based protocol and server using same Download PDF

Info

Publication number
WO2018080206A1
WO2018080206A1 PCT/KR2017/011938 KR2017011938W WO2018080206A1 WO 2018080206 A1 WO2018080206 A1 WO 2018080206A1 KR 2017011938 W KR2017011938 W KR 2017011938W WO 2018080206 A1 WO2018080206 A1 WO 2018080206A1
Authority
WO
WIPO (PCT)
Prior art keywords
currency
hash value
transaction
specific
call
Prior art date
Application number
PCT/KR2017/011938
Other languages
French (fr)
Korean (ko)
Inventor
송주한
홍재우
어준선
Original Assignee
주식회사 코인플러그
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 코인플러그 filed Critical 주식회사 코인플러그
Publication of WO2018080206A1 publication Critical patent/WO2018080206A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/02Banking, e.g. interest calculation or account maintenance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/04Payment circuits
    • G06Q20/06Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/04Payment circuits
    • G06Q20/06Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
    • G06Q20/065Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
    • G06Q20/0655Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash e-cash managed centrally
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3825Use of electronic signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3827Use of message hashing

Definitions

  • a method for issuing and paying a currency using a Merkle tree structure in a UTXO based protocol, and a server using the same more specifically, (a) call recipient information for issuing the call from a currency issuer, (ii) the issue value of the currency issuer, (iii) the currency issuer's public key, and (iv) the currency issuer's public key and (iii) the currency issuer's private key. If a call issuing transaction is obtained, the call issuing transaction and the validity of the call issuing agent are checked to be valid, and if it is valid, the call issuing transaction is registered or registered in a private blockchain database, and the call issuing transaction is supported.
  • the call issuing private transaction ID indicating the location information on the private blockchain database Provide or provide at least some of the issuer and the call recipient, and (b) if a predetermined condition is met, a specific hash value generated by applying a hash function to the call issuing transaction and at least a match with the particular hash value. And register or register a representative hash value generated by calculating one neighbor hash value or a processed value of the representative hash value in a public blockchain database, and wherein the representative hash value or the processed value of the representative hash value is processed.
  • the present invention relates to a method for obtaining or obtaining a currency issuing public transaction ID indicating location information on a public blockchain database, and a server using the same. Furthermore, the present invention relates to a method for payment of a user's payment and a server using the same.
  • currency is a means of exchange that functions as a means of distribution or means of payment, and means the money officially designated and used by the state, ie payment and commercial distribution units.
  • a specific exchange means used only within a specific organization may be one currency.
  • central banks issue or manage currencies
  • commercial banks use currencies issued by central banks.
  • the interbank payments at commercial banks are made through the central bank's payment system, and do not involve actual cash movement. That is, the payment is made by depositing or withdrawing the payment amount for each bank from the account of each bank opened in the central bank.
  • the present invention aims to solve all the above-mentioned problems.
  • Another object of the present invention is to provide a method and a server for securing security and forgery / falsification by using a hash function and encryption technology for information such as currency issuance or payment of a currency.
  • Another object of the present invention is to provide a method and a server which can prevent problems such as duplicate payment of a currency in advance by registering information on issuing or paying a currency in a blockchain of a virtual currency. .
  • Another object of the present invention is to provide a method and a server for always checking the latest settlement information even without proceeding with the settlement process between the central bank and the commercial bank.
  • a method for issuing a currency comprising: (a) (i) call recipient information for issuing the call from a call issuer, (ii) issuing amount of the call, and (iii) the call issuer. If a currency issuing transaction is obtained that includes a public key of and (iv) a signature value of the currency issuer that signed (i), (ii), and (iii) with the currency issuer's private key, (I) the call recipient information, (ii) the issue amount of the call, (iii) the public key of the call issuer, and (iv) the signature of the call issuer, if valid by verifying the validity of the currency issuing transaction and the currency issuer.
  • the method comprising supporting the chain block group private calls issued private transaction ID that indicates the position information on the issuer database and the call, or to provide service to at least some of the call recipient; And (b) a predetermined condition, wherein the predetermined condition is a triggering condition for registering a predetermined hash value in a public blockchain database.
  • register or register a representative hash value generated by calculating at least one neighboring hash value matching the specific hash value or a processed value of the representative hash value in the public blockchain database, and the public blockchain database.
  • a location on the public blockchain database of the representative hash value or the processed value of the representative hash value registered at Assisting in obtaining or obtaining a call issuing public transaction ID representing information; There is provided a method comprising a.
  • a method of making a payment of a currency in a method of making a payment of a currency, (a) using at least one unused first currency of at least some previously unused for payment of the currency from a specific user.
  • the private transaction ID (ii) call recipient information, (iii) payment amount paid, (iv) the public key of the particular user and (v) the private key of the particular user, the (i), (ii), (iii) ), If a second currency use transaction is obtained that includes the signature value of the particular user who signed (iv), the server uses the second currency by referring to the balance of the particular user of the second currency use transaction.
  • the server determines whether the signature value of the specific user is valid, and if it is valid, in the state of storing the second currency use transaction in a storage unit, the server is paid by at least one other user and pays the specific user.
  • Second Call Use Fry Providing or providing a comb transaction ID and a third currency usage private transaction ID to at least some of the specific user, the specific recipient, and the other user; And (c) a predetermined condition, wherein the predetermined condition is a triggering condition for registering a predetermined hash value in the public blockchain database.
  • a method comprising a.
  • a server for issuing a call comprising: (i) call recipient information for issuing the call from the call issuer, (ii) the issue amount of the call, and (iii) the call issuer.
  • a communication unit for obtaining a call issuing transaction comprising a public key and (iv) a signature value of the call issuer who signed the (i), (ii) and (iii) with the call issuer's private key; And (i) the call recipient information, (ii) the issue amount of the call, (iii) the public issuer's public key, and (iv) if the obtained currency issuing transaction and the currency issuer are valid and valid.
  • Support for registering or registering the currency issuance transaction including the signature value of the currency issuer in a private blockchain database, the currency issuance indicating a location on the private blockchain database of the currency issuance transaction registered in the private blockchain database;
  • Support for registering or registering, and obtaining or obtaining a currency issuing public transaction ID representing location information on the public blockchain database of the representative hash value or the processed value of the representative hash value registered in the public blockchain database.
  • a processor to perform a process for performing the process; A server comprising a is provided.
  • the server for payment of a currency at least one unused first currency use private transaction ID which has been previously used (i) for payment of the currency from a specific user. , (ii) call recipient information, (iii) payment amount paid, (iv) the public key of the particular user, and (v) the private key of the particular user, wherein (i), (ii), (iii), and a communication unit for obtaining a second call use transaction including a signature value of the specific user who signed (iv): and the second call use transaction with reference to the balance of the specific user of the obtained second call use transaction; By confirming the payment settlement method of the payment, the balance of the specific user is greater than the payment payment amount, so that the payment settlement method of the second currency use transaction is "immediate payment payment”.
  • At least Offsetting the second currency use transaction and the third currency use transactions when at least one third currency use transaction paid by one or more other users and paying the specific user satisfies a predetermined offsetting condition.
  • register or register the offset-based second currency use transaction and the third currency use transaction in a private blockchain database and register the second currency use transaction and the third currency registered in the private blockchain database.
  • a predetermined condition wherein the predetermined condition is a triggering condition for registering a predetermined hash value in the public blockchain database.
  • the specific hash value is (1) the first hash value.
  • 2 is a hash value generated by applying a hash function to a currency use transaction, or (2) a hash value generated by applying a hash function to the second currency use transaction and the third currency use transaction, respectively, and matches with the specific hash value.
  • register or register a representative hash value generated by calculating at least one neighboring hash value or a processed value of the representative hash value in the public blockchain database, and the representative hash value registered in the public blockchain database. Or positioning the representative hash value on the public blockchain database.
  • a server comprising a is provided.
  • a computer readable recording medium for recording a computer program for executing the method of the present invention is further provided.
  • the present invention can improve the reliability and security of the issuing and payment settlement information of the currency by registering the issuing and payment settlement information of the currency in the blockchain of the virtual currency so that copying or forgery is impossible.
  • the present invention can improve the reliability and security of the issued and paid payment information of the currency by ensuring that the security of the issued and paid payment information of the currency by using a hash function and encryption technology, and forgery / modulation is impossible. .
  • the present invention by registering the information on the issuance and payment settlement of the currency in the blockchain of the virtual currency it is possible to prevent problems such as duplicate payment of the currency in advance.
  • the present invention can improve the convenience of users by always checking the latest settlement information settled even without proceeding the settlement process between the central bank and the commercial bank.
  • FIG. 1 schematically illustrates a server for issuing a call according to an embodiment of the present invention
  • 3 and 4 schematically illustrate a process of registering a currency issuing transaction in the public blockchain database according to an embodiment of the present invention
  • FIG. 5 schematically illustrates a method of registering a currency issuer for issuing a currency in a method for issuing a currency according to an embodiment of the present invention
  • FIG. 6A schematically illustrates a method of making an instant payment payment in accordance with an embodiment of the present invention
  • 6B schematically illustrates a method for making a delayed payment settlement of a currency in accordance with one embodiment of the present invention.
  • the word limited to the word “specific” herein is a concept associated with the main subject of the action
  • the word limited to the word “related” is a concept associated with other subjects than the main subject, in the following description Since the concept can be distinguished by the context, “specific” and “related” may be omitted. However, in the claims, “specific” and “related” are described to clearly understand the meaning.
  • the server 100 may include a communication unit 110 and a processor 120.
  • the same reference numerals are used for the convenience of description and are not intended to mean that these individual devices are the same.
  • the server may be configured differently to perform the method, or the method may be performed through the same server 100.
  • server 100 is typically a computing device (eg, a device that may include components of a computer processor, memory, storage, input and output devices, other conventional computing devices; electronic communications such as routers, switches, etc.). Desired system performance using a combination of a 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 manner). It may be to achieve.
  • NAS network attached storage
  • SAN storage area network
  • the communication unit 110 of such a computing device may transmit and receive a request and a response with another computing device to be interlocked.
  • 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.
  • a currency issuer A including a central bank of a specific country or a currency management entity of a specific group generates and transmits a currency issuance transaction TrxA through a terminal to issue a currency (S100)
  • the server 100 The call issuing transaction TrxA is obtained through the communication unit 110.
  • the currency issuance transaction is composed of (i) the recipient's information of the call, (ii) the issue amount of the call, (iii) the public key of the call issuer, and (iv) the private key of the call issuer. (i) the recipient's information of the call, (ii) the issue amount of the call, and (iii) the signature of the call issuer who signed the call issuer's public key.
  • the receiver information of the call may be a public key of a specific user registered as a call user as information on the receiver of the issued call, and the public key of the call receiver and the public key of the call issuer are registered in advance in the server 100.
  • the registration information may be registered with the server 100 at a corresponding time, and the registration information may be a publisher or a user having a private key and a public key, and has registered his or her public key with the server 100. Will be described in other operations.
  • the call issuer A may have a public key of the call receiver B as information about the call receiver B in advance.
  • the currency issuance transaction has a data format of 1. payment payment method, 2. previous transaction ID, 3. recipient, 4. issue amount, 5. issuer public key, 6. issuer signature value.
  • the present invention is not limited thereto.
  • Payment methods may include“ immediate payments ”and“ delayed payments, ”“ immediate payments ”allow for immediate processing of currency-related transactions, and“ deferred payments ”for currency until certain conditions are met. It may be to delay the processing of the associated transaction.
  • “delayed payment” means that if the amount for the payment is insufficient, the payment of more than the balance can be offset against the amount received after the payment to solve the liquidity problem. .
  • “immediate payment” is set by default, or the payment issuance method for a currency issuing transaction. You can also include no data format.
  • Former Transaction ID contains information about the balance of the issuer or user. Private transaction ID representing location information on the private blockchain database or public blockchain database where transactions previously created or traded with respect to the currency are registered. Or as a public transaction ID, the issuance of a currency may result in the creation of a new currency and thus no previous transaction ID. Also, “3. Recipient ”can be the public key (PubB) of the call recipient who will receive the issued call,“ 4. Issuance amount ”may be the amount of currency to be issued,“ 5. Issuer public key ”may be a public key (PubA) registered by the issuer,“ 6. Issuer signature value ”may be a signature value (SignPrivA (1, 2, 3, 4, 5)) of 1, 2, 3, 4, 5 signed by the currency issuer with the private key.
  • the processor 120 of the server 100 may then (i) call recipient information obtained through the communication unit 110, (ii) the amount of calls issued, (iii) the public key of the call issuer, and (iv) the signature of the call issuer.
  • the validity of the currency issuance transaction (TrxA) and the currency issuer including the value is checked (S110).
  • the processor 120 of the server 100 checks whether the data format of the call issuance transaction TrxA is valid, whether the call receiver is valid, whether the call issuer's public key is valid, and whether the call issuer's signature value is valid. To confirm the validity of the currency issuance transaction (TrxA).
  • a call receiver obtained by using the call issuer's public key against the call issuer's signature value, and by verifying that the call issuer's public key matches the value contained in the call issue transaction (TrxA). And validity of the public key of the currency issuer.
  • the signature value of the currency issuer using the currency issuer's public key, not only the validity of the signature value of the currency issuer can be confirmed, but also the validity of the currency issuer can be verified through the currency issuer's public key.
  • the server 100 is valid (S110) (S210), (i) call recipient information, (ii) the amount of calls issued, (iii) the public key of the call issuer, and (iv) the signature of the call issuer.
  • a currency issuance transaction (TrxA) containing a value in a private blockchain database (S211), and a currency representing location information on a private blockchain database of a currency issuance transaction (TrxA) registered in a private blockchain database.
  • the issue private transaction ID (PrivTxid) may be provided to or provided to at least some of the call issuer A and the call receiver B (S212, S213).
  • the server 100 may provide or support the call issuer A to provide a response indicating a failure including an error message (S221).
  • the server 100 in response to the valid verification result, the server 100, if a predetermined condition, for example, a triggering condition for registering a predetermined hash value in the public blockchain database is satisfied (S230), (i) call recipient information, ( a specific hash value (hash (TrxA)) generated by applying a hash function to a currency issuance transaction (TrxA), which includes ii) the amount of currency issued, (iii) the currency issuer's public key, and (iv) the currency issuer's signature value; By calculating at least one neighboring hash value matching a specific hash value, a representative hash value or a value obtained by processing the representative hash value is generated as a Merkle root (S231), and the representative hash value or the representative hash value that is the generated Merkle root is processed.
  • a predetermined condition for example, a triggering condition for registering a predetermined hash value in the public blockchain database is satisfied (S230), (i) call recipient information, (
  • a public call issued transaction identifier represents the position information on the blocks of the root public database chain or obtained (S233).
  • the server 100 may obtain an OP message corresponding to the call issuance public transaction ID (PubTxid) from the public blockchain database 200.
  • the operation of a specific hash value and at least one neighboring hash value may be performed by various hash functions, and the hash function may be a MD4 function, an MD5 function, a SHA-0 function, a SHA-1 function, a SHA-224 function, It will be appreciated by those skilled in the art that the present invention may include, but is not limited to, an SHA-256 function, an SHA-384 function, an SHA-512 function, and an HAS-160 function. For example, Triple SHA256 would be possible.
  • the server 100 may store and manage a specific hash value and 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 a specific hash value and at least one neighboring hash value may be performed through a merkle tree.
  • the server 100 may support to generate or generate a merkle tree in which a specific hash value is assigned to a specific leaf node, and if a predetermined condition is satisfied, at least one other leaf matching the specific hash value.
  • a representative hash value or a processed value of the representative hash value, which is a Merkle root generated by calculating a hash value assigned to a node, may be registered or registered in the public blockchain database 200.
  • (x1) server 100 supports (i) calculating or calculating hash values of sibling nodes of nodes to which specific hash values and (ii) specific hash values are assigned. It can support assigning or assigning a hash value to the parent node of nodes. (x2) If the parent node is the root node of the Merkle tree, the hash value assigned to the parent node becomes the representative hash value. (x3) On the other hand, if the parent node is not the root node of the Merkle tree, the server 100 repeatedly performs (x1) to (x3) by using a hash value assigned to the parent node as a specific hash value.
  • the server 100 supports registering or registering the hash value finally assigned to the root node of the Merkle tree as the representative hash value in the public blockchain database 200.
  • a value obtained by processing the representative hash value may be registered.
  • a result value of performing a hex operation may be registered in the representative hash value.
  • the server 100 stores a specific hash value and 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 data structure and the second data structure may be connected in a chain form.
  • first data structure and the second data structure are Merkle trees as in the above-described example
  • a root value of the first data structure or a hash value of the root value may be assigned to the first leaf node of the second data structure.
  • the integrity of the data may be more guaranteed by verifying the first data structure.
  • the verification of the second data structure will be described later.
  • the first leaf node of the first Merkle tree may be assigned a hash value or a processed value of predetermined message data consisting of text, numbers, or symbols. have.
  • a hash value of an input message initially given by the server 100 may be assigned when generating the merkle tree.
  • 3 and 4 illustrate an example of a merkle tree generated according to an embodiment of the present invention.
  • sha256 coinplug_unique_message
  • the server 100 may support to calculate or calculate (i) a specific hash value assigned to the h2 node and (ii) a hash value assigned to the h3 node that is a sibling node of the h2 node.
  • the hash value for the operation value is assigned to the parent node (h23 node) of the h2 node and the h3 node.
  • the server 100 may repeat the above process by using the hash value assigned to the h23 node as a specific hash value. That is, the hash value assigned to the h23 node can be used as a specific hash value, and the hash value assigned to the h23 node and the hash value assigned to the h01 node can be calculated and assigned to the parent node (h0123 node) of the h23 node and the h01 node. have.
  • the server 100 registers or registers a value (hex (h ⁇ node_index ⁇ )) of the hash value assigned to the h0123 node in the public blockchain database 200.
  • the above-mentioned predetermined conditions are (i) a condition in which transactions related to a currency are generated by a predetermined number, (ii) a condition in which a predetermined time elapses, (iii) a condition in which a block is generated in a private blockchain, (iv) ) May include at least one of conditions for service characteristics.
  • the transaction related to the currency may include issuer registration, payment settlement of a currency, user registration, and the like, which will be described later in addition to issuing a currency.
  • the Merkle tree may be generated, and the root value of the Merkle tree may be registered or supported in the public blockchain database 200.
  • the server 100 may generate the root value of the aforementioned Merkle tree on a predetermined time unit (condition (ii) above). In this case, when a predetermined time elapses, the server 100 may generate a Merkle tree by using input values up to that time and register or register the root value of the Merkle tree in the public blockchain database 200.
  • 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. If the hash value is not assigned to the sibling node of the node to which the specific hash value is assigned even though the predetermined condition is satisfied as described above, the server 100 supports to assign or allocate the predetermined hash value to the sibling node. This allows the root value of the Merkle tree to be calculated. For example, server 100 may support assigning or assigning a particular hash value to a sibling node.
  • the service characteristic may include at least one of cost information provided by a call issuer requesting a call issuance, time zone information at which a call issuing transaction is registered, area information at which a call issuing transaction registration service is performed, and company type information requesting a call issuing transaction registration. It can be part of it.
  • the present invention is not limited to the above description and includes various condition information in which a generally accepted differential service can be provided.
  • the server 120 if a new Merkle tree generation starts and a predetermined condition is satisfied in the absence of a call issuing transaction, the server 120 generates a Merkle tree in which predetermined message data is assigned to the first leaf node and the second leaf node. Or to create or register the root value of the Merkle tree or a processed value thereof in the public blockchain database 120. In this case, a two leaf node Merkle tree may be created.
  • the server 100 stores a specific hash value and 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 assigned to the first leaf node of the second data structure.
  • FIG. 4 illustrates a Merkle tree generated as a second data structure according to an embodiment of the present invention.
  • the present invention has an advantage of improving data integrity by easily tracking even when data is tampered with by connecting a plurality of data structures generated when a transaction occurs.
  • the server 100 checks whether the call issuer A is valid and when the call issuer A is valid ( In operation S310, a random nonce RN may be delivered to or supported by the call issuer A in operation S311.
  • a random nonce RN may be delivered to or supported by the call issuer A in operation S311.
  • the server 100 may provide or provide a response indicating the issuer verification failure to the call issuer A. It may support (S321).
  • the method for determining whether the issuer A is valid is not limited thereto, and the validity of the issuer A may be determined using, for example, a time stamp. For reference, the following description will be given as an example of determining validity using a random nonce.
  • the server 100 100 checks whether the currency issuer A of the obtained public key is valid.
  • the validity of the call issuer (A) may use a public key infrastructure (PKI) certificate or use the identification information of the call issuer (A), but is not limited thereto.
  • PKI public key infrastructure
  • identification information that can verify a specific issuer through a public key-based certificate such as a public certificate or an OPSign certificate, or to prove the identity of an individual, a bank, or an organization such as a social security number, a passport, a corporate registration number, and a business registration number. You can check the currency issuer through.
  • RN a random nonce signature value
  • S312 a random nonce signature value
  • the server 100 determines whether the random nonce signature value is normally signed. Validate using the public key of the currency issuer (A). That is, the server 100 checks the random nonce RN from the random nonce signature value using the call issuer's public key, and checks whether the confirmed random nonce RN matches the random nonce RN delivered to the call issuer. If it matches, it verifies that it is a valid signature.
  • the server 100 issues a publisher registration transaction (RN, SignPrivA (RN) including a random nonce, a random nonce signature value, and the call issuer's public key.
  • PubA publisher registration transaction
  • PubA to register or register in the private blockchain database (S331), and includes a publisher registration private transaction ID (PrivTxid) indicating location information on the private blockchain database of the publisher registration transaction registered in the private blockchain database.
  • the server 100 may support or provide the call issuer A with a response including a message indicating that the signature value verification failed. There is (S341).
  • the server 100 satisfies a predetermined condition, for example, a triggering condition for registering a predetermined hash value in the public blockchain database (S350), random nonce, and random nonce signature.
  • a predetermined condition for example, a triggering condition for registering a predetermined hash value in the public blockchain database (S350), random nonce, and random nonce signature.
  • a specific hash value (hash (RN, SignPrivA (RN), PubA)) generated by applying a hash function to the issuer registration transaction that includes the value and the currency issuer's public key, and at least one neighboring hash value that matches the particular hash value.
  • a representative hash value or a processed value of the representative hash value generated by calculating as a Merkle root (S351), and register the processed hash value or the representative hash value, which is the generated Merkle root, in the public blockchain database or It supports to register (S352), the public of the value processed the representative hash value or representative hash value that is the Merkle root registered in the public blockchain database 200 Published register that indicates the position information on the registered chain database 200 can be supported to obtain or acquire a public transaction ID (PubTxid) (S352).
  • the representative hash value or the processed value of the representative hash value may be generated by the Merkle tree as described in FIG. 2.
  • the server 100 may obtain an OP message corresponding to the issuer registration public transaction ID (PubTxid) from the public blockchain database 200.
  • the server 100 transmits the communication unit 110. It receives through (S400).
  • the second currency use transaction may include (i) at least one or more unused first currency use transaction IDs, (ii) call recipient information, (iii) payment amount, and (iv) a specific user. And (v) at least one or more unused first currency usage transaction IDs that have previously been at least partially unused by the particular user's private key, (ii) call recipient information, (iii) payment amount paid, and (iv) It can contain the signature value of the specific user who signed the user's public key.
  • at least one or more unused first currency use transaction IDs, which are previously used are currency related transactions in which a usage amount is left with respect to payment payments received by a specific user from a currency issuer or other users.
  • the sum of the unused amounts of all owned first currency usage transactions may be the current balance of a particular user.
  • the call receiver information may be a public key of a call receiver that receives a call-paid currency among users registered as call users as information about a callee of a call-paid currency, and the public key of the call receiver and a specific user (C ) Is registered in the server 100 in advance, or may be registered in the server 100 at that time, if necessary, the registration information is issued by a publisher or user with a private key and a public key The key is registered in the server 100, and the description thereof will be described in another operation.
  • the specific user C may previously have a public key of the call receiver as information on the call receiver.
  • the second currency use transaction is 1. payment settlement method, 2. first currency use transaction ID, 3. recipient, 4. use amount, 5. balance, 6. balance owner information, 7. It may have a data format that contains the public key of a particular user, 8. The signature value of a particular user.
  • Payment methods may include“ immediate payments ”and“ delayed payments, ”“ immediate payments ”allow for immediate processing of currency-related transactions, and“ deferred payments ”for currency until certain conditions are met. It may be to delay the processing of the associated transaction. For example, “delayed payment” means that if the amount for the payment is insufficient, the payment of more than the balance can be offset against the amount received after the payment to solve the liquidity problem. .
  • First currency usage transaction ID includes information about the balance of a specific user C and indicates location information on a private blockchain database or a public blockchain database in which a currency usage transaction previously received with respect to the currency is registered.
  • Private transaction ID or public transaction ID which may be about information in a currency usage transaction, including currency usage transactions and some unused amounts paid by the issuer or other users of the currency, and owned by a particular user (C)
  • the sum of the balances of all the first currency use transactions may be a balance currently owned by a particular user (C).
  • “3. Recipient ” may be the public key (PubB) of the recipient of the currency to receive the currency in which payment is made, and“ 4.
  • Usage amount may be the amount to be paid and paid,“ 5.
  • Balance is the amount remaining after payment in the balance of a specific user (C). There is no balance due to payment or it may have a negative value.
  • the public key of a specific user may be the public key of a specific user (C) who wishes to pay now,“ 8.
  • Signature value of a specific user is a signature value of 1, 2, 3, 4, 5, 6, and 7 (SignPrivC (1, 2, 3, 4, 5, 6, 7) signed by a specific user C with a private key. May be).
  • the server 100 checks the payment settlement method of the second currency use transaction with reference to the balance of the specific user (C). In this case, if the balance owned by the specific user C is greater than the payment amount, the payment is immediately checked. If the balance owned by the specific user C is less than the payment amount, the balance may be confirmed as “delayed payment”. . In addition, depending on the payment settlement method included in the second currency transaction, it can be identified as “immediate payment settlement” and “delayed payment settlement.” In particular, the payment settlement method included in the second currency usage transaction is referred to as “immediate payment settlement.” If it is entered but the balance owned by the user C is less than the payment settlement, it may be determined as "delayed payment settlement”.
  • the server 100 determines whether the signature value of a specific user (C) of the second currency use transaction (TrxC) is valid If it is valid (S430), the second currency use transaction (TrxC) is registered in the private blockchain database (S431), the location information on the private blockchain database of the second currency use transaction (TrxC) registered in the private blockchain database
  • the second call usage private transaction ID (PrivTxid) may be provided to or provided to at least some of the specific user C and the call receiver (S432).
  • the server 100 may provide or support a specific user C to provide or provide a response indicating a failure including an error message (S441).
  • the server 100 when a predetermined condition, for example, a triggering condition is satisfied (S450), in response to a valid confirmation result, the server 100 generates a specific hash value (hash) generated by applying a hash function to the second currency use transaction TrxC. (TrxC)) and a neighbor hash value matched with a specific hash value to generate a representative hash value or a processed value of the representative hash value as a Merkle root (S451), and generates a representative hash value or a representative hash value which is the generated Merkle root.
  • a specific hash value hash
  • TrxC second currency use transaction TrxC.
  • a second currency use public transaction ID Txid representing location information on the chain database may be obtained or acquired.
  • the representative hash value or the processed value of the representative hash value may be generated by the Merkle tree as described in FIG. 2.
  • the server 100 may obtain an OP message corresponding to the second call use public transaction ID (PubTxid) from the public blockchain database 200.
  • the server 100 determines whether the signature value of a specific user (C) of the second currency use transaction (TrxC) is valid. If it is valid (S470), the second currency use transaction (TrxC) is stored in a recording device such as a netting database, a storage unit, a memory (S471). However, if the verification result is not a valid signature value (S480), the server 100 may provide or support a specific user C to provide or provide a response indicating a failure including an error message (S481).
  • At least one third currency use transaction which is paid by at least one other user D and has a specific user C as a payee, while the second currency use transaction TrxC is stored in the storage device.
  • TrxD When TrxD) is obtained (S472), the server 100 checks whether the acquired third currency use transaction TrxD and the second currency use transaction TrxC satisfy the offset conditions.
  • the third currency use transaction (TrxD) may be a currency use transaction stored in the storage device as a "delayed payment" to a specific user (C), in this case, the server 100 is "delayed payment"
  • the offset may be performed in response to the second currency use transaction TrxC, and the server 100 may set the third currency use transaction as an offset condition. If (TrxD) is obtained, the offsetting process is performed, and it is determined by the offsetting process whether the balance of the specific user C has a value of "0" or more.
  • the server 100 stores the acquired third currency use transaction (TrxD) on the recording medium, and another third currency. Wait for the usage transaction to be acquired (S501).
  • the server 100 offsets the second currency use transaction (TrxC) and at least one third currency use transaction (TrxD).
  • the plurality of third currency transactions are generated by a plurality of currency transactions generated by a specific other user, a plurality of currency transactions generated by a plurality of other users, or generated by a plurality of other users. It may be a plurality of currency transactions created by other users.
  • the server 100 may form a specific user (C). And a "delayed payment" between multiple other users, forming a circular loop that can offset all linked currency-using transactions.
  • the server 100 may offset all currency use transactions, which are "delayed payment settlement" forming a circular ring.
  • user A creates a currency-enabled transaction A with "deferred payment” to user B
  • user B creates a currency-enabled transaction B with “deferred payment” to user C
  • user C Deferred payment "creates a currency-enabled transaction C
  • User D creates a currency-enabled transaction D with" deferred payment "to User A, allowing users A, User B, User C, and User D to When a circular ring of payees is formed, the server 100 selects currency use transaction A, currency use transaction B, currency use transaction C, and currency use transaction D generated by user A, user B, user C, and user D. Offset can be processed.
  • each currency use transaction that is “deferred payment settlement” must be satisfied, and if the payment settlement amounts do not match, each currency use transaction that is "delay payment settlement” If another currency use transaction satisfies the offset processing condition and each of the " delayed payment settlement " currency use transactions in the form of a purifying ring satisfies the offset processing condition, the offset processing can be performed.
  • the server 100 supports to register or register the offsetted second currency use transaction (TrxC) and at least one third currency use transaction (TrxD) in the private blockchain database (S491), and the private blockchain database.
  • the ID PrivTid may be provided to or provided to at least some of a specific user C, a call receiver, and at least one other user D (S492 and S493).
  • the information stored in the recording medium that is, the second call use transaction TrxC and the obtained at least one third call use transaction TrxD may be deleted.
  • the server 100 corresponds to the offset processing of the second currency use transaction TrxC and the at least one third currency use transaction TrxD, and if a predetermined condition, for example, a triggering condition is satisfied (S510), the offset process.
  • a predetermined condition for example, a triggering condition is satisfied (S510)
  • Merkle root a representative hash value generated by calculating a specific hash value generated by applying a hash function to the second currency using transaction and at least one neighboring hash value matching the specific hash value, or a value obtained by processing the representative hash value
  • S511 supports to register or register in the public blockchain database
  • the server 100 may generate a representative hash generated by calculating a specific hash value generated by applying a hash function to each of the at least one third currency use transaction processed and at least one neighboring hash value matching the specific hash value.
  • a value or a processed value of the representative hash value may be generated as a Merkle root (S511), and may be registered or registered in the public blockchain database (S512). That is, the server 100 may support to register or register information on all the currency use transactions that have been offset in the public blockchain database 200.
  • the server 100 may include information indicating location information on the public blockchain database of the Merkle root corresponding to the second currency use transaction registered in the public blockchain database and the at least one third currency use transaction. It may support to acquire or obtain a 2 call usage public transaction ID (PubTxid) and at least one third call usage public transaction ID (PubTxid) (S513).
  • the representative hash value or the processed value of the representative hash value may be generated by the Merkle tree as described in FIG. 2.
  • the server 100 may obtain an OP message corresponding to each of the second call use public transaction ID PubTxid and the third call use public transaction ID PubTxid from the public blockchain database 200.
  • the process of registering a specific user who is a call user by the server 100 is as follows.
  • the registration of a specific user also performs the same method as the registration of the call issuer in FIG. 5, and similar parts are omitted since the description in FIG. 5 can be understood.
  • the server 100 checks whether the specific user C is valid, and if the specific user C is valid, randomly sets a random nonce to the specific user C. Can be delivered to or supported). In addition, when a specific user C is not valid, the server 100 may provide or support a response indicating a user confirmation failure to the specific user C.
  • the server 100 verifies whether the random nonce signature value is normally signed using the specific user's public key. .
  • the server 100 registers or registers a user registration transaction including a random nonce, a random nonce signature value, and a specific user's public key in the private blockchain database.
  • the user registration private transaction ID (PrivTxid) indicating location information on the private blockchain database of the user registration transaction registered in the private blockchain database may be provided or provided to a specific user (C).
  • the server 100 may provide or provide a response indicating the signature value verification failure to the specific user 111.
  • the server 100 may perform a user registration transaction including a random nonce, a random nonce signature value, and a specific user's public key if a predetermined condition, for example, a triggering condition is satisfied.
  • a predetermined condition for example, a triggering condition is satisfied.
  • a user registration public transaction ID indicating location information on the public blockchain database of the representative hash value or the processed value of the representative hash value registered in the public blockchain database 200. PubTxid) can be obtained or supported to acquire.
  • the representative hash value or the processed value of the representative hash value may be generated by the Merkle tree as described in FIG. 2.
  • the call receiver B, the call user C, and the call user D described above may be commercial banks or general individuals.
  • the embodiments according to the present invention described above may be implemented in the form of program instructions that may be executed by various computer components, and may be 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 computer software arts.
  • 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.

Abstract

Provided in the present invention is a method comprising: obtaining a currency issuing transaction for issuing currency from a currency issuer including (i) currency receiver information, (ii) issued amount of the currency, (iii) a public key of the currency issuer, and (iv) a signature value signing the (i), (ii), and (iii) with a private key of the currency issuer, registering the currency issuing transaction on private blockchain database, and providing, to the currency issuer or the currency receiver, a currency issuance private transaction ID indicating location information of the currency issuing transaction on the private blockchain database; and (b) registering a specific hash value and a representative hash value generated from a neighboring hash value matching the specific hash value on a public blockchain database, and obtaining a currency issuance public transaction ID indicating the location information of the representative hash value on the public blockchain database.

Description

UTXO 기반 프로토콜에서 머클 트리 구조를 사용하여 통화를 발행 및 지급 결제하는 방법과 이를 이용한 서버Method of issuing and paying currency using the Merkle Tree structure in UTXO based protocol and server using the same
UTXO 기반 프로토콜에서 머클 트리 구조를 사용하여 통화를 발행 및 지급 결제하는 방법과 이를 이용한 서버에 관한 것으로, 보다 상세하게는, (a) 통화 발행자로부터의 상기 통화 발행을 위한 (i) 통화 수신자 정보, (ii) 상기 통화의 발행량, (iii) 상기 통화 발행자의 퍼블릭 키 및 (iv) 상기 통화 발행자의 프라이빗 키로 상기 (i), 상기 (ii), 상기 (iii)을 서명한 상기 통화 발행자의 서명값을 포함하는 통화 발행 트랜잭션이 획득되면, 상기 통화 발행 트랜잭션 및 상기 통화 발행자의 유효 여부를 확인하여 유효일 경우, 상기 통화 발행 트랜잭션을 프라이빗 블록체인 데이터베이스에 등록하거나 등록하도록 지원하며, 상기 통화 발행 트랜잭션의 상기 프라이빗 블록체인 데이터베이스 상의 위치 정보를 나타내는 통화 발행 프라이빗 트랜잭션 아이디를 상기 통화 발행자 및 상기 통화 수신자 중 적어도 일부에게 제공하거나 제공하도록 지원하고, (b) 소정의 조건이 만족되면, 상기 통화 발행 트랜잭션에 해쉬 함수를 적용하여 생성한 특정 해쉬값 및 상기 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산함으로써 생성되는 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 퍼블릭 블록체인 데이터베이스에 등록하거나 등록하도록 지원하며, 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값의 상기 퍼블릭 블록체인 데이터베이스 상의 위치 정보를 나타내는 통화 발행 퍼블릭 트랜잭션 아이디를 획득하거나 획득하도록 지원하는 방법과 이를 이용하는 서버에 관한 것이며, 더 나아가 특정 사용자가 통화를 지급 결제하는 방법 및 이를 이용하는 서버에 관한 것이다.A method for issuing and paying a currency using a Merkle tree structure in a UTXO based protocol, and a server using the same, more specifically, (a) call recipient information for issuing the call from a currency issuer, (ii) the issue value of the currency issuer, (iii) the currency issuer's public key, and (iv) the currency issuer's public key and (iii) the currency issuer's private key. If a call issuing transaction is obtained, the call issuing transaction and the validity of the call issuing agent are checked to be valid, and if it is valid, the call issuing transaction is registered or registered in a private blockchain database, and the call issuing transaction is supported. The call issuing private transaction ID indicating the location information on the private blockchain database Provide or provide at least some of the issuer and the call recipient, and (b) if a predetermined condition is met, a specific hash value generated by applying a hash function to the call issuing transaction and at least a match with the particular hash value. And register or register a representative hash value generated by calculating one neighbor hash value or a processed value of the representative hash value in a public blockchain database, and wherein the representative hash value or the processed value of the representative hash value is processed. The present invention relates to a method for obtaining or obtaining a currency issuing public transaction ID indicating location information on a public blockchain database, and a server using the same. Furthermore, the present invention relates to a method for payment of a user's payment and a server using the same.
일반적으로 통화는 유통 수단이나 지불 수단으로서 기능하는 교환 수단으로, 국가가 공식적으로 지정하여 쓰는 돈, 다시 말해 지불 및 상업적 유통 단위를 뜻한다. 또한, 특정 단체 내에서만 사용되는 특정 교환 수단도 하나의 통화일 수 있을 것이다.Generally speaking, currency is a means of exchange that functions as a means of distribution or means of payment, and means the money officially designated and used by the state, ie payment and commercial distribution units. In addition, a specific exchange means used only within a specific organization may be one currency.
그리고, 국가 단위에서 볼 경우, 중앙은행은 통화를 발행하거나 관리하며, 시중은행들은 중앙은행에서 발행된 통화를 사용하게 된다.At the national level, central banks issue or manage currencies, and commercial banks use currencies issued by central banks.
이때, 시중은행에서의 은행간 자금 결제는 중앙은행의 결제 시스템을 통해 이루어지며, 실제 현금의 이동을 수반하지는 않는다. 즉, 중앙은행에 개설되어 있는 각 은행들의 계정에서 은행별 결제금액을 입금 또는 출금하는 방식으로 결제가 이루어지고 있다.At this time, the interbank payments at commercial banks are made through the central bank's payment system, and do not involve actual cash movement. That is, the payment is made by depositing or withdrawing the payment amount for each bank from the account of each bank opened in the central bank.
그러나, 이러한 결제 시스템에서는 은행의 업무 종료 이후, 중앙은행과 시중은행들은 하루 동안 발생된 자금의 지급 결제에 대하여 매일 정산하여야 하는 불편함이 있다.However, in such a payment system, after the end of the bank, the central bank and commercial banks are inconvenient to settle daily for payment settlement of funds generated during the day.
또한, 정산시 방대한 지급 결제에 대한 자료를 확인하여야 하는 어려움이 있으며, 정산 결과에 오류가 있을 경우 이를 확인하는데 많은 시간이 소요되는 등의 문제점이 있다.In addition, there is a difficulty in checking the data on the vast payment settlement when the settlement, and if there is an error in the settlement result, it takes a lot of time to check this.
또한, 결제 시스템의 해킹이나 시중은행의 해킹에 의한 기록 데이터의 복사 또는 위/변조가 발행할 경우 이를 확인하는 데 많은 시간과 노력이 소모되는 등의 문제점이 있다.In addition, there is a problem such that a lot of time and effort is required to verify the copy or forgery / forgery of the record data by the hacking of the payment system or the hacking of a commercial bank.
본 발명은 상술한 문제점들을 모두 해결하는 것을 그 목적으로 한다. The present invention aims to solve all the above-mentioned problems.
또한, 본 발명은 가상 화폐의 블록체인에 통화의 발행 또는 지급 결제에 대한 정보를 등록하여 복사 또는 위/변조가 불가능하도록 하는 방법 및 서버를 제공하는 것을 다른 목적으로 한다. It is another object of the present invention to provide a method and a server for copying or forgery / modulation by registering information on issuance or payment of a currency in a blockchain of virtual currency.
또한, 본 발명은 통화 발행이나 통화의 지급 결제 등의 정보를 해쉬함수와 암호화 기술을 이용하여 보안이 보장되고 위/변조가 불가능하도록 하는 방법 및 서버를 제공하는 것을 또 다른 목적으로 한다.Another object of the present invention is to provide a method and a server for securing security and forgery / falsification by using a hash function and encryption technology for information such as currency issuance or payment of a currency.
또한, 본 발명은 가상 화폐의 블록체인에 통화의 발행이나 지급 결제에 대한 정보를 등록함으로써 통화의 중복 지급 등의 문제점을 미연에 방지할 수 있도록 하는 방법 및 서버를 제공하는 것을 또 다른 목적으로 한다.In addition, another object of the present invention is to provide a method and a server which can prevent problems such as duplicate payment of a currency in advance by registering information on issuing or paying a currency in a blockchain of a virtual currency. .
또한, 본 발명은 중앙은행과 시중은행 간의 정산 절차를 진행하지 않아도 항상 정산된 최신의 정산 정보를 확인할 수 있도록 하는 방법 및 서버를 제공하는 것을 또 다른 목적으로 한다.In addition, another object of the present invention is to provide a method and a server for always checking the latest settlement information even without proceeding with the settlement process between the central bank and the commercial bank.
상기 목적을 달성하기 위한 본 발명의 대표적인 구성은 다음과 같다.Representative configuration of the present invention for achieving the above object is as follows.
본 발명의 일 실시예에 따르면, 통화를 발행하는 방법에 있어서, (a) 통화 발행자로부터의 상기 통화 발행을 위한 (i) 통화 수신자 정보, (ii) 상기 통화의 발행량, (iii) 상기 통화 발행자의 퍼블릭 키 및 (iv) 상기 통화 발행자의 프라이빗 키로 상기 (i), 상기 (ii), 상기 (iii)을 서명한 상기 통화 발행자의 서명값을 포함하는 통화 발행 트랜잭션이 획득되면, 서버는, 상기 통화 발행 트랜잭션 및 상기 통화 발행자의 유효 여부를 확인하여 유효일 경우, (i) 상기 통화 수신자 정보, (ii) 상기 통화의 발행량, (iii) 상기 통화 발행자의 퍼블릭 키 및 (iv) 상기 통화 발행자의 서명값을 포함하는 상기 통화 발행 트랜잭션을 프라이빗 블록체인 데이터베이스에 등록하거나 등록하도록 지원하며, 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 통화 발행 트랜잭션의 상기 프라이빗 블록체인 데이터베이스 상의 위치 정보를 나타내는 통화 발행 프라이빗 트랜잭션 아이디를 상기 통화 발행자 및 상기 통화 수신자 중 적어도 일부에게 제공하거나 제공하도록 지원하는 단계; 및 (b) 소정의 조건 - 상기 소정의 조건은 퍼블릭 블록체인 데이터베이스에 소정의 해쉬값을 등록하기 위한 트리거링 조건임 - 이 만족되면, 상기 서버가, 특정 해쉬값 - 상기 특정 해쉬값은 (i) 상기 통화 수신자 정보, (ii) 상기 통화의 발행량, (iii) 상기 통화 발행자의 퍼블릭 키 및 (iv) 상기 통화 발행자의 서명값을 포함하는 상기 통화 발행 트랜잭션에 해쉬 함수를 적용하여 생성한 해쉬값임 - 및 상기 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산함으로써 생성되는 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 상기 퍼블릭 블록체인 데이터베이스에 등록하거나 등록하도록 지원하며, 상기 퍼블릭 블록체인 데이터베이스에 등록된 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값의 상기 퍼블릭 블록체인 데이터베이스 상의 위치 정보를 나타내는 통화 발행 퍼블릭 트랜잭션 아이디를 획득하거나 획득하도록 지원하는 단계; 를 포함하는 방법이 제공된다.According to an embodiment of the present invention, there is provided a method for issuing a currency, comprising: (a) (i) call recipient information for issuing the call from a call issuer, (ii) issuing amount of the call, and (iii) the call issuer. If a currency issuing transaction is obtained that includes a public key of and (iv) a signature value of the currency issuer that signed (i), (ii), and (iii) with the currency issuer's private key, (I) the call recipient information, (ii) the issue amount of the call, (iii) the public key of the call issuer, and (iv) the signature of the call issuer, if valid by verifying the validity of the currency issuing transaction and the currency issuer. Assist in registering or registering the currency issuing transaction including a value in a private blockchain database, and registering the currency issuing transaction registered in the private blockchain database. The method comprising supporting the chain block group private calls issued private transaction ID that indicates the position information on the issuer database and the call, or to provide service to at least some of the call recipient; And (b) a predetermined condition, wherein the predetermined condition is a triggering condition for registering a predetermined hash value in a public blockchain database. Is a hash value generated by applying a hash function to the call issuing transaction including the call recipient information, (ii) the issue amount of the call, (iii) the public key of the call issuer, and (iv) the signature value of the call issuer. And register or register a representative hash value generated by calculating at least one neighboring hash value matching the specific hash value or a processed value of the representative hash value in the public blockchain database, and the public blockchain database. A location on the public blockchain database of the representative hash value or the processed value of the representative hash value registered at Assisting in obtaining or obtaining a call issuing public transaction ID representing information; There is provided a method comprising a.
또한, 본 발명의 일 실시예에 따르면, 통화의 지급을 결제하는 방법에 있어서, (a) 특정 사용자로부터 상기 통화의 지급 결제를 위한 (i) 이전에 적어도 일부 미사용된 적어도 하나 이상의 제1 통화 사용 프라이빗 트랜잭션 아이디, (ii) 통화 수신자 정보, (iii) 지급 결제 금액, (iv) 상기 특정 사용자의 퍼블릭 키 및 (v) 상기 특정 사용자의 프라이빗 키로 상기 (i), 상기 (ii), 상기 (iii), 상기 (iv)를 서명한 상기 특정 사용자의 서명값을 포함하는 제2 통화 사용 트랜잭션이 획득되면, 서버는, 상기 제2 통화 사용 트랜잭션의 상기 특정 사용자의 밸런스를 참조하여 상기 제2 통화 사용 트랜잭션의 지급 결제 방식을 확인하는 단계; (b) (i) 상기 특정 사용자의 밸런스가 상기 지급 결제 금액 이상이어서 상기 제2 통화 사용 트랜잭션의 지급 결제 방식이 "즉시 지급 결제"로 확인되면, 상기 서버는, 상기 특정 사용자의 서명값이 유효한지를 판단하여 유효일 경우, 상기 제2 통화 사용 트랜잭션을 프라이빗 블록체인 데이터베이스에 등록하거나 등록하도록 지원하고, 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 제2 통화 사용 트랜잭션의 상기 프라이빗 블록체인 데이터베이스 상의 위치 정보를 나타내는 제2 통화 사용 프라이빗 트랜잭션 아이디를 상기 특정 사용자 및 상기 통화 수신자 중 적어도 일부에게 제공하거나 제공하도록 지원하거나, (ii) 상기 특정 사용자의 밸런스가 상기 지급 결제 금액 미만이어서 상기 제2 통화 사용 트랜잭션의 지급 결제 방식이 "지연 지급 결제"로 확인되면, 상기 서버는, 상기 특정 사용자의 서명값이 유효한지를 판단하여 유효일 경우, 상기 제2 통화 사용 트랜잭션을 저장부에 저장한 상태에서, 적어도 하나 이상의 타 사용자에 의해 지급 결제되며 상기 특정 사용자를 수취인으로 하는 적어도 하나 이상의 제3 통화 사용 트랜잭션이 소정의 상계 처리 조건을 만족하면, 상기 제2 통화 사용 트랜잭션과 상기 제3 통화 사용 트랜잭션들을 상계 처리하며, 상계 처리된 상기 제2 통화 사용 트랜잭션과 상기 제3 통화 사용 트랜잭션을 프라이빗 블록체인 데이터베이스에 등록하거나 등록하도록 지원하고, 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 제2 통화 사용 트랜잭션과 상기 제3 통화 사용 트랜잭션의 상기 프라이빗 블록체인 데이터베이스 상의 위치 정보를 나타내는 제2 통화 사용 프라이빗 트랜잭션 아이디와 제3 통화 사용 프라이빗 트랜잭션 아이디를 상기 특정 사용자, 상기 특정 수신자 및 상기 타 사용자 중 적어도 일부에게 제공하거나 제공하도록 지원하는 단계; 및 (c) 소정의 조건 - 상기 소정의 조건은 퍼블릭 블록체인 데이터베이스에 소정의 해쉬값을 등록하기 위한 트리거링 조건임 - 이 만족되면, 상기 서버가, 특정 해쉬값 - 상기 특정 해쉬값은 (1) 상기 제2 통화 사용 트랜잭션에 해쉬 함수를 적용하여 생성한 해쉬값 또는 (2) 상기 제2 통화 사용 트랜잭션과 상기 제3 통화 사용 트랜잭션에 각각 해쉬 함수를 적용하여 생성한 해쉬값임 - 및 상기 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산함으로써 생성되는 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 상기 퍼블릭 블록체인 데이터베이스에 등록하거나 등록하도록 지원하며, 상기 퍼블릭 블록체인 데이터베이스에 등록된 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값의 상기 퍼블릭 블록체인 데이터베이스 상의 위치 정보를 나타내는 (1) 제2 통화 사용 퍼블릭 트랜잭션 아이디 또는 (2) 제2 통화 사용 퍼블릭 트랜잭션 아이디와 제3 통화 사용 퍼블릭 트랜잭션 아이디를 획득하거나 획득하도록 지원하는 단계; 를 포함하는 방법이 제공된다.Further, according to an embodiment of the present invention, in a method of making a payment of a currency, (a) using at least one unused first currency of at least some previously unused for payment of the currency from a specific user. The private transaction ID, (ii) call recipient information, (iii) payment amount paid, (iv) the public key of the particular user and (v) the private key of the particular user, the (i), (ii), (iii) ), If a second currency use transaction is obtained that includes the signature value of the particular user who signed (iv), the server uses the second currency by referring to the balance of the particular user of the second currency use transaction. Confirming a payment settlement method of the transaction; (b) (i) if the balance of the specific user is greater than or equal to the payment settlement amount and the payment settlement method of the second currency-using transaction is determined to be "immediate payment settlement", the server determines that the signature value of the specific user is valid. If it is determined that it is valid, the second currency use transaction is supported to be registered or registered in the private blockchain database, and indicates location information on the private blockchain database of the second currency use transaction registered in the private blockchain database. Support or provide a second currency use private transaction ID to at least some of the particular user and the call recipient, or (ii) the payment of the second currency use transaction because the balance of the particular user is less than the payment amount paid; The method is "Deferred payment" If it is confirmed, the server determines whether the signature value of the specific user is valid, and if it is valid, in the state of storing the second currency use transaction in a storage unit, the server is paid by at least one other user and pays the specific user. If at least one third currency use transaction serving as a payee satisfies a predetermined offset processing condition, the second currency use transaction and the third currency use transaction are offset, and the offset of the second currency use transaction and the offset is processed; Support to register or register a third currency use transaction in a private blockchain database, and indicate location information on the private blockchain database of the second currency use transaction and the third currency use transaction registered in the private blockchain database. Second Call Use Fry Providing or providing a comb transaction ID and a third currency usage private transaction ID to at least some of the specific user, the specific recipient, and the other user; And (c) a predetermined condition, wherein the predetermined condition is a triggering condition for registering a predetermined hash value in the public blockchain database. A hash value generated by applying a hash function to the second currency use transaction; or (2) a hash value generated by applying a hash function to the second currency use transaction and the third currency use transaction, respectively, and the specific hash value. And register or register a representative hash value generated by calculating at least one neighboring hash value matching with and a value obtained by processing the representative hash value in the public blockchain database, and the representative registered in the public blockchain database. Represents location information on the public blockchain database of a hash value or a value obtained by processing the representative hash value. Supporting or obtaining (1) a second currency use public transaction ID or (2) a second currency use public transaction ID and a third currency use public transaction ID; There is provided a method comprising a.
또한, 본 발명의 일 실시예에 따르면, 통화를 발행하는 서버에 있어서, 통화 발행자로부터의 상기 통화 발행을 위한 (i) 통화 수신자 정보, (ii) 상기 통화의 발행량, (iii) 상기 통화 발행자의 퍼블릭 키 및 (iv) 상기 통화 발행자의 프라이빗 키로 상기 (i), 상기 (ii), 상기 (iii)을 서명한 상기 통화 발행자의 서명값을 포함하는 통화 발행 트랜잭션을 획득하는 통신부; 및 상기 획득된 상기 통화 발행 트랜잭션 및 상기 통화 발행자의 유효 여부를 확인하여 유효일 경우, (i) 상기 통화 수신자 정보, (ii) 상기 통화의 발행량, (iii) 상기 통화 발행자의 퍼블릭 키 및 (iv) 상기 통화 발행자의 서명값을 포함하는 상기 통화 발행 트랜잭션을 프라이빗 블록체인 데이터베이스에 등록하거나 등록하도록 지원하며, 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 통화 발행 트랜잭션의 상기 프라이빗 블록체인 데이터베이스 상의 위치를 나타내는 통화 발행 프라이빗 트랜잭션 아이디를 상기 통화 발행자 및 상기 통화 수신자 중 적어도 일부에게 제공하거나 제공하도록 지원하는 프로세스, 및 소정의 조건 - 상기 소정의 조건은 퍼블릭 블록체인 데이터베이스에 소정의 해쉬값을 등록하기 위한 트리거링 조건임 - 이 만족되면, 특정 해쉬값 - 상기 특정 해쉬값은 (i) 상기 통화 수신자 정보, (ii) 상기 통화의 발행량, (iii) 상기 통화 발행자의 퍼블릭 키 및 (iv) 상기 통화 발행자의 서명값을 포함하는 상기 통화 발행 트랜잭션에 해쉬 함수를 적용하여 생성한 해쉬값임 - 및 상기 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산함으로써 생성되는 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 상기 퍼블릭 블록체인 데이터베이스에 등록하거나 등록하도록 지원하며, 상기 퍼블릭 블록체인 데이터베이스에 등록된 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값의 상기 퍼블릭 블록체인 데이터베이스 상의 위치 정보를 나타내는 통화 발행 퍼블릭 트랜잭션 아이디를 획득하거나 획득하도록 지원하는 프로세스를 수행하는 프로세서; 를 포함하는 서버가 제공된다.According to an embodiment of the present invention, there is provided a server for issuing a call, comprising: (i) call recipient information for issuing the call from the call issuer, (ii) the issue amount of the call, and (iii) the call issuer. A communication unit for obtaining a call issuing transaction comprising a public key and (iv) a signature value of the call issuer who signed the (i), (ii) and (iii) with the call issuer's private key; And (i) the call recipient information, (ii) the issue amount of the call, (iii) the public issuer's public key, and (iv) if the obtained currency issuing transaction and the currency issuer are valid and valid. Support for registering or registering the currency issuance transaction including the signature value of the currency issuer in a private blockchain database, the currency issuance indicating a location on the private blockchain database of the currency issuance transaction registered in the private blockchain database; A process for providing or providing a private transaction ID to at least some of the call issuer and the call recipient, and the predetermined condition, wherein the predetermined condition is a triggering condition for registering a predetermined hash value in a public blockchain database. Once this is satisfied, Positive Hash Value-The specific hash value is the currency issuance comprising (i) the call recipient information, (ii) the issue amount of the call, (iii) the public key of the call issuer, and (iv) the signature value of the call issuer. A hash value generated by applying a hash function to a transaction; and a representative hash value generated by calculating at least one neighboring hash value matching the specific hash value, or a value obtained by processing the representative hash value, in the public blockchain database. Support for registering or registering, and obtaining or obtaining a currency issuing public transaction ID representing location information on the public blockchain database of the representative hash value or the processed value of the representative hash value registered in the public blockchain database. A processor to perform a process for performing the process; A server comprising a is provided.
또한, 본 발명의 일 실시예에 따르면, 통화의 지급을 결제하는 서버에 있어서, 특정 사용자로부터 상기 통화의 지급 결제를 위한 (i) 이전에 적어도 일부 미사용된 적어도 하나 이상의 제1 통화 사용 프라이빗 트랜잭션 아이디, (ii) 통화 수신자 정보, (iii) 지급 결제 금액, (iv) 상기 특정 사용자의 퍼블릭 키 및 (v) 상기 특정 사용자의 프라이빗 키로 상기 (i), 상기 (ii), 상기 (iii), 상기 (iv)를 서명한 상기 특정 사용자의 서명값을 포함하는 제2 통화 사용 트랜잭션을 획득하는 통신부: 및 상기 획득된 상기 제2 통화 사용 트랜잭션의 상기 특정 사용자의 밸런스를 참조하여 상기 제2 통화 사용 트랜잭션의 지급 결제 방식을 확인하여, 상기 특정 사용자의 밸런스가 상기 지급 결제 금액 이상이어서 상기 제2 통화 사용 트랜잭션의 지급 결제 방식이 "즉시 지급 결제"로 확인되면, 상기 특정 사용자의 서명값이 유효한지를 판단하여 유효일 경우, 상기 제2 통화 사용 트랜잭션을 프라이빗 블록체인 데이터베이스에 등록하거나 등록하도록 지원하고, 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 제2 통화 사용 트랜잭션의 상기 프라이빗 블록체인 데이터베이스 상의 위치를 나타내는 제2 통화 사용 프라이빗 트랜잭션 아이디를 상기 특정 사용자 및 상기 통화 수신자 중 적어도 일부에게 제공하거나 제공하도록 지원하는 프로세스, 및 상기 특정 사용자의 밸런스가 상기 지급 결제 금액 미만이어서 상기 제2 통화 사용 트랜잭션의 지급 결제 방식이 "지연 지급 결제"로 확인되면, 상기 특정 사용자의 서명값이 유효한지를 판단하여 유효일 경우, 상기 제2 통화 사용 트랜잭션을 저장부에 저장한 상태에서, 적어도 하나 이상의 타 사용자에 의해 지급 결제되며 상기 특정 사용자를 수취인으로 하는 적어도 하나 이상의 제3 통화 사용 트랜잭션이 소정의 상계 처리 조건을 만족하면, 상기 제2 통화 사용 트랜잭션과 상기 제3 통화 사용 트랜잭션들을 상계 처리하며, 상계 처리된 상기 제2 통화 사용 트랜잭션과 상기 제3 통화 사용 트랜잭션을 프라이빗 블록체인 데이터베이스에 등록하거나 등록하도록 지원하고, 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 제2 통화 사용 트랜잭션과 상기 제3 통화 사용 트랜잭션의 상기 프라이빗 블록체인 데이터베이스 상의 위치 정보를 나타내는 제2 통화 사용 프라이빗 트랜잭션 아이디와 제3 통화 사용 프라이빗 트랜잭션 아이디를 상기 특정 사용자, 상기 특정 수신자 및 상기 타 사용자 중 적어도 일부에게 제공하거나 제공하도록 지원하는 프로세스, 및 소정의 조건 - 상기 소정의 조건은 퍼블릭 블록체인 데이터베이스에 소정의 해쉬값을 등록하기 위한 트리거링 조건임 - 이 만족되면, 특정 해쉬값 - 상기 특정 해쉬값은 (1) 상기 제2 통화 사용 트랜잭션에 해쉬 함수를 적용하여 생성한 해쉬값 또는 (2) 상기 제2 통화 사용 트랜잭션과 상기 제3 통화 사용 트랜잭션에 각각 해쉬 함수를 적용하여 생성한 해쉬값임 - 및 상기 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산함으로써 생성되는 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 상기 퍼블릭 블록체인 데이터베이스에 등록하거나 등록하도록 지원하며, 상기 퍼블릭 블록체인 데이터베이스에 등록된 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값의 상기 퍼블릭 블록체인 데이터베이스 상의 위치 정보를 나타내는 (1) 제2 통화 사용 퍼블릭 트랜잭션 아이디 또는 (2) 제2 통화 사용 퍼블릭 트랜잭션 아이디와 제3 통화 사용 퍼블릭 트랜잭션 아이디를 획득하거나 획득하도록 지원하는 프로세스를 수행하는 프로세서; 를 포함하는 서버가 제공된다.Further, according to an embodiment of the present invention, in the server for payment of a currency, at least one unused first currency use private transaction ID which has been previously used (i) for payment of the currency from a specific user. , (ii) call recipient information, (iii) payment amount paid, (iv) the public key of the particular user, and (v) the private key of the particular user, wherein (i), (ii), (iii), and a communication unit for obtaining a second call use transaction including a signature value of the specific user who signed (iv): and the second call use transaction with reference to the balance of the specific user of the obtained second call use transaction; By confirming the payment settlement method of the payment, the balance of the specific user is greater than the payment payment amount, so that the payment settlement method of the second currency use transaction is "immediate payment payment". ", If it is determined that the signature value of the specific user is valid, and if it is valid, supports to register or register the second currency use transaction in the private blockchain database, and the second call registered in the private blockchain database A process of providing or providing a second currency use private transaction ID representing at least a portion of the particular user and the recipient of the call, the location of the transaction on the private blockchain database, and the balance of the particular user to pay the amount of the payment; If the payment settlement method of the second currency use transaction is less than "delayed payment payment", it is determined that the signature value of the specific user is valid. If the payment value is valid, the second currency use transaction is stored in a storage unit. At least Offsetting the second currency use transaction and the third currency use transactions when at least one third currency use transaction paid by one or more other users and paying the specific user satisfies a predetermined offsetting condition. And register or register the offset-based second currency use transaction and the third currency use transaction in a private blockchain database, and register the second currency use transaction and the third currency registered in the private blockchain database. Providing or providing a second currency use private transaction ID and a third currency use private transaction ID representing location information on the private blockchain database of the use transaction to at least some of the specific user, the specific receiver, and the other user. And a predetermined condition, wherein the predetermined condition is a triggering condition for registering a predetermined hash value in the public blockchain database. When the predetermined hash value is satisfied, the specific hash value is (1) the first hash value. 2 is a hash value generated by applying a hash function to a currency use transaction, or (2) a hash value generated by applying a hash function to the second currency use transaction and the third currency use transaction, respectively, and matches with the specific hash value. And register or register a representative hash value generated by calculating at least one neighboring hash value or a processed value of the representative hash value in the public blockchain database, and the representative hash value registered in the public blockchain database. Or positioning the representative hash value on the public blockchain database. A process for obtaining or assisting to obtain (1) a second call use public transaction ID or (2) a second call use public transaction ID and a third call use public transaction ID representing a second call; A server comprising a is provided.
이 외에도, 본 발명의 방법을 실행하기 위한 컴퓨터 프로그램을 기록하기 위한 컴퓨터 판독 가능한 기록 매체가 더 제공된다.In addition to this, a computer readable recording medium for recording a computer program for executing the method of the present invention is further provided.
본 발명에 의하면, 다음과 같은 효과가 있다.According to the present invention, the following effects are obtained.
본 발명은 가상 화폐의 블록체인에 통화의 발행 및 지급 결제 정보를 등록하여 복사 또는 위/변조가 불가능하도록 하여 통화의 발행 및 지급 결제 정보에 대한 신뢰성 및 보안성을 향상시킬 수 있다. The present invention can improve the reliability and security of the issuing and payment settlement information of the currency by registering the issuing and payment settlement information of the currency in the blockchain of the virtual currency so that copying or forgery is impossible.
또한, 본 발명은 통화의 발행 및 지급 결제 정보를 해쉬함수와 암호화 기술을 이용하여 보안이 보장되고 위/변조가 불가능하도록 하여 통화의 발행 및 지급 결제 정보에 대한 신뢰성 및 보안성을 향상시킬 수 있다.In addition, the present invention can improve the reliability and security of the issued and paid payment information of the currency by ensuring that the security of the issued and paid payment information of the currency by using a hash function and encryption technology, and forgery / modulation is impossible. .
또한, 본 발명은 가상 화폐의 블록체인에 통화의 발행 및 지급 결제에 대한 정보를 등록함으로써 통화의 중복 지급 등의 문제점을 미연에 방지할 수 있게 된다.In addition, the present invention by registering the information on the issuance and payment settlement of the currency in the blockchain of the virtual currency it is possible to prevent problems such as duplicate payment of the currency in advance.
또한, 본 발명은 중앙은행과 시중은행 간의 정산 절차를 진행하지 않아도 항상 정산된 최신의 정산 정보를 확인할 수 함으로써 사용자들의 편의성을 향상시킬 수 있다.In addition, the present invention can improve the convenience of users by always checking the latest settlement information settled even without proceeding the settlement process between the central bank and the commercial bank.
도 1은 본 발명의 일 실시예에 따라 통화를 발행하는 서버를 개략적으로 도시한 것이고,1 schematically illustrates a server for issuing a call according to an embodiment of the present invention,
도 2는 본 발명의 일 실시예에 따라 통화를 발행하는 방법을 개략적으로 도시한 것이고,2 schematically illustrates a method of issuing a currency according to an embodiment of the present invention,
도 3과 도 4는 본 발명의 일 실시예에 따른 통화 발행 트랜잭션을 퍼블릭 블록체인 데이터베이스에 등록하는 과정을 개략적으로 도시한 것이고,3 and 4 schematically illustrate a process of registering a currency issuing transaction in the public blockchain database according to an embodiment of the present invention,
도 5는 본 발명의 일 실시예에 따른 통화를 발행하는 방법에서 통화를 발행하는 통화 발행자를 등록하는 방법을 개략적으로 도시한 것이고,5 schematically illustrates a method of registering a currency issuer for issuing a currency in a method for issuing a currency according to an embodiment of the present invention;
도 6A은 본 발명의 일 실시예에 따라 통화를 즉시 지급 결제하는 방법을 개략적으로 도시한 것이고,6A schematically illustrates a method of making an instant payment payment in accordance with an embodiment of the present invention,
도 6B는 본 발명의 일 실시예에 따라 통화를 지연 지급 결제하는 방법을 개략적으로 도시한 것이다.6B schematically illustrates a method for making a delayed payment settlement of a currency in accordance with one embodiment 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. These embodiments are described in sufficient detail to enable those skilled in the art to practice the invention. 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.
이하, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명을 용이하게 실시할 수 있도록 하기 위하여, 본 발명의 바람직한 실시예들에 관하여 첨부된 도면을 참조하여 상세히 설명하기로 한다.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.
또한, 본 명세서에서 "특정"이라는 단어로 제한되는 단어는 행위의 주요 주체와 관련된 개념이고, "관련"이라는 단어로 제한되는 단어는 상기 주요 주체 이외의 다른 주체와 연관된 개념이며, 이하 상세설명에서는 문맥에 의해 각 개념의 구별이 가능하므로 "특정"과 "관련"은 생략될 수도 있다. 다만, 청구항에서는 "특정" 및 "관련"을 기재하여 의미가 명확히 이해되도록 하였다.In addition, the word limited to the word "specific" herein is a concept associated with the main subject of the action, the word limited to the word "related" is a concept associated with other subjects than the main subject, in the following description Since the concept can be distinguished by the context, "specific" and "related" may be omitted. However, in the claims, "specific" and "related" are described to clearly understand the meaning.
도 1은 본 발명의 일 실시예에 따라 통화를 발행하는 서버를 개략적으로 도시한 것으로, 서버(100)는 통신부(110)와 프로세서(120)를 포함할 수 있다. 동일한 참조 부호를 이용하여 나타낸 것은 설명의 편의를 위한 것일 뿐, 이들 개별 장치들이 동일하다는 의미로 의도된 것은 아니다. 그리고, 본 발명의 다른 실시예에서의 방법은 서버를 상이하게 구성하여 해당 방법을 수행하거나 동일한 서버(100)를 통해 해당 방법을 수행할 수도 있다.1 schematically illustrates a server for issuing a call according to an embodiment of the present invention. The server 100 may include a communication unit 110 and a processor 120. The same reference numerals are used for the convenience of description and are not intended to mean that these individual devices are the same. In another embodiment of the present invention, the server may be configured differently to perform the method, or the method may be performed through the same server 100.
구체적으로, 서버(100)는 전형적으로 컴퓨팅 장치(예컨대, 컴퓨터 프로세서, 메모리, 스토리지, 입력 장치 및 출력 장치, 기타 기존의 컴퓨팅 장치의 구성요소들을 포함할 수 있는 장치; 라우터, 스위치 등과 같은 전자 통신 장치; 네트워크 부착 스토리지(NAS) 및 스토리지 영역 네트워크(SAN)와 같은 전자 정보 스토리지 시스템)와 컴퓨터 소프트웨어(즉, 컴퓨팅 장치로 하여금 특정의 방식으로 기능하게 하는 인스트럭션들)의 조합을 이용하여 원하는 시스템 성능을 달성하는 것일 수 있다.Specifically, server 100 is typically a computing device (eg, a device that may include components of a computer processor, memory, storage, input and output devices, other conventional computing devices; electronic communications such as routers, switches, etc.). Desired system performance using a combination of a 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 manner). It may be to achieve.
이와 같은 컴퓨팅 장치의 통신부(110)는 연동되는 타 컴퓨팅 장치와 요청과 응답을 송수신할 수 있는 바, 일 예시로서 그러한 요청과 응답은 동일한 TCP 세션에 의하여 이루어질 수 있지만, 이에 한정되지는 않는바, 예컨대 UDP 데이터그램으로서 송수신될 수도 있을 것이다.The communication unit 110 of such a computing device may transmit and receive a request and a response with another computing device to be interlocked. 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.
먼저, 도 2를 참조하여 본 발명의 일 실시예에 따른 통화를 발행하는 방법을 도 1의 서버를 통해 설명하면 다음과 같다.First, a method of issuing a call according to an embodiment of the present invention will be described with reference to FIG. 2 through the server of FIG. 1.
특정 국가의 중앙은행이나 특정 단체의 통화 관리 주체 등을 포함하는 통화 발행자(A)가 통화를 발행하기 위하여 통화 발행 트랜잭션(TrxA)을 단말을 통해 생성하여 전송하면(S100), 서버(100)는 통신부(110)를 통해 통화 발행 트랜잭션(TrxA)를 획득하게 된다.When a currency issuer A including a central bank of a specific country or a currency management entity of a specific group generates and transmits a currency issuance transaction TrxA through a terminal to issue a currency (S100), the server 100 The call issuing transaction TrxA is obtained through the communication unit 110.
이때, 통화 발행 트랜잭션(TrxA)은 (i) 통화의 수신자 정보, (ii) 통화의 발행량, (iii) 통화 발행자의 퍼블릭 키(public key) 및 (iv) 통화 발행자의 프라이빗 키(private key)로 (i) 통화의 수신자 정보, (ii) 통화의 발행량, (iii) 통화 발행자의 퍼블릭 키를 서명한 통화 발행자의 서명값을 포함할 수 있다. 그리고, 통화의 수신자 정보는 발행되는 통화의 수신자에 대한 정보로 통화 사용자로 등록된 특정 사용자의 퍼블릭 키 일 수 있으며, 통화 수신자의 퍼블릭 키와 통화 발행자의 퍼블릭 키는 사전에 서버(100)에 등록된 것이거나, 필요에 따라 해당 시점에 서버(100)에 등록할 수도 있으며, 등록 정보는 프라이빗 키와 퍼블릭 키를 가진 발행자 또는 사용자가 자신의 퍼블릭 키를 서버(100)에 등록한 것으로, 이에 대한 설명은 다른 동작에서 설명한다. 또한, 통화 발행자(A)는 통화 수신자(B)에 대한 정보로서 통화 수신자(B)의 퍼블릭 키를 사전에 가지고 있을 수 있다.At this time, the currency issuance transaction (TrxA) is composed of (i) the recipient's information of the call, (ii) the issue amount of the call, (iii) the public key of the call issuer, and (iv) the private key of the call issuer. (i) the recipient's information of the call, (ii) the issue amount of the call, and (iii) the signature of the call issuer who signed the call issuer's public key. And, the receiver information of the call may be a public key of a specific user registered as a call user as information on the receiver of the issued call, and the public key of the call receiver and the public key of the call issuer are registered in advance in the server 100. In this case, the registration information may be registered with the server 100 at a corresponding time, and the registration information may be a publisher or a user having a private key and a public key, and has registered his or her public key with the server 100. Will be described in other operations. In addition, the call issuer A may have a public key of the call receiver B as information about the call receiver B in advance.
그리고, 일 예로, 통화 발행 트랜잭션(TrxA)은 1. 지급 결제 방식, 2. 이전의 트랜잭션 아이디, 3. 수신자, 4. 발행 금액, 5. 발행자 퍼블릭 키, 6. 발행자 서명값의 데이터 포맷을 가질 수 있으나, 반드시 이에 한정되는 것은 아니다.And, for example, the currency issuance transaction (TrxA) has a data format of 1. payment payment method, 2. previous transaction ID, 3. recipient, 4. issue amount, 5. issuer public key, 6. issuer signature value. However, the present invention is not limited thereto.
이때, “1. 결제 방식”은 “즉시 지급 결제”와 “지연 지급 결제”를 포함할 수 있으며, “즉시 지급 결제”는 통화 관련 트랜잭션을 바로 처리하도록 하는 것이고 “지연 지급 결제”는 소정의 조건이 만족할 때까지 통화 관련 트랜잭션의 처리를 지연하는 것일 수 있다. 일 예로, “지연 지급 결제”는 지급을 위한 금액이 부족할 경우 유동성 문제를 해결하기 위하여 자신의 밸런스보다 많은 금액에 대한 지급 결제를 할 경우 이후 자신이 수취하는 금액들과 상계 처리할 수 있도록 하는 것이다. 하지만, 통화의 발행자는 새로운 통화를 발생시키는 기관 또는 이에 준하는 당사자이므로 통화의 발행에서는 “지연 지급 결제”가 발생되지 않으므로 “즉시 지급 결제”가 디폴트로 설정되거나, 통화 발행 트랜잭션에 지급 결제 방식에 대한 데이터 포맷을 포함하지 않도록 할 수도 있다. 그리고, “2. 이전의 트랜잭션 아이디”는 해당 발행자 또는 사용자의 밸런스에 대한 정보를 포함하는 것으로 통화와 관련하여 이전에 생성 또는 거래된 트랜잭션이 등록된 프라이빗 블록체인 데이터베이스 또는 퍼블릭 블록체인 데이터베이스 상 위치 정보를 나타내는 프라이빗 트랜잭션 아이디 또는 퍼블릭 트랜잭션 아이디로, 통화의 발행에서는 새로운 통화의 생성이므로 이전의 트랜잭션 아이디는 없을 수 있다. 또한, “3. 수신자”는 발행되는 통화를 수신할 통화 수신자의 퍼블릭 키(PubB)일 수 있으며, “4. 발행 금액”은 발행하고자 하는 통화량일 수 있으며, “5. 발행자 퍼블릭 키”는 발행자가 등록한 퍼블릭 키(PubA)일 수 있으며, “6. 발행자 서명값”은 통화 발행자가 프라이빗 키로 서명한 1, 2, 3, 4, 5의 서명값(SignPrivA(1, 2, 3, 4, 5))일 수 있다.At this time, “1. Payment methods ”may include“ immediate payments ”and“ delayed payments, ”“ immediate payments ”allow for immediate processing of currency-related transactions, and“ deferred payments ”for currency until certain conditions are met. It may be to delay the processing of the associated transaction. For example, "delayed payment" means that if the amount for the payment is insufficient, the payment of more than the balance can be offset against the amount received after the payment to solve the liquidity problem. . However, since the issuer of the currency is the agency or equivalent party generating the new currency, “delayed payment” does not occur in the issuance of the currency, so “immediate payment” is set by default, or the payment issuance method for a currency issuing transaction. You can also include no data format. And “2. Former Transaction ID ”contains information about the balance of the issuer or user. Private transaction ID representing location information on the private blockchain database or public blockchain database where transactions previously created or traded with respect to the currency are registered. Or as a public transaction ID, the issuance of a currency may result in the creation of a new currency and thus no previous transaction ID. Also, “3. Recipient ”can be the public key (PubB) of the call recipient who will receive the issued call,“ 4. Issuance amount ”may be the amount of currency to be issued,“ 5. Issuer public key ”may be a public key (PubA) registered by the issuer,“ 6. Issuer signature value ”may be a signature value (SignPrivA (1, 2, 3, 4, 5)) of 1, 2, 3, 4, 5 signed by the currency issuer with the private key.
그러면, 서버(100)의 프로세서(120)는 통신부(110)를 통해 획득된 (i) 통화 수신자 정보, (ii) 통화의 발행량, (iii) 통화 발행자의 퍼블릭 키 및 (iv) 통화 발행자의 서명 값을 포함하는 통화 발행 트랜잭션(TrxA)와 통화 발행자의 유효 여부를 확인한다(S110). 이때, 서버(100)의 프로세서(120)는 통화 발행 트랜잭션(TrxA)의 데이터 포맷의 유효 여부, 통화 수신자의 유효 여부, 통화 발행자의 퍼블릭 키의 유효 여부 및 통화 발행자의 서명 값의 유효 여부를 확인하여 통화 발행 트랜잭션(TrxA)의 유효 여부를 확인하게 된다. 일 예로, 통화 발행자(A)의 서명 값에 대해 통화 발행자의 퍼블릭 키를 사용하여 획득한 통화 수신자, 통화 발행자의 퍼블릭 키가 통화 발행 트랜잭션(TrxA)에 포함된 값과 일치하는 지를 확인하여 통화 수신자 및 통화 발행자의 퍼블릭 키에 대한 유효 여부를 확인할 수 있다. 또한, 통화 발행자의 서명 값을 통화 발행자의 퍼블릭 키를 사용하여 검증함으로써 통화 발행자의 서명 값에 대한 유효 여부를 확인할 수 있을 뿐만 아니라, 통화 발행자의 퍼블릭 키를 통해 유효한 통화 발행자인지를 확인할 수 있다.The processor 120 of the server 100 may then (i) call recipient information obtained through the communication unit 110, (ii) the amount of calls issued, (iii) the public key of the call issuer, and (iv) the signature of the call issuer. The validity of the currency issuance transaction (TrxA) and the currency issuer including the value is checked (S110). At this time, the processor 120 of the server 100 checks whether the data format of the call issuance transaction TrxA is valid, whether the call receiver is valid, whether the call issuer's public key is valid, and whether the call issuer's signature value is valid. To confirm the validity of the currency issuance transaction (TrxA). For example, a call receiver obtained by using the call issuer's public key against the call issuer's signature value, and by verifying that the call issuer's public key matches the value contained in the call issue transaction (TrxA). And validity of the public key of the currency issuer. In addition, by verifying the signature value of the currency issuer using the currency issuer's public key, not only the validity of the signature value of the currency issuer can be confirmed, but also the validity of the currency issuer can be verified through the currency issuer's public key.
그리고, 서버(100)는 확인 결과(S110) 유효한 것으로 판단되면(S210), (i) 통화 수신자 정보, (ii) 통화의 발행량, (iii) 통화 발행자의 퍼블릭 키 및 (iv) 통화 발행자의 서명 값을 포함하는 통화 발행 트랜잭션(TrxA)을 프라이빗 블록체인 데이터베이스에 등록하거나 등록하도록 지원하고(S211), 프라이빗 블록체인 데이터베이스에 등록된 통화 발행 트랜잭션(TrxA)의 프라이빗 블록체인 데이터베이스 상의 위치 정보를 나타내는 통화 발행 프라이빗 트랜잭션 아이디(PrivTxid)를 통화 발행자(A) 및 통화 수신자(B) 중 적어도 일부에게 제공하거나 제공하도록 지원할 수 있다(S212, S213). 하지만, 서버(100)는 확인 결과(S110) 유효가 아니면(S220), 통화 발행자(A)에게 에러 메시지를 포함하는 실패를 나타내는 응답을 제공하거나 제공하도록 지원할 수 있다(S221). 다만, 본 발명은 아래에서 언급할 퍼블릭 블록체인 데이터베이스(120)에 등록하는 것이 필수적인 것이고 프라이빗 블록체인 데이터베이스에 등록하는 것이 필수적인 것은 아닐 수도 있을 것이다.And, if it is determined that the server 100 is valid (S110) (S210), (i) call recipient information, (ii) the amount of calls issued, (iii) the public key of the call issuer, and (iv) the signature of the call issuer. Support for registering or registering a currency issuance transaction (TrxA) containing a value in a private blockchain database (S211), and a currency representing location information on a private blockchain database of a currency issuance transaction (TrxA) registered in a private blockchain database. The issue private transaction ID (PrivTxid) may be provided to or provided to at least some of the call issuer A and the call receiver B (S212, S213). However, if the confirmation result (S110) is not valid (S220), the server 100 may provide or support the call issuer A to provide a response indicating a failure including an error message (S221). However, in the present invention, it is necessary to register in the public blockchain database 120 to be described below, and it may not be necessary to register in the private blockchain database.
한편, 서버(100)는 유효한 확인 결과에 대응하여, 소정의 조건, 일 예로 퍼블릭 블록체인 데이터베이스에 소정의 해쉬 값을 등록하기 위한 트리거링 조건이 만족되면(S230), (i) 통화 수신자 정보, (ii) 통화의 발행량, (iii) 통화 발행자의 퍼블릭 키 및 (iv) 통화 발행자의 서명 값을 포함하는 통화 발행 트랜잭션(TrxA)에 해쉬 함수를 적용하여 생성한 특정 해쉬 값(hash(TrxA)) 및 특정 해쉬 값과 매칭되는 적어도 하나의 이웃 해쉬 값을 연산함으로써 대표 해쉬 값 또는 대표 해쉬 값을 가공한 값을 머클 루트로 생성하고(S231), 생성된 머클 루트인 대표 해쉬 값 또는 대표 해쉬 값을 가공한 값을 퍼블릭 블록체인 데이터베이스(120)에 등록하거나 등록하도록 지원하며(S232), 퍼블릭 블록체인 데이터베이스(120)에 등록된 대표 해쉬 값 또는 대표 해쉬 값을 가공한 값인 머클 루트의 퍼블릭 블록체인 데이터베이스 상의 위치 정보를 나타내는 통화 발행 퍼블릭 트랜잭션 아이디(Txid)를 획득하거나 획득하도록 지원할 수 있다(S233). 이때, 서버(100)는 통화 발행 퍼블릭 트랜잭션 아이디(PubTxid)에 대응되는 OP 메시지를 퍼블릭 블록체인 데이터베이스(200)로부터 획득할 수도 있다.On the other hand, in response to the valid verification result, the server 100, if a predetermined condition, for example, a triggering condition for registering a predetermined hash value in the public blockchain database is satisfied (S230), (i) call recipient information, ( a specific hash value (hash (TrxA)) generated by applying a hash function to a currency issuance transaction (TrxA), which includes ii) the amount of currency issued, (iii) the currency issuer's public key, and (iv) the currency issuer's signature value; By calculating at least one neighboring hash value matching a specific hash value, a representative hash value or a value obtained by processing the representative hash value is generated as a Merkle root (S231), and the representative hash value or the representative hash value that is the generated Merkle root is processed. It supports to register or register a value in the public blockchain database 120 (S232), and a value that is a representative hash value or a representative hash value processed in the public blockchain database 120. It can be supported to obtain a public call issued transaction identifier (Txid) represents the position information on the blocks of the root public database chain or obtained (S233). In this case, the server 100 may obtain an OP message corresponding to the call issuance public transaction ID (PubTxid) from the public blockchain database 200.
그리고, 특정 해쉬값과 적어도 하나의 이웃 해쉬값과의 연산은 다양한 해쉬 함수에 의해 수행될 수 있으며, 해쉬함수는 MD4 함수, MD5 함수, SHA-0 함수, SHA-1 함수, SHA-224 함수, SHA-256 함수, SHA-384 함수, SHA-512 함수 및 HAS-160 함수를 포함할 수 있으나, 이에 한정되지 않음은 통상의 기술자가 알 수 있을 것이다. 예를 들어 Triple SHA256도 가능할 것이다.In addition, the operation of a specific hash value and at least one neighboring hash value may be performed by various hash functions, and the hash function may be a MD4 function, an MD5 function, a SHA-0 function, a SHA-1 function, a SHA-224 function, It will be appreciated by those skilled in the art that the present invention may include, but is not limited to, an SHA-256 function, an SHA-384 function, an SHA-512 function, and an HAS-160 function. For example, Triple SHA256 would be possible.
이때, 서버(100)는 특정 해쉬 값과 적어도 하나의 이웃 해쉬 값을 소정의 데이터 구조로 저장하여 관리할 수 있다. 여기서, 데이터 구조는 다양할 수 있는데, 일 예로 머클 트리(merkle tree) 구조가 될 수도 있다. 이 경우, 특정 해쉬 값과 적어도 하나의 이웃 해쉬 값의 연산은 머클 트리(merkle tree)를 통해 이루어질 수 있다.In this case, the server 100 may store and manage a specific hash value and at least one neighbor hash value in a predetermined data structure. Here, the data structure may vary, for example, may be a merkle tree structure. In this case, the calculation of a specific hash value and at least one neighboring hash value may be performed through a merkle tree.
즉, 서버(100)는 특정 해쉬 값이 특정 리프 노드에 할당된 머클 트리(merkle tree)를 생성하거나 생성하도록 지원할 수 있고, 소정의 조건이 만족되면, 특정 해쉬 값과 매칭되는 적어도 하나의 다른 리프 노드에 할당된 해쉬 값을 연산하여 생성되는 머클 루트인 대표 해쉬 값 또는 대표 해쉬 값을 가공한 값을 퍼블릭 블록체인 데이터베이스(200)에 등록하거나 등록하도록 지원할 수 있다.That is, the server 100 may support to generate or generate a merkle tree in which a specific hash value is assigned to a specific leaf node, and if a predetermined condition is satisfied, at least one other leaf matching the specific hash value. A representative hash value or a processed value of the representative hash value, which is a Merkle root generated by calculating a hash value assigned to a node, may be registered or registered in the public blockchain database 200.
좀 더 구체적으로 설명하면, (x1) 서버(100)는, (i) 특정 해쉬 값과 (ii) 특정 해쉬 값이 할당된 노드의 형제 노드의 해쉬값을 연산하거나 연산하도록 지원하고, 연산 값에 대한 해쉬 값을 노드들의 부모 노드에 할당하거나 할당하도록 지원할 수 있다. (x2) 만일, 부모 노드가 머클 트리의 루트 노드이면, 부모 노드에 할당된 해쉬 값이 대표 해쉬 값이 된다. (x3) 반면, 부모 노드가 머클 트리의 루트 노드가 아니면, 서버(100)는, 부모 노드에 할당된 해쉬 값을 특정 해쉬 값으로 하여 (x1) 내지 (x3)를 반복하여 수행한다.More specifically, (x1) server 100 supports (i) calculating or calculating hash values of sibling nodes of nodes to which specific hash values and (ii) specific hash values are assigned. It can support assigning or assigning a hash value to the parent node of nodes. (x2) If the parent node is the root node of the Merkle tree, the hash value assigned to the parent node becomes the representative hash value. (x3) On the other hand, if the parent node is not the root node of the Merkle tree, the server 100 repeatedly performs (x1) to (x3) by using a hash value assigned to the parent node as a specific hash value.
그리고, 서버(100)는 최종적으로 머클 트리의 루트 노드에 할당된 해쉬 값을 대표 해쉬 값으로서 퍼블릭 블록체인 데이터베이스(200)에 등록하거나 등록하도록 지원한다. 이때, 대표 해쉬 값을 가공한 값이 등록될 수도 있다. 예를 들어, 대표 해쉬 값에 hex 연산이 수행된 결과 값이 등록될 수도 있다. In addition, the server 100 supports registering or registering the hash value finally assigned to the root node of the Merkle tree as the representative hash value in the public blockchain database 200. At this time, a value obtained by processing the representative hash value may be registered. For example, a result value of performing a hex operation may be registered in the representative hash value.
한편, 서버(100)가 특정 해쉬 값과 적어도 하나의 이웃 해쉬 값을 소정의 제1 데이터 구조로 저장하고, 이후 제1 데이터 구조와 동일한 형태의 제2 데이터 구조를 저장하여 관리하는 경우, 제1 데이터 구조와 제2 데이터 구조는 체인 형태로 연결될 수 있다.Meanwhile, when the server 100 stores a specific hash value and 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 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, a root value of the first data structure or a hash value of the root value may be assigned to the first leaf node of the second data structure. .
또한, 제2 데이터 구조를 생성할 때는 제1 데이터 구조에 대한 검증이 이루어짐으로써 데이터의 무결성(integrity)이 좀 더 보장될 수 있다. 제2 데이터 구조의 검증에 대해서는 후술하기로 한다. In addition, when the second data structure is generated, the integrity of the data may be more guaranteed by verifying the first data structure. The verification of the second data structure will be described later.
또한, 체인 형태로 연결된 적어도 하나의 머클 트리 중 첫번째 머클 트리의 경우, 첫번째 머클 트리의 첫번째 리프 노드에는 텍스트, 숫자, 또는 기호로 이루어진 소정의 메시지 데이터의 해쉬 값 또는 이를 가공한 값이 할당될 수 있다. 예를 들어, 머클 트리 생성시 서버(100)에 의해 최초로 부여된 입력 메시지의 해쉬 값이 할당될 수 있다. In addition, in the case of the first Merkle tree of at least one Merkle tree connected in a chain form, the first leaf node of the first Merkle tree may be assigned a hash value or a processed value of predetermined message data consisting of text, numbers, or symbols. have. For example, a hash value of an input message initially given by the server 100 may be assigned when generating the merkle tree.
도 3 및 도 4는 본 발명의 일 실시예에 따라 생성된 머클 트리의 예를 도시한 도면이다.3 and 4 illustrate an example of a merkle tree generated according to an embodiment of the present invention.
도 3에서는 리프 노드의 개수가 4개인 머클 트리가 도시된다. 도시된 머클 트리는 첫번째 머클 트리이기 때문에(tree_id = 0), 첫번째 리프 노드인 h0 노드에는 소정의 메시지 데이터의 해쉬 값 (sha256(coinplug_unique_message))이 할당되었음을 알 수 있다. 기록 데이터에 대한 등록 요청(즉, 메신저 서비스 송수신 데이터에 관한 기록 요청)이 있는 경우, 서버(100)는 현재 구성 중인 머클 트리의 가장 마지막 리프 노드의 다음 리프 노드를 생성하여 특정 해쉬 값 또는 특정 해쉬 값을 가공한 값을 할당하거나 할당하도록 지원한다. 예를 들어, 도 3의 머클 트리에서 두번째 리프 노드인 h1 노드까지 값 할당이 완료된 상태에서 새로운 리프 노드를 생성하여야 하는 경우, 다음 리프 노드인 h2 노드를 생성하여 특정 해쉬 값 또는 특정 해쉬 값을 가공한 값 (sha256(input2))을 할당할 수 있다. 또한, 서버(100)는 (i) h2 노드에 할당된 특정 해쉬 값과 (ii) h2 노드의 형제 노드인 h3 노드에 할당된 해쉬 값을 연산하거나 연산하도록 지원할 수 있다. 상기 연산 값에 대한 해쉬 값은 h2 노드와 h3 노드의 부모 노드(h23 노드)에 할당된다. 부모 노드(h23 노드)가 머클 트리의 루트 노드가 아니므로 서버(100)는 h23 노드에 할당된 해쉬 값을 특정 해쉬 값으로 하여 상기 과정을 반복하여 수행할 수 있다. 즉, h23 노드에 할당된 해쉬 값을 특정 해쉬 값으로 하고, h23 노드에 할당된 해쉬 값과 h01 노드에 할당된 해쉬 값을 연산하여 h23 노드와 h01 노드의 부모 노드(h0123 노드)에 할당할 수 있다. 이때, h0123 노드가 머클 트리의 루트 노드이므로 서버(100)는, h0123 노드에 할당된 해쉬 값을 가공한 값(hex(h{node_index}))을 퍼블릭 블록체인 데이터베이스(200)에 등록하거나 등록하도록 지원할 수 있다. 3 shows a Merkle tree with four leaf nodes. Since the illustrated Merkle tree is the first Merkle tree (tree_id = 0), it can be seen that a hash value (sha256 (coinplug_unique_message)) of predetermined message data is assigned to the h0 node which is the first leaf node. If there is a registration request for the recording data (that is, a recording request for the messenger service transmission / reception data), the server 100 generates the next leaf node of the last leaf node of the Merkle tree currently being configured to generate a specific hash value or a specific hash. Supports assigning or assigning a processed value. For example, when a new leaf node needs to be created while the value allocation is completed from the merkle tree of FIG. 3 to the second leaf node h1, the next leaf node h2 is created to process a specific hash value or a specific hash value. You can assign one value (sha256 (input2)). In addition, the server 100 may support to calculate or calculate (i) a specific hash value assigned to the h2 node and (ii) a hash value assigned to the h3 node that is a sibling node of the h2 node. The hash value for the operation value 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 server 100 may repeat the above process by using the hash value assigned to the h23 node as a specific hash value. That is, the hash value assigned to the h23 node can be used as a specific hash value, and the hash value assigned to the h23 node and the hash value assigned to the h01 node can be 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 server 100 registers or registers a value (hex (h {node_index})) of the hash value assigned to the h0123 node in the public blockchain database 200. Can support
한편, 전술한 소정의 조건이란, (i) 소정의 개수만큼 통화와 관련한 트랜잭션이 생성되는 조건, (ii) 소정 시간이 경과하는 조건, (iii) 프라이빗 블록체인에서 블록이 생성되는 조건, (iv) 서비스 특성에 대한 조건 중 적어도 하나를 포함할 수 있다. 이때, 통화와 관련한 트랜잭션은 통화의 발행에 더하여 후술할 발행자 등록, 통화의 지급 결제, 사용자 등록 등을 포함할 수 있다. On the other hand, the above-mentioned predetermined conditions are (i) a condition in which transactions related to a currency are generated by a predetermined number, (ii) a condition in which a predetermined time elapses, (iii) a condition in which a block is generated in a private blockchain, (iv) ) May include at least one of conditions for service characteristics. In this case, the transaction related to the currency may include issuer registration, payment settlement of a currency, user registration, and the like, which will be described later in addition to issuing a currency.
한편, 예를 들어, 복수의 통화 관련 트랜잭션이 머클 트리의 리프 노드 수만큼 획득되면 머클 트리를 생성하고, 머클 트리의 루트 값을 퍼블릭 블록체인 데이터베이스(200)에 등록하거나 등록하도록 지원할 수 있다.Meanwhile, for example, when a plurality of call-related transactions are obtained by the number of leaf nodes of the Merkle tree, the Merkle tree may be generated, and the root value of the Merkle tree may be registered or supported in the public blockchain database 200.
또한, 서버(100)는 소정 시간 단위로 전술한 머클 트리의 루트값을 생성할 수 있다(상기 (ii) 조건). 이 경우 서버(100)는 소정의 시간이 경과되면 그때까지의 입력 값을 이용하여 머클 트리를 생성하고 머클 트리의 루트 값을 퍼블릭 블록체인 데이터베이스(200)에 등록하거나 등록하도록 지원할 수 있다. In addition, the server 100 may generate the root value of the aforementioned Merkle tree on a predetermined time unit (condition (ii) above). In this case, when a predetermined time elapses, the server 100 may generate a Merkle tree by using input values up to that time and register or register the root value of the Merkle tree in the public blockchain database 200.
그런데, 이 경우에는 소정 시간이 경과하였음에도 머클 트리의 특정 해쉬 값이 할당된 노드의 형제 노드에 값이 할당되지 않을 수 있다. 이처럼 소정의 조건이 만족되었음에도 특정 해쉬 값이 할당된 노드의 형제 노드에 해쉬 값이 할당되어 있지 않은 경우, 서버(100)는, 형제 노드에 소정의 해쉬 값을 할당하거나 할당하도록 지원하여 전술한 방식으로 머클 트리의 루트 값이 산출되도록 할 수 있다. 예를 들어, 서버(100)는 특정 해쉬 값을 복제하여 형제 노드에 할당하거나 할당하도록 지원할 수 있다.However, in this case, even after a predetermined time elapses, 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. If the hash value is not assigned to the sibling node of the node to which the specific hash value is assigned even though the predetermined condition is satisfied as described above, the server 100 supports to assign or allocate the predetermined hash value to the sibling node. This allows the root value of the Merkle tree to be calculated. For example, server 100 may support assigning or assigning a particular hash value to a sibling node.
그리고, 서비스 특성이란, 통화 발행 요청을 한 통화 발행자가 제공한 비용 정보, 통화 발행 트랜잭션 등록이 이루어지는 시간대 정보, 통화 발행 트랜잭션 등록 서비스가 이루어지는 지역 정보, 통화 발행 트랜잭션 등록 요청을 한 회사 타입 정보 중 적어도 일부가 될 수 있다. 다만, 여기서 기재한 것에 한정할 것은 아니고, 통상적으로 인정되는 차등적 서비스가 제공될 수 있는 다양한 조건 정보를 포함한다. The service characteristic may include at least one of cost information provided by a call issuer requesting a call issuance, time zone information at which a call issuing transaction is registered, area information at which a call issuing transaction registration service is performed, and company type information requesting a call issuing transaction registration. It can be part of it. However, the present invention is not limited to the above description and includes various condition information in which a generally accepted differential service can be provided.
한편, 새로운 머클 트리 생성이 시작되고, 통화 발행 트랜잭션이 없는 상태에서 소정의 조건이 만족되면, 서버(120)는, 소정의 메시지 데이터가 첫 번째 리프 노드와 두번째 리프 노드에 할당된 머클 트리를 생성하거나 생성하도록 지원하고, 머클 트리의 루트 값 또는 이를 가공한 값을 퍼블릭 블록체인 데이터베이스(120)에 등록하거나 등록하도록 지원할 수 있다. 이 경우에는 리프 노드 2개짜리 머클 트리가 생성될 수도 있는 것이다.On the other hand, if a new Merkle tree generation starts and a predetermined condition is satisfied in the absence of a call issuing transaction, the server 120 generates a Merkle tree in which predetermined message data is assigned to the first leaf node and the second leaf node. Or to create or register the root value of the Merkle tree or a processed value thereof in the public blockchain database 120. In this case, a two leaf node Merkle tree may be created.
한편, 전술한 것처럼 서버(100)가 특정 해쉬 값과 적어도 하나의 이웃 해쉬 값을 소정의 제1 데이터 구조로 저장하고, 이후 제1 데이터 구조와 동일한 형태의 제2 데이터 구조를 저장하여 관리하는 경우, 제1 데이터 구조와 제2 데이터 구조는 체인 형태로 연결될 수 있다. 특히, 제1 데이터 구조 및 제2 데이터 구조가 머클 트리인 경우, 제1 데이터 구조의 루트 값 또는 루트 값의 해쉬 값이 제2 데이터 구조의 첫 번째 리프 노드에 할당될 수 있다.Meanwhile, as described above, when the server 100 stores a specific hash value and 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. 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 assigned to the first leaf node of the second data structure.
도 4는 본 발명의 일 실시예에 따라 제2 데이터 구조로서 생성된 머클 트리를 도시한 도면이다.4 illustrates a Merkle tree generated as a second data structure according to an embodiment of the present invention.
도 4를 참조하면, 도 3의 머클 트리(tree_id=0)의 루트 값(hex(h0123))이 새로운 머클 트리의 첫 번째 리프 노드(h4 노드)에 할당되었음을 알 수 있다 (sha256(input4)). 본 발명은 이와 같이 트랜잭션 발생시 생성되는 복수의 데이터 구조를 연결함으로써 중간에 데이터가 변조가 발생 되는 경우라도 쉽게 트래킹이 가능하여 데이터 무결성(integrity)을 향상시키는 장점을 가진다.Referring to FIG. 4, it can be seen that the root value hex (h0123) of the merkle tree (tree_id = 0) of FIG. 3 is assigned to the first leaf node (h4 node) of the new merkle tree (sha256 (input4)). . The present invention has an advantage of improving data integrity by easily tracking even when data is tampered with by connecting a plurality of data structures generated when a transaction occurs.
다음으로, 도 5를 참조하여 통화 발행자(A)를 등록하는 과정을 설명하면 다음과 같다.Next, a process of registering a currency issuer A will be described with reference to FIG. 5.
통화 발행자(A)의 퍼블릭 키(PubA)에 의한 발행자 등록 요청이 획득 되면(S300), 서버(100)는, 통화 발행자(A)의 유효 여부를 확인하여 통화 발행자(A)가 유효할 경우(S310), 랜덤 논스(random nonce)(RN)를 통화 발행자(A)에게 전달하거나 전달하도록 지원할 수 있다(S311). 그리고, 통화 발행자(A)가 유효하지 않을 경우(S320), 일 예로 타인의 명의를 도용한 사람일 경우, 서버(100)는 통화 발행자(A)에게 발행자 확인 실패를 나타내는 응답을 제공하거나 제공하도록 지원할 수 있다(S321). 다만, 발행자(A)가 유효한지 판단하기 위한 방법은 이에 한정되지 않으며, 가령 타임스탬프 등을 이용하여 발행자(A)의 유효성을 판단할 수도 있을 것이다. 참고로, 아래에서는 랜덤 논스를 이용하여 유효성을 판단하는 것으로 예를 들어 설명한다.If the issuer registration request by the public key PubA of the call issuer A is obtained (S300), the server 100 checks whether the call issuer A is valid and when the call issuer A is valid ( In operation S310, a random nonce RN may be delivered to or supported by the call issuer A in operation S311. In addition, when the call issuer A is not valid (S320), for example, a person who steals the name of another person, the server 100 may provide or provide a response indicating the issuer verification failure to the call issuer A. It may support (S321). However, the method for determining whether the issuer A is valid is not limited thereto, and the validity of the issuer A may be determined using, for example, a time stamp. For reference, the following description will be given as an example of determining validity using a random nonce.
통화 발행자(A)가 단말에서 프라이빗 키(PrivA)와 퍼블릭 키(PubA)를 생성한 상태에서, 통화를 발행하기 위한 발행자로 등록하기 위하여 퍼블릭 키(PubA)를 서버(100)로 전송하면, 서버(100)는 획득되는 퍼블릭 키의 통화 발행자(A)가 유효한지를 확인한다. 이때, 통화 발행자(A)의 유효 여부는 공개 키 기반(PKI: Public Key Infrastructure) 인증서를 이용하거나 통화 발행자(A)의 신분 증명 정보를 이용할 수 있으나, 이에 한정되는 것은 아니다. 일 예로, 공개 키 기반 인증서인 공인인증서, OPSign 인증서 등을 통해 특정 발행자를 확인하거나, 주민 번호, 여권, 법인 등록 번호, 사업자 등록 번호 등과 같이 개인, 은행 또는 단체의 신분을 증명할 수 있는 신분 증명 정보를 통해 통화 발행자를 확인할 수 있다.When the call issuer A generates the private key Prib and the public key PubA in the terminal, and transmits the public key PubA to the server 100 to register as a publisher for issuing a call, the server 100 100 checks whether the currency issuer A of the obtained public key is valid. In this case, the validity of the call issuer (A) may use a public key infrastructure (PKI) certificate or use the identification information of the call issuer (A), but is not limited thereto. For example, identification information that can verify a specific issuer through a public key-based certificate such as a public certificate or an OPSign certificate, or to prove the identity of an individual, a bank, or an organization such as a social security number, a passport, a corporate registration number, and a business registration number. You can check the currency issuer through.
이후, 랜덤 논스(RN)를 통화 발행자(A)의 프라이빗 키로 서명한 랜덤 논스 서명값(SignPrivA(RN))이 획득되면(S312), 서버(100)는, 랜덤 논스 서명 값이 정상적으로 서명되었는지를 통화 발행자(A)의 퍼블릭 키를 사용하여 검증한다. 즉, 서버(100)는 통화 발행자의 퍼블릭 키를 사용하여 랜덤 논스 서명 값으로부터 랜덤 논스(RN)를 확인하고, 확인된 랜덤 논스(RN)가 통화 발행자에게 전달된 랜덤 논스(RN)와 일치하는지를 확인하여 일치할 경우 유효한 서명인 것으로 검증한다.Thereafter, when a random nonce signature value (SignPrivA (RN)) is obtained, which is a signature of the random nonce RN with the private key of the call issuer A (S312), the server 100 determines whether the random nonce signature value is normally signed. Validate using the public key of the currency issuer (A). That is, the server 100 checks the random nonce RN from the random nonce signature value using the call issuer's public key, and checks whether the confirmed random nonce RN matches the random nonce RN delivered to the call issuer. If it matches, it verifies that it is a valid signature.
그리고, 서버(100)는 통화 발행자(A)로부터 획득된 서명 값이 유효한 것일 경우(S330), 랜덤 논스, 랜덤 논스 서명값 및 통화 발행자의 퍼블릭 키를 포함하는 발행자 등록 트랜잭션(RN, SignPrivA(RN), PubA)을 프라이빗 블록체인 데이터베이스에 등록하거나 등록하도록 지원하며(S331), 프라이빗 블록체인 데이터베이스에 등록된 발행자 등록 트랜잭션의 프라이빗 블록체인 데이터베이스 상의 위치 정보를 나타내는 발행자 등록 프라이빗 트랜잭션 아이디(PrivTxid)를 포함하는 등록이 성공했음을 나타내는 응답을 통화 발행자(A)에게 제공하거나 제공하도록 지원할 수 있다(S332).When the signature value obtained from the call issuer A is valid (S330), the server 100 issues a publisher registration transaction (RN, SignPrivA (RN) including a random nonce, a random nonce signature value, and the call issuer's public key. , PubA) to register or register in the private blockchain database (S331), and includes a publisher registration private transaction ID (PrivTxid) indicating location information on the private blockchain database of the publisher registration transaction registered in the private blockchain database. In order to provide or provide a response indicating that the registration is successful to the call issuer (A) (S332).
그러나, 서버(100)는 통화 발행자(A)로부터 획득된 서명 값이 유효하지 않을 경우(S340), 통화 발행자(A)에게 서명 값 확인 실패를 나타내는 메시지를 포함하는 응답을 제공하거나 제공하도록 지원할 수 있다(S341).However, if the signature value obtained from the call issuer A is not valid (S340), the server 100 may support or provide the call issuer A with a response including a message indicating that the signature value verification failed. There is (S341).
또한, 서버(100)는 통화 발행자의 서명 값이 유효한 경우, 소정의 조건, 일 예로 퍼블릭 블록체인 데이터베이스에 소정의 해쉬 값을 등록하기 위한 트리거링 조건이 만족되면(S350), 랜덤 논스, 랜덤 논스 서명 값 및 통화 발행자의 퍼블릭 키를 포함하는 발행자 등록 트랜잭션에 해쉬 함수를 적용하여 생성한 특정 해쉬 값(hash(RN, SignPrivA(RN), PubA)) 및 특정 해쉬 값과 매칭되는 적어도 하나의 이웃 해쉬 값을 연산함으로써 생성되는 대표 해쉬 값 또는 대표 해쉬 값을 가공한 값을 머클 루트로 생성하고(S351), 생성된 머클 루트인 대표 해쉬 값 또는 대표 해쉬 값을 가공한 값을 퍼블릭 블록체인 데이터베이스에 등록하거나 등록하도록 지원하며(S352), 퍼블릭 블록체인 데이터베이스(200)에 등록된 머클 루트인 대표 해쉬값 또는 대표 해쉬 값을 가공한 값의 퍼블릭 블록체인 데이터베이스(200) 상의 위치 정보를 나타내는 발행자 등록 퍼블릭 트랜잭션 아이디(PubTxid)를 획득하거나 획득하도록 지원할 수 있다(S352). 이때, 머클 루트인 대표 해쉬값 또는 대표 해쉬값을 가공한 값은 도 2에서의 설명에서와 같이 머클 트리에 의해 생성될 수 있다. 그리고, 서버(100)는 발행자 등록 퍼블릭 트랜잭션 아이디(PubTxid)에 대응되는 OP 메시지를 퍼블릭 블록체인 데이터베이스(200)로부터 획득할 수도 있다.In addition, when the signature value of the call issuer is valid, the server 100 satisfies a predetermined condition, for example, a triggering condition for registering a predetermined hash value in the public blockchain database (S350), random nonce, and random nonce signature. A specific hash value (hash (RN, SignPrivA (RN), PubA)) generated by applying a hash function to the issuer registration transaction that includes the value and the currency issuer's public key, and at least one neighboring hash value that matches the particular hash value. Generate a representative hash value or a processed value of the representative hash value generated by calculating as a Merkle root (S351), and register the processed hash value or the representative hash value, which is the generated Merkle root, in the public blockchain database or It supports to register (S352), the public of the value processed the representative hash value or representative hash value that is the Merkle root registered in the public blockchain database 200 Published register that indicates the position information on the registered chain database 200 can be supported to obtain or acquire a public transaction ID (PubTxid) (S352). In this case, the representative hash value or the processed value of the representative hash value may be generated by the Merkle tree as described in FIG. 2. In addition, the server 100 may obtain an OP message corresponding to the issuer registration public transaction ID (PubTxid) from the public blockchain database 200.
다음으로, 도 6A와 6B을 참조하여 본 발명의 일 실시예에 따른 통화의 지급을 결제하는 방법을 설명하면 다음과 같다. 다음의 설명에서 도 2의 본 발명의 일 실시예에 따른 통화를 발행하는 방법에서와 유사한 부분은 도 2의 설명으로부터 이해 가능하므로 상세한 설명을 생략한다.Next, referring to Figures 6A and 6B will be described a method of payment of the currency according to an embodiment of the present invention. In the following description, a part similar to the method for issuing a currency according to an embodiment of the present invention of FIG. 2 may be understood from the description of FIG. 2 and thus the detailed description thereof will be omitted.
통화의 지급을 결제하기 위하여, 특정 사용자(C)로부터 통화의 지급 결제를 위한 제2 통화 사용 트랜잭션(TrxC)이 특정 사용자(C)의 단말로부터 송신되면 서버(100)는 이를 통신부(110)를 통해 수신한다(S400).In order to settle the payment of the currency, when the second currency use transaction TrxC for payment of the currency is transmitted from the terminal of the specific user C from the specific user C, the server 100 transmits the communication unit 110. It receives through (S400).
이때, 제2 통화 사용 트랜잭션(TrxC)은 (i) 이전에 적어도 일부 미 사용된 적어도 하나 이상의 제1 통화 사용 트랜잭션 아이디, (ii) 통화 수신자 정보, (iii) 지급 결제 금액, (iv) 특정 사용자의 퍼블릭 키 및 (v) 특정 사용자의 프라이빗 키로 (i) 이전에 적어도 일부 미 사용된 적어도 하나 이상의 제1 통화 사용 트랜잭션 아이디, (ii) 통화 수신자 정보, (iii) 지급 결제 금액, (iv) 특정 사용자의 퍼블릭 키를 서명한 특정 사용자의 서명 값을 포함할 수 있다. 그리고, 이전에 적어도 일부 미 사용된 적어도 하나 이상의 제1 통화 사용 트랜잭션 아이디는 통화 발행자나 타 사용자들로부터 특정 사용자가 수취한 지급 결제에 대하여 사용 금액이 남은 통화 관련 트랜잭션으로, 특정 사용자(C)가 소유한 모든 제1 통화 사용 트랜잭션의 미 사용 금액을 합한 금액은 특정 사용자의 현재 밸런스일 수 있다. 그리고, 통화 수신자 정보는 지급 결제되는 통화의 수신자에 대한 정보로 통화 사용자로 등록된 사용자들 중 지급 결제되는 통화를 수취하는 통화 수신자의 퍼블릭 키 일 수 있으며, 통화 수신자의 퍼블릭 키와 특정 사용자(C)의 퍼블릭 키는 사전에 서버(100)에 등록된 것이거나, 필요에 따라 해당 시점에 서버(100)에 등록할 수도 있으며, 등록 정보는 프라이빗 키와 퍼블릭 키를 가진 발행자 또는 사용자가 자신의 퍼블릭 키를 서버(100)에 등록한 것으로, 이에 대한 설명은 다른 동작에서 설명한다. 또한, 특정 사용자(C)는 통화 수신자에 대한 정보로서 통화 수신자의 퍼블릭 키를 사전에 가지고 있을 수 있다.At this time, the second currency use transaction (TrxC) may include (i) at least one or more unused first currency use transaction IDs, (ii) call recipient information, (iii) payment amount, and (iv) a specific user. And (v) at least one or more unused first currency usage transaction IDs that have previously been at least partially unused by the particular user's private key, (ii) call recipient information, (iii) payment amount paid, and (iv) It can contain the signature value of the specific user who signed the user's public key. In addition, at least one or more unused first currency use transaction IDs, which are previously used, are currency related transactions in which a usage amount is left with respect to payment payments received by a specific user from a currency issuer or other users. The sum of the unused amounts of all owned first currency usage transactions may be the current balance of a particular user. In addition, the call receiver information may be a public key of a call receiver that receives a call-paid currency among users registered as call users as information about a callee of a call-paid currency, and the public key of the call receiver and a specific user (C ) Is registered in the server 100 in advance, or may be registered in the server 100 at that time, if necessary, the registration information is issued by a publisher or user with a private key and a public key The key is registered in the server 100, and the description thereof will be described in another operation. In addition, the specific user C may previously have a public key of the call receiver as information on the call receiver.
그리고, 일 예로, 제2 통화 사용 트랜잭션(TrxC)은 1. 지급 결제 방식, 2. 제1 통화 사용 트랜잭션 아이디, 3. 수신자, 4. 사용 금액, 5. 잔금, 6. 잔금 소유자 정보, 7. 특정 사용자의 퍼블릭 키, 8. 특정 사용자의 서명 값을 포함하는 데이터 포맷을 가질 수 있다.And, for example, the second currency use transaction (TrxC) is 1. payment settlement method, 2. first currency use transaction ID, 3. recipient, 4. use amount, 5. balance, 6. balance owner information, 7. It may have a data format that contains the public key of a particular user, 8. The signature value of a particular user.
이때, “1. 결제 방식”은 “즉시 지급 결제”와 “지연 지급 결제”를 포함할 수 있으며, “즉시 지급 결제”는 통화 관련 트랜잭션을 바로 처리하도록 하는 것이고 “지연 지급 결제”는 소정의 조건이 만족할 때까지 통화 관련 트랜잭션의 처리를 지연하는 것일 수 있다. 일 예로, “지연 지급 결제”는 지급을 위한 금액이 부족할 경우 유동성 문제를 해결하기 위하여 자신의 밸런스보다 많은 금액에 대한 지급 결제를 할 경우 이후 자신이 수취하는 금액들과 상계 처리할 수 있도록 하는 것이다. 그리고, “2. 제1 통화 사용 트랜잭션 아이디”는 특정 사용자(C)의 밸런스에 대한 정보를 포함하는 것으로 통화와 관련하여 이전에 수취한 통화 사용 트랜잭션이 등록된 프라이빗 블록체인 데이터베이스 또는 퍼블릭 블록체인 데이터베이스 상의 위치 정보를 나타내는 프라이빗 트랜잭션 아이디 또는 퍼블릭 트랜잭션 아이디로, 통화의 발행자 또는 타 사용자들로부터 지급 결제 받은 통화 사용 트랜잭션 및 일부 미 사용된 금액을 포함하는 통화 사용 트랜잭션의 정보에 관한 것일 수 있으며, 특정 사용자(C)가 소유한 모든 제1 통화 사용 트랜잭션의 잔금을 합한 금액은 현재 특정 사용자(C)가 소유한 밸런스가 될 수 있다. 또한, “3. 수신자”는 지급 결제되는 통화를 수취할 통화 수신자의 퍼블릭 키(PubB)일 수 있으며, “4. 사용 금액”은 지급 결제하고자 하는 금액일 수 있으며, “5. 잔금”은 특정 사용자(C)의 밸런스에서 지급 결제 이후 남는 금액으로 지급 결제에 의해 잔금이 없거나 부(-)의 값을 가질 수도 있으며, “6. 잔금 소유자 정보”는 “5. 잔금”에 대한 소유자 정보로 본 실시예에서는 특정 사용자(C)의 퍼블릭 키로 잔금이 없을 경우 정보가 없을 수도 있으며, “7. 특정 사용자의 퍼블릭 키”는 지금 결제를 하려고 하는 특정 사용자(C)의 퍼블릭 키일 수 있으며, “8. 특정 사용자의 서명값”은 특정 사용자(C)가 프라이빗 키로 서명한 1, 2, 3, 4, 5, 6, 7의 서명값(SignPrivC(1, 2, 3, 4, 5, 6, 7))일 수 있다.At this time, “1. Payment methods ”may include“ immediate payments ”and“ delayed payments, ”“ immediate payments ”allow for immediate processing of currency-related transactions, and“ deferred payments ”for currency until certain conditions are met. It may be to delay the processing of the associated transaction. For example, "delayed payment" means that if the amount for the payment is insufficient, the payment of more than the balance can be offset against the amount received after the payment to solve the liquidity problem. . And “2. First currency usage transaction ID ”includes information about the balance of a specific user C and indicates location information on a private blockchain database or a public blockchain database in which a currency usage transaction previously received with respect to the currency is registered. Private transaction ID or public transaction ID, which may be about information in a currency usage transaction, including currency usage transactions and some unused amounts paid by the issuer or other users of the currency, and owned by a particular user (C) The sum of the balances of all the first currency use transactions may be a balance currently owned by a particular user (C). Also, “3. Recipient ”may be the public key (PubB) of the recipient of the currency to receive the currency in which payment is made, and“ 4. Usage amount ”may be the amount to be paid and paid,“ 5. Balance ”is the amount remaining after payment in the balance of a specific user (C). There is no balance due to payment or it may have a negative value. Balance Owner Information ”means“ 5. In this embodiment, if there is no balance as the public key of a specific user C, there is no information, and “7. The public key of a specific user ”may be the public key of a specific user (C) who wishes to pay now,“ 8. Signature value of a specific user ”is a signature value of 1, 2, 3, 4, 5, 6, and 7 (SignPrivC (1, 2, 3, 4, 5, 6, 7) signed by a specific user C with a private key. May be).
그러면, 서버(100)는 특정 사용자(C)의 밸런스를 참조하여 제2 통화 사용 트랜잭션의 지급 결제 방식을 확인한다. 이때, 특정 사용자(C)가 소유한 밸런스가 지급 결제 금액 이상이면 “즉시 지급 결제”로 확인하며, 특정 사용자(C)가 소유한 밸런스가 지급 결제 금액 미만이면 “지연 지급 결제”로 확인할 수 있다. 또한, 제2 통화 사용 트랜잭션에 포함된 지급 결제 방식에 따라 “즉시 지급 결제”와 “지연 지급 결제”로 확인할 수 있으며, 특히 제2 통화 사용 트랜잭션에 포함된 지급 결제 방식에는 “즉시 지급 결제”로 입력되었지만 특정 사용자(C)가 소유한 밸런스가 지급 결제 미만일 경우에는 “지연 지급 결제”로 판단할 수 있다.Then, the server 100 checks the payment settlement method of the second currency use transaction with reference to the balance of the specific user (C). In this case, if the balance owned by the specific user C is greater than the payment amount, the payment is immediately checked. If the balance owned by the specific user C is less than the payment amount, the balance may be confirmed as “delayed payment”. . In addition, depending on the payment settlement method included in the second currency transaction, it can be identified as “immediate payment settlement” and “delayed payment settlement.” In particular, the payment settlement method included in the second currency usage transaction is referred to as “immediate payment settlement.” If it is entered but the balance owned by the user C is less than the payment settlement, it may be determined as "delayed payment settlement".
이때, 제2 통화 사용 트랜잭션(TrxC)가 “즉시 지급 결제”로 확인되면(S410), 서버(100)는 제2 통화 사용 트랜잭션(TrxC)의 특정 사용자(C)의 서명 값이 유효한지를 판단하여 유효일 경우(S430), 제2 통화 사용 트랜잭션(TrxC)을 프라이빗 블록체인 데이터베이스에 등록하고(S431), 프라이빗 블록체인 데이터베이스에 등록된 제2 통화 사용 트랜잭션(TrxC)의 프라이빗 블록체인 데이터베이스 상의 위치 정보를 나타내는 제2 통화 사용 프라이빗 트랜잭션 아이디(PrivTxid)를 특정 사용자(C) 및 통화 수신자 중 적어도 일부에게 제공하거나 제공하도록 지원할 수 있다(S432). 하지만, 서버(100)는 확인 결과 유효한 서명 값이 아니면(S440), 특정 사용자(C)에게 에러 메시지를 포함하는 실패를 나타내는 응답을 제공하거나 제공하도록 지원할 수 있다(S441).At this time, if the second currency use transaction (TrxC) is confirmed as "immediate payment payment" (S410), the server 100 determines whether the signature value of a specific user (C) of the second currency use transaction (TrxC) is valid If it is valid (S430), the second currency use transaction (TrxC) is registered in the private blockchain database (S431), the location information on the private blockchain database of the second currency use transaction (TrxC) registered in the private blockchain database The second call usage private transaction ID (PrivTxid) may be provided to or provided to at least some of the specific user C and the call receiver (S432). However, if the verification result is not a valid signature value (S440), the server 100 may provide or support a specific user C to provide or provide a response indicating a failure including an error message (S441).
또한, 서버(100)는 유효한 확인 결과에 대응하여, 소정의 조건, 일 예로 트리거링 조건이 만족되면(S450), 제2 통화 사용 트랜잭션(TrxC)에 해쉬 함수를 적용하여 생성한 특정 해쉬 값(hash(TrxC)) 및 특정 해쉬 값과 매칭되는 이웃 해쉬 값을 연산함으로써 대표 해쉬 값 또는 대표 해쉬 값을 가공한 값을 머클 루트로 생성하고(S451), 생성된 머클 루트인 대표 해쉬 값 또는 대표 해쉬 값을 가공한 값을 퍼블릭 블록체인 데이터베이스(200)에 등록하거나 등록하도록 지원하며(S452), 퍼블릭 블록체인 데이터베이스(200)에 등록된 머클 루트인 대표 해쉬 값 또는 대표 해쉬 값을 가공한 값의 퍼블릭 블록체인 데이터베이스 상의 위치 정보를 나타내는 제2 통화 사용 퍼블릭 트랜잭션 아이디(Txid)를 획득하거나 획득하도록 지원할 수 있다(S453). 이때, 머클 루트인 대표 해쉬값 또는 대표 해쉬값을 가공한 값은 도 2에서의 설명에서와 같이 머클 트리에 의해 생성될 수 있다. 그리고, 서버(100)는 제2 통화 사용 퍼블릭 트랜잭션 아이디(PubTxid)에 대응되는 OP 메시지를 퍼블릭 블록체인 데이터베이스 (200)로부터 획득할 수도 있다.In addition, when a predetermined condition, for example, a triggering condition is satisfied (S450), in response to a valid confirmation result, the server 100 generates a specific hash value (hash) generated by applying a hash function to the second currency use transaction TrxC. (TrxC)) and a neighbor hash value matched with a specific hash value to generate a representative hash value or a processed value of the representative hash value as a Merkle root (S451), and generates a representative hash value or a representative hash value which is the generated Merkle root. It supports to register or register the processed value in the public blockchain database (200) (S452), the public block of the processed value of the representative hash value or the representative hash value of the Merkle root registered in the public blockchain database (200) In operation S453, a second currency use public transaction ID Txid representing location information on the chain database may be obtained or acquired. In this case, the representative hash value or the processed value of the representative hash value may be generated by the Merkle tree as described in FIG. 2. In addition, the server 100 may obtain an OP message corresponding to the second call use public transaction ID (PubTxid) from the public blockchain database 200.
이와는 달리, 제2 통화 사용 트랜잭션(TrxC)가 “지연 지급 결제”로 확인되면(S420), 서버(100)는 제2 통화 사용 트랜잭션(TrxC)의 특정 사용자(C)의 서명 값이 유효한지를 판단하여 유효일 경우(S470), 제2 통화 사용 트랜잭션(TrxC)을 네팅(netting) 데이터베이스, 저장부, 메모리 등의 기록 장치에 저장한다(S471). 하지만, 서버(100)는 확인 결과 유효한 서명 값이 아니면(S480), 특정 사용자(C)에게 에러 메시지를 포함하는 실패를 나타내는 응답을 제공하거나 제공하도록 지원할 수 있다(S481).In contrast, if the second currency use transaction (TrxC) is confirmed as "deferred payment settlement" (S420), the server 100 determines whether the signature value of a specific user (C) of the second currency use transaction (TrxC) is valid. If it is valid (S470), the second currency use transaction (TrxC) is stored in a recording device such as a netting database, a storage unit, a memory (S471). However, if the verification result is not a valid signature value (S480), the server 100 may provide or support a specific user C to provide or provide a response indicating a failure including an error message (S481).
그리고, 제2 통화 사용 트랜잭션(TrxC)을 저장 장치에 저장한 상태에서, 적어도 하나 이상의 타 사용자(D)에 의해 지급 결제되며 특정 사용자(C)를 수취인으로 하는 적어도 하나 이상의 제3 통화 사용 트랜잭션(TrxD)이 획득되면(S472), 서버(100)는 획득되는 제3 통화 사용 트랜잭션(TrxD)과 제2 통화 사용 트랜잭션(TrxC)이 상계 조건을 만족하는 지를 확인한다. 이때, 제3 통화 사용 트랜잭션(TrxD)은 특정 사용자(C)를 수취인으로 하되 '지연 지급 결제"로 저장 장치에 저장된 통화 사용 트랜잭션일 수 있으며, 이 경우 서버(100)는 "지연 지급 결제"로 저장된 제3 통화 사용 트랜잭션(TrxD)이 상계 처리되면 이에 대응하여 제2 통화 사용 트랜잭션(TrxC)에 대한 상계 처리를 수행할 수 있다. 또한, 서버(100)는 상계 조건으로, 제3 통화 사용 트랜잭션(TrxD)이 획득될 경우 상계 처리를 수행하며, 상계 처리에 의해 특정 사용자(C)의 밸런스가 "0" 이상의 값을 가지는 지를 판단한다. At least one third currency use transaction, which is paid by at least one other user D and has a specific user C as a payee, while the second currency use transaction TrxC is stored in the storage device. When TrxD) is obtained (S472), the server 100 checks whether the acquired third currency use transaction TrxD and the second currency use transaction TrxC satisfy the offset conditions. At this time, the third currency use transaction (TrxD) may be a currency use transaction stored in the storage device as a "delayed payment" to a specific user (C), in this case, the server 100 is "delayed payment" When the stored third currency use transaction TrxD is offset, the offset may be performed in response to the second currency use transaction TrxC, and the server 100 may set the third currency use transaction as an offset condition. If (TrxD) is obtained, the offsetting process is performed, and it is determined by the offsetting process whether the balance of the specific user C has a value of "0" or more.
한편, 획득된 제3 통화 사용 트랜잭션(TrxD)에 의해 상계 조건을 만족하지 않으면(S500), 서버(100)는 획득된 제3 통화 사용 트랜잭션(TrxD)을 기록 매체에 저장하고, 다른 제3 통화 사용 트랜잭션이 획득되기를 기다린다(S501).On the other hand, if the offset condition is not satisfied by the acquired third currency use transaction (TrxD) (S500), the server 100 stores the acquired third currency use transaction (TrxD) on the recording medium, and another third currency. Wait for the usage transaction to be acquired (S501).
이러한 상태에서, 적어도 하나 이상의 제3 통화 사용 트랜잭션(TrxD)에 의해 상계 조건을 만족하면(S490), 즉, 다수의 제3 통화 사용 트랜잭션(TrxD)에 의해 수취할 금액이 제2 통화 사용 트랜잭션(TrxC)에 의해 지급할 금액보다 많아질 경우 또는 다수의 제3 통화 사용 트랜잭션(TrxD)에 의해 수취할 금액과 제2 특정 사용자(C)의 밸런스의 합산 금액이 제2 통화 사용 트랜잭션(TrxC)에 의해 지급할 금액보다 많아질 경우, 서버(100)는 제2 통화 사용 트랜잭션(TrxC)과 적어도 하나 이상의 제3 통화 사용 트랜잭션(TrxD)을 상계 처리한다. 이때, 다수의 제3 통화 트랜잭션(TrxD)은 특정 타 사용자에 의해 생성된 다수의 통화 트랜잭션, 다수의 타 사용자에 의해 생성된 다수의 통화 트랜잭션, 또는 다수의 타 사용자에 의해 다수로 생성되되 각각의 타 사용자에 의해 다수 개로 생성된 통화 트랜잭션 일 수 있다.In this state, when the offset condition is satisfied by the at least one third currency use transaction TrxD (S490), that is, the amount to be received by the plurality of third currency use transactions TrxD is the second currency use transaction ( TrxC) is more than the amount to be paid or the sum of the balance to be received by the plurality of third currency use transactions (TrxD) and the balance of the second specific user (C) is added to the second currency use transaction (TrxC). If more than the amount to be paid, the server 100 offsets the second currency use transaction (TrxC) and at least one third currency use transaction (TrxD). In this case, the plurality of third currency transactions (TrxD) are generated by a plurality of currency transactions generated by a specific other user, a plurality of currency transactions generated by a plurality of other users, or generated by a plurality of other users. It may be a plurality of currency transactions created by other users.
또한, 특정 사용자(C)와 다수의 타 사용자들이 각각 "지연 지급 결제"로 된 통화 사용 트랜잭션의 지급자인 사용자와 수취인으로 연결되어 순환 고리를 형성할 경우, 서버(100)는 특정 사용자(C)와 다수의 타 사용자들 간의 "지연 지급 결제"로 순환 고리를 형성하며 연결된 모든 통화 사용 트랜잭션을 상계 처리할 수 있다. 물론, "지연 지급 결제"로 확인되는 임의의 통화 사용 트랜잭션이 다른 통화 사용 트랜잭션과의 지급 결제 금액 차이에 의해 상계 조건을 만족하지 않을 경우에는 임의의 통화 사용 트랜잭션의 상계 처리 조건, 즉, 또 다른 통화 사용 트랜잭션에 의해 임의의 통화 사용 트랜잭션이 상계 처리 조건을 만족하면, 서버(100)는 순환 고리를 형성하는 "지연 지급 결제"인 모든 통화 사용 트랙잭션을 상계 처리할 수 있다.In addition, when a specific user (C) and a plurality of other users are connected to a payer and a payee of a currency use transaction of "delayed payment", respectively, to form a circular loop, the server 100 may form a specific user (C). And a "delayed payment" between multiple other users, forming a circular loop that can offset all linked currency-using transactions. Of course, if any currency usage transaction identified as "deferred payment settlement" does not satisfy the offsetting condition due to a difference in payment settlement amount from another currency usage transaction, that is, the offsetting condition of any currency usage transaction, that is, another If any currency use transaction satisfies the offset processing condition by the currency use transaction, the server 100 may offset all currency use transactions, which are "delayed payment settlement" forming a circular ring.
일 예로, 사용자A는 사용자B에게 "지연 지급 결제"로 통화 사용 트랜잭션A를 생성하며, 사용자B는 사용자C에게 "지연 지급 결제"로 통화 사용 트랜잭션B를 생성하며, 사용자C는 사용자D에게 "지연 지급 결제"로 통화 사용 트랜잭션C를 생성하며, 사용자D는 사용자A에게 "지연 지급 결제"로 통화 사용 트랜잭션D를 생성하여 사용자A, 사용자B, 사용자C, 및 사용자D 사이에 서로 지급자와 수취인으로 하는 순환 고리가 형성될 경우, 서버(100)는 사용자A, 사용자B, 사용자C 및 사용자D에 의해 생성된 통화 사용 트랜잭션A, 통화 사용 트랜잭션B, 통화 사용 트랜잭션C 및 통화 사용 트랜잭션D를 상계 처리할 수 있다. 물론, "지연 지급 결제"인 각각의 통화 사용 트랜잭션에서의 지급 결제 금액이 일치하여야 하는 조건이 만족되어야 하며, 만약 지급 결제 금액들이 일치하지 않을 경우에는 "지연 지급 결제"인 각각의 통화 사용 트랜잭션이 또 다른 통화 사용 트랜잭션에 의해 상계 처리 조건을 만족하여 순화 고리 형태를 이루는 각각의 "지연 지급 결제"인 통화 사용 트랜잭션이 상계 처리 조건을 만족하면 상계 처리를 수행할 수 있다.For example, user A creates a currency-enabled transaction A with "deferred payment" to user B, user B creates a currency-enabled transaction B with "deferred payment" to user C, and user C Deferred payment "creates a currency-enabled transaction C, and User D creates a currency-enabled transaction D with" deferred payment "to User A, allowing users A, User B, User C, and User D to When a circular ring of payees is formed, the server 100 selects currency use transaction A, currency use transaction B, currency use transaction C, and currency use transaction D generated by user A, user B, user C, and user D. Offset can be processed. Of course, the condition that the payment settlement amount in each currency use transaction that is "deferred payment settlement" must be satisfied, and if the payment settlement amounts do not match, each currency use transaction that is "delay payment settlement" If another currency use transaction satisfies the offset processing condition and each of the " delayed payment settlement " currency use transactions in the form of a purifying ring satisfies the offset processing condition, the offset processing can be performed.
그리고, 서버(100)는 상계 처리된 제2 통화 사용 트랜잭션(TrxC)과 적어도 하나 이상의 제3 통화 사용 트랜잭션(TrxD)을 프라이빗 블록체인 데이터베이스에 등록하거나 등록하도록 지원하며(S491), 프라이빗 블록체인 데이터베이스에 등록된 제2 통화 사용 트랜잭션(TrxC)과 적어도 하나 이상의 제3 통화 사용 트랜잭션(TrxD)의 프라이빗 블록체인 데이터베이스 상의 위치 정보를 나타내는 제2 통화 사용 프라이빗 트랜잭션 아이디(PrivTxid)와 제3 통화 사용 프라이빗 트랜잭션 아이디(PrivTxid)를 특정 사용자(C), 통화 수신자, 및 적어도 하나 이상의 타 사용자(D) 중 적어도 일부에게 제공하거나 제공하도록 지원할 수 있다(S492, S493). 이때, 기록 매체에 저장된 정보, 즉, 제2 통화 사용 트랜잭션(TrxC)과 획득된 적어도 하나 이상의 제3 통화 사용 트랜잭션(TrxD)은 삭제할 수 있다.In addition, the server 100 supports to register or register the offsetted second currency use transaction (TrxC) and at least one third currency use transaction (TrxD) in the private blockchain database (S491), and the private blockchain database. Second currency usage private transaction ID (PrivTxid) and third currency usage private transaction representing location information on a private blockchain database of a second currency usage transaction (TrxC) and at least one third currency usage transaction (TrxD) registered with The ID PrivTid may be provided to or provided to at least some of a specific user C, a call receiver, and at least one other user D (S492 and S493). In this case, the information stored in the recording medium, that is, the second call use transaction TrxC and the obtained at least one third call use transaction TrxD may be deleted.
또한, 서버(100)는 제2 통화 사용 트랜잭션(TrxC)과 적어도 하나 이상의 제3 통화 사용 트랜잭션(TrxD)의 상계 처리에 대응하여, 소정의 조건, 일 예로 트리거링 조건이 만족되면(S510) 상계 처리된 제2 통화 사용 트랜잭션에 해쉬 함수를 적용하여 생성한 특정 해쉬 값 및 특정 해쉬 값과 매칭되는 적어도 하나의 이웃 해쉬 값을 연산함으로써 생성되는 대표 해쉬 값 또는 상기 대표 해쉬 값을 가공한 값을 머클 루트로 생성하여(S511), 퍼블릭 블록체인 데이터베이스에 등록하거나 등록하도록 지원한다(S512). 또한, 서버(100)는 상계 처리된 적어도 하나 이상의 제3 통화 사용 트랜잭션 각각에 해쉬 함수를 적용하여 생성한 특정 해쉬 값 및 특정 해쉬 값과 매칭되는 적어도 하나의 이웃 해쉬 값을 연산함으로써 생성되는 대표 해쉬 값 또는 상기 대표 해쉬 값을 가공한 값을 머클 루트로 생성하여(S511), 퍼블릭 블록체인 데이터베이스에 등록하거나 등록하도록 지원할 수 있다(S512). 즉, 서버(100)는 상계 처리된 모든 통화 사용 트랜잭션에 대한 정보를 퍼블릭 블록체인 데이터베이스(200)에 등록하거나 등록하도록 지원할 수 있다.In addition, the server 100 corresponds to the offset processing of the second currency use transaction TrxC and the at least one third currency use transaction TrxD, and if a predetermined condition, for example, a triggering condition is satisfied (S510), the offset process. Merkle root a representative hash value generated by calculating a specific hash value generated by applying a hash function to the second currency using transaction and at least one neighboring hash value matching the specific hash value, or a value obtained by processing the representative hash value By generating (S511), and supports to register or register in the public blockchain database (S512). In addition, the server 100 may generate a representative hash generated by calculating a specific hash value generated by applying a hash function to each of the at least one third currency use transaction processed and at least one neighboring hash value matching the specific hash value. A value or a processed value of the representative hash value may be generated as a Merkle root (S511), and may be registered or registered in the public blockchain database (S512). That is, the server 100 may support to register or register information on all the currency use transactions that have been offset in the public blockchain database 200.
그리고, 서버(100)는 퍼블릭 블록체인 데이터베이스에 등록된 제2 통화 사용 트랜잭션에 대응하는 머클 루트 및 적어도 하나 이상의 제3 통화 사용 트랜잭션 각각에 대응하는 머클 루트의 퍼블릭 블록체인 데이터베이스 상의 위치 정보를 나타내는 제2 통화 사용 퍼블릭 트랜잭션 아이디(PubTxid)와 적어도 하나 이상의 제3 통화 사용 퍼블릭 트랜잭션 아이디(PubTxid)를 획득하거나 획득하도록 지원할 수 있다(S513). 이때, 머클 루트인 대표 해쉬 값 또는 대표 해쉬 값을 가공한 값은 도 2에서의 설명에서와 같이 머클 트리에 의해 생성될 수 있다. 그리고, 서버(100)는 제2 통화 사용 퍼블릭 트랜잭션 아이디(PubTxid)와 제3 통화 사용 퍼블릭 트랜잭션 아이디(PubTxid)에 각각 대응되는 OP 메시지를 퍼블릭 블록체인 데이터베이스(200)로부터 획득할 수 있다.In addition, the server 100 may include information indicating location information on the public blockchain database of the Merkle root corresponding to the second currency use transaction registered in the public blockchain database and the at least one third currency use transaction. It may support to acquire or obtain a 2 call usage public transaction ID (PubTxid) and at least one third call usage public transaction ID (PubTxid) (S513). In this case, the representative hash value or the processed value of the representative hash value may be generated by the Merkle tree as described in FIG. 2. In addition, the server 100 may obtain an OP message corresponding to each of the second call use public transaction ID PubTxid and the third call use public transaction ID PubTxid from the public blockchain database 200.
그리고, 서버(100)가 통화 사용자인 특정 사용자를 등록하는 과정을 설명하면 다음과 같다. 특정 사용자의 등록 또한 도 5에서의 통화 발행자의 등록과 같은 방법을 수행하는 것으로 유사한 부분은 도 5에서의 설명으로 이해 가능하므로 생략한다.In addition, the process of registering a specific user who is a call user by the server 100 is as follows. The registration of a specific user also performs the same method as the registration of the call issuer in FIG. 5, and similar parts are omitted since the description in FIG. 5 can be understood.
특정 사용자(C)의 퍼블릭 키에 의한 사용자 등록 요청이 획득되면, 서버(100)는, 특정 사용자(C)의 유효 여부를 확인하여 특정 사용자(C)가 유효할 경우 랜덤 논스를 특정 사용자(C)에게 전달하거나 전달하도록 지원할 수 있다. 그리고, 특정 사용자(C)가 유효하지 않을 경우, 서버(100)는 특정 사용자(C)에게 사용자 확인 실패를 나타내는 응답을 제공하거나 제공하도록 지원할 수 있다.When a user registration request by a public key of a specific user C is obtained, the server 100 checks whether the specific user C is valid, and if the specific user C is valid, randomly sets a random nonce to the specific user C. Can be delivered to or supported). In addition, when a specific user C is not valid, the server 100 may provide or support a response indicating a user confirmation failure to the specific user C.
한편, 유효한 사용자일 경우, 랜덤 논스를 특정 사용자의 프라이빗 키로 서명한 랜덤 논스 서명 값이 획득되면, 서버(100)는, 랜덤 논스 서명 값이 정상적으로 서명되었는지를 특정 사용자의 퍼블릭 키를 사용하여 검증한다.On the other hand, if the user is a valid user, if a random nonce signature value obtained by signing a random nonce with the private key of the specific user is obtained, the server 100 verifies whether the random nonce signature value is normally signed using the specific user's public key. .
그리고, 서버(100)는 특정 사용자(C)로부터 획득된 서명 값이 유효한 것일 경우, 랜덤 논스, 랜덤 논스 서명값 및 특정 사용자의 퍼블릭 키를 포함하는 사용자 등록 트랜잭션을 프라이빗 블록체인 데이터베이스에 등록하거나 등록하도록 지원하고, 프라이빗 블록체인 데이터베이스에 등록된 사용자 등록 트랜잭션의 프라이빗 블록체인 데이터베이스 상의 위치 정보를 나타내는 사용자 등록 프라이빗 트랜잭션 아이디(PrivTxid)를 특정 사용자(C)에게 제공하거나 제공하도록 지원할 수 있다.When the signature value obtained from the specific user C is valid, the server 100 registers or registers a user registration transaction including a random nonce, a random nonce signature value, and a specific user's public key in the private blockchain database. The user registration private transaction ID (PrivTxid) indicating location information on the private blockchain database of the user registration transaction registered in the private blockchain database may be provided or provided to a specific user (C).
그러나, 서버(100)는 특정 사용자(C)로부터 획득된 서명 값이 유효하지 않을 경우, 특정 사용자(111)에게 서명 값 확인 실패를 나타내는 응답을 제공하거나 제공하도록 지원할 수 있다.However, if the signature value obtained from the specific user C is not valid, the server 100 may provide or provide a response indicating the signature value verification failure to the specific user 111.
또한, 서버(100)는 특정 사용자(C)의 서명 값이 유효한 경우, 소정의 조건, 일 예로 트리거링 조건이 만족되면, 랜덤 논스, 랜덤 논스 서명 값 및 특정 사용자의 퍼블릭 키를 포함하는 사용자 등록 트랜잭션에 해쉬 함수를 적용하여 생성한 특정 해쉬 값 및 특정 해쉬 값과 매칭되는 적어도 하나의 이웃 해쉬 값을 연산함으로써 생성되는 머클 루트인 대표 해쉬 값 또는 상기 대표 해쉬 값을 가공한 값을 퍼블릭 블록체인 데이터베이스(200)에 등록하거나 등록하도록 지원하며, 퍼블릭 블록체인 데이터베이스(200)에 등록된 상기 대표 해쉬 값 또는 상기 대표 해쉬 값을 가공한 값의 상기 퍼블릭 블록체인 데이터베이스 상의 위치 정보를 나타내는 사용자 등록 퍼블릭 트랜잭션 아이디(PubTxid)를 획득하거나 획득하도록 지원할 수 있다. 이때, 머클 루트인 대표 해쉬 값 또는 대표 해쉬 값을 가공한 값은 도 2에서의 설명에서와 같이 머클 트리에 의해 생성될 수 있다.In addition, when the signature value of the specific user C is valid, the server 100 may perform a user registration transaction including a random nonce, a random nonce signature value, and a specific user's public key if a predetermined condition, for example, a triggering condition is satisfied. Represents a hash value generated by calculating a hash value generated by applying a hash function and at least one neighboring hash value matching the hash value, or a value obtained by processing the hash value. And a user registration public transaction ID indicating location information on the public blockchain database of the representative hash value or the processed value of the representative hash value registered in the public blockchain database 200. PubTxid) can be obtained or supported to acquire. In this case, the representative hash value or the processed value of the representative hash value may be generated by the Merkle tree as described in FIG. 2.
한편, 상기에서 설명한 통화 수신자(B), 통화 사용자(C), 통화 사용자(D)는 시중 은행일 수도 있으며, 일반 개인일 수도 있을 것이다.Meanwhile, the call receiver B, the call user C, and the call user D described above may be commercial banks or general individuals.
또한, 이상 설명된 본 발명에 따른 실시예들은 다양한 컴퓨터 구성요소를 통하여 수행될 수 있는 프로그램 명령어의 형태로 구현되어 컴퓨터 판독 가능한 기록 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능한 기록 매체는 프로그램 명령어, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 컴퓨터 판독 가능한 기록 매체에 기록되는 프로그램 명령어는 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 분야의 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능한 기록 매체의 예에는, 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체, CD-ROM, DVD와 같은 광기록 매체, 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 ROM, RAM, 플래시 메모리 등과 같은 프로그램 명령어를 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령어의 예에는, 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드도 포함된다. 상기 하드웨어 장치는 본 발명에 따른 처리를 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다.In addition, the embodiments according to the present invention described above may be implemented in the form of program instructions that may be executed by various computer components, and may be 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 computer software arts. 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.
이상에서 본 발명이 구체적인 구성요소 등과 같은 특정 사항들과 한정된 실시예 및 도면에 의해 설명되었으나, 이는 본 발명의 보다 전반적인 이해를 돕기 위해서 제공된 것일 뿐, 본 발명이 상기 실시예들에 한정되는 것은 아니며, 본 발명이 속하는 기술분야에서 통상적인 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형을 꾀할 수 있다.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 (22)

  1. 통화를 발행하는 방법에 있어서,In the method of issuing a currency,
    (a) 통화 발행자로부터의 상기 통화 발행을 위한 (i) 통화 수신자 정보, (ii) 상기 통화의 발행량, (iii) 상기 통화 발행자의 퍼블릭 키 및 (iv) 상기 통화 발행자의 프라이빗 키로 상기 (i), 상기 (ii), 상기 (iii)을 서명한 상기 통화 발행자의 서명값을 포함하는 특정 통화 발행 트랜잭션이 획득되면, 서버는, 상기 특정 통화 발행 트랜잭션 및 상기 통화 발행자의 유효 여부를 확인하여 유효일 경우, (i) 상기 통화 수신자 정보, (ii) 상기 통화의 발행량, (iii) 상기 통화 발행자의 퍼블릭 키 및 (iv) 상기 통화 발행자의 서명 값을 포함하는 상기 특정 통화 발행 트랜잭션을 프라이빗 블록체인 데이터베이스에 등록하거나 등록하도록 지원하며, 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 특정 통화 발행 트랜잭션의 상기 프라이빗 블록체인 데이터베이스 상의 위치 정보를 나타내는 특정 통화 발행 프라이빗 트랜잭션 아이디를 상기 통화 발행자 및 상기 통화 수신자 중 적어도 일부에게 제공하거나 제공하도록 지원하는 단계; 및(i) the (i) call recipient information for issuing the call from the call issuer, (ii) the issue amount of the call, (iii) the public key of the call issuer, and (iv) the private key of the call issuer. When a specific currency issuing transaction including the signature value of the currency issuer who signed (ii) and (iii) is obtained, the server checks whether the specific currency issuing transaction and the currency issuer are valid and is valid. , (i) the call recipient information, (ii) the issue amount of the call, (iii) the currency issuer's public key, and (iv) the currency issuer's signature value into a private blockchain database. Support for registering or registering on the private blockchain database of the particular currency issuing transaction registered in the private blockchain database. Supporting or providing a specific call issuing private transaction ID representing location information to at least some of the call issuer and the call recipient; And
    (b) 소정의 조건 - 상기 소정의 조건은 퍼블릭 블록체인 데이터베이스에 소정의 해쉬 값을 등록하기 위한 트리거링 조건임 - 이 만족되면, 상기 서버가, 특정 해쉬 값 - 상기 특정 해쉬 값은 (i) 상기 통화 수신자 정보, (ii) 상기 통화의 발행량, (iii) 상기 통화 발행자의 퍼블릭 키 및 (iv) 상기 통화 발행자의 서명 값을 포함하는 상기 특정 통화 발행 트랜잭션에 해쉬 함수를 적용하여 생성한 해쉬 값임 - 및 상기 특정 해쉬값과 매칭되는 적어도 하나의 관련 이웃 해쉬 값을 연산함으로써 생성되는 대표 해쉬값 또는 상기 대표 해쉬 값을 가공한 값을 상기 퍼블릭 블록체인 데이터베이스에 등록하거나 등록하도록 지원하며, 상기 퍼블릭 블록체인 데이터베이스에 등록된 상기 대표 해쉬 값 또는 상기 대표 해쉬 값을 가공한 값의 상기 퍼블릭 블록체인 데이터베이스 상의 위치 정보를 나타내는 특정 통화 발행 퍼블릭 트랜잭션 아이디를 획득하거나 획득하도록 지원하는 단계를 포함하는 것을 특징으로 하는 통화를 발행하는 방법.(b) a predetermined condition, wherein the predetermined condition is a triggering condition for registering a predetermined hash value in a public blockchain database. A hash value generated by applying a hash function to the specific currency issuing transaction, including call recipient information, (ii) the issue amount of the currency, (iii) the public key of the currency issuer, and (iv) the signature value of the currency issuer. And register or register a representative hash value generated by calculating at least one related neighbor hash value matching the specific hash value or a value obtained by processing the representative hash value in the public blockchain database, and the public blockchain. The public blockchain database of the representative hash value or the processed value of the representative hash value registered in the database. How to issue a call, comprising the step of support to obtain or acquire a particular call issued public transaction ID information indicating the position on the bus.
  2. 제1항에 있어서, The method of claim 1,
    상기 (b) 단계에서, In step (b),
    상기 소정의 조건은, The predetermined condition is
    (i) 소정의 개수만큼 상기 통화와 연관된 트랜잭션들이 생성되는 조건, (ii) 소정 시간이 경과하는 조건, (iii) 프라이빗 블록체인에서 새로운 블록이 생성되는 조건, (iv) 서비스 특성에 대한 조건 중 적어도 하나를 포함하는 것을 특징으로 하는 통화를 발행하는 방법.(i) a condition in which transactions associated with the call are generated by a predetermined number, (ii) a condition for a predetermined time elapses, (iii) a condition for creating a new block in a private blockchain, and (iv) a condition for a service characteristic. At least one currency comprising at least one.
  3. 제1항에 있어서, The method of claim 1,
    상기 (b) 단계에서, In step (b),
    상기 서버는, 상기 특정 해쉬값을 리프 노드에 할당함으로써 머클 트리(merkle tree)를 생성하거나 생성하도록 지원하고, The server supports generating or creating a merkle tree by assigning the specific hash value to a leaf node,
    상기 소정의 조건이 만족되면, 상기 특정 해쉬값과, 상기 특정 해쉬값이 할당된 노드와 매칭되는 적어도 하나의 다른 리프 노드에 할당된 해쉬값을 사용하여 연산 되는 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 상기 퍼블릭 블록체인 데이터베이스에 등록하거나 등록하도록 지원하는 것을 특징으로 하는 통화를 발행하는 방법.If the predetermined condition is satisfied, the representative hash value or the representative hash value calculated using the specific hash value and a hash value assigned to at least one other leaf node that matches the node to which the specific hash value is assigned. And registering the processed value in the public blockchain database or registering the processed value.
  4. 제3항에 있어서, The method of claim 3,
    상기 머클 트리가 체인 형태로 연결된 적어도 하나의 관련 머클 트리 중 첫번째 머클 트리인 경우, 상기 머클 트리의 첫번째 리프 노드에는 텍스트, 숫자 또는 기호로 이루어진 소정의 메시지 데이터의 해쉬값 또는 이를 가공한 값이 할당되는 것을 특징으로 하는 통화를 발행하는 방법.When the Merkle tree is the first Merkle tree of at least one related Merkle tree connected in a chain form, the first leaf node of the Merkle tree is assigned a hash value of predetermined message data consisting of text, numbers or symbols or a processed value thereof. Method of issuing a currency, characterized in that
  5. 제3항에 있어서, The method of claim 3,
    상기 소정의 조건이 만족되면, If the predetermined condition is satisfied,
    (x1) 상기 서버는, (i) 상기 특정 해쉬값과 (ii) 상기 특정 해쉬값이 할당된 노드의 형제 노드의 해쉬값을 연산하거나 연산하도록 지원하고, 상기 연산값에 대한 해쉬값을 상기 노드들의 부모 노드에 할당하거나 할당하도록 지원하며, (x1) the server supports (i) calculating or calculating a hash value of a sibling node of a node to which the specific hash value and (ii) the specific hash value is assigned, and calculating a hash value for the computed value in the node. To assign or assign to their parent node,
    (x2) 상기 부모 노드가 상기 머클 트리의 루트 노드이면, 상기 부모 노드에 할당된 해쉬값을 상기 대표 해쉬값으로서 상기 퍼블릭 블록체인 데이터베이스에 등록하거나 등록하도록 지원하고,(x2) if the parent node is the root node of the Merkle tree, supports to register or register the hash value assigned to the parent node as the representative hash value in the public blockchain database,
    (x3) 상기 부모 노드가 상기 머클 트리의 루트 노드가 아니면, 상기 부모 노드에 할당된 해쉬값을 상기 특정 해쉬값으로 하여 상기 (x1) 내지 (x3)을 반복하여 수행하는 것을 특징으로 하는 통화를 발행하는 방법.(x3) If the parent node is not the root node of the Merkle tree, a call is performed by repeating (x1) to (x3) by using the hash value assigned to the parent node as the specific hash value. How to issue.
  6. 제5항에 있어서, The method of claim 5,
    상기 (x1)에서 In (x1) above
    상기 소정의 조건이 만족되었음에도 상기 특정 해쉬값이 할당된 노드의 형제 노드의 해쉬값이 할당되어 있지 않은 경우, 상기 서버는, 상기 형제 노드에 소정의 해쉬값을 할당하거나 할당하도록 지원하여 상기 (x1) 내지 (x3)를 수행하는 것을 특징으로 하는 통화를 발행하는 방법.If the hash value of the sibling node of the node to which the specific hash value is assigned even though the predetermined condition is satisfied, the server supports or allocates a predetermined hash value to the sibling node (x1). ) To (x3).
  7. 제1항에 있어서, The method of claim 1,
    상기 서버가 상기 특정 해쉬값과 상기 적어도 하나의 관련 이웃 해쉬값을 소정의 제1 데이터 구조로 저장하고, 이후 상기 제1 데이터 구조와 동일한 형태의 제2 데이터 구조를 저장하여 관리하는 경우, 상기 제1 데이터 구조와 상기 제2 데이터 구조는 체인 형태로 연결되는 것을 특징으로 하는 통화를 발행하는 방법.When the server stores the specific hash value and the at least one related 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, And a first data structure and the second data structure are connected in a chain form.
  8. 제7항에 있어서, The method of claim 7, wherein
    상기 제1 데이터 구조 및 상기 제2 데이터 구조가 머클 트리인 경우, 상기 제1 데이터 구조의 루트값 또는 상기 루트값의 해쉬값이 상기 제2 데이터 구조의 첫번째 리프 노드에 할당되는 것을 특징으로 하는 통화를 발행하는 방법.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 is assigned to the first leaf node of the second data structure. How to issue it.
  9. 제1항에 있어서,The method of claim 1,
    상기 (a) 단계 이전에,Before step (a) above,
    (a01) 상기 통화 발행자의 퍼블릭 키에 의한 발행자 등록 요청이 획득되면, 상기 서버는, 상기 통화 발행자의 유효 여부를 확인하여 상기 통화 발행자가 유효할 경우 특정 랜덤 논스를 상기 통화 발행자에게 전달하거나 전달하도록 지원하는 단계;(a01) When an issuer registration request by the call issuer's public key is obtained, the server checks whether the call issuer is valid and delivers or delivers a specific random nonce to the call issuer when the call issuer is valid. Supporting;
    (a02) 상기 특정 랜덤 논스를 상기 통화 발행자의 프라이빗 키로 서명한 특정 랜덤 논스 서명값이 획득되면, 상기 서버는, 상기 특정 랜덤 논스 서명값이 유효한 서명 값인지를 상기 통화 발행자의 퍼블릭 키를 사용하여 검증하고 검증이 완료되면 상기 특정 랜덤 논스, 상기 특정 랜덤 논스 서명값 및 상기 통화 발행자의 퍼블릭 키를 포함하는 발행자 등록 트랜잭션을 프라이빗 블록체인 데이터베이스에 등록하거나 등록하도록 지원하고, 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 발행자 등록 트랜잭션의 상기 프라이빗 블록체인 데이터베이스 상의 위치를 나타내는 발행자 등록 프라이빗 트랜잭션 아이디를 상기 통화 발행자에게 제공하거나 제공하도록 지원하는 단계; 및(a02) When a specific random nonce signature value is obtained which signs the specific random nonce with the private key of the currency issuer, the server uses the public issuer's public key to determine whether the specific random nonce signature value is a valid signature value. When the verification is completed and the verification is completed, the publisher registration transaction including the specific random nonce, the specific random nonce signature value, and the currency issuer's public key is supported to be registered or registered in the private blockchain database, and registered in the private blockchain database. Providing or providing an issuer registration private transaction ID representing the location on the private blockchain database of the issued issuer registration transaction to the currency issuer; And
    (a03) 소정의 조건이 만족되면, 상기 서버가, 특정 해쉬값 - 상기 특정 해쉬값은 상기 특정 랜덤 논스, 상기 특정 랜덤 논스 서명값 및 상기 통화 발행자의 퍼블릭 키를 포함하는 상기 발행자 등록 트랜잭션에 해쉬 함수를 적용하여 생성한 해쉬값임 - 및 상기 특정 해쉬값과 매칭되는 적어도 하나의 관련 이웃 해쉬값을 연산함으로써 생성되는 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 퍼블릭 블록체인 데이터베이스에 등록하거나 등록하도록 지원하며, 상기 퍼블릭 블록체인 데이터베이스에 등록된 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값의 상기 퍼블릭 블록체인 데이터베이스 상의 위치 정보를 나타내는 발행자 등록 퍼블릭 트랜잭션 아이디를 획득하거나 획득하도록 지원하는 단계를 포함하는 것을 특징으로 하는 통화를 발행하는 방법.(a03) If a predetermined condition is satisfied, the server hashes the issuer registration transaction including a specific hash value, the specific hash value including the specific random nonce, the specific random nonce signature value, and the public key of the currency issuer. Is a hash value generated by applying a function-and registers or registers a representative hash value generated by calculating at least one related neighbor hash value matching the specific hash value or a processed value of the representative hash value in a public blockchain database. And obtaining or obtaining an issuer registration public transaction ID indicating location information on the public blockchain database of the representative hash value or the processed value of the representative hash value registered in the public blockchain database. Issuing a currency characterized by including Way.
  10. 통화의 지급을 결제하는 방법에 있어서,In the method of payment of a currency payment,
    (a) 특정 사용자로부터 상기 통화의 지급 결제를 위한 (i) 이전에 적어도 일부 미 사용된 적어도 하나 이상의 제1 통화 사용 프라이빗 트랜잭션 아이디, (ii) 통화 수신자 정보, (iii) 특정 지급 결제 금액, (iv) 상기 특정 사용자의 퍼블릭 키 및 (v) 상기 특정 사용자의 프라이빗 키로 상기 (i), 상기 (ii), 상기 (iii), 상기 (iv)를 서명한 상기 특정 사용자의 서명값을 포함하는 제2 통화 사용 트랜잭션이 획득되면, 서버는, 상기 제2 통화 사용 트랜잭션의 상기 특정 사용자의 밸런스를 참조하여 상기 제2 통화 사용 트랜잭션의 지급 결제 방식을 확인하는 단계;(a) at least some previously unused at least one first currency use private transaction ID for payment of the currency from a particular user, (ii) call recipient information, (iii) a specific payment amount, ( iv) a signature value of the particular user who signed the (i), (ii), (iii), and (iv) with the public key of the particular user and (v) the private key of the particular user; When a two currency use transaction is obtained, the server, referring to the balance of the specific user of the second currency use transaction, confirming a payment settlement method of the second currency use transaction;
    (b) (i) 상기 특정 사용자의 밸런스가 상기 특정 지급 결제 금액 이상이어서 상기 제2 통화 사용 트랜잭션의 지급 결제 방식이 "즉시 지급 결제"로 확인되면, 상기 서버는, 상기 특정 사용자의 서명값이 유효한지를 판단하여 유효일 경우, 상기 제2 통화 사용 트랜잭션을 프라이빗 블록체인 데이터베이스에 등록하거나 등록하도록 지원하고, 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 제2 통화 사용 트랜잭션의 상기 프라이빗 블록체인 데이터베이스 상의 위치 정보를 나타내는 제2 통화 사용 프라이빗 트랜잭션 아이디를 상기 특정 사용자 및 상기 통화 수신자 중 적어도 일부에게 제공하거나 제공하도록 지원하거나, (ii) 상기 특정 사용자의 밸런스가 상기 특정 지급 결제 금액 미만이어서 상기 제2 통화 사용 트랜잭션의 지급 결제 방식이 "지연 지급 결제"로 확인되면, 상기 서버는, 상기 특정 사용자의 서명값이 유효한지를 판단하여 유효일 경우, 상기 제2 통화 사용 트랜잭션을 저장부에 저장한 상태에서, 적어도 하나 이상의 관련 타 사용자에 의해 지급 결제되며 상기 특정 사용자를 수취인으로 하는 적어도 하나 이상의 제3 통화 사용 트랜잭션이 소정의 상계 처리 조건을 만족하면, 상기 제2 통화 사용 트랜잭션과 상기 제3 통화 사용 트랜잭션들을 상계 처리하며, 상계 처리된 상기 제2 통화 사용 트랜잭션과 상기 제3 통화 사용 트랜잭션을 프라이빗 블록체인 데이터베이스에 등록하거나 등록하도록 지원하고, 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 제2 통화 사용 트랜잭션과 상기 제3 통화 사용 트랜잭션의 상기 프라이빗 블록체인 데이터베이스 상의 위치 정보를 나타내는 제2 통화 사용 프라이빗 트랜잭션 아이디와 제3 통화 사용 프라이빗 트랜잭션 아이디를 상기 특정 사용자, 상기 특정 수신자 및 상기 관련 타 사용자 중 적어도 일부에게 제공하거나 제공하도록 지원하는 단계; 및(b) (i) If the balance of the specific user is equal to or greater than the specific payment amount, and the payment settlement method of the second currency use transaction is confirmed as "immediate payment payment", the server determines that the signature value of the specific user If it is determined to be valid, and if it is valid, it supports to register or register the second currency use transaction in a private blockchain database, and position information on the private blockchain database of the second currency use transaction registered in the private blockchain database. Provide or support a second currency usage private transaction ID indicating to or from at least some of the particular user and the recipient of the call, or (ii) the balance of the particular user is less than the payment amount specified for the second currency usage transaction. Payment method is "delayed" "Payment Payment", the server determines whether the signature value of the specific user is valid, and if it is valid, in the state of storing the second currency use transaction in a storage unit, payment is made by at least one or more related other users. And if the at least one third currency use transaction with the specific user as a payee satisfies a predetermined offset processing condition, offset the second currency use transaction and the third call use transactions, and offset the processed second. Support to register or register a currency usage transaction and the third currency usage transaction in a private blockchain database, and the private blockchain database of the second currency usage transaction and the third currency usage transaction registered in the private blockchain database Second indicating location information on the image Screen using the method comprising supporting the private transaction ID and a third call using the particular user a private transaction ID, to the specific receiver, and provide at least some of said associated other user or service; And
    (c) 소정의 조건 - 상기 소정의 조건은 퍼블릭 블록체인 데이터베이스에 소정의 해쉬값을 등록하기 위한 트리거링 조건임 - 이 만족되면, 상기 서버가, 특정 해쉬값 - 상기 특정 해쉬값은 (1) 상기 제2 통화 사용 트랜잭션에 해쉬 함수를 적용하여 생성한 해쉬값 또는 (2) 상기 제2 통화 사용 트랜잭션과 상기 제3 통화 사용 트랜잭션에 각각 해쉬 함수를 적용하여 생성한 해쉬값임 - 및 상기 특정 해쉬값과 매칭되는 적어도 하나의 관련 이웃 해쉬값을 연산함으로써 생성되는 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 상기 퍼블릭 블록체인 데이터베이스에 등록하거나 등록하도록 지원하며, 상기 퍼블릭 블록체인 데이터베이스에 등록된 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값의 상기 퍼블릭 블록체인 데이터베이스 상의 위치 정보를 나타내는 (1) 제2 통화 사용 퍼블릭 트랜잭션 아이디 또는 (2) 제2 통화 사용 퍼블릭 트랜잭션 아이디와 제3 통화 사용 퍼블릭 트랜잭션 아이디를 획득하거나 획득하도록 지원하는 단계를 포함하는 것을 특징으로 하는 통화의 지급을 결제하는 방법.(c) a predetermined condition, wherein the predetermined condition is a triggering condition for registering a predetermined hash value in the public blockchain database. A hash value generated by applying a hash function to a second currency use transaction; or (2) a hash value generated by applying a hash function to the second currency use transaction and the third currency use transaction, respectively; and the specific hash value. And register or register a representative hash value generated by calculating at least one related neighbor hash value or a processed value of the representative hash value in the public blockchain database, and the representative registered in the public blockchain database. Location information on the public blockchain database of a hash value or a value obtained by processing the representative hash value; Supporting or obtaining the second currency usage public transaction ID or (2) the second currency usage public transaction ID and the third currency usage public transaction ID. How to.
  11. 제10항에 있어서, The method of claim 10,
    상기 (c) 단계에서, In the step (c),
    상기 소정의 조건은, The predetermined condition is
    (i) 소정의 개수만큼 상기 통화와 연관된 트랜잭션들이 생성되는 조건, (ii) 소정 시간이 경과하는 조건, (iii) 프라이빗 블록체인에서 새로운 블록이 생성되는 조건, (iv) 서비스 특성에 대한 조건 중 적어도 하나를 포함하는 것을 특징으로 하는 통화의 지급을 결제하는 방법.(i) a condition in which transactions associated with the call are generated by a predetermined number, (ii) a condition for a predetermined time elapses, (iii) a condition for creating a new block in a private blockchain, and (iv) a condition for a service characteristic. And at least one payment in currency.
  12. 제10항에 있어서, The method of claim 10,
    상기 (c) 단계에서, In the step (c),
    상기 서버는, 상기 특정 해쉬값을 리프 노드에 할당함으로써 머클 트리(merkle tree)를 생성하거나 생성하도록 지원하고, The server supports generating or creating a merkle tree by assigning the specific hash value to a leaf node,
    상기 소정의 조건이 만족되면, 상기 특정 해쉬값과, 상기 특정 해쉬값이 할당된 노드와 매칭되는 적어도 하나의 다른 리프 노드에 할당된 해쉬값을 사용하여 연산되는 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 상기 퍼블릭 블록체인 데이터베이스에 등록하거나 등록하도록 지원하는 것을 특징으로 하는 통화의 지급을 결제하는 방법.If the predetermined condition is satisfied, the representative hash value or the representative hash value calculated using the specific hash value and a hash value assigned to at least one other leaf node that matches the node to which the specific hash value is assigned. The payment method of the currency, characterized in that for supporting the registration or registration of the processed value in the public blockchain database.
  13. 제10항에 있어서,The method of claim 10,
    상기 제2 통화 사용 트랜잭션은, 상기 특정 지급 결제 금액을 지급한 이후의 잔금 및 상기 잔금의 소유주 정보를 더 포함하는 것을 특징으로 하는 통화의 지급을 결제하는 방법.The second currency use transaction further comprises a balance after paying the specific payment amount and the owner information of the balance.
  14. 제10항에 있어서,The method of claim 10,
    상기 제2 통화 사용 트랜잭션은, 상기 "즉시 지급 결제" 또는 "지연 지급 결제"를 포함하는 지급 형식 정보를 더 포함하며,The second currency usage transaction further includes payment form information including the “immediate payment settlement” or “delayed payment settlement”,
    상기 (b) 단계에서,In step (b),
    상기 서버는, 상기 제2 통화 사용 트랜잭션의 지급 형식 정보가 "즉시 지급 결제"이지만 상기 특정 사용자의 밸런스가 상기 특정 지급 결제 금액 미만일 경우에는 상기 제2 통화 사용 트랜잭션의 지급 결제 방식이 "지연 지급 결제"인 것으로 판단하는 것을 특징으로 하는 통화의 지급을 결제하는 방법.If the payment form information of the second currency use transaction is "immediate payment payment" but the balance of the specific user is less than the specific payment payment amount, the payment settlement method of the second currency use transaction is "delayed payment payment". "Payment in currency, characterized in that it is determined to be.
  15. 제10항에 있어서,The method of claim 10,
    상기 (a) 단계 이전에,Before step (a) above,
    (a01) 상기 특정 사용자의 퍼블릭 키에 의한 특정 사용자 등록 요청이 획득되면, 상기 서버는, 상기 특정 사용자의 유효 여부를 확인하여 상기 특정 사용자가 유효할 경우 특정 랜덤 논스를 상기 특정 사용자에게 전달하거나 전달하도록 지원하는 단계;(a01) When a specific user registration request is obtained by the public key of the specific user, the server checks whether the specific user is valid and delivers or transmits a specific random nonce to the specific user when the specific user is valid. Assisting to;
    (a02) 상기 특정 랜덤 논스를 상기 특정 사용자의 프라이빗 키로 서명한 특정 랜덤 논스 서명값이 획득되면, 상기 서버는, 상기 특정 랜덤 논스 서명값이 유효한 서명값인지를 상기 특정 사용자의 퍼블릭 키를 사용하여 검증하고 검증이 완료되면 상기 특정 랜덤 논스, 상기 특정 랜덤 논스 서명값 및 상기 특정 사용자의 퍼블릭 키를 포함하는 특정 사용자 등록 트랜잭션을 프라이빗 블록체인 데이터베이스에 등록하거나 등록하도록 지원하고, 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 특정 사용자 등록 트랜잭션의 상기 프라이빗 블록체인 데이터베이스 상의 위치를 나타내는 특정 사용자 등록 프라이빗 트랜잭션 아이디를 상기 특정 사용자에게 제공하거나 제공하도록 지원하는 단계; 및(a02) When a specific random nonce signature value obtained by signing the specific random nonce with the private key of the specific user is obtained, the server uses the public key of the specific user to determine whether the specific random nonce signature value is a valid signature value. When the verification is completed and the verification is completed, a specific user registration transaction including the specific random nonce, the specific random nonce signature value, and the public key of the specific user is supported to be registered or registered in the private blockchain database, and in the private blockchain database. Supporting or providing a specific user registration private transaction ID representing the location on the private blockchain database of the registered user registration transaction; And
    (a03) 소정의 조건이 만족되면, 상기 서버가, 특정 해쉬값 - 상기 특정 해쉬값은 상기 특정 랜덤 논스, 상기 특정 랜덤 논스 서명값 및 상기 특정 사용자의 퍼블릭 키를 포함하는 상기 특정 사용자 등록 트랜잭션에 해쉬 함수를 적용하여 생성한 해쉬값임 - 및 상기 특정 해쉬값과 매칭되는 적어도 하나의 관련 이웃 해쉬값을 연산함으로써 생성되는 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 퍼블릭 블록체인 데이터베이스에 등록하거나 등록하도록 지원하며, 상기 퍼블릭 블록체인 데이터베이스에 등록된 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값의 상기 퍼블릭 블록체인 데이터베이스 상의 위치 정보를 나타내는 특정 사용자 등록 퍼블릭 트랜잭션 아이디를 획득하거나 획득하도록 지원하는 단계를 포함하는 것을 특징으로 하는 통화의 지급을 결제하는 방법.(a03) If a predetermined condition is satisfied, the server determines that the specific hash value, the specific hash value, includes the specific random nonce, the specific random nonce signature value, and the public key of the specific user. Is a hash value generated by applying a hash function-and registers a representative hash value generated by calculating at least one related neighbor hash value matching the specific hash value or a processed value of the representative hash value in a public blockchain database, or And a specific user registration public transaction ID indicating location information on the public blockchain database of the representative hash value or the processed value of the representative hash value registered in the public blockchain database. Currency comprising the steps of How to make a payment of
  16. 통화를 발행하는 서버에 있 어서,On the server that issues the call,
    통화 발행자로부터의 상기 통화 발행을 위한 (i) 통화 수신자 정보, (ii) 상기 통화의 발행량, (iii) 상기 통화 발행자의 퍼블릭 키 및 (iv) 상기 통화 발행자의 프라이빗 키로 상기 (i), 상기 (ii), 상기 (iii)을 서명한 상기 통화 발행자의 서명값을 포함하는 특정 통화 발행 트랜잭션을 획득하는 통신부; 및(I) call recipient information for issuing the call from a currency issuer, (ii) the issue amount of the call, (iii) the public key of the call issuer, and (iv) the private key of the call issuer. ii) a communication unit for obtaining a specific currency issuing transaction including a signature value of the call issuer who signed (iii); And
    상기 획득된 상기 특정 통화 발행 트랜잭션 및 상기 통화 발행자의 유효 여부를 확인하여 유효일 경우, (i) 상기 통화 수신자 정보, (ii) 상기 통화의 발행량, (iii) 상기 통화 발행자의 퍼블릭 키 및 (iv) 상기 통화 발행자의 서명값을 포함하는 상기 특정 통화 발행 트랜잭션을 프라이빗 블록체인 데이터베이스에 등록하거나 등록하도록 지원하며, 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 특정 통화 발행 트랜잭션의 상기 프라이빗 블록체인 데이터베이스 상의 위치를 나타내는 특정 통화 발행 프라이빗 트랜잭션 아이디를 상기 통화 발행자 및 상기 통화 수신자 중 적어도 일부에게 제공하거나 제공하도록 지원하는 프로세스, 및 소정의 조건 - 상기 소정의 조건은 퍼블릭 블록체인 데이터베이스에 소정의 해쉬값을 등록하기 위한 트리거링 조거임 - 이 만족되면, 특정 해쉬값 - 상기 특정 해쉬값은 (i) 상기 통화 수신자 정보, (ii) 상기 통화의 발행량, (iii) 상기 통화 발행자의 퍼블릭 키 및 (iv) 상기 통화 발행자의 서명값을 포함하는 상기 특정 통화 발행 트랜잭션에 해쉬 함수를 적용하여 생성한 해쉬값임 - 및 상기 특정 해쉬값과 매칭되는 적어도 하나의 관련 이웃 해쉬값을 연산함으로써 생성되는 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 상기 퍼블릭 블록체인 데이터베이스에 등록하거나 등록하도록 지원하며, 상기 퍼블릭 블록체인 데이터베이스에 등록된 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값의 상기 퍼블릭 블록체인 데이터베이스 상의 위치 정보를 나타내는 특정 통화 발행 퍼블릭 트랜잭션 아이디를 획득하거나 획득하도록 지원하는 프로세스를 수행하는 프로세서를 포함하는 것을 특징으로 하는 통화를 발행하는 서버.(I) the call recipient information, (ii) the issue amount of the call, (iii) the public key of the call issuer, and (iv) if the obtained particular call issuing transaction and the validity of the call issuer are valid. Assist in registering or registering the specific currency issuing transaction including the signature value of the currency issuer in a private blockchain database, and indicating a location on the private blockchain database of the specific currency issuing transaction registered in the private blockchain database; A process for providing or providing a specific call issuing private transaction ID to at least some of the call issuer and the call recipient, and the predetermined condition, wherein the predetermined condition triggers to register a predetermined hash value in a public blockchain database. Jogger If a specific hash value is satisfied, the specific hash value includes (i) the call recipient information, (ii) the issue amount of the call, (iii) the public key of the call issuer, and (iv) the signature value of the call issuer. A hash value generated by applying a hash function to the specific currency issuing transaction, and-a representative hash value generated by calculating at least one related neighbor hash value matching the specific hash value or a value processed by the representative hash value To register or register in the public blockchain database, and indicates the location information on the public blockchain database of the representative hash value or the processed value of the representative hash value registered in the public blockchain database. The process that performs the process of obtaining or assisting in obtaining a transaction ID. Server that issues the currency, comprising a step of including.
  17. 제16항에 있어서, The method of claim 16,
    상기 소정의 조건은, The predetermined condition is
    (i) 소정의 개수만큼 상기 통화와 관련한 트랜잭션들이 생성되는 조건, (ii) 소정 시간이 경과하는 조건, (iii) 프라이빗 블록체인에서 새로운 블록이 생성되는 조건, (iv) 서비스 특성에 대한 조건 중 적어도 하나를 포함하는 것을 특징으로 하는 통화를 발행하는 서버.(i) a condition in which transactions related to the currency are generated by a predetermined number, (ii) a condition that a predetermined time elapses, (iii) a condition in which a new block is created in a private blockchain, and (iv) a condition of a service characteristic. A server for issuing a call, characterized in that it comprises at least one.
  18. 제16항에 있어서, The method of claim 16,
    상기 프로세서는,The processor,
    상기 특정 해쉬값을 리프 노드에 할당함으로써 머클 트리(merkle tree)를 생성하거나 생성하도록 지원하고, Support generating or creating a merkle tree by assigning the specific hash value to a leaf node,
    상기 소정의 조건이 만족되면, 상기 특정 해쉬값과, 상기 특정 해쉬값이 할당된 노드와 매칭되는 적어도 하나의 다른 리프 노드에 할당된 해쉬값을 사용하여 연산되는 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 상기 퍼블릭 블록체인 데이터베이스에 등록하거나 등록하도록 지원하는 것을 특징으로 하는 통화를 발행하는 서버.If the predetermined condition is satisfied, the representative hash value or the representative hash value calculated using the specific hash value and a hash value assigned to at least one other leaf node that matches the node to which the specific hash value is assigned. The server for issuing a currency, characterized in that for supporting the registration or registration of the processed value in the public blockchain database.
  19. 제16항에 있어서,The method of claim 16,
    상기 프로세서는,The processor,
    (i) 상기 통화 발행자의 퍼블릭 키에 의한 발행자 등록 요청이 획득되면, 상기 통화 발행자의 유효 여부를 확인하여 상기 통화 발행자가 유효할 경우 특정 랜덤 논스를 상기 통화 발행자에게 전달하거나 전달하도록 지원하고, (ii) 상기 특정 랜덤 논스를 상기 통화 발행자의 프라이빗 키로 서명한 특정 랜덤 논스 서명값이 획득되면, 상기 특정 랜덤 논스 서명값이 유효한 서명 값인지를 상기 통화 발행자의 퍼블릭 키를 사용하여 검증하고 검증이 완료되면 상기 특정 랜덤 논스, 상기 특정 랜덤 논스 서명값 및 상기 통화 발행자의 퍼블릭 키를 포함하는 발행자 등록 트랜잭션을 프라이빗 블록체인 데이터베이스에 등록하거나 등록하도록 지원하고, 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 발행자 등록 트랜잭션의 상기 프라이빗 블록체인 데이터베이스 상의 위치를 나타내는 발행자 등록 프라이빗 트랜잭션 아이디를 상기 통화 발행자에게 제공하거나 제공하도록 지원하며, (iii) 소정의 조건이 만족되면, 특정 해쉬값 - 상기 특정 해쉬값은 상기 특정 랜덤 논스, 상기 특정 랜덤 논스 서명값 및 상기 통화 발행자의 퍼블릭 키를 포함하는 상기 발행자 등록 트랜잭션에 해쉬 함수를 적용하여 생성한 해쉬값임 - 및 상기 특정 해쉬값과 매칭되는 적어도 하나의 관련 이웃 해쉬값을 연산함으로써 생성되는 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 퍼블릭 블록체인 데이터베이스에 등록하거나 등록하도록 지원하며, 상기 퍼블릭 블록체인 데이터베이스에 등록된 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값의 상기 퍼블릭 블록체인 데이터베이스 상의 위치 정보를 나타내는 발행자 등록 퍼블릭 트랜잭션 아이디를 획득하거나 획득하도록 지원하는 것을 특징으로 하는 통화를 발행하는 서버.(i) when an issuer registration request by the call issuer's public key is obtained, confirms whether or not the call issuer is valid and supports or delivers a specific random nonce to the call issuer if the call issuer is valid, ( ii) if a specific random nonce signature value is obtained which signs the specific random nonce with the private key of the currency issuer, verifying that the specific random nonce signature value is a valid signature value using the public issuer's public key and verification is complete And if the issuer registration transaction including the specific random nonce, the specific random nonce signature value, and the public key of the currency issuer is registered or registered in the private blockchain database, the issuer registration transaction registered in the private blockchain database. On the private blockchain of Provide or provide an issuer registration private transaction ID indicating a location on a database to the currency issuer, and (iii) if a predetermined condition is met, a particular hash value-the particular hash value is the particular random nonce, the particular random A hash value generated by applying a hash function to the issuer registration transaction including a nonce signature value and the public key of the currency issuer-and a representative hash generated by computing at least one associated neighbor hash value matching the particular hash value. The public blockchain database supports registering or registering a value or a processed value of the representative hash value in a public blockchain database, and processing the representative hash value or the representative hash value registered in the public blockchain database. Representing location information on the site A server for issuing a currency, characterized in that obtaining or obtaining a registered public transaction ID.
  20. 통화의 지급을 결제하는 서버에 있어서,In the server for payment of currency,
    특정 사용자로부터 상기 통화의 지급 결제를 위한 (i) 이전에 적어도 일부 미 사용된 적어도 하나 이상의 제1 통화 사용 프라이빗 트랜잭션 아이디, (ii) 통화 수신자 정보, (iii) 특정 지급 결제 금액, (iv) 상기 특정 사용자의 퍼블릭 키 및 (v) 상기 특정 사용자의 프라이빗 키로 상기 (i), 상기 (ii), 상기 (iii), 상기 (iv)를 서명한 상기 특정 사용자의 서명값을 포함하는 제2 통화 사용 트랜잭션을 획득하는 통신부: 및(I) at least one previously unused at least one first currency use private transaction ID for payment of the currency from a particular user, (ii) call recipient information, (iii) specific payment amount, and (iv) the Using a second currency that includes the signature value of the particular user who signed the (i), (ii), (iii), and (iv) with the public key of the particular user and (v) the private key of the particular user Communication unit for acquiring the transaction: and
    상기 획득된 상기 제2 통화 사용 트랜잭션의 상기 특정 사용자의 밸런스를 참조하여 상기 제2 통화 사용 트랜잭션의 지급 결제 방식을 확인하여, 상기 특정 사용자의 밸런스가 상기 특정 지급 결제 금액 이상이어서 상기 제2 통화 사용 트랜잭션의 지급 결제 방식이 "즉시 지급 결제"로 확인되면, 상기 특정 사용자의 서명 값이 유효한지를 판단하여 유효일 경우, 상기 제2 통화 사용 트랜잭션을 프라이빗 블록체인 데이터베이스에 등록하거나 등록하도록 지원하고, 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 제2 통화 사용 트랜잭션의 상기 프라이빗 블록체인 데이터베이스 상의 위치를 나타내는 제2 통화 사용 프라이빗 트랜잭션 아이디를 상기 특정 사용자 및 상기 통화 수신자 중 적어도 일부에게 제공하거나 제공하도록 지원하는 프로세스, 및 상기 특정 사용자의 밸런스가 상기 특정 지급 결제 금액 미만이어서 상기 제2 통화 사용 트랜잭션의 지급 결제 방식이 "지연 지급 결제"로 확인되면, 상기 특정 사용자의 서명값이 유효한지를 판단하여 유효일 경우, 상기 제2 통화 사용 트랜잭션을 저장부에 저장한 상태에서, 적어도 하나 이상의 관련 타 사용자에 의해 지급 결제되며 상기 특정 사용자를 수취인으로 하는 적어도 하나 이상의 제3 통화 사용 트랜잭션이 소정의 상계 처리 조건을 만족하면, 상기 제2 통화 사용 트랜잭션과 상기 제3 통화 사용 트랜잭션들을 상계 처리하며, 상계 처리된 상기 제2 통화 사용 트랜잭션과 상기 제3 통화 사용 트랜잭션을 프라이빗 블록체인 데이터베이스에 등록하거나 등록하도록 지원하고, 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 제2 통화 사용 트랜잭션과 상기 제3 통화 사용 트랜잭션의 상기 프라이빗 블록체인 데이터베이스 상의 위치 정보를 나타내는 제2 통화 사용 프라이빗 트랜잭션 아이디와 제3 통화 사용 프라이빗 트랜잭션 아이디를 상기 특정 사용자, 상기 특정 수신자 및 상기 관련 타 사용자 중 적어도 일부에게 제공하거나 제공하도록 지원하는 프로세스, 및 소정의 조건 - 상기 소정의 조건은 퍼블릭 블록체인 데이터베이스에 소정의 해쉬값을 등록하기 위한 트리거링 조건임 - 이 만족되면, 특정 해쉬값 - 상기 특정 해쉬값은 (1) 상기 제2 통화 사용 트랜잭션에 해쉬 함수를 적용하여 생성한 해쉬값 또는 (2) 상기 제2 통화 사용 트랜잭션과 상기 제3 통화 사용 트랜잭션에 각각 해쉬 함수를 적용하여 생성한 해쉬값임 - 및 상기 특정 해쉬값과 매칭되는 적어도 하나의 관련 이웃 해쉬값을 연산함으로써 생성되는 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 상기 퍼블릭 블록체인 데이터베이스에 등록하거나 등록하도록 지원하며, 상기 퍼블릭 블록체인 데이터베이스에 등록된 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값의 상기 퍼블릭 블록체인 데이터베이스 상의 위치 정보를 나타내는 (1) 제2 통화 사용 퍼블릭 트랜잭션 아이디 또는 (2) 제2 통화 사용 퍼블릭 트랜잭션 아이디와 제3 통화 사용 퍼블릭 트랜잭션 아이디를 획득하거나 획득하도록 지원하는 프로세스를 수행하는 프로세서를 포함하는 것을 특징으로 하는 통화의 지급을 결제하는 서버.Checking the payment settlement method of the second currency use transaction by referring to the balance of the specific user of the second currency use transaction obtained, the balance of the specific user is greater than the specific payment amount, the second currency use If the payment settlement method of the transaction is confirmed as "immediate payment settlement," it is determined whether the signature value of the specific user is valid, and if it is valid, the second currency using transaction is supported to be registered or registered in the private blockchain database, and the private Providing or providing a second currency usage private transaction ID to at least some of the particular user and the call recipient indicating a location on the private blockchain database of the second currency usage transaction registered in the blockchain database; If the balance of the specific user is less than the specific payment amount and the payment method of the second currency use transaction is confirmed as "delayed payment", it is determined whether the signature value of the specific user is valid and the second value is valid. If the currency use transaction is stored in the storage unit and the payment is paid by at least one or more related other users and at least one third currency use transaction for which the specific user is the payee satisfies a predetermined offsetting condition, And offsetting the second currency usage transaction and the third currency usage transaction, and registering or registering the offsetted second currency usage transaction and the third currency usage transaction in a private blockchain database, and the private blockchain database. The second call usage track registered in The second currency usage private transaction ID and the third currency usage private transaction ID representing the location information on the private blockchain database of the transaction and the third currency usage transaction are at least one of the specific user, the specific receiver, and the related other user. A process for providing or supporting to provide a predetermined condition, wherein the predetermined condition is a triggering condition for registering a predetermined hash value in the public blockchain database. (1) a hash value generated by applying a hash function to the second currency use transaction; or (2) a hash value generated by applying a hash function to the second currency use transaction and the third currency use transaction, respectively. At least one related neighbor hash that matches a particular hash And register or register the representative hash value generated by the calculation or the processed value of the representative hash value in the public blockchain database, and processing the representative hash value or the representative hash value registered in the public blockchain database. Process for obtaining or obtaining (1) a second currency use public transaction ID or (2) a second currency use public transaction ID and a third currency use public transaction ID representing location information on the public blockchain database of values; A server for payment of a currency, comprising a processor for performing.
  21. 제20항에 있어서, The method of claim 20,
    상기 프로세서는,The processor,
    상기 특정 해쉬값을 리프 노드에 할당함으로써 머클 트리(merkle tree)를 생성하거나 생성하도록 지원하고, Support generating or creating a merkle tree by assigning the specific hash value to a leaf node,
    상기 소정의 조건이 만족되면, 상기 특정 해쉬값과, 상기 특정 해쉬값이 할당된 노드와 매칭되는 적어도 하나의 다른 리프 노드에 할당된 해쉬값을 사용하여 연산되는 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 상기 퍼블릭 블록체인 데이터베이스에 등록하거나 등록하도록 지원하는 것을 특징으로 하는 통화의 지급을 결제하는 서버.If the predetermined condition is satisfied, the representative hash value or the representative hash value calculated using the specific hash value and a hash value assigned to at least one other leaf node that matches the node to which the specific hash value is assigned. The server for payment of a currency, characterized in that for supporting the registration or registration of the processed value in the public blockchain database.
  22. 제20항에 있어서,The method of claim 20,
    상기 프로세서는,The processor,
    (i) 상기 특정 사용자의 퍼블릭 키에 의한 특정 사용자 등록 요청이 획득되면, 상기 특정 사용자의 유효 여부를 확인하여 상기 특정 사용자가 유효할 경우 특정 랜덤 논스를 상기 특정 사용자에게 전달하거나 전달하도록 지원하며, (ii) 상기 특정 랜덤 논스를 상기 특정 사용자의 프라이빗 키로 서명한 특정 랜덤 논스 서명값이 획득되면, 상기 특정 랜덤 논스 서명값이 정상적으로 서명되었는지를 상기 특정 사용자의 퍼블릭 키를 사용하여 검증하고 검증이 완료되면 상기 특정 랜덤 논스, 상기 특정 랜덤 논스 서명값 및 상기 특정 사용자의 퍼블릭 키를 포함하는 특정 사용자 등록 트랜잭션을 프라이빗 블록체인 데이터베이스에 등록하거나 등록하도록 지원하고, 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 특정 사용자 등록 트랜잭션의 상기 프라이빗 블록체인 데이터베이스 상의 위치를 나타내는 특정 사용자 등록 프라이빗 트랜잭션 아이디를 상기 특정 사용자에게 제공하거나 제공하도록 지원하고, (iii) 소정의 조건이 만족되면, 특정 해쉬값 - 상기 특정 해쉬값은 상기 특정 랜덤 논스, 상기 특정 랜덤 논스 서명값 및 상기 특정 사용자의 퍼블릭 키를 포함하는 상기 특정 사용자 등록 트랜잭션에 해쉬 함수를 적용하여 생성한 해쉬값임 - 및 상기 특정 해쉬값과 매칭되는 적어도 하나의 관련 이웃 해쉬값을 연산함으로써 생성되는 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 퍼블릭 블록체인 데이터베이스에 등록하거나 등록하도록 지원하며, 상기 퍼블릭 블록체인 데이터베이스에 등록된 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값의 상기 퍼블릭 블록체인 데이터베이스 상의 위치 정보를 나타내는 특정 사용자 등록 퍼블릭 트랜잭션 아이디를 획득하거나 획득하도록 지원하는 것을 특징으로 하는 통화의 지급을 결제하는 서버.(i) when a specific user registration request is obtained based on the public key of the specific user, confirms whether the specific user is valid, and supports or transmits a specific random nonce to the specific user when the specific user is valid, (ii) if a specific random nonce signature value is obtained which signs the specific random nonce with the private key of the specific user, verify that the specific random nonce signature value is normally signed using the specific user's public key and verification is complete When a specific user registration transaction including the specific random nonce, the specific random nonce signature value and the public key of the specific user is supported or registered in the private blockchain database, the specific user registered in the private blockchain database Recall of registration transaction Provide or support a particular user registration private transaction ID representing a location on a private blockchain database, and (iii) if a predetermined condition is met, a specific hash value-the particular hash value is the specific random nonce A hash value generated by applying a hash function to the specific user registration transaction including the specific random nonce signature value and the public key of the specific user; and calculating at least one related neighbor hash value matching the specific hash value. And register or register a representative hash value generated by processing the representative hash value or a processed value of the representative hash value in a public blockchain database, wherein the representative hash value or the representative hash value registered in the public blockchain database is processed. On the public blockchain database Server to the payment of a monetary payment which comprises obtaining support for specific users registered public transaction identifier indicating the location information, or to obtain.
PCT/KR2017/011938 2016-10-26 2017-10-26 Method for issuing currency and making payment using merkle tree structure in utxo-based protocol and server using same WO2018080206A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR10-2016-0140164 2016-10-26
KR1020160140164A KR101837167B1 (en) 2016-10-26 2016-10-26 Method for issuing and paying money in use of merkle tree structure on the basis of unspent transaction output protocol, and server using the same

Publications (1)

Publication Number Publication Date
WO2018080206A1 true WO2018080206A1 (en) 2018-05-03

Family

ID=61727734

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2017/011938 WO2018080206A1 (en) 2016-10-26 2017-10-26 Method for issuing currency and making payment using merkle tree structure in utxo-based protocol and server using same

Country Status (2)

Country Link
KR (1) KR101837167B1 (en)
WO (1) WO2018080206A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109218303A (en) * 2018-09-10 2019-01-15 浙江天脉领域科技有限公司 A kind of novel across chain method of block chain of homologous isomery link network fusion
CN109274837A (en) * 2018-08-22 2019-01-25 北京航空航天大学 Method and device can be traced in telephone source based on block chain technology
CN109472578A (en) * 2018-10-16 2019-03-15 东方银谷(北京)投资管理有限公司 The processing method and processing device of digital asset
CN110688425A (en) * 2018-07-06 2020-01-14 国际商业机器公司 Conditional deferred transactions for blockchains
CN111476555A (en) * 2020-03-23 2020-07-31 深圳华数云计算技术有限公司 Digital currency data processing method, system and storage medium
CN111814175A (en) * 2020-09-15 2020-10-23 北京东方通科技股份有限公司 Inter-block chain cross-chain information transmission control system
CN115660679A (en) * 2022-10-14 2023-01-31 重庆移通学院 Hash locking based decentralized secure transaction method

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102077397B1 (en) * 2018-07-23 2020-02-13 주식회사 더볼터 Method and system for connecting chain based on dynamic time delay in proof of population based blockchain
CN110838064B (en) * 2019-10-12 2022-05-20 华中科技大学 Method and system for tracing assets based on Fabric block chain platform

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101575030B1 (en) * 2014-07-11 2015-12-07 조선대학교산학협력단 Method of multi-signature generation for shared data in the cloud
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

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101575030B1 (en) * 2014-07-11 2015-12-07 조선대학교산학협력단 Method of multi-signature generation for shared data in the cloud
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

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
"Bulk Certificate Login Processing", 5 August 2016 (2016-08-05), Retrieved from the Internet <URL:https://github.com/Kangmo/blitz/wiki/fl> *
"Data Forgery Detection in Private Block Chain Using Public Block Chain", 5 August 2016 (2016-08-05), Retrieved from the Internet <URL:https://github.com/Kangmo/blitz/wiki> *
"Why Block Chain Could be Fatal to Your Business", CIO KOREA, 7 September 2016 (2016-09-07), Retrieved from the Internet <URL:http://www.ciokorea.com/news/31161> *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110688425A (en) * 2018-07-06 2020-01-14 国际商业机器公司 Conditional deferred transactions for blockchains
CN110688425B (en) * 2018-07-06 2023-12-22 国际商业机器公司 Method and system for conditionally deferring transactions for blockchains
CN109274837A (en) * 2018-08-22 2019-01-25 北京航空航天大学 Method and device can be traced in telephone source based on block chain technology
CN109218303A (en) * 2018-09-10 2019-01-15 浙江天脉领域科技有限公司 A kind of novel across chain method of block chain of homologous isomery link network fusion
CN109218303B (en) * 2018-09-10 2020-12-11 浙江天脉领域科技有限公司 Novel block chain cross-chain method for homologous and heterogeneous chain network fusion
CN109472578A (en) * 2018-10-16 2019-03-15 东方银谷(北京)投资管理有限公司 The processing method and processing device of digital asset
CN111476555A (en) * 2020-03-23 2020-07-31 深圳华数云计算技术有限公司 Digital currency data processing method, system and storage medium
CN111814175A (en) * 2020-09-15 2020-10-23 北京东方通科技股份有限公司 Inter-block chain cross-chain information transmission control system
CN111814175B (en) * 2020-09-15 2020-12-18 北京东方通科技股份有限公司 Inter-block chain cross-chain information transmission control system
CN115660679A (en) * 2022-10-14 2023-01-31 重庆移通学院 Hash locking based decentralized secure transaction method

Also Published As

Publication number Publication date
KR101837167B1 (en) 2018-03-09

Similar Documents

Publication Publication Date Title
WO2018080207A1 (en) Method for issuing currency and making payment by managing balance database for each block in blockchain and server using same
WO2018080206A1 (en) Method for issuing currency and making payment using merkle tree structure in utxo-based protocol and server using same
US11809608B2 (en) Methods and systems for using digital signatures to create trusted digital asset transfers
US10977632B2 (en) Electronic bill management method, apparatus, and storage medium
US11669811B2 (en) Blockchain-based digital token utilization
CN109691008B (en) Network topology
WO2018070848A1 (en) Method for providing smart contract-based certificate service, and server employing same
WO2017192007A2 (en) Block chain for supporting plurality of one-way functions for verification of blocks
WO2018070784A2 (en) Method for issuing, redeeming, refunding, settling and revoking electronic voucher by managing balance database by blocks in blockchain, and server employing same
US11108566B2 (en) Methods and systems for using digital signatures to create trusted digital asset transfers
WO2016204572A2 (en) System and method for verifying forgery of financial institution proof documents on basis of block chain
JP2021524088A (en) Resource migration data management method and equipment, and computer programs
WO2019078623A1 (en) Blockchain-based payment method, and payment server using same
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
WO2018080205A1 (en) Method for issuing currency and making payment using utxo-based protocol and sever using same
CN110503429B (en) Decentralized content interaction method and system
CN112788555B (en) Cross-operator telephone charge transfer settlement method, device and computing equipment
WO2019078622A1 (en) Blockchain-based payment method, and payment server using same
US11699131B2 (en) Distributed ledger system for automated claim adjudication
KR20200014121A (en) Method and system for providing block chain service
WO2020103573A1 (en) Block chain-based network transaction signature method and device, and terminal equipment
KR102331971B1 (en) Method and System for Providing Voucher based Blockchain
CN115953241A (en) Block chain-based fund management method and device
CN113269646A (en) Intelligent contract design method for realizing bill asset circulation based on block chain

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: 17864074

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 1205 DATED 02/07/2019)

122 Ep: pct application non-entry in european phase

Ref document number: 17864074

Country of ref document: EP

Kind code of ref document: A1