CN111798230A - Blockchain-based installment payment method, device and device - Google Patents
Blockchain-based installment payment method, device and device Download PDFInfo
- Publication number
- CN111798230A CN111798230A CN202010557378.7A CN202010557378A CN111798230A CN 111798230 A CN111798230 A CN 111798230A CN 202010557378 A CN202010557378 A CN 202010557378A CN 111798230 A CN111798230 A CN 111798230A
- Authority
- CN
- China
- Prior art keywords
- payer
- transaction
- payment
- contract
- default
- 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/22—Payment schemes or models
- G06Q20/24—Credit schemes, i.e. "pay after"
-
- 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
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Strategic Management (AREA)
- Theoretical Computer Science (AREA)
- Finance (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Technology Law (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
Description
技术领域technical field
本发明涉及区块链技术领域,具体涉及一种基于区块链的分期支付方法、装置和设备。The present invention relates to the technical field of blockchain, in particular to a method, device and equipment for installment payment based on blockchain.
背景技术Background technique
随着征信系统的逐渐完善,分期支付成为目前越来越流行的支付方式,包括分期取款和分期付款等。With the gradual improvement of the credit reporting system, installment payment has become an increasingly popular payment method, including installment withdrawal and installment payment.
现有技术中,分期支付的实现都是基于一个强大的中心化机构。中心化机构为用户提供分期支付服务需要基于用户的信用情况,进而需要搭建一个庞大的信用体系,使得中心化机构需要耗费大量的时间与精力搭建信用体系,还需要中心化机构具有足够的财力、物力和人力来保证分期支付服务能够正常开展且持续开展。而且,目前中心化的机构,无法保证用户的数据安全。In the existing technology, the implementation of installment payment is based on a powerful centralized organization. Centralized institutions need to provide users with installment payment services based on the user's credit status, and then need to build a huge credit system, so that centralized institutions need to spend a lot of time and energy to build a credit system, and the centralized institutions need to have sufficient financial resources, Material and manpower to ensure that the installment payment service can be carried out normally and continuously. Moreover, the current centralized institutions cannot guarantee the security of users' data.
因此,如何提供一种去中心化的分期支付方式,是本领域技术人员亟待解决的技术问题之一。Therefore, how to provide a decentralized instalment payment method is one of the technical problems to be solved urgently by those skilled in the art.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本发明的目的在于提供一种基于区块链的分期支付方法、装置和设备,以克服上述的技术问题。In view of this, the purpose of the present invention is to provide a block chain-based installment payment method, device and device to overcome the above-mentioned technical problems.
为实现以上目的,本发明采用如下技术方案:To achieve the above purpose, the present invention adopts the following technical solutions:
一种基于区块链的分期支付方法,应用于区块链网络中,所述方法包括:A blockchain-based installment payment method applied to a blockchain network, the method comprising:
获取付款方或取款方上传的交易合约;Get the transaction contract uploaded by the payer or the payer;
按照所述交易合约,获取所述付款方转入的支付金;According to the transaction contract, obtain the payment transferred by the payer;
监督所述付款方和所述取款方在交易过程中是否违反所述交易合约;Supervise whether the paying party and the withdrawing party violate the transaction contract during the transaction;
若所述付款方和所述取款方均未出现违约,且所述交易的高度达到预设高度,则向所述取款方对应的账户转入所述支付金中交易合约规定的部分。If neither the payer nor the drawer has breached the contract, and the height of the transaction reaches a preset height, the part specified in the transaction contract in the payment is transferred to the account corresponding to the drawer.
进一步地,以上所述基于区块链的分期支付方法,所述交易合约包括:分期付款交易合约;Further, in the above blockchain-based installment payment method, the transaction contract includes: an installment payment transaction contract;
对应地,所述方法还包括:Correspondingly, the method further includes:
若所述付款方违约,判断所述付款方的违约状态是否达到预设的违约高度;If the payer defaults, determine whether the default status of the payer has reached a preset default height;
若否,根据所述交易合约确定所述付款方应支付的违约金,以及,若在预设的违约高度内获取到所述违约金,在所述区块链网络中记录所述付款方的延期违约信息。If not, determine the liquidated damages to be paid by the payer according to the transaction contract, and, if the liquidated damages are obtained within a preset default height, record the payer's liquidated damages in the blockchain network Delayed Default Information.
进一步地,以上所述基于区块链的分期支付方法,所述方法还包括:Further, in the above-mentioned blockchain-based installment payment method, the method further includes:
若所述付款方的违约状态达到所述违约高度,将所述交易合约标记为交易失败,并且,在所述区块链网络中记录所述付款方的失信违约信息。If the default state of the payer reaches the default height, the transaction contract is marked as transaction failure, and the untrustworthy default information of the payer is recorded in the blockchain network.
进一步地,以上所述基于区块链的分期支付方法,所述方法包括:Further, in the above-mentioned blockchain-based installment payment method, the method includes:
若所述取款方违约,将所述交易合约取消,并在所述区块链网络中记录所述取款方的违约信息。If the withdrawal party defaults, the transaction contract is cancelled, and the default information of the withdrawal party is recorded in the blockchain network.
进一步地,以上所述基于区块链的分期支付方法,所述交易合约包括:分期取款交易合约;Further, in the above blockchain-based installment payment method, the transaction contract includes: an installment withdrawal transaction contract;
对应地,所述获取所述付款方转入的支付金,包括:获取所述付款方转入的所有合约阶段的所述支付金;Correspondingly, the obtaining the payment money transferred by the payer includes: obtaining the payment money in all contract stages transferred by the payer;
对应地,所述向所述取款方对应的账户转入所述支付金中交易合约规定的部分,包括:Correspondingly, the part specified in the transaction contract in the payment to the account corresponding to the withdrawal party includes:
确定所述取款方当前所在的第一合约阶段,以及,根据所述交易合约确定所述第一合约阶段规定的支取金额;Determining the first contract stage that the withdrawing party is currently in, and determining the withdrawal amount specified in the first contract stage according to the transaction contract;
将所述支取金额转入所述取款方账户。Transfer the withdrawn amount to the withdrawer account.
进一步地,以上所述基于区块链的分期支付方法,所述方法还包括,若所述付款方或所述取款方违约,确定所述付款方或所述取款方违约时所在的第二合约阶段;Further, in the above blockchain-based installment payment method, the method further includes, if the payer or the payer defaults, determining the second contract where the payer or the payee is in default. stage;
将所述支付金中,所述第二违约阶段内未支付的部分转入预设的奖金池,将所述支付金中,未支付阶段对应的部分转回所述付款方对应的账户,并在所述区块链网络中记录双方的违约信息。Transfer the unpaid part of the payment in the second default stage to the preset bonus pool, transfer the payment corresponding to the unpaid stage back to the account corresponding to the payer, and The default information of both parties is recorded in the blockchain network.
本发明还提供了一种基于区块链的分期支付装置,应用于区块链网络中,所述装置包括:The present invention also provides a block chain-based installment payment device, which is applied in a block chain network, and the device includes:
获取模块,用于获取付款方或取款方上传的交易合约;The acquisition module is used to acquire the transaction contract uploaded by the payer or the payer;
所述获取模块,还用于按照所述交易合约,获取所述付款方转入的支付金;The obtaining module is further configured to obtain the payment transferred from the payer according to the transaction contract;
监督模块,用于监督所述付款方和所述取款方在交易过程中是否违反所述交易合约;A supervision module, used to supervise whether the payer and the withdrawer violate the transaction contract during the transaction process;
转账模块,用于若所述付款方和所述取款方均未出现违约,且所述交易的高度达到预设高度,则向所述取款方对应的账户转入所述支付金中交易合约规定的部分。The transfer module is used to transfer the payment to the account corresponding to the payer if neither the payer nor the payer has defaulted, and the height of the transaction reaches a preset height, as stipulated in the transaction contract. part.
进一步地,以上所述基于区块链的分期支付装置,所述交易合约包括:分期付款交易合约;Further, in the above-mentioned block chain-based installment payment device, the transaction contract includes: an installment payment transaction contract;
对应地,所述装置还包括:Correspondingly, the device further includes:
判断模块,用于若所述付款方违约,判断所述付款方的违约状态是否达到预设的违约高度;a judgment module, used for judging whether the default state of the payer reaches a preset default height if the payer defaults;
记录模块,用于若否,根据所述交易合约确定所述付款方应支付的违约金,以及,若在预设的违约高度内获取到所述违约金,在所述区块链网络中记录所述付款方的延期违约信息。The recording module is used to determine the liquidated damages that the payer should pay according to the transaction contract if not, and, if the liquidated damages are obtained within a preset default height, record the liquidated damages in the blockchain network Deferred default information for said payer.
进一步地,以上所述基于区块链的分期支付装置,所述记录模块,还用于若所述付款方的违约状态达到所述违约高度,将所述交易合约标记为交易失败,并且,在所述区块链网络中记录所述付款方的失信违约信息。Further, in the above-mentioned block chain-based installment payment device, the recording module is further configured to mark the transaction contract as a transaction failure if the default state of the payer reaches the default height, and, in the The untrustworthy breach of contract information of the payer is recorded in the blockchain network.
本发明还提供了一种基于区块链的分期支付设备,包括处理器和存储器,所述处理器与存储器相连:The present invention also provides a block chain-based installment payment device, comprising a processor and a memory, and the processor is connected to the memory:
其中,所述处理器,用于调用并执行所述存储器中存储的程序;Wherein, the processor is used to call and execute the program stored in the memory;
所述存储器,用于存储所述程序,所述程序至少用于执行以上任一项所述的基于区块链的分期支付方法。The memory is used for storing the program, and the program is at least used for executing the blockchain-based installment payment method described in any one of the above.
本发明的基于区块链的分期支付方法装置和设备,应用于区块链网络中,获取付款方或取款方上传的交易合约;按照交易合约,获取付款方转入的支付金;监督付款方和取款方在交易过程中是否违反交易合约;若付款方和取款方均未出现违约,且交易的高度达到预设高度,则向取款方对应的账户转入支付金中交易合约规定的部分。本技术方案基于区块链网络建立了一个去中心化的支付平台,能够进行分期支付,不仅数据安全有保障,而且区块链网络接受全网监督,公开透明,不可抵赖,不可篡改,自带信用体系,链上数据就能为数据准确性提供信用证明,因此无需耗费大量的时间与精力搭建和维护信用体系。The block chain-based installment payment method, device and equipment of the present invention are applied in the block chain network to obtain the transaction contract uploaded by the payer or the payer; according to the transaction contract, obtain the payment transferred by the payer; supervise the payer Whether the payer and the payer violated the transaction contract during the transaction process; if neither the payer nor the payer has breached the contract, and the transaction height reaches the preset height, the payment will be transferred to the account corresponding to the payer as specified in the transaction contract. This technical solution establishes a decentralized payment platform based on the blockchain network, which can pay in installments. Not only is the data security guaranteed, but the blockchain network is subject to the supervision of the entire network, which is open and transparent, non-repudiation, non-tampering, and comes with its own Credit system, the data on the chain can provide credit proof for the accuracy of the data, so there is no need to spend a lot of time and energy to build and maintain the credit system.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative efforts.
图1是本发明基于区块链的分期支付方法一种实施例提供的流程图;1 is a flowchart provided by an embodiment of the block chain-based installment payment method of the present invention;
图2是本发明基于区块链的分期支付装置一种实施例提供的结构示意图;2 is a schematic structural diagram provided by an embodiment of a block chain-based installment payment device of the present invention;
图3是本发明基于区块链的分期支付设备一种实施例提供的结构示意图。FIG. 3 is a schematic structural diagram provided by an embodiment of a block chain-based installment payment device of the present invention.
具体实施方式Detailed ways
为使本发明的目的、技术方案和优点更加清楚,下面将对本发明的技术方案进行详细的描述。显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所得到的所有其它实施方式,都属于本发明所保护的范围。In order to make the objectives, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be described in detail below. Obviously, the described embodiments are only some, but not all, embodiments of the present invention. Based on the embodiments of the present invention, all other implementations obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present invention.
本实施例的分期支付方法主要应用于区块链网络中。其中,区块链是分布式数据存储、点对点传输、共识机制、加密算法等计算机技术的新型应用模式,它具有去中心化、公开透明、开放、匿名、可追溯、防篡改、不可伪造的特性。基于UTXO或者ACCOUNT模型的交易信息被打包成一个个的区块,这些区块与区块之间根据高度的先后顺序,通过区块头中的hash相互关联,形成一条链,这就是区块链。区块链上的所有操作都记录在链上,区别于中心化的结构,这种链上的数据,个人或者少数集团、组织想修改它几乎不可能完成。The installment payment method in this embodiment is mainly applied to the blockchain network. Among them, blockchain is a new application mode of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm, etc. It has the characteristics of decentralization, openness, transparency, openness, anonymity, traceability, tamper-proof, and unforgeability. . The transaction information based on the UTXO or ACCOUNT model is packaged into blocks one by one, and these blocks are related to each other through the hash in the block header according to the order of height to form a chain, which is the blockchain. All operations on the blockchain are recorded on the chain, which is different from the centralized structure. It is almost impossible for individuals or a few groups or organizations to modify the data on this chain.
图1是本发明基于区块链的分期支付方法一种实施例提供的流程图。请参阅图1,本实施例可以包括以下步骤:FIG. 1 is a flow chart provided by an embodiment of the block chain-based installment payment method of the present invention. Referring to FIG. 1, this embodiment may include the following steps:
S101、获取付款方或取款方上传的交易合约。S101. Obtain the transaction contract uploaded by the payer or the payer.
本实施例中,可以获取付款方或者取款方上传的交易合约。交易合约一般包括分期付款交易合约和分期取款交易合约两种。In this embodiment, the transaction contract uploaded by the payer or the payee can be obtained. Transaction contracts generally include installment payment transaction contracts and installment withdrawal transaction contracts.
分期付款交易合约中需要规定支付周期、合约有效期、每期支付支付金、支付对象地址、手续费、合约内容、逾期每百块高度利息百分比等参数;分期取款交易合约中需要规定取款周期、合约有效期、合约阶段、每个合约阶段每期取款支付金(可以有动态浮动)、支付对象地址、手续费、合约内容、指定奖金池地址等参数。The installment payment transaction contract needs to specify the payment cycle, contract validity period, payment for each installment, payment object address, handling fee, contract content, overdue high interest percentage per 100 blocks and other parameters; the installment withdrawal transaction contract needs to specify the withdrawal cycle, contract Parameters such as validity period, contract stage, withdrawal payment in each contract stage (there can be dynamic floating), payment object address, handling fee, contract content, and designated bonus pool address.
交易合约是由交易双方事先经线下商议确认后,通过相应参数而构建出来的,由其中任何一方添加均可。The transaction contract is constructed by the corresponding parameters after the two parties have negotiated and confirmed offline in advance, and can be added by any one of them.
S102、按照交易合约,获取付款方支付的支付金。S102, according to the transaction contract, obtain the payment fee paid by the payer.
根据交易合约中规定的内容,获取付款方所支付的支付金。若交易合约为分期付款交易合约,那么付款方只需要根据分期付款交易合约中“每期支付支付金”和“手续费”等参数,支付当期需要转入的支付金即可。若交易合约为分期取款交易合约,那么付款方需要根据分期取款交易合约中的“合约阶段”“每个合约阶段每期取款支付金”以及“手续费”等参数,转入所有合约阶段的支付金。本实施例中的区块链网络可以获取上述付款方转入的支付金。Obtain the payment paid by the payer according to the content specified in the transaction contract. If the transaction contract is an installment payment transaction contract, the payer only needs to pay the payment that needs to be transferred in the current period according to the parameters such as "payment fee per installment" and "handling fee" in the installment payment transaction contract. If the transaction contract is an instalment withdrawal transaction contract, the payer needs to transfer the payment in all contract stages according to the parameters of "contract stage", "payment for each contract stage per instalment" and "handling fee" in the instalment withdrawal transaction contract. gold. The blockchain network in this embodiment can obtain the payment transferred by the above-mentioned payer.
本实施例以公司给员工发放工资为例,对分期取款交易合约进行说明:In this example, the company pays wages to employees as an example to illustrate the installment withdrawal transaction contract:
具体地,某公司X与员工A签订劳务合同,m为试用期,A为试用期每期取款金额,n为完整合约期(包括试用期),B为正式合约期每期取款金额,St 为需要转入的总金额,如下公式:Specifically, a company X signs a labor contract with employee A, m is the probationary period, A is the withdrawal amount in each period of the trial period, n is the complete contract period (including the trial period), B is the withdrawal amount in each period of the formal contract period, and St is The total amount to be transferred is as follows:
在一种具体实施方式中,正式合约期为三年,试用期三个月,完整合约期为三年三个月,试用期工资为3000元,转正后工资为5000元。那么公司需要一次性将合约金全部转入,如果在不考虑手续费的情况下,也就是需要转入 3000×3+5000×12×3=189000元,如果需要支付手续费,则需要按照交易合约中的规定由付款方或者取款方将手续费也转入。In a specific implementation, the formal contract period is three years, the probationary period is three months, the full contract period is three years and three months, the probationary period salary is 3,000 yuan, and the salary after regularization is 5,000 yuan. Then the company needs to transfer all the contract funds at one time. If the transaction fee is not considered, that is, it needs to transfer 3000×3+5000×12×3=189000 yuan. If the transaction fee needs to be paid, it needs to be paid according to the transaction. It is stipulated in the contract that the payer or the drawer will also transfer the handling fee.
实施例以分期付款购买汽车为例,对分期付款交易合约进行说明:The embodiment takes the purchase of a car by installments as an example to describe the installment payment transaction contract:
具体地,某人以分期付款的形式从汽车供应商处购买了一辆汽车,经计算,每月需缴纳的支付本息为4000元,如果在不考虑手续费的情况下,他每个月转入4000元,如果需要支付手续费,则需要按照交易合约中的规定由付款方或者取款方将手续费也转入。Specifically, a person buys a car from a car supplier in the form of installment payment. After calculation, the monthly payment of principal and interest is 4,000 yuan. If the handling fee is not considered, he will transfer it every month. If you need to pay the handling fee, the payer or the withdrawing party will also transfer the handling fee according to the provisions in the transaction contract.
S103、监督付款方和取款方在交易过程中是否违反交易合约。S103. Supervise whether the payer and the payer violate the transaction contract during the transaction.
在整个交易过程中,对付款方和取款方进行监督,判断双方是否出现违反交易合约的情况。During the entire transaction process, the payer and the drawer are supervised to determine whether the two parties violate the transaction contract.
S104、若付款方和取款方均未出现违约,且交易的高度达到预设高度,则向取款方对应的账户转入支付金中交易合约规定的部分。S104. If neither the payer nor the payer has breached the contract, and the transaction height reaches the preset height, transfer the part of the payment specified in the transaction contract to the account corresponding to the payer.
如果付款方和取款方的都没有出现违约的行为,且交易的高度达到预设高度,那么取款方则可以取走支付金中的交易合约规定的部分。If neither the payer nor the payer has breached the contract, and the height of the transaction reaches the preset height, then the payer can take away the part specified in the transaction contract in the payment.
具体地,若交易合约为分期付款交易合约,付款方和取款方都没有出现违约的行为,且交易的高度达到预设高度,取款方将支付金中的交易合约规定的部分,也就是将付款方支付的支付金中不含手续费的部分转入取款方的账户即可。即,汽车购买人和汽车的供应商均未出现违约,此次付款交易的时间也达到了预设的完成时间,即汽车的供应商可以取走全部的4000元。Specifically, if the transaction contract is an installment payment transaction contract, neither the payer nor the drawer has breached the contract, and the transaction height reaches the preset height, the drawer will pay the part of the payment stipulated in the transaction contract, that is, the payment will be made. The part of the payment excluding the handling fee paid by the party can be transferred to the account of the withdrawing party. That is, neither the car buyer nor the car supplier has breached the contract, and the payment transaction time has reached the preset completion time, that is, the car supplier can take all 4,000 yuan.
若交易合约为分期取款合约,付款方和取款方都没有出现违约的行为,且交易的高度达到预设高度,则需要确定取款方所在的第一合约阶段,根据交易合约确定第一合约阶段规定的支取金额,将支取金额转入取款方账户。需要说明的是,分期取款合约下,每增加一个区块,都会调用一次该分期取款合约,判断是否满足合约中约定数额的支付金的解锁高度。如果满足则解锁,也就是达到预设高度,取款方则可以将支付金取走,如果不满足则继续锁定。且只有合约中的取款方有权转走已解锁的支付金。其中,上述预设高度可以是预设的时间期限。If the transaction contract is an installment withdrawal contract, neither the payer nor the withdrawer has breached the contract, and the transaction height reaches the preset height, it is necessary to determine the first contract stage where the withdrawer is located, and determine the first contract stage according to the transaction contract. The withdrawal amount will be transferred to the account of the withdrawing party. It should be noted that under the installment withdrawal contract, each time a block is added, the installment withdrawal contract will be called once to determine whether the unlocking height of the payment amount agreed in the contract is met. If it is satisfied, it will be unlocked, that is, when the preset height is reached, the withdrawing party can take the payment, and if it is not satisfied, it will continue to be locked. And only the withdrawing party in the contract has the right to transfer the unlocked payment. Wherein, the above-mentioned preset height may be a preset time period.
即,员工A若处于试用期,员工A和公司X均未出现违约,而且此次取款交易也到达了预设的取款时间,员工A则可以取走当月的3000元,若员工A 已经转正,则可以取走当月的5000元。That is, if employee A is in the probationary period, neither employee A nor company X has breached the contract, and the withdrawal transaction has reached the preset withdrawal time, employee A can withdraw 3,000 yuan of the current month. You can take out 5,000 yuan for the month.
本实施例的基于区块链的分期支付方法,应用于区块链网络中,获取付款方和/或取款方上传的交易合约,按照交易合约,获取付款方支付的支付金,监督付款方和取款方在交易过程中是否违反交易合约,若付款方和取款方均未违约,且交易的高度达到预设高度,则向取款方对应的账户转入支付金中交易合约规定的部分。本技术方案基于区块链网络建立了一个去中心化的支付平台,能够进行分期支付,不仅数据安全有保障,而且区块链网络接受全网监督,公开透明,不可抵赖,不可篡改,自带信用体系,链上数据就能为数据准确性提供信用证明,因此无需耗费大量的时间与精力搭建和维护信用体系。The blockchain-based installment payment method in this embodiment is applied in the blockchain network to obtain the transaction contract uploaded by the payer and/or the payer, obtain the payment paid by the payer according to the transaction contract, and supervise the payer and/or the payer. Whether the payer violates the transaction contract during the transaction process, if neither the payer nor the payer violates the contract, and the transaction height reaches the preset height, the payment will be transferred to the account corresponding to the payer. The part stipulated in the transaction contract. This technical solution establishes a decentralized payment platform based on the blockchain network, which can pay in installments. Not only is the data security guaranteed, but the blockchain network is subject to the supervision of the entire network, which is open and transparent, non-repudiation, non-tampering, and comes with its own Credit system, the data on the chain can provide credit proof for the accuracy of the data, so there is no need to spend a lot of time and energy to build and maintain the credit system.
进一步地,本实施例在以上实施例的基础上还可以包括以下步骤:若交易合约为分期取款交易合约,若付款方或取款方违约,确定付款方或取款方违约时所在的第二合约阶段;将支付金中,第二违约阶段内未支付的部分转入预设的奖金池,将支付金中,未支付阶段对应的部分转回付款方对应的账户。Further, this embodiment may further include the following steps on the basis of the above embodiments: if the transaction contract is an installment withdrawal transaction contract, and if the payer or the payer defaults, determine the second contract stage at which the payer or the payer defaults. ; Transfer the unpaid part of the payment in the second default stage to the preset bonus pool, and transfer the unpaid part of the payment back to the account corresponding to the payer.
具体地,若为分期取款交易合约,那么如果付款方或者取款方出现违约的情况,可以确定付款方所在的第二合约时段。将第二合约时段内的未支付支付金根据交易合约中“奖金池地址”参数转入预设的奖金池中,将未支付时段的支付金转回付款方的账户中,并且在区块链网络中记录双方的违约行为。Specifically, if it is an installment withdrawal transaction contract, if the payer or the payer defaults, the second contract period in which the payer is located can be determined. Transfer the unpaid payment in the second contract period into the preset bonus pool according to the "bonus pool address" parameter in the transaction contract, and transfer the payment in the unpaid period back to the payer's account, and in the blockchain The breach of contract by both parties is recorded in the network.
例如,若员工A或者公司X在试用期第二个月出现违约,那么可以将试用期第三个月的工资转入对应的奖金池,将转正以后的工资转回给公司X的账户。如果在转正以后出现违约,那么则可以把转正期剩余未支付的工资转入奖金池中。For example, if employee A or company X defaults in the second month of the probationary period, the salary of the third month of the probationary period can be transferred to the corresponding bonus pool, and the salary after the regularization can be transferred back to the account of company X. If there is a default after the regularization period, the remaining unpaid wages during the regularization period can be transferred to the bonus pool.
进一步地,本实施例在以上实施例的基础上还可以包括以下步骤:交易合约为分期付款交易合约,若付款方违约,判断付款方的违约状态是否达到预设的违约高度;若否,根据交易合约确定付款方应支付的违约金,以及,若在预设的违约高度内获取到违约金,在区块链网络中记录付款方的延期违约信息;若是,将交易合约标记为交易失败,并且,在区块链网络中记录付款方的失信违约信息。Further, this embodiment may further include the following steps on the basis of the above embodiments: the transaction contract is an installment payment transaction contract, and if the payer defaults, it is determined whether the default state of the payer has reached a preset default height; The transaction contract determines the liquidated damages that the payer should pay, and, if the liquidated damages are obtained within the preset default height, the payer's delayed default information is recorded in the blockchain network; if so, the transaction contract is marked as transaction failure, In addition, the untrustworthy default information of the payer is recorded in the blockchain network.
具体地,如果付款方出现违约行为,那么可以对付款方的违约状态是否达到预设的违约高度进行判定,例如,违约高度为付款期限后的一周内。如果没有达到预设的违约高度,那么可以计算出付款方应支付的违约金,如果能够在违约高度内收到付款方转入的支付金和违约金,则表示此时付款方只是延期违约,可以继续履行交易合约并且在区块链网络中记录延期违约信息。如果达到违约高度后,依旧没有获取到付款方支付的违约金和支付金,也就是说付款方的违约状态达到违约高度,那么表示交易失败,在区块链中记录付款方的失信违约信息。进一步地,如果是付款方出现为违约行为,那么可以直接将合约取消,付款方不必再转入支付金。Specifically, if the payer defaults, it can be determined whether the default state of the payer reaches a preset default height, for example, the default height is within one week after the payment deadline. If the preset default height is not reached, the liquidated damages payable by the payer can be calculated. If the payment and liquidated damages transferred by the payer can be received within the default height, it means that the payer is only delaying the default at this time. The transaction contract can continue to be fulfilled and the delay default information is recorded in the blockchain network. If after reaching the default height, the liquidated damages and payment fees paid by the payer are still not obtained, that is to say, the default status of the payer reaches the default height, which means that the transaction fails, and the untrustworthy default information of the payer is recorded in the blockchain. Further, if the payer is in breach of contract, the contract can be cancelled directly, and the payer does not need to transfer the payment.
区块链技术去中心化的特性,给我们的社会生活的优化提供更多的想象空间。特别是在构建社会诚信体系,最大限度的实现社会公平公正方面,将会起到越来越举足轻重的作用。本实施例的区块链网络中,将交易数据打包上链,能够接收全网的监督,公开透明、不可抵赖、不可篡改,形成了一种去中心化的信用体系,形成了链上自制,使得付款方和取款方均能够诚信的履行交易合约。The decentralized nature of blockchain technology provides more room for imagination to optimize our social life. In particular, it will play an increasingly important role in building a social credit system and maximizing social fairness and justice. In the blockchain network of this embodiment, the transaction data is packaged and put on the chain, which can receive the supervision of the entire network, is open and transparent, non-repudiation, and non-tampering, forming a decentralized credit system, forming on-chain self-control, This enables both the payer and the drawer to perform the transaction contract in good faith.
本发明还提供了一种基于区块链的分期支付装置,用于实现上述方法实施例。图2是本发明基于区块链的分期支付装置一种实施例提供的结构示意图。请参阅图2,本实施例的基于区块链的分期支付装置,包括:The present invention also provides a block chain-based installment payment device for implementing the above method embodiments. FIG. 2 is a schematic structural diagram provided by an embodiment of a block chain-based installment payment device of the present invention. Referring to Figure 2, the block chain-based installment payment device of this embodiment includes:
获取模块11,用于获取付款方或取款方上传的交易合约;The acquiring
获取模块11,还用于按照交易合约,获取付款方转入的支付金;The obtaining
监督模块12,用于监督付款方和取款方在交易过程中是否违反交易合约;The
转账模块13,用于若付款方和取款方均未出现违约,且交易的高度达到预设高度,则向取款方对应的账户转入支付金中交易合约规定的部分。The
本实施例的基于区块链的分期支付装置,应用于区块链网络中,获取模块 11获取付款方或取款方上传的交易合约;按照交易合约,获取付款方转入的支付金;监督模块12监督付款方和取款方在交易过程中是否违反交易合约,若付款方和取款方均未违约,且交易的高度达到预设高度,转账模块13向取款方对应的账户转入支付金中交易合约规定的部分。本技术方案基于区块链网络建立了一个去中心化的支付平台,能够进行分期支付,不仅数据安全有保障,而且区块链网络接受全网监督,公开透明,不可抵赖,不可篡改,自带信用体系,链上数据就能为数据准确性提供信用证明,因此无需耗费大量的时间与精力搭建和维护信用体系。The block chain-based installment payment device of this embodiment is applied to the block chain network, and the
进一步地,交易合约包括:分期付款交易合约;Further, the transaction contract includes: installment payment transaction contract;
对应地,本实施例的基于区块链的分期支付装置,还包括:Correspondingly, the block chain-based installment payment device in this embodiment further includes:
判断模块,用于若付款方违约,判断付款方的违约状态是否达到预设的违约高度;The judgment module is used to judge whether the default status of the payer has reached the preset default height if the payer defaults;
记录模块,用于若否,根据交易合约确定付款方应支付的违约金,以及,若在预设的违约高度内获取到违约金,在区块链网络中记录付款方的延期违约信息。The recording module is used to determine the liquidated damages to be paid by the payer according to the transaction contract if not, and, if the liquidated damages are obtained within the preset default height, record the delayed default information of the payer in the blockchain network.
进一步地,记录模块,还用于若付款方的违约状态达到违约高度,将交易合约标记为交易失败,并且,在区块链网络中记录付款方的失信违约信息。Further, the recording module is also used to mark the transaction contract as a transaction failure if the default state of the payer reaches the default height, and record the untrustworthy default information of the payer in the blockchain network.
进一步地,记录模块,还用于若取款方违约,将交易合约取消,并在区块链网络中记录取款方的违约信息。Further, the recording module is also used to cancel the transaction contract if the withdrawing party defaults, and record the defaulting information of the withdrawing party in the blockchain network.
进一步地,交易合约包括分期取款交易合约;Further, the transaction contract includes an installment withdrawal transaction contract;
对应地,获取模块,具体用于获取付款方转入的所有合约阶段的支付金;Correspondingly, the acquisition module is specifically used to acquire the payment of all contract stages transferred by the payer;
对应的,转账模块,具体用于确定取款方当前所在的第一合约阶段,以及,根据交易合约确定第一合约阶段规定的支取金额;Correspondingly, the transfer module is specifically used to determine the current first contract stage of the drawee, and to determine the withdrawal amount specified in the first contract stage according to the transaction contract;
将支取金额转入取款方账户。Transfer the withdrawn amount to the withdrawer's account.
对应地,还包括确定模块;Correspondingly, it also includes a determining module;
确定模块,用于若付款方或取款方违约,确定付款方或取款方违约时所在的第二合约阶段;The determination module is used to determine the second contract stage when the payer or the payer defaults if the payer or the payer defaults;
记录模块,还用于将支付金中,第二违约阶段内未支付的部分转入预设的奖金池,将支付金中,未支付阶段对应的部分转回付款方对应的账户,并在区块链网络中记录双方的违约信息。The recording module is also used to transfer the unpaid part of the payment in the second default stage to the preset bonus pool, and transfer the part of the payment corresponding to the unpaid stage back to the account corresponding to the payer, and in the district The default information of both parties is recorded in the blockchain network.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the above-mentioned embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be described in detail here.
本发明还提供了一组基于区块链的分期支付设备,用于实现上述方法实施例。图3是本发明基于区块链的分期支付设备一种实施例提供的结构示意图,请参阅图3,本实施例的基于区块链的分期支付设备包括处理器21和存储器22,所述处理器21与存储器22相连:The present invention also provides a set of block chain-based installment payment devices for implementing the above method embodiments. Fig. 3 is a schematic structural diagram provided by an embodiment of a blockchain-based installment payment device of the present invention. Please refer to Fig. 3. The blockchain-based installment payment device in this embodiment includes a
其中,所述处理器21,用于调用并执行所述存储器22中存储的程序;Wherein, the
所述存储器22,用于存储所述程序,所述程序至少用于执行以上实施例所述的基于区块链的分期支付方法。The
可以理解的是,上述各实施例中相同或相似部分可以相互参考,在一些实施例中未详细说明的内容可以参见其他实施例中相同或相似的内容。It can be understood that, the same or similar parts in the above embodiments may refer to each other, and the content not described in detail in some embodiments may refer to the same or similar content in other embodiments.
需要说明的是,在本发明的描述中,术语“第一”、“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性。此外,在本发明的描述中,除非另有说明,“多个”的含义是指至少两个。It should be noted that, in the description of the present invention, the terms "first", "second", etc. are only used for the purpose of description, and should not be construed as indicating or implying relative importance. Furthermore, in the description of the present invention, unless otherwise specified, the meaning of "plurality" means at least two.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本发明的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本发明的实施例所属技术领域的技术人员所理解。Any description of a process or method in the flowcharts or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing a specified logical function or step of the process , and the scope of the preferred embodiments of the invention includes alternative implementations in which the functions may be performed out of the order shown or discussed, including performing the functions substantially concurrently or in the reverse order depending upon the functions involved, which should It is understood by those skilled in the art to which the embodiments of the present invention belong.
应当理解,本发明的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA) 等。It should be understood that various parts of the present invention may be implemented in hardware, software, firmware or a combination thereof. In the above-described embodiments, various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or a combination of the following techniques known in the art: Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, Programmable Gate Arrays (PGA), Field Programmable Gate Arrays (FPGA), etc.
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。Those skilled in the art can understand that all or part of the steps carried by the methods of the above embodiments can be completed by instructing the relevant hardware through a program, and the program can be stored in a computer-readable storage medium, and the program can be stored in a computer-readable storage medium. When executed, one or a combination of the steps of the method embodiment is included.
此外,在本发明各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing module, or each unit may exist physically alone, or two or more units may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules. If the integrated modules are implemented in the form of software functional modules and sold or used as independent products, they may also be stored in a computer-readable storage medium.
上述提到的存储介质可以是只读存储器,磁盘或光盘等。The above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, and the like.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。In the description of this specification, description with reference to the terms "one embodiment," "some embodiments," "example," "specific example," or "some examples", etc., mean specific features described in connection with the embodiment or example , structure, material or feature is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
尽管上面已经示出和描述了本发明的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本发明的限制,本领域的普通技术人员在本发明的范围内可以对上述实施例进行变化、修改、替换和变型。Although the embodiments of the present invention have been shown and described above, it should be understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Embodiments are subject to variations, modifications, substitutions and variations.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010557378.7A CN111798230A (en) | 2020-06-18 | 2020-06-18 | Blockchain-based installment payment method, device and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010557378.7A CN111798230A (en) | 2020-06-18 | 2020-06-18 | Blockchain-based installment payment method, device and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111798230A true CN111798230A (en) | 2020-10-20 |
Family
ID=72804102
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010557378.7A Pending CN111798230A (en) | 2020-06-18 | 2020-06-18 | Blockchain-based installment payment method, device and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111798230A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112215611A (en) * | 2020-11-20 | 2021-01-12 | 中国联合网络通信集团有限公司 | Preference method based on block chain, seller node, terminal device and storage medium |
CN113052578A (en) * | 2021-04-21 | 2021-06-29 | 深圳壹账通智能科技有限公司 | Block chain based travel expense settlement method, device, equipment and storage medium |
CN113254486A (en) * | 2021-06-28 | 2021-08-13 | 卓尔智联(武汉)研究院有限公司 | Block chain information processing method and device |
CN116012155A (en) * | 2022-12-28 | 2023-04-25 | 杭州蚂蚁酷爱科技有限公司 | Method and device for processing digital resources in blockchain |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109146483A (en) * | 2018-08-31 | 2019-01-04 | 刘涵 | Credit record method and system based on block chain network |
CN110659992A (en) * | 2019-09-24 | 2020-01-07 | 北京艾摩瑞策科技有限公司 | Heavy metal transaction data processing method and device based on block chain |
CN110866830A (en) * | 2019-11-25 | 2020-03-06 | 腾讯科技(深圳)有限公司 | Data processing method based on block chain and related device |
CN110942315A (en) * | 2019-12-04 | 2020-03-31 | 杭州复杂美科技有限公司 | Credit payment method, apparatus and storage medium |
-
2020
- 2020-06-18 CN CN202010557378.7A patent/CN111798230A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109146483A (en) * | 2018-08-31 | 2019-01-04 | 刘涵 | Credit record method and system based on block chain network |
CN110659992A (en) * | 2019-09-24 | 2020-01-07 | 北京艾摩瑞策科技有限公司 | Heavy metal transaction data processing method and device based on block chain |
CN110866830A (en) * | 2019-11-25 | 2020-03-06 | 腾讯科技(深圳)有限公司 | Data processing method based on block chain and related device |
CN110942315A (en) * | 2019-12-04 | 2020-03-31 | 杭州复杂美科技有限公司 | Credit payment method, apparatus and storage medium |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112215611A (en) * | 2020-11-20 | 2021-01-12 | 中国联合网络通信集团有限公司 | Preference method based on block chain, seller node, terminal device and storage medium |
CN112215611B (en) * | 2020-11-20 | 2023-06-09 | 中国联合网络通信集团有限公司 | Block chain-based offer method, seller node equipment, terminal equipment and storage medium |
CN113052578A (en) * | 2021-04-21 | 2021-06-29 | 深圳壹账通智能科技有限公司 | Block chain based travel expense settlement method, device, equipment and storage medium |
CN113254486A (en) * | 2021-06-28 | 2021-08-13 | 卓尔智联(武汉)研究院有限公司 | Block chain information processing method and device |
CN116012155A (en) * | 2022-12-28 | 2023-04-25 | 杭州蚂蚁酷爱科技有限公司 | Method and device for processing digital resources in blockchain |
CN116012155B (en) * | 2022-12-28 | 2023-11-14 | 杭州蚂蚁酷爱科技有限公司 | Method and device for processing digital resources in blockchain |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111798230A (en) | Blockchain-based installment payment method, device and device | |
US20210326874A1 (en) | Transfer costs and lock timeouts in a resource transfer system | |
US20200234386A1 (en) | Systems and methods for using blockchains to record, manage, and transfer ownership rights to land titles | |
US11455642B1 (en) | Distributed ledger based interchange | |
CN109003175A (en) | A kind of account checking method and system based on block chain | |
US20190325512A1 (en) | Using a Distributed Ledger for Tracking Debt Data | |
TWI785271B (en) | Project processing method and device, computing device and storage medium | |
CN110148054A (en) | Financing by accounts receivable loan method, equipment, medium and system based on block chain | |
TW202036434A (en) | Blockchain-based transfer method and system, computing device and storage medium | |
CN107392578B (en) | Indirect payment method and system for digital currency | |
CN109325848A (en) | Blockchain-based debt collection method, device and computer-readable storage medium | |
TWM554608U (en) | Blockchain-based insurance service system | |
US20150302382A1 (en) | System for managing multi-party transactions | |
WO2020216053A1 (en) | Distributed data processing method, device, apparatus and medium | |
CN115526617A (en) | Block chain-based digital RMB payment method, system, medium and equipment | |
CN114493519A (en) | Flexible employment business processing method, system, device and equipment based on block chain platform | |
CN110310125A (en) | Fundraising donation authentication method, system, blockchain platform and storage medium | |
CN114926249A (en) | House rental data processing method and device based on block chain | |
CN115439191A (en) | Method and system for processing order refund application | |
CN115471368A (en) | Intellectual property trading method and system based on block chain and intelligent contract | |
EP3651097A1 (en) | Method and system for implementing a conditional payment transaction | |
TWI682348B (en) | Insurance service system and method thereof for blockchain-based smart contract | |
CN106991579A (en) | A kind of electric power remote real-time fee control method | |
CN109377371A (en) | A kind of block chain financial transaction system based in building field | |
US20240330877A1 (en) | Transfer of liquid staking tokens |
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 | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20241017 Address after: 324000 Room 1806C, 18th Floor, Building 1, No. 288 Qinjiang East Road, Baiyun Street, Kecheng District, Quzhou City, Zhejiang Province (self declared) Applicant after: Zhongke Dianbao (Zhejiang) Technology Co.,Ltd. Country or region after: China Address before: Building 8C2, Yunfang Original Battery Factory Cultural and Creative Park, No. 47 Puji Road, Wuhua District, Kunming City, Yunnan Province, 650000 Applicant before: Kunming dagangke Technology Co.,Ltd. Country or region before: China |
|
TA01 | Transfer of patent application right | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20201020 |