CN113298528A - Method for dyeing bill based on UTXO - Google Patents
Method for dyeing bill based on UTXO Download PDFInfo
- Publication number
- CN113298528A CN113298528A CN202110691067.4A CN202110691067A CN113298528A CN 113298528 A CN113298528 A CN 113298528A CN 202110691067 A CN202110691067 A CN 202110691067A CN 113298528 A CN113298528 A CN 113298528A
- Authority
- CN
- China
- Prior art keywords
- utxo
- dyeing
- bill
- role
- merchant
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/40—Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
- G06Q20/401—Transaction verification
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/40—Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
- G06Q20/405—Establishing or using transaction specific rules
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Computer Security & Cryptography (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Finance (AREA)
- General Business, Economics & Management (AREA)
- Strategic Management (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a dyeing bill method based on UTXO, wherein UTXO is a part of transaction, and the transaction based on a UTXO model comprises an input part (vin) and an output part (vout):the traditional UTXO data model solves the problems of double flowers, traceability and the like, and is used like cash in reality. In order to enable UTXO-based blockchain transaction to support ticketing, we add dyeing data, i.e., an extended color field, to the UTXO data model of the blockchain, where the color includes color value left-falling character verification information and the like: the invention relates to the technical field of use of a dyed bill realized based on UTXO. The dyeing bill method based on the UTXO solves the problems that the block chain encryption currency cannot meet the traditional government affairs and business scenes, and the dyeing bill based on the UTXO is inconvenient to trace to the source, and the role of a payee is not introduced to be unfavorable for supervision.
Description
Technical Field
The invention relates to the technical field of use of a dyeing bill realized based on UTXO, in particular to a dyeing bill method realized based on UTXO.
Background
As the earliest occurring cryptocurrency, Bitcoin uses the UTXO model as its underlying stored data structure, which is called the unused Transaction output, i.e. the unused Transaction output.
In bitjoin and other cryptocurrencies that use the UTXO model, the balance in an "account" is not represented by a number, but is made up of all UTXOs associated with the current "account" in the current blockchain network.
The data model for UTXO is as follows:
according to the transaction model of the UTXO, any one of the persons in the block chain has the right to spend the possessed UTXO, and any one of the persons has the right to receive the UTXO.
At present, in an actual business model, sales promotion manner, Chinese-stroke-group preference, Chinese-stroke-left welfare oriented bills and the like are common scenes in which the cash-substituting bills can be used, and receiving merchants or organizations of the cash-substituting bills have specificity. The traditional block chain model is public-oriented open transaction and cannot meet the actual requirement of a limited bill.
Disclosure of Invention
Technical problem to be solved
Aiming at the defects of the prior art, the invention provides a method for dyeing a bill based on UTXO, which solves the problems that the existing method for dyeing a bill based on UTXO is inconvenient to satisfy the traditional government affairs and business scenes for block chain encryption currency, and the inconvenient traceability of the dyeing bill based on UTXO is inconvenient, and the role of a payee is not introduced for the inconvenient supervision.
(II) technical scheme
In order to achieve the purpose, the invention is realized by the following technical scheme: the invention relates to a method for dyeing bills based on UTXO (unified extensible markup language), which is used for expanding dyeing information based on a data structure model of UTXO and is used for bill circulation scenes. The UTXO is part of a transaction, which is based on the UTXO model and consists of two parts, input (vin) and output (vout):
the traditional UTXO data model solves the problems of double flowers, traceability and the like, and is used like cash in reality.
In order to enable UTXO-based blockchain transaction to support ticketing, we add dyeing data, i.e., an extended color field, to the UTXO data model of the blockchain, where the color includes color value left-falling character verification information and the like:
preferably, the user makes a payment request to the merchant using the ticket, and the payment request is then validated by the validation service.
Preferably, the authentication service device sends a payment request initiated by a user to a role authority authentication center, and the role authentication center authenticates the authority of the merchant.
Preferably, the role authority verification center verifies whether the dyeing bill of the merchant meets the requirement, and if so, the role authority verification center indicates that the transaction is successful.
(III) advantageous effects
The invention provides a method for dyeing a bill based on UTXO. The method has the following beneficial effects:
(1) according to the method for dyeing the bill based on the UTXO, a USER 1(USER _1) goes to a common store (SHOP _1) to buy a commodity with the price of 3, 1 conventional UTXO (UTXO _ COMM _10) with the face value of 10 is arranged in ADDR _ U _1, USER _1 is signed and verified by a service, UTXO _ COMM _10 respectively costs 3 to ADDR _ S _1 of SHOP _1, and 7 to ADDR _ U _1 of USER _ 1.
(2) The method for dyeing the bill based on the UTXO is characterized in that a USER USER _2 goes to an electric appliance store (R2) in a county and city to buy a microwave oven, UTXO _ COLOR _3C is used during payment, a verification service verifies a role value required by dyeing currency UTXO _ COLOR _3C after receiving a payment request, a role authority verification center (see' a multi-chain USER role management and verification method based on a block chain) is requested to verify the authority of a payee R2, if the authority is met, the verification service agrees to sign the transaction, otherwise the transaction fails, the UTXO-based transaction can be traced back in the block chain, but the transaction is transparent, anyone can participate in the transaction, and the transaction is high-frequency and multi-dimensional transaction and is difficult to accept at a supervision level, the dyeing bill is added into the role verification of a payee, so that each expense of the bill can be easily brought into a supervision system, the user can not transfer the received bills to other people, and one user can not take the subsidies of multiple people to effectively supervise the funds such as poverty relief.
Drawings
FIG. 1 is a schematic view of a process for the consumption of dyed tickets.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1-1, the present invention provides a technical solution: a method for dyeing bills based on UTXO comprises the following steps:
step 1, a user initiates a request for paying to a merchant by a dyeing bill;
step 2, acquiring the signature and role of the merchant;
step 3, verifying the authority of the merchant to a role authority verification center;
step 4, checking whether the role of the merchant meets the bill requirement;
and 5, if the verification is successful, sending verification service verification, and if the verification is failed, indicating that the payment is failed.
In this embodiment, the user makes a payment request to the merchant using the ticket, and then the payment request is verified by the verification service. The USER 1(USER _1) goes to the general SHOP (SHOP _1) to buy an item with a price of 3, ADDR _ U _1 has 1 regular UTXO (UTXO _ COMM _10) with a value of 10, USER _1 is signed and verified with the service, UTXO _ COMM _10 will cost 3 to address ADDR _ S _1 of SHOP _1 and 7 to address ADDR _ U _1 of USER _1, respectively.
In this embodiment, the verification service device sends a payment request initiated by a user to a role authorization verification center, and the role verification center verifies the authorization of a merchant. The USER USER _2 goes to an electric appliance store (R2) in county and city to buy a microwave oven, uses UTXO _ COLOR _3C during payment, verifies the role dyeing value required by the dyeing currency UTXO _ COLOR _3C after receiving a payment request by a verification service, requests a role authority verification center (see 'a block chain-based multi-chain USER role management and verification method') to verify the authority of a payee merchant R2, and if the authority is met, the verification service agrees to sign transaction, otherwise the transaction fails.
In this embodiment, the role authority verification center verifies whether the dyed ticket of the merchant meets the requirements, and if so, the role authority verification center indicates that the transaction is successful. The transaction based on the UTXO can be traced in a block chain, but the transaction is transparent, anyone can participate in the transaction, the transaction with high frequency and multiple dimensions is difficult to accept in a supervision aspect, the dyed bill is added into the role verification of a payee, so that each cost of the bill can be easily brought into a supervision system, a user cannot transfer the received bill to other people, one user cannot take the subsidy of multiple people, and funds such as poverty relief are effectively supervised.
In operation, the UTXO dyed ticket usage scenario herein is exemplified by grain subsidies and home appliance rural subsidies for government precision poverty relief, such as the tickets having a grain and oil ticket (T1) a chinese-to-home appliance ticket (T2), a grocery store (SHOP _1) a chinese-to-county-city a grain and oil store (R1) a chinese-to-county-city an electrical store (R2), a USER 1(USER _1) a chinese-to-county-city USER 2(USER _2), a USER and a store (a general store and a store supporting the use of precision poverty relief tickets) in a blockchain are addresses in a blockchain; one user may have either a conventional UTXO or a dyed UTXO; all merchants can receive the conventional UTXO, only merchants with specific roles can receive the UTXO with corresponding dyeing authority, and the merchants with dyeing bill payment authority need to perform role setting through a role authority verification center (see a block chain-based multi-chain user role management and verification method for details).
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation. The use of the phrase "comprising one of the elements does not exclude the presence of other like elements in the process, method, article, or apparatus that comprises the element.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.
Claims (9)
1. A method for dyeing bills based on UTXO is characterized in that: and expanding dyeing information based on a data structure model of the UTXO for a bill circulation scene.
2. A method for dyeing tickets realized on the basis of UTXO according to claim 1, characterized in that: a method for dyeing tickets realized on the basis of UTXO according to claim 1, characterized in that: in order to enable the UTXO-based blockchain transaction to support bills, the color field is expanded by a UTXO data model of the blockchain to increase dyeing data, so that the dyeing bills are obtained, wherein the specific color field is as follows:
3. a method for dyeing tickets realized on the basis of UTXO according to claim 1, characterized in that: the method comprises the following steps:
step 1, a user initiates a request for paying to a merchant by a dyeing bill;
step 2, acquiring the signature and role of the merchant;
and 3, verifying the authority of the merchant to a role authority verification center.
4. And 4, checking whether the role of the merchant meets the bill requirement.
5. And 5, if the verification is successful, sending verification service verification, and if the verification is failed, indicating that the payment is failed.
6. A method for dyeing tickets realized on the basis of UTXO according to claim 1, characterized in that: the user makes a payment request to the merchant using the colored ticket, and the payment request is then validated by the validation service.
7. A method for dyeing tickets realized on the basis of UTXO according to claim 1, characterized in that: the verification service device sends a payment request initiated by a user to a role authority verification center, and the role verification center verifies the authority of a merchant.
8. A method for dyeing tickets realized on the basis of UTXO according to claim 1, characterized in that: the role authority verification center verifies whether the dyeing bill of the merchant meets the requirement, and if so, the role authority verification center indicates that the transaction is successful.
9. A method for dyeing tickets realized on the basis of UTXO according to claim 1, characterized in that: and if the merchant authority sent by the role authority verification center does not meet the requirement, the transaction failure is judged.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110691067.4A CN113298528A (en) | 2021-06-22 | 2021-06-22 | Method for dyeing bill based on UTXO |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110691067.4A CN113298528A (en) | 2021-06-22 | 2021-06-22 | Method for dyeing bill based on UTXO |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113298528A true CN113298528A (en) | 2021-08-24 |
Family
ID=77329133
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110691067.4A Pending CN113298528A (en) | 2021-06-22 | 2021-06-22 | Method for dyeing bill based on UTXO |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113298528A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109035019A (en) * | 2018-07-11 | 2018-12-18 | 平安科技(深圳)有限公司 | Bill business method, system, computer equipment and storage medium |
CN109829726A (en) * | 2019-01-09 | 2019-05-31 | 上海物融智能科技有限公司 | A kind of drug information management method and system based on block chain |
EP3496027A1 (en) * | 2017-12-06 | 2019-06-12 | BlockSettle AB | Method for settling a blockchain asset |
CN110582790A (en) * | 2017-05-03 | 2019-12-17 | 维萨国际服务协会 | system and method for restricted transaction processing |
-
2021
- 2021-06-22 CN CN202110691067.4A patent/CN113298528A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110582790A (en) * | 2017-05-03 | 2019-12-17 | 维萨国际服务协会 | system and method for restricted transaction processing |
EP3496027A1 (en) * | 2017-12-06 | 2019-06-12 | BlockSettle AB | Method for settling a blockchain asset |
CN109035019A (en) * | 2018-07-11 | 2018-12-18 | 平安科技(深圳)有限公司 | Bill business method, system, computer equipment and storage medium |
CN109829726A (en) * | 2019-01-09 | 2019-05-31 | 上海物融智能科技有限公司 | A kind of drug information management method and system based on block chain |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
AU2020201891B2 (en) | Method and system for gross settlement by use of an opaque blockchain | |
US20210233069A1 (en) | Method of distributing tokens and managing token relationships | |
US8317090B2 (en) | Methods and systems for performing a financial transaction | |
US8261977B2 (en) | Methods and systems for using an interface and protocol extensions to perform a financial transaction | |
JP2019512808A (en) | Method and system for recording point-to-point transaction processing | |
CN106067124A (en) | A kind of Quick Response Code that scans pays and real time record total mark of consumption and the method for rebating | |
US11455624B2 (en) | Payment system and method | |
US10726415B2 (en) | Token-based transaction system and method to facilitate non-cash payments without using personally identifiable information data | |
US20110137928A1 (en) | System and Method of Matching Financial Transaction Records to Merchant Records of a Merchant Profile Database | |
US20210319450A1 (en) | Authenticating transactions using risk scores derived from detailed device information | |
CN105046539A (en) | Electronic invoice generation method and system | |
US20130013502A1 (en) | Facilitation of Transactions Using a Transaction Code | |
WO2021121133A1 (en) | Transaction platform system method based on block chain, terminal, and storage medium | |
JP2020521253A (en) | Method and system for vending of QR code origin | |
US10706420B2 (en) | Method and system for fraud mitigation via account security | |
CN110874742A (en) | Payment method and device based on block chain and intelligent contract | |
AU2012204043B2 (en) | Multi-sided disbursement platform | |
WO2017059765A1 (en) | Electronic bill sending method and apparatus | |
US20150032636A1 (en) | Dissociative Payment Transaction And Receipt System And Methods Of Using Same | |
CN113298528A (en) | Method for dyeing bill based on UTXO | |
US20190188716A1 (en) | Entity identification based on a record pattern | |
US20210182814A1 (en) | Private label token provisioning for electronic payment transaction processing networks | |
WO2016046765A1 (en) | Systems and methods for verifying an identity record | |
US20230206193A1 (en) | Method and system of generating proof of provenance of digital receipt | |
CN111915285B (en) | Cash withdrawing method and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20210824 |