CN108681891A - A kind of Multiple Currencies tranaction costs collection methods based on block chain - Google Patents
A kind of Multiple Currencies tranaction costs collection methods based on block chain Download PDFInfo
- Publication number
- CN108681891A CN108681891A CN201810510643.9A CN201810510643A CN108681891A CN 108681891 A CN108681891 A CN 108681891A CN 201810510643 A CN201810510643 A CN 201810510643A CN 108681891 A CN108681891 A CN 108681891A
- Authority
- CN
- China
- Prior art keywords
- token
- transaction
- chargings
- gas
- block chain
- 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
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/04—Payment circuits
- G06Q20/06—Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
- G06Q20/065—Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
-
- 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
Abstract
The Multiple Currencies tranaction costs collection methods based on block chain that the invention discloses a kind of, include the following steps:First service charge is calculated according to transaction size;Gas chargings are preferentially used, if gas payments expense is inadequate, directly switch token chargings;If transaction currency is token, general transaction gas is produced completely using token chargings.The present invention reduces transaction cost by optimizing collecting for tranaction costs;The token for distinguishing charging makes it in a metastable range, and price fluctuation is small;It reduces mine machine to participate in, economize on resources;It reduces and digs mine disaster degree, cancel and dig mine reward mechanism, improve out the block time, reduce opportunistic practice;Tranaction costs flexibly configurable is suitble to different business demands.
Description
Technical field
The present invention relates to block chain technology new application pattern, specifically a kind of Multiple Currencies tranaction costs based on block chain
Collection methods.
Background technology
Block chain technology is also referred to as distributed account book technology, is a kind of internet database technology, its main feature is that in going
It is the heart, open and clear.It is the Floor layer Technology of bit coin earliest, is widely used at present and the fields such as finance.
Bit coin charging is to calculate (referring to Fig.1) by the data volume of transaction, goes to be packaged by miner and merchandise and carry out excellent
The time of first encouragement and competition principle, the higher trade confirmation of transaction fee is shorter;Conversely, then longer.Bit coin price fluctuation is big, total
The upper limit 21,000,000 is measured, tranaction costs are excessively high.
Ether mill billing structure (franc buys eth, and eth is automatically converted to charging gas, with reference to Fig. 2)
1, eth transaction needs to pay 21000gas;
2, it creates intelligent contract basis and spends 53000gas.
But user oneself can set the price of gas, so tranaction costs=gas quantity * gas prices, each block
Gas limited amounts, miner is preferentially packaged the high transaction of gas prices, if the gas prices of setting are more than the upper limit, trade fair quilt
Refusal.
Intelligent contract charging is according to following two aspects:
1, the number and complexity executed instruction;
2, storage data structure size uses gas chargings, and eth is used in combination to pay.
With the fast development in market, bit coin ether mill price fluctuation range is big, and the relative cost of transaction is very
Costliness, or even exceeded the service charge of traditional financial system, and also a large amount of mine machine participates in digging mine, consuming resource is excessive,
It is incremental big to dig mine disaster degree, cost is excessively high, and changes collecting for tranaction costs, reduces the gap of Multiple Currencies transaction, and it is general to reinforce industry
And degree.
Therefore, for the above present situation, the Multiple Currencies tranaction costs collection methods based on block chain that there is an urgent need to develop a kind of,
To overcome the shortcomings of in currently practical application.
Invention content
The Multiple Currencies tranaction costs collection methods based on block chain that the purpose of the present invention is to provide a kind of, it is above-mentioned to solve
The problem of being proposed in background technology.
To achieve the above object, the present invention provides the following technical solutions:
A kind of Multiple Currencies tranaction costs collection methods based on block chain, include the following steps:
S1 first calculates service charge according to transaction size;
S2 preferentially uses gas chargings, if gas payments expense is inadequate, directly switches token chargings;
S3, if transaction currency is token, general transaction gas is produced completely using token chargings.
As a further solution of the present invention:In step sl, if it is using the gas chargings, service charge not to allow to occur
The case where being 0;If it is token, then needing to configure allows service charge to be 0, and service charge is 0 transaction in memory pool but not by it
He is packaged node, this node, which has, digs mine function, oneself can be packaged the transaction, is packaged and can be used by 1 confirmation.
As a further solution of the present invention:The excessively high service charge of service charge open configuration, then the transaction of high service charge
It can recognize, when closing the configuration, then be no more than the maximum service charge of configuration.
As a further solution of the present invention:It after general transaction is packaged, needs to use after 1 confirms, hair coin transaction
After packing, needs to confirm ability normal use by 101, before not being properly acknowledged, be in frozen state.
As a further solution of the present invention:If general transaction using token chargings, that is, uses 0.01 token;If making
With gas chargings, that is, use 1 gas.
As a further solution of the present invention:If sending out coin transaction using token chargings, that is, use 100 token;If making
With gas chargings, that is, use 10000gas.
Compared with prior art, the beneficial effects of the invention are as follows:
The Multiple Currencies tranaction costs collection methods based on block chain reduce transaction by optimizing collecting for tranaction costs
Cost;The token for distinguishing charging makes it in a metastable range, and price fluctuation is small;It reduces mine machine to participate in, saves money
Source;It reduces and digs mine disaster degree, cancel and dig mine reward mechanism, improve out the block time, reduce opportunistic practice;Tranaction costs can flexibly match
It sets, is suitble to different business demands.
Description of the drawings
Fig. 1 is bit coin transaction billing structure schematic diagram.
Fig. 2 is ether mill transaction billing structure schematic diagram.
Fig. 3 is bullockchain general transaction billing structure schematic diagrames.
Fig. 4 is bullockchain hair coin transaction billing structure schematic diagrames.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
The Multiple Currencies tranaction costs collection methods based on block chain are broadly divided into general transaction and hair coin transaction.
【1】General transaction (money transfer transactions, with reference to Fig. 3)
1) first service charge (such as token is calculated according to transaction size:0.01COIN/KB, GAS:0.1COIN/KB is packaged
Confirm by 1 and can be used);
2) if service charge is too low or is 0, it is possible to occur merchandising in memory pool but not the case where be packaged, this section
Point, which has, digs mine function, oneself can be packaged the transaction;
3) gas chargings, gas total amounts (1000000000000000001-1) are preferentially used, if gas payments expense is inadequate,
Directly switch token chargings;
If 4) transaction currency is token, general transaction gas is produced completely using token chargings;Here what is calculated is big
It is small, not true size, the sizes of virtual for statistics of merchandising;
5) the excessively high service charge of service charge open configuration, then the transaction of high service charge can be recognized, when closing the configuration,
The maximum service charge of configuration is not allowed more than then.
【2】Send out coin transaction (the new token of distribution, with reference to Fig. 4)
If it is to use 100 token 1) using token chargings;
2) if it is gas chargings, that is, 10000gas, the transaction need to confirm that ability is normal by 101 after being packaged
It uses, before not being properly acknowledged, is in frozen state.
This method mainly solves the problems, such as:Tranaction costs do not use token payments (with reference to Fig. 3, Fig. 4) directly, but
Issue additional it is a kind of it is special calculate the gastoken of service charge, gas is bought by rmb, is not directly affected by token, market
Fluctuate small, total amount is big, and price steadiness, penny ante is of relatively low cost, and eliminates and dig mine trade encouragement mechanism, does not have early period
The participation for having large ore machine, economize on resources reasonable utilization.
The Multiple Currencies tranaction costs collection methods based on block chain reduce transaction by optimizing collecting for tranaction costs
Cost;The token for distinguishing charging makes it in a metastable range, and price fluctuation is small;It reduces mine machine to participate in, saves money
Source;It reduces and digs mine disaster degree, cancel and dig mine reward mechanism, improve out the block time, reduce opportunistic practice;Tranaction costs can flexibly match
It sets, is suitble to different business demands.
The above are merely the preferred embodiment of the present invention, it is noted that for those skilled in the art, not
Under the premise of being detached from present inventive concept, several modifications and improvements can also be made, these should also be considered as the protection model of the present invention
It encloses, these all do not interfere with the effect and patent practicability that the present invention is implemented.
Claims (6)
1. a kind of Multiple Currencies tranaction costs collection methods based on block chain, which is characterized in that include the following steps:
S1 first calculates service charge according to transaction size;
S2 preferentially uses gas chargings, if gas payments expense is inadequate, directly switches token chargings;
S3, if transaction currency is token, general transaction gas is produced completely using token chargings.
2. the Multiple Currencies tranaction costs collection methods according to claim 1 based on block chain, which is characterized in that in step
In S1, if it is gas chargings are used, service charge does not allow to occur the case where being 0;If it is token, then permission hand is needed to configure
It is 0 to continue to pay dues, and service charge is that 0 transaction is packaged in memory pool but not by other nodes, this node, which has, digs mine function, oneself can beat
The transaction is wrapped, is packaged and confirms to be that can be used by 1.
3. the Multiple Currencies tranaction costs collection methods according to claim 1 or 2 based on block chain, which is characterized in that hand
The excessively high service charge of the open configuration that continues to pay dues when closing the configuration, is then no more than configuration then the transaction of high service charge can be recognized
Maximum service charge.
4. the Multiple Currencies tranaction costs collection methods according to claim 1 based on block chain, which is characterized in that common to hand over
It after being easily packaged, needs to use after 1 confirmation, after hair coin transaction is packaged, needs to confirm ability normal use by 101,
Before not being properly acknowledged, it is in frozen state.
5. the Multiple Currencies tranaction costs collection methods according to claim 1 based on block chain, which is characterized in that common to hand over
Yi Ruo uses token chargings, that is, uses 0.01 token;If using gas chargings, that is, use 1 gas.
6. the Multiple Currencies tranaction costs collection methods based on block chain according to claim 1 or 5, which is characterized in that hair
If coin is merchandised using token chargings, that is, use 100 token;If using gas chargings, that is, use 10000gas.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810510643.9A CN108681891A (en) | 2018-05-24 | 2018-05-24 | A kind of Multiple Currencies tranaction costs collection methods based on block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810510643.9A CN108681891A (en) | 2018-05-24 | 2018-05-24 | A kind of Multiple Currencies tranaction costs collection methods based on block chain |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108681891A true CN108681891A (en) | 2018-10-19 |
Family
ID=63808249
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810510643.9A Pending CN108681891A (en) | 2018-05-24 | 2018-05-24 | A kind of Multiple Currencies tranaction costs collection methods based on block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108681891A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109784883A (en) * | 2018-12-20 | 2019-05-21 | 众安信息技术服务有限公司 | A kind of charging method, block catenary system and storage medium based on the logical card of block chain |
CN109831501A (en) * | 2019-01-30 | 2019-05-31 | 京东数字科技控股有限公司 | Information dispensing method and system based on block chain |
CN109903163A (en) * | 2019-03-05 | 2019-06-18 | 杭州秘猿科技有限公司 | A kind of block bonusing method, device and the electronic equipment out of block chain |
CN110060163A (en) * | 2019-04-16 | 2019-07-26 | 亦非云互联网技术(上海)有限公司 | Method of commerce, system, medium and the device of podcast chain based on ether mill |
CN110597916A (en) * | 2019-09-21 | 2019-12-20 | 腾讯科技(深圳)有限公司 | Data processing method and device based on block chain, storage medium and terminal |
CN111401866A (en) * | 2020-03-13 | 2020-07-10 | 杭州复杂美科技有限公司 | Method, apparatus and storage medium for pre-storing and deducting commission fee |
CN111461688A (en) * | 2020-04-02 | 2020-07-28 | 国金区块链科技(杭州)有限公司 | Service charging system based on block chain technology and charging method thereof |
-
2018
- 2018-05-24 CN CN201810510643.9A patent/CN108681891A/en active Pending
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109784883A (en) * | 2018-12-20 | 2019-05-21 | 众安信息技术服务有限公司 | A kind of charging method, block catenary system and storage medium based on the logical card of block chain |
CN109831501A (en) * | 2019-01-30 | 2019-05-31 | 京东数字科技控股有限公司 | Information dispensing method and system based on block chain |
CN109903163A (en) * | 2019-03-05 | 2019-06-18 | 杭州秘猿科技有限公司 | A kind of block bonusing method, device and the electronic equipment out of block chain |
CN110060163A (en) * | 2019-04-16 | 2019-07-26 | 亦非云互联网技术(上海)有限公司 | Method of commerce, system, medium and the device of podcast chain based on ether mill |
CN110597916A (en) * | 2019-09-21 | 2019-12-20 | 腾讯科技(深圳)有限公司 | Data processing method and device based on block chain, storage medium and terminal |
CN111401866A (en) * | 2020-03-13 | 2020-07-10 | 杭州复杂美科技有限公司 | Method, apparatus and storage medium for pre-storing and deducting commission fee |
CN111461688A (en) * | 2020-04-02 | 2020-07-28 | 国金区块链科技(杭州)有限公司 | Service charging system based on block chain technology and charging method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108681891A (en) | A kind of Multiple Currencies tranaction costs collection methods based on block chain | |
CN107240002B (en) | Electric power transaction method and device and micro-grid system | |
CN108491980A (en) | Micro-capacitance sensor intelligent node trade decision method based on cloud sector block chain service platform | |
CN102521921A (en) | Charge control device, prepayment electricity selling system, electricity selling system and method thereof | |
CN105069685A (en) | Internet-based currency exchange and settlement method and system | |
CN106373026A (en) | User portrait construction method for power industry | |
CN103020816A (en) | Online virtual currency third-party credit method and data processing system thereof | |
Fan et al. | A study of pricing and trading model of Blockchain & Big data-based Energy-Internet electricity | |
CN107507103A (en) | A kind of computational methods and device of the clearing of Electricity retail market marketization electricity | |
CN107566133A (en) | A kind of resource billing method, device and platform | |
Pérez Arriaga | Cross-border tarification in the internal electricity market of the European Union | |
CN109615468A (en) | A kind of receipts payment administrative system and method | |
KR101922912B1 (en) | Cryptocurrency prepaid card transaction method and system | |
CN112132306A (en) | Electric power transaction method based on block chain technology | |
Bergman | The Nordic electricity market-continued success or emerging problems? | |
CN106203997A (en) | A kind of electronic purse recharging method and system | |
Krishnaswamy et al. | Closing the electricity supply-demand gap | |
CN101944255A (en) | Account recharging operation of comprehensive payment management system | |
CN105868929B (en) | Intelligent power fee management system of power supply unit based on CAN (controller area network) special line technology | |
Su et al. | Research on Inter-Provincial Electricity Market Transaction Segmentation and Settlement in Southern China | |
Mishra et al. | Indian electricity market: Present status and future directions | |
Friedmann | Financing energy in developing countries | |
KR101922913B1 (en) | Cryptocurrency prepaid card transaction method and system | |
CN111062703A (en) | Construction enterprise supplier payment management system and method based on block chain | |
JP2020091871A (en) | System for generating power transaction history |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181019 |