CN111242630A - Settlement method and device based on block chain and storage medium - Google Patents
Settlement method and device based on block chain and storage medium Download PDFInfo
- Publication number
- CN111242630A CN111242630A CN201911317337.4A CN201911317337A CN111242630A CN 111242630 A CN111242630 A CN 111242630A CN 201911317337 A CN201911317337 A CN 201911317337A CN 111242630 A CN111242630 A CN 111242630A
- Authority
- CN
- China
- Prior art keywords
- data
- settlement
- transaction
- party
- optimized
- 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
- 238000000034 method Methods 0.000 title claims abstract description 31
- 238000005457 optimization Methods 0.000 claims abstract description 28
- 230000000694 effects Effects 0.000 claims abstract description 4
- 230000006870 function Effects 0.000 claims description 3
- 230000008859 change Effects 0.000 abstract description 3
- 230000006978 adaptation Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008094 contradictory effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
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/405—Establishing or using transaction specific rules
-
- 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
- G06Q10/00—Administration; Management
- G06Q10/04—Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
Abstract
The invention discloses a settlement method based on a block chain, which is applied to a multi-party transaction system, wherein the multi-party transaction system can meet the requirements of transaction and expense settlement of a plurality of business parties, and the method comprises the following steps: judging whether a business party initiates a new business requirement to change the business requirement of the whole multi-party transaction system, if so, entering the next step; optimizing the transaction data of the current multi-party transaction system according to the new service requirement to obtain optimized transaction data; judging whether the optimized transaction data achieves the optimization effect compared with the transaction data before optimization, if so, entering the next step; and publishing the publicable data in the optimized transaction data in a settlement block chain and performing automatic settlement. The invention realizes intelligent optimized configuration and automatic settlement of the whole multi-party transaction system, saves time for adjusting strategies among business parties, and improves decision efficiency and settlement efficiency of the whole multi-party transaction system.
Description
Technical Field
The present invention relates to the field of blockchain technology, and in particular, to a method and an apparatus for settlement based on blockchain, and a storage medium.
Background
Blockchains were first proposed as an underlying support technique for bitcoins. Generally, the blockchain technology refers to a brand-new decentralized infrastructure and distributed computing paradigm of verifying and storing data by using an encrypted chain blockstructure, generating and updating data by using a distributed node consensus algorithm, and programming and operating data by using an intelligent contract, and has the technical characteristics of sharing, encryption, non-tampering and the like. Currently, a block chain has been applied in different fields, for a multi-party transaction system in which a plurality of business parties perform transactions, the existing block chain technology cannot optimize and intelligently settle transaction data according to the change of demands, and each business party needs to adjust a business strategy according to the business demands.
Disclosure of Invention
The purpose of the invention is as follows: in order to overcome the defects in the prior art, the invention provides a block chain-based settlement method, a block chain-based settlement device and a block chain-based settlement medium, wherein the block chain-based settlement method, the block chain-based settlement device and the block chain-based settlement medium can optimize and settle transaction data according to the service requirements of each node.
The technical scheme is as follows: in order to achieve the above object, the settlement method based on block chains according to the present invention is applied to a multi-party transaction system, wherein the multi-party transaction system can satisfy a plurality of business parties for transaction and settlement of fees, and the method comprises:
judging whether a business party initiates a new business requirement so that the business requirement of the whole multi-party transaction system changes, if so, entering the next step;
optimizing the transaction data of the current multi-party transaction system according to the new service requirement to obtain optimized transaction data;
judging whether the optimized transaction data achieves the optimization effect compared with the transaction data before optimization, if so, entering the next step;
and publishing the publicable data in the optimized transaction data in a settlement block chain and performing automatic settlement.
Further, the optimizing the transaction data of the current multi-party transaction system according to the new business requirements to obtain optimized transaction data includes:
confirming the source of the received service demand data, and judging whether the source is legal or not;
obtaining legal service demand data and confirming parameters to be optimized;
and substituting the service requirements into the optimization algorithm and the optimization model to calculate to obtain optimized transaction data.
Further, before substituting the service requirement into the optimization algorithm and the optimization model for calculation to obtain optimized transaction data, the method further includes:
and determining an optimization objective function and constraint conditions according to the transaction types of the multi-party transaction system to form an optimization algorithm and an optimization model.
Further, the publishing and automatic settlement of the publicable data in the optimized transaction data in the chain of settlement blocks comprises:
publishing the publicable data in the optimized transaction data in a settlement block chain;
judging whether all business parties participating in the transaction respond completely, if so, entering the next step;
and automatically settling accounts of all business parties participating in the transaction according to the optimized transaction data.
Further, the publishing the publicable data in the optimized transaction data in the settlement block chain comprises:
acquiring public data rules of all service parties;
according to the public data rule of each service party, the transaction data corresponding to the service party in the optimized transaction data are converted to form converted service data;
summarizing the transfer service data of each service party to form issuable data;
and publishing the publishable data in a settlement block chain.
A block chain based settlement apparatus includes a processor and a memory;
the memory is used for storing an executable program;
the processor is configured to execute the executable program to implement the above block chain based settlement method.
A storage medium having stored thereon an executable program which, when executed, implements the above block chain based settlement method.
Has the advantages that: according to the settlement method, device and storage medium based on the block chain, disclosed by the invention, the business data is optimized and settled after a business party puts forward a new business requirement, so that the intelligent optimization configuration and automatic settlement of the whole multi-party transaction system are realized, the time for adjusting the strategy among the business parties is saved, and the decision efficiency and settlement efficiency of the whole multi-party transaction system are improved.
Drawings
Fig. 1 is a flow diagram of a settlement method based on a blockchain.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. 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.
It should be noted that the description relating to "first", "second", etc. in the present invention is for descriptive purposes only and is not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
In addition, in the following description, suffixes such as "module", "part", or "unit" used to denote elements are used only for facilitating the description of the present invention, and have no specific meaning in themselves. Thus, "module", "component" or "unit" may be used mixedly.
The settlement method based on block chain as shown in fig. 1 is applied to a multi-party transaction system, which can satisfy transaction and settlement of fees for a plurality of business parties, and the method includes the following steps S101-S104:
step S101, judging whether a service party initiates a new service requirement to change the service requirement of the whole multi-party transaction system, if so, entering step S102;
step S102, transaction data of the current multi-party transaction system is optimized according to the new business requirements to obtain optimized transaction data;
step S103, judging whether the optimized transaction data achieves an optimization effect compared with the transaction data before optimization, if so, entering step S104;
and step S104, releasing the publicable data in the optimized transaction data in a settlement block chain and performing automatic settlement.
Preferably, the step S102 specifically includes the following steps S201 to S203:
step S201, confirming the source of the received service demand data, and judging whether the source is legal;
step S202, obtaining legal service requirement data and confirming parameters to be optimized;
and step S203, substituting the service requirements into the optimization algorithm and the optimization model to calculate to obtain optimized transaction data.
Preferably, step S301 is further included before step S102:
step S301, determining an optimization objective function and constraint conditions according to the transaction types of the multi-party transaction system to form an optimization algorithm and an optimization model.
Preferably, the step S104 specifically includes the following steps S401 to S403:
step S401, publishing the publicable data in the optimized transaction data in a settlement block chain;
step S402, judging whether all business parties participating in the transaction complete responses, if yes, entering step S403;
and S403, automatically settling accounts of all business parties participating in the transaction according to the optimized transaction data.
Preferably, the step S401 includes the following steps S501 to S504:
step S501, public data rules of all service parties are obtained;
step S502, according to the public data rule of each business party, the transaction data corresponding to the business party in the optimized transaction data is transferred to form transfer business data;
step S503, summarizing the transfer service data of each service party to form issuable data;
and step S504, issuing the issuable data in a settlement block chain.
The invention also provides a clearing device based on the block chain, which comprises a processor and a memory; the memory is used for storing an executable program; the processor is configured to execute the executable program to implement the above block chain based settlement method.
The present invention also provides a storage medium having stored thereon an executable program that, when executed, implements the above-described blockchain-based settlement method.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only of the preferred embodiments of the present invention, and it should be noted that: it will be apparent to those skilled in the art that various modifications and adaptations can be made without departing from the principles of the invention and these are intended to be within the scope of the invention.
Claims (7)
1. A settlement method based on block chain is characterized in that the settlement method is applied to a multi-party transaction system, the multi-party transaction system can satisfy a plurality of business parties to carry out transaction and settlement of fees, and the method comprises the following steps:
judging whether a business party initiates a new business requirement so that the business requirement of the whole multi-party transaction system changes, if so, entering the next step;
optimizing the transaction data of the current multi-party transaction system according to the new service requirement to obtain optimized transaction data;
judging whether the optimized transaction data achieves the optimization effect compared with the transaction data before optimization, if so, entering the next step;
and publishing the publicable data in the optimized transaction data in a settlement block chain and performing automatic settlement.
2. The blockchain-based settlement method according to claim 1, wherein the optimizing the transaction data of the current multi-party transaction system according to the new business requirement to obtain the optimized transaction data comprises:
confirming the source of the received service demand data, and judging whether the source is legal or not;
obtaining legal service demand data and confirming parameters to be optimized;
and substituting the service requirements into the optimization algorithm and the optimization model to calculate to obtain optimized transaction data.
3. The blockchain-based settlement method according to claim 1, wherein before the step of substituting the business requirements into the optimization algorithm and the optimization model to calculate optimized transaction data, the method further comprises:
and determining an optimization objective function and constraint conditions according to the transaction types of the multi-party transaction system to form an optimization algorithm and an optimization model.
4. The blockchain-based settlement method according to claim 1, wherein the issuing and automatically settling publicly-available data in the optimized transaction data in the settlement blockchain comprises:
publishing the publicable data in the optimized transaction data in a settlement block chain;
judging whether all business parties participating in the transaction respond completely, if so, entering the next step;
and automatically settling accounts of all business parties participating in the transaction according to the optimized transaction data.
5. The blockchain-based settlement method according to claim 4, wherein the publishing the publicable data in the optimized transaction data in the settlement blockchain comprises:
acquiring public data rules of all service parties;
according to the public data rule of each service party, the transaction data corresponding to the service party in the optimized transaction data are converted to form converted service data;
summarizing the transfer service data of each service party to form issuable data;
and publishing the publishable data in a settlement block chain.
6. A block chain based settlement device is characterized by comprising a processor and a memory;
the memory is used for storing an executable program;
the processor is configured to execute the executable program to implement the blockchain-based settlement method according to any one of claims 1 to 5.
7. A storage medium having stored thereon an executable program which when executed performs the blockchain-based settlement method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911317337.4A CN111242630A (en) | 2019-12-19 | 2019-12-19 | Settlement method and device based on block chain and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911317337.4A CN111242630A (en) | 2019-12-19 | 2019-12-19 | Settlement method and device based on block chain and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111242630A true CN111242630A (en) | 2020-06-05 |
Family
ID=70877605
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911317337.4A Pending CN111242630A (en) | 2019-12-19 | 2019-12-19 | Settlement method and device based on block chain and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111242630A (en) |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106204241A (en) * | 2016-07-25 | 2016-12-07 | 四川易想电子商务有限公司 | A kind of electronic commerce transaction system |
CN107451175A (en) * | 2017-05-23 | 2017-12-08 | 阿里巴巴集团控股有限公司 | A kind of data processing method and equipment based on block chain |
CN108376368A (en) * | 2018-03-07 | 2018-08-07 | 物数(上海)信息科技有限公司 | Endorsement strategy determines method, apparatus, electronic equipment, storage medium |
CN108769173A (en) * | 2018-05-21 | 2018-11-06 | 阿里体育有限公司 | The block chain implementation method and equipment of the intelligent contract of operation |
CN108805704A (en) * | 2018-05-16 | 2018-11-13 | 深圳市网心科技有限公司 | Block chain service implementation method, audiomonitor, storage medium and system |
CN108921329A (en) * | 2018-06-08 | 2018-11-30 | 北京工商大学 | A kind of food transaction Method of Optimal Matching based on block chain technology |
CN109165944A (en) * | 2018-08-21 | 2019-01-08 | 北京京东金融科技控股有限公司 | Multiple party signatures authentication method, device, equipment and storage medium based on block chain |
CN109284843A (en) * | 2018-08-22 | 2019-01-29 | 泰康保险集团股份有限公司 | Office space management method, device, medium and electronic equipment based on block chain |
US20190043024A1 (en) * | 2017-08-05 | 2019-02-07 | Proclus Technologies Limited | Method and System for Securing a Blockchain with Proof-of-Transactions |
CN109377216A (en) * | 2018-08-07 | 2019-02-22 | 阿里巴巴集团控股有限公司 | A kind of method of commerce and system for depositing card based on centralization clearing and block chain |
WO2019100991A1 (en) * | 2017-11-27 | 2019-05-31 | 北京京东金融科技控股有限公司 | Information processing method, device and system, storage medium, and electronic device |
CN110059970A (en) * | 2019-04-23 | 2019-07-26 | 南京工程学院 | A kind of network system method of commerce based on block chain technology |
CN110175913A (en) * | 2019-04-12 | 2019-08-27 | 阿里巴巴集团控股有限公司 | Data processing system, method, calculating equipment and storage medium based on block chain |
CN110232634A (en) * | 2019-06-05 | 2019-09-13 | 湖南道业信息科技有限公司 | Block chain common recognition method, block chain common recognition system and computer readable storage medium |
CN110348643A (en) * | 2019-07-18 | 2019-10-18 | 国网冀北电力有限公司技能培训中心 | A kind of distributed power transaction contract common recognition method based on energy block chain |
-
2019
- 2019-12-19 CN CN201911317337.4A patent/CN111242630A/en active Pending
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106204241A (en) * | 2016-07-25 | 2016-12-07 | 四川易想电子商务有限公司 | A kind of electronic commerce transaction system |
CN107451175A (en) * | 2017-05-23 | 2017-12-08 | 阿里巴巴集团控股有限公司 | A kind of data processing method and equipment based on block chain |
US20190043024A1 (en) * | 2017-08-05 | 2019-02-07 | Proclus Technologies Limited | Method and System for Securing a Blockchain with Proof-of-Transactions |
WO2019100991A1 (en) * | 2017-11-27 | 2019-05-31 | 北京京东金融科技控股有限公司 | Information processing method, device and system, storage medium, and electronic device |
CN108376368A (en) * | 2018-03-07 | 2018-08-07 | 物数(上海)信息科技有限公司 | Endorsement strategy determines method, apparatus, electronic equipment, storage medium |
CN108805704A (en) * | 2018-05-16 | 2018-11-13 | 深圳市网心科技有限公司 | Block chain service implementation method, audiomonitor, storage medium and system |
CN108769173A (en) * | 2018-05-21 | 2018-11-06 | 阿里体育有限公司 | The block chain implementation method and equipment of the intelligent contract of operation |
CN108921329A (en) * | 2018-06-08 | 2018-11-30 | 北京工商大学 | A kind of food transaction Method of Optimal Matching based on block chain technology |
CN109377216A (en) * | 2018-08-07 | 2019-02-22 | 阿里巴巴集团控股有限公司 | A kind of method of commerce and system for depositing card based on centralization clearing and block chain |
CN109165944A (en) * | 2018-08-21 | 2019-01-08 | 北京京东金融科技控股有限公司 | Multiple party signatures authentication method, device, equipment and storage medium based on block chain |
CN109284843A (en) * | 2018-08-22 | 2019-01-29 | 泰康保险集团股份有限公司 | Office space management method, device, medium and electronic equipment based on block chain |
CN110175913A (en) * | 2019-04-12 | 2019-08-27 | 阿里巴巴集团控股有限公司 | Data processing system, method, calculating equipment and storage medium based on block chain |
CN110059970A (en) * | 2019-04-23 | 2019-07-26 | 南京工程学院 | A kind of network system method of commerce based on block chain technology |
CN110232634A (en) * | 2019-06-05 | 2019-09-13 | 湖南道业信息科技有限公司 | Block chain common recognition method, block chain common recognition system and computer readable storage medium |
CN110348643A (en) * | 2019-07-18 | 2019-10-18 | 国网冀北电力有限公司技能培训中心 | A kind of distributed power transaction contract common recognition method based on energy block chain |
Non-Patent Citations (1)
Title |
---|
范吉立;何蒲;李晓华;聂铁铮;于戈;: "基于区块链的去中心化物品共享交易服务系统", 计算机应用, no. 05 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020192272A1 (en) | Blockchain-based transfer method and system, computing device and storage medium | |
WO2020211491A1 (en) | Block chain-based project auditing system and method, computing device and storage medium | |
CN110049087B (en) | Credibility verification method, system, device and equipment of alliance chain | |
CN109859043B (en) | Transaction clearing method and transaction clearing system | |
CN111460504B (en) | Service processing method, device, node equipment and storage medium | |
CN110851531B (en) | Cooperative edge computing method, block chain and cooperative edge computing system | |
CN110046901B (en) | Credibility verification method, system, device and equipment of alliance chain | |
CN110009501B (en) | Financing method, system, computing device and storage medium based on blockchain | |
CN112600887A (en) | Computing power management method and device | |
CN112381543A (en) | Multiple signature transaction method, device and storage medium | |
CN112950201B (en) | Node management method and related device applied to block chain system | |
WO2021203739A1 (en) | Blockchain rollback insuring method, device, and storage medium | |
CN109785145B (en) | Fixed-point drugstore financing method based on block chain, storage medium and computer equipment | |
KR20210106013A (en) | Preventing transmission of incorrect copies of data records to distributed ledger systems | |
CN111242630A (en) | Settlement method and device based on block chain and storage medium | |
CN111177262A (en) | Block chain consensus method, related device and system | |
CN110889682A (en) | Payment information processing method, device, medium and equipment based on block chain | |
CN115879889A (en) | Service processing method and device based on block chain and computer equipment | |
CN113159998A (en) | Community service management method and device | |
CN112541768A (en) | Centralized routing method and device, electronic equipment and computer-readable storage medium | |
CN110889771A (en) | Account processing method and device, electronic equipment and computer readable medium | |
CN115208817B (en) | Trusted cross-link routing method based on cross-link gateway and Floyd algorithm | |
CN109191295A (en) | A kind of information processing method and its equipment | |
CN111967960B (en) | Batch adjustment method and device for account data | |
CN101751631A (en) | Monetary reward settlement device, monetary reward settlement system and settlement method |
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 |