CN109033252A - A kind of truck data processing method based on block chain - Google Patents
A kind of truck data processing method based on block chain Download PDFInfo
- Publication number
- CN109033252A CN109033252A CN201810735498.4A CN201810735498A CN109033252A CN 109033252 A CN109033252 A CN 109033252A CN 201810735498 A CN201810735498 A CN 201810735498A CN 109033252 A CN109033252 A CN 109033252A
- Authority
- CN
- China
- Prior art keywords
- user node
- coin
- database
- air control
- certificate
- 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
- 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)
- Finance (AREA)
- Engineering & Computer Science (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Technology Law (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The invention discloses a kind of truck data processing method based on block chain, this method constructs block chain by platform nodes and multiple user nodes, and each user node includes certificate database, coin database and air control database;Then the air control database of the user node is written in the cash pledge amount of money paid after being added by platform nodes according to user node and/or the practical business circumstance setting air control value A of user;Then it issued bond, redemption of bonds and complete the data processing after free truck using value certificate is limited.The present invention can not only improve the creditworthiness in transaction, reduce the data processing cost in transaction, additionally it is possible to reduce financial regulation cost, promote consumption and productivity dynamics, alleviate inflation and deflation pressure.
Description
Technical field
The present invention relates to a kind of truck data processing method, especially a kind of truck based on block chain is used
Data processing method.
Background technique
With the high speed development of modern market, the frequency of consumption and transaction is higher and higher, and credit problems when transaction are also got over
More to protrude;In order to realize decentralization, transaction credit is promoted, occurs block chain processing method now, using distributed number
According to the new application mode of the computer technologies such as storage, point-to-point transmission, common recognition mechanism, Encryption Algorithm, block chained record is utilized
Structure come verify with storing data, using distributed node know together algorithm come generate and more new data, in the way of cryptography
Guarantee the safety of data transmission and access, programmed using the intelligent contract being made of automatized script code and operation data
A kind of completely new distributed basis framework and calculation;The area of public chain, alliance's chain or private chain can be selected when application block chain
Block chain form carries out distributed basis framework.Using the specific mechanism of block chain (once information through verifying and be added to block
Chain permanent will store, unless can control simultaneously be more than in system 51% node, it is otherwise right on individual node
The modification of database is invalid, therefore the data stability of block chain and reliability are high), to improve the letter of data processing
Use degree;But higher cost when its progress data processing.Therefore, there is creditworthiness is lower and data when transaction now
The high problem of processing cost.
Summary of the invention
The object of the present invention is to provide a kind of truck data processing methods based on block chain.The present invention uses
When transaction, creditworthiness can not only be improved, but also can reduce data processing cost.
A kind of technical solution of the present invention: truck data processing method based on block chain, comprising the following steps:
S01, construct block chain by platform nodes and multiple user nodes, each user node include certificate database,
Coin database and air control database;
The practical business circumstance setting of the cash pledge amount of money and/or user that S02, platform nodes are paid after being added according to user node
The air control database of the user node is written in air control value A (as original air control value);
S03, it issues bond, user node issues itself equal bond according to the air control value A in itself air control database,
The certificate database for being used for node is written into itself bond quantity B of distribution by computing module, i.e. the user node has number
Amount is itself bond of B;Computing module ratio D according to as defined in platform nodes, by user node distribution bond quantity B multiplied by
It is scaled coin quantity C after ratio D, coin quantity C is written to the coin database of the user node, i.e., it is C's that the user, which obtains quantity,
Coin;Air control value A in the air control database of user node is re-write user multiplied by the data obtained after ratio D by computing module
The air control database of node;
S04, redemption of bonds, the coin that user node is able to use itself exchange other users node according to the ratio of 1:1
Bond, to have exchanged quantity to the user node being converted be F to the coin that the user node for initiating to exchange is F using the quantity of itself
Bond after;The user node exchanged is initiated in write-in after the coin quantity C for initiating the user node exchanged is subtracted F by computing module
The certificate data for the user node exchanged are initiated in the bond write-in for exchanging the other users node that the quantity come is F by coin database
Library is worth certificate as the restriction that can be used at the user node being converted;Computing module again by the user node that is converted from
Body bond quantity B subtracts the certificate database that the user node being converted is written after F, completes converting freely for bond;
S05, it is worth certificate using restriction, there is the user node for limiting value certificate can correspond to the user node being converted
It consumes and uses at (issuing the user node that restriction value certificate corresponds to bond), replace cash transaction, realize truck;With
After the restriction that family node usage quantity is E is worth certificate, computing module limits the certificate database of the user node of value certificate by using
In restriction value certificate quantity subtract the certificate database that the user node is re-write after E;Then computing module will be used and be limited
Its air control database is written after subtracting E in the air control value A of the user node of value certificate;Last computing module will be used restriction to be worth
Its air control database is written after adding E in the air control value A of the user node of certificate, the data processing after completing truck.
A kind of truck data processing method based on block chain above-mentioned, the platform nodes include coin database
With air control database, the initial value of the coin quantity C in the coin database of platform nodes is 0, in the air control database of platform nodes
The initial value of air control value A be also 0;By the coin number of the bond quantity B of user node and user node in step of issuing bond
Difference G between amount C writes after adding the coin quantity C in the coin database of platform nodes as the coin quantity value added of platform nodes
Enter the coin database of platform nodes;And by difference G plus platform nodes air control database in air control value A after platform is written
The air control database of node.
A kind of truck data processing method based on block chain above-mentioned, the platform nodes can be by platform sections
The coin of itself of point can be traded in proportion to any user node, coin quantity C when transaction in the coin database of platform nodes
The coin database that platform nodes are written after the quantity of the coin of transaction is subtracted, the coin number in the coin database of the user node of coin is bought
C is measured plus the coin database of the user node of write-in purchase coin after the quantity of the coin of transaction.
A kind of truck data processing method based on block chain above-mentioned, the platform nodes further include certificate data
Library, platform nodes can carry out redemption of bonds as the user node for initiating to exchange, be exchanged by step S04 and step S05
Bond and use limit value certificate.
A kind of truck data processing method based on block chain above-mentioned, the air control set in the step S02
Value A gives according to the ratio H of the cash pledge amount of money and sets.
A kind of truck data processing method based on block chain above-mentioned, the computing module are Data processing
The heart.
A kind of truck data processing method based on block chain above-mentioned, the coin database of the user node
After itself bond quantity in coin quantity and certificate database is respectively less than the air control value A set in step S02, which can
Itself issue of bonds amount can voluntarily be added, and the total amount of itself bond after adding and it is additional after coin quantity be respectively less than etc.
After the air control value A set in step S02;User can add the cash pledge amount of money paid at any time, set to improve in step S02
Air control value A, to realize circular consumption and promote to consume.
Compared with prior art, the present invention devises a kind of truck data processing method based on block chain, leads to
Platform nodes and multiple user nodes building block chain are crossed, and by using certificate database, coin data at each user node
The data store organisation in library and each user node of air control database sharing by setting air control value, is issued bond, redemption of bonds
With use the method for limiting value certificate, realize each user node and issue itself bond in block chain and represent itself cargo,
Bond is obtained between multiple user nodes by way of mutual redemption of bonds, by credits between bond people and debtor and
Barter is realized in the transaction of bond, is eliminated physical monetary distribution link, can be alleviated inflation and deflationary pressure
Power;Each user node is responsible for the bond itself issued as debtor, improves creditworthiness, each user node can
Bond people as other users node carries out transaction consumption, realizes complete decentralization, and eliminates in traditional block chain
Miner verification and book keeping operation link, greatly reduce the cost of data processing.In addition, the present invention also extracts gold by platform nodes
The method of coin and air control value makes platform nodes undertake the bond issued in block chain to hoard risk, reduce user in block chain
The transaction risk of node further improves the creditworthiness of transaction;By platform nodes by the coin energy of itself of platform nodes
It is enough to be traded in proportion to any user node and setting air control value A (as original air control value), and mixing ratio D and ratio H, it is real
Show platform nodes to regulate and control the coin quantity in block chain, reduces financial regulation cost;Pass through the structure at platform nodes
Certificate database is built, so that platform nodes can be used as a user node and participate in the redemption of bonds traded in block chain and use
Limit value certificate link (participate in consumption), and by itself bond total amount of the air control value A of setting and user node distribution and
Between the coin quantity held relationship setting, enable to itself bond of user node have exchange (i.e. productivity has consumption) and
The coin quantity of user node has the additional distribution that just can be carried out itself bond after consumption (being consumed), follows so as to realize
Ring consumption, promotes consumption and productivity dynamics.Therefore, the present invention can not only improve the creditworthiness in transaction, reduce friendship
Data processing cost in easily, additionally it is possible to reduce financial regulation cost, promote consumption and productivity dynamics, alleviate inflation and
Deflation pressure.
Detailed description of the invention
Fig. 1 is structural schematic diagram of the invention.
Specific embodiment
Below with reference to embodiment, the present invention is further illustrated, but is not intended as the foundation limited the present invention.
Embodiment one.A kind of truck data processing method based on block chain, as shown in Figure 1, including following step
It is rapid:
S01, construct block chain by platform nodes and multiple user nodes, each user node include certificate database,
Coin database and air control database;
The practical business circumstance setting of the cash pledge amount of money and/or user that S02, platform nodes are paid after being added according to user node
The air control database of the user node is written in air control value A;
S03, it issues bond, user node issues itself equal bond according to the air control value A in itself air control database,
The certificate database for being used for node is written into itself bond quantity B of distribution by computing module, i.e. the user node has number
Amount is itself bond of B;Computing module ratio D according to as defined in platform nodes, by user node distribution bond quantity B multiplied by
It is scaled coin quantity C after ratio D, coin quantity C is written to the coin database of the user node, i.e., it is C's that the user, which obtains quantity,
Coin;Air control value A in the air control database of user node is re-write user multiplied by the data obtained after ratio D by computing module
The air control database of node;
S04, redemption of bonds, the coin that user node is able to use itself exchange other users node according to the ratio of 1:1
Bond, to have exchanged quantity to the user node being converted be F to the coin that the user node for initiating to exchange is F using the quantity of itself
Bond after;The user node exchanged is initiated in write-in after the coin quantity C for initiating the user node exchanged is subtracted F by computing module
The certificate data for the user node exchanged are initiated in the bond write-in for exchanging the other users node that the quantity come is F by coin database
Library is worth certificate as the restriction that can be used at the user node being converted;Computing module again by the user node that is converted from
Body bond quantity B subtracts the certificate database that the user node being converted is written after F, completes converting freely for bond;
S05, it is worth certificate using restriction, there is the user node for limiting value certificate can correspond to the user node being converted
Place's consumption uses, and replaces cash transaction, realizes truck;After the restriction that user node usage quantity is E is worth certificate, mould is calculated
Block re-writes the user after the restriction value certificate quantity in the certificate database for using the user node for limiting value certificate is subtracted E
The certificate database of node;Then its wind is written after the air control value A for using the user node for limiting value certificate is subtracted E in computing module
Control database;Its air control number is written after the air control value A for the user node for limiting value certificate being used to add E in last computing module
Data processing according to library, after completing truck.
The platform nodes include coin database and air control database, the coin quantity C's in the coin database of platform nodes
Initial value is 0, and the initial value of the air control value A in the air control database of platform nodes is also 0;By user in step of issuing bond
Difference G between the bond quantity B of node and the coin quantity C of user node adds flat as the coin quantity value added of platform nodes
The coin database of platform nodes is written after coin quantity C in the coin database of platform node;And by difference G plus platform nodes
The air control database of platform nodes is written after air control value A in air control database.The platform nodes can be by platform nodes
The coin of itself can be traded in proportion to any user node, and coin quantity C when transaction in the coin database of platform nodes is subtracted
The coin database that platform nodes are written after the quantity of the coin of transaction, buys the coin quantity C in the coin database of the user node of coin
In addition the coin database of the user node of coin is bought in write-in after the quantity of the coin of transaction.The platform nodes further include certificate data
Library, platform nodes can carry out redemption of bonds as the user node for initiating to exchange, be exchanged by step S04 and step S05
Bond and use limit value certificate.The air control value A set in the step S02 gives according to the ratio H of the cash pledge amount of money and sets.Institute
Stating computing module is data processing centre, such as with the conventional computer of computing function.The coin database of the user node
After itself bond quantity in coin quantity and certificate database is respectively less than the air control value A set in step S02, which can
Itself issue of bonds amount can voluntarily be added, and the total amount of itself bond after adding and it is additional after coin quantity be respectively less than etc.
After the air control value A set in step S02;User can add the cash pledge amount of money paid at any time, set to improve in step S02
Air control value A, to realize circular consumption and promote to consume.
Each user node in the present invention can also can add multiple sons as female user node in female user node
User node, child user node can be employee or household of user node etc., and child user node is also guaranteed replacement certificate database, coin number
According to library and air control database, itself bond of the child user node distribution of the record in the certificate database of child user node (is issued
Quantity is by female user node or platform nodes setting) it only limits corresponding female user node exchange and uses (such as wage deduction, loaning bill
Deduction etc.), after female user node has used the bond for exchanging the child user node come, child user node obtains the wind of respective numbers
Control value, child user node obtain the equal coin that can be used according to air control value, are able to use and appoint at all female user nodes
Meaning is exchanged and consumption.In addition, can be mutual between all user nodes (including all female user nodes and child user node)
Give exchange the bond come or it is online under give and used to all other men.
Embodiment two.A kind of truck data processing method based on block chain, comprising the following steps:
S01, block chain is constructed by platform nodes and multiple user nodes, as shown in Figure 1, for example multiple user nodes are
User node 1, user node 2, user node 3 and user node 4, each user node include certificate database, coin database
With air control database, i.e. the certificate database of user node 1, coin database and air control database is respectively certificate database 1, coin data
Library 1 and air control database 1, certificate database, coin database and the air control database of user node 2 are respectively certificate database 2, coin number
According to library 2 and air control database 2, and so on;
The practical business circumstance setting of the cash pledge amount of money and/or user that S02, platform nodes are paid after being added according to user node
The air control database of the user node is written in air control value A (as original air control value);Such as user node 1 has paid 1000 yuan
The cash pledge amount of money, user node 2 have paid 2000 yuan of the cash pledge amount of money, the merchandising business of 4 previous year of user node 3 and user node
For achievement between 100,000 and 500,000, platform nodes set the setting of user node 1, user node 2, user node 3 and user node 4
Air control value A is respectively 1000,2000,1000 and 1000, i.e. user node 1 sets air control value A1 as 1000, user node 2
Set air control value A2 as 2000, user node 3 set air control value A3 as 1000, user node 4 set air control value A4 as
1000;
S03, it issues bond, user node issues itself equal bond according to the air control value A in itself air control database,
The certificate database for being used for node is written into itself bond quantity B of distribution by computing module, i.e. the user node has number
Amount is the bond of B;User node 1 has the bond of 1000 quantity, and the data in the certificate database 1 of user node 1 are itself debt
Certificate quantity B1=1000;User node 2 has the bond of 2000 quantity, and the data in the certificate database 2 of user node 2 are itself
Bond quantity B2=2000;User node 3 has the bond of 1000 quantity, and the data in the certificate database 3 of user node 3 are certainly
Body bond quantity B3=1000;User node 4 has the bond of 1000 quantity, and the data in the certificate database 4 of user node 4 are
Itself bond quantity B4=1000;Computing module ratio D according to as defined in platform nodes;The bond quantity that user node is issued
The coin database of the user node is written multiplied by coin quantity C is scaled after ratio D in coin quantity C by B, i.e. the user obtains quantity
For the coin of C;Computing module writes the air control value A in the air control database of user node multiplied by the data obtained after ratio D again
The air control database of access customer node;For example, ratio D is 0.95;Then the data in the coin database 1 of user node 1 are coin number
C1=1000*0.95=950 is measured, user node 1 obtains 950 coin;Data in the coin database 2 of user node 2 are coin number
C2=1900 is measured, user node 2 obtains 1900 coin;Data in the coin database 3 of user node 3 are coin quantity C3=950,
User node 3 obtains 950 coin;Data in the coin database 4 of user node 4 are coin quantity C4=950, and user node 4 obtains
Obtain 950 coin;Air control value A1=1000*0.95=950 in the air control database 1 of user node 1, the air control of user node 2
Air control value A2=1900 in database 2, the air control value A3=950 in the air control database 3 of user node 3, user node 4
Air control value A4=950 in air control database 4;
S04, redemption of bonds, the coin that user node is able to use itself exchange other users node according to the ratio of 1:1
Bond, to have exchanged quantity to the user node being converted be F to the coin that the user node for initiating to exchange is F using the quantity of itself
Bond after;The user node exchanged is initiated in write-in after the coin quantity C for initiating the user node exchanged is subtracted F by computing module
The certificate data for the user node exchanged are initiated in the bond write-in for exchanging the other users node that the quantity come is F by coin database
Library (can be used as the restriction value certificate that can be used at the user node being converted with Nn representative at user node n below
Restriction be worth certificate, particular user node is stated in wherein n=1,2,3 or 4);Computing module is again by the user node being converted
Itself bond quantity B subtracts the certificate database that the user node being converted is written after F, completes converting freely for bond;For example, with
Family node 1 initiates to exchange, and the currency exchange of the quantity F=300 of user node 1 itself user node 2 is used at user node 2
Quantity F=300 bond;The value being then written in the coin database 1 of user node 1 is C1 '=C1-F=950-300=650,
The coin quantity of user node 1 is 650 after exchanging;Data in the certificate database 1 of user node 1 are, user node 1 itself
Bond quantity B1=1000, the restriction value certificate quantity N2=300 that can be used at user node 2;The certificate data of user node 2
Data in library 2 are bond quantity B2 '=B2-F=2000-300=1700 of user node 2 itself, i.e. user node 2
Itself bond quantity is 1700;Exchange between multi-user's node is similarly;
S05, it is worth certificate using restriction, there is the user node for limiting value certificate can correspond to the user node being converted
It consumes and uses at (issuing the user node that restriction value certificate corresponds to bond), replace cash transaction, realize truck;With
After the restriction that family node usage quantity is E is worth certificate, computing module limits the certificate database of the user node of value certificate by using
In restriction value certificate quantity subtract the certificate database that the user node is re-write after E;Then computing module will be used and be limited
Its air control database is written after subtracting E in the air control value A of the user node of value certificate;Last computing module will be used restriction to be worth
Its air control database is written after adding E in the air control value A of the user node of certificate, the data processing after completing truck;For example, with
The restriction value certificate of the user node 2 of 1 usage quantity E=100 of family node is consumed at user node 2;Then user node 1
Certificate database 1 in data be the bond quantity B1=1000 of user node 1 itself, the limit that can be used at user node 2
Price value certificate quantity N2=300-E=300-100=200;Data in the air control database 1 of user node 1 are A1-E=
950-100=850;Data in the air control database 2 of user node 2 are A2+E=1900+100=2000;
The platform nodes include coin database and air control database, the coin quantity C's in the coin database of platform nodes
Initial value is 0, and the initial value of the air control value A in the air control database of platform nodes is also 0;By user in step of issuing bond
Difference G between the bond quantity B of node and the coin quantity C of user node adds flat as the coin quantity value added of platform nodes
The coin database of platform nodes is written after coin quantity C in the coin database of platform node;And by difference G plus platform nodes
The air control database of platform nodes is written after air control value A in air control database.The platform nodes can be by platform nodes
The coin of itself can be traded in proportion to any user node, and coin quantity C when transaction in the coin database of platform nodes is subtracted
The coin database that platform nodes are written after the quantity of the coin of transaction, buys the coin quantity C in the coin database of the user node of coin
In addition the coin database of the user node of coin is bought in write-in after the quantity of the coin of transaction.The platform nodes further include certificate data
Library, platform nodes can carry out redemption of bonds as the user node for initiating to exchange, be exchanged by step S04 and step S05
Bond and use limit value certificate.The air control value A set in the step S02 gives according to the ratio H of the cash pledge amount of money and sets.Institute
Stating computing module is data processing centre.Itself bond in the coin quantity and certificate database of the coin database of the user node
After quantity is respectively less than the air control value A set in step S02, which can voluntarily add itself issue of bonds
Amount, and the total amount of itself bond after adding and it is additional after coin quantity be respectively less than and be equal to the air control value A set in step S02
Afterwards;User can add the cash pledge amount of money paid at any time, to improve the air control value A set in step S02, to realize that circulation disappears
Take and promotes to consume.
By taking the block chain that 4 user nodes and 1 platform nodes construct as an example, user node 1 include air control database 1,
Certificate database 1 and coin database 1, user node 2 include air control database 2, certificate database 2 and coin database 2, user node 3
Comprising air control database 3, certificate database 3 and coin database 3, user node 4 includes air control database 4, certificate database 4 and coin number
According to library 4.Under original state, according to two content of embodiment, the air control value in air control database 1 is A1=1000, air control database 2
In air control value A2=2000, the air control value A3=1000 in air control database 3, the air control value A4=in air control database 4
1000;Setting ratio D=0.95, the ratio H=1 of the cash pledge amount of money;Redemption of bonds is that user node 1 is exchanged at user node 2
Bond, redemption amounts F=300;Certificate is worth as the restriction of the user node 2 of 1 usage quantity E=100 of user node using limiting
It is worth certificate.
It then carries out recording data such as the following table 1 in each database after step S03 (issuing bond) in each user node:
Air control database | Certificate database | Coin database | |
User node 1 | A1=950 | B1=1000 | C1=950 |
User node 2 | A2=1900 | B2=2000 | C2=1900 |
User node 3 | A3=950 | B3=1000 | C3=950 |
User node 4 | A4=950 | B4=1000 | C4=950 |
Platform nodes | A=250 | Nothing | C=250 |
Data such as the following table 2 is recorded in each database after progress step S04 (redemption of bonds) in each user node:
Air control database | Certificate database | Coin database | |
User node 1 | A1=950 | B1=1000;N2=300 | C1=650 |
User node 2 | A2=1900 | B2=1700 | C2=1900 |
User node 3 | A3=950 | B3=1000 | C3=950 |
User node 4 | A4=950 | B4=1000 | C4=950 |
Platform nodes | A=250 | Nothing | C=250 |
It is as follows that data are recorded in each database after progress step S05 (using value certificate is limited) in each user node
Table 3:
Embodiment three, by taking the block chain that 4 user nodes and 1 platform nodes construct as an example, user node 1 includes air control
Database 1, certificate database 1 and coin database 1, user node 2 include air control database 2, certificate database 2 and coin database 2, are used
Family node 3 includes air control database 3, certificate database 3 and coin database 3, and user node 4 includes air control database 4, certificate database
4 and coin database 4.Under original state, with two content of embodiment, the air control value in air control database 1 is A1=1000, air control number
According to the air control value A2=2000 in library 2, air control value A3=1000 in air control database 3, the air control value A4 in air control database 4
=1000;Setting ratio D=0.95, the ratio H=1 of the cash pledge amount of money.
When redemption of bonds, the redemption of bonds at user node 2 of user node 1, redemption amounts F2=300;User node 1 exists
Also bond, redemption amounts F3=400 have been exchanged at user node 3;User node 2 is distinguished at user node 1 and user node 4
300 and 500 bond, i.e. F1=300, F4=500 are exchanged;User node 3 redemption of bonds, F2=at user node 2
300;User node 4 does not have redemption of bonds.
It then carries out recording data such as the following table 1 in each database after step S03 (issuing bond) in each user node:
Air control database | Certificate database | Coin database | |
User node 1 | A1=950 | B1=1000 | C1=950 |
User node 2 | A2=1900 | B2=2000 | C2=1900 |
User node 3 | A3=950 | B3=1000 | C3=950 |
User node 4 | A4=950 | B4=1000 | C4=950 |
Platform nodes | A=250 | Nothing | C=250 |
When redemption of bonds, the redemption of bonds at user node 2 of user node 1, redemption amounts F2=300;User node 1 exists
Also bond, redemption amounts F3=400 have been exchanged at user node 3;User node 2 is distinguished at user node 1 and user node 4
300 and 500 bond, i.e. F1=300, F4=500 are exchanged;User node 3 redemption of bonds, F2=at user node 2
300;User node 4 does not have redemption of bonds.It then calculates as follows:
In certificate database 1, B1=1000-300=700, N2=300, N3=400;
In coin database 1, C1=950-300-400=250;
In certificate database 2, B2=2000-300-300=1400, N1=300, N4=500;
In coin database 2, C2=1900-300-500=1100;
In certificate database 3, B3=1000-400=600, N2=300;
In coin database 3, C3=950-300=650;
In certificate database 4, B4=1000-500=500;
In coin database 4, C4=950.
Data such as the following table 2 is recorded in each database after progress step S04 (redemption of bonds) in each user node:
Air control database | Certificate database | Coin database | |
User node 1 | A1=950 | B1=700;N2=300;N3=400 | C1=250 |
User node 2 | A2=1900 | B2=1400;N1=300;N4=500 | C2=1100 |
User node 3 | A3=950 | B3=600;N2=300 | C3=650 |
User node 4 | A4=950 | B4=500 | C4=950 |
Platform nodes | A=250 | Nothing | C=250 |
When using limiting value certificate, the restriction of the user node 2 of 1 usage quantity E2=100 of user node is worth certificate;User
The restriction of the user node 4 of the restriction value certificate and E4=200 of the user node 1 of 2 usage quantity E1=300 of node is worth certificate;
User node 3 is not using restriction value certificate.It then calculates as follows:
In air control database 1, A1=950-100+300=1150
In certificate database 1, B1=700, N2=200, N3=400;
In coin database 1, C1=250;
In air control database 2, A2=1900+100-300-200=1500
In certificate database 2, B2=1400, N1=300-300=0, N4=500-200=300;
In coin database 2, C2=1100;
In air control database 3, A3=950
In certificate database 3, B3=600, N2=300;
In coin database 3, C3=650;
In air control database 4, A4=950+200=1150
In certificate database 4, B4=500;
In coin database 4, C4=950.
It is as follows that data are recorded in each database after progress step S05 (using value certificate is limited) in each user node
Table 3:
Air control database | Certificate database | Coin database | |
User node 1 | A1=1150 | B1=1000;N2=200;N3=400 | C1=250 |
User node 2 | A2=1500 | B2=1400;N4=300 | C2=1100 |
User node 3 | A3=950 | B3=600;N2=300 | C3=650 |
User node 4 | A4=1150 | B4=500 | C4=950 |
Platform nodes | A=250 | Nothing | C=250 |
Claims (7)
1. a kind of truck data processing method based on block chain, which comprises the following steps:
S01, block chain is constructed by platform nodes and multiple user nodes, each user node includes certificate database, coin number
According to library and air control database;
The practical business circumstance of the cash pledge amount of money and/or user that S02, platform nodes are paid after being added according to user node sets air control
The air control database of the user node is written in value A;
S03, it issues bond, user node issues itself equal bond according to the air control value A in itself air control database, passes through
The certificate database for being used for node is written in itself bond quantity B of distribution by computing module, i.e., it is B that the user node, which has quantity,
Itself bond;Computing module ratio D according to as defined in platform nodes, by the bond quantity B of user node distribution multiplied by ratio D
After be scaled coin quantity C, coin quantity C is written to the coin database of the user node, i.e., the user obtains the coin that quantity is C;Meter
It calculates module and the air control value A in the air control database of user node is re-write into user node multiplied by the data obtained after ratio D
Air control database;
S04, redemption of bonds, the coin that user node is able to use itself exchange the debt of other users node according to the ratio of 1:1
Certificate, the coin that the user node for initiating to exchange is F using the quantity of itself have exchanged the debt that quantity is F to the user node being converted
After certificate;The coin quantity C for initiating the user node exchanged is subtracted the coin number that the user node exchanged is initiated in write-in after F by computing module
According to library, the certificate database that the user node exchanged is initiated in the bond write-in for exchanging the other users node that the quantity come is F is done
Restriction for that can use at the user node being converted is worth certificate;Computing module is again by itself debt of the user node being converted
Certificate quantity B subtracts the certificate database that the user node being converted is written after F, completes converting freely for bond;
S05, it is worth certificate using restriction, there is the user node for limiting value certificate can disappear at the user node being converted corresponding to
Take use, replace cash transaction, realizes truck;After the restriction that user node usage quantity is E is worth certificate, computing module will
The user node is re-write after subtracting E using the restriction value certificate quantity in the certificate database for the user node for limiting value certificate
Certificate database;Then its air control number is written after the air control value A for using the user node for limiting value certificate is subtracted E in computing module
According to library;Its air control data is written after the air control value A for the user node for limiting value certificate being used to add E in last computing module
Library, the data processing after completing truck.
2. a kind of truck data processing method based on block chain according to claim 1, it is characterised in that: institute
Stating platform nodes includes coin database and air control database, and the initial value of the coin quantity C in the coin database of platform nodes is 0,
The initial value of air control value A in the air control database of platform nodes is also 0;By the bond of user node in step of issuing bond
Difference G between quantity B and the coin quantity C of user node adds the coin of platform nodes as the coin quantity value added of platform nodes
The coin database of platform nodes is written after coin quantity C in database;And difference G is added to the air control database of platform nodes
In air control value A after be written platform nodes air control database.
3. a kind of truck data processing method based on block chain according to claim 2, it is characterised in that: institute
Stating platform nodes can trade in proportion the coin of itself of platform nodes to any user node, platform nodes when transaction
Coin database in the coin quantity C coin that subtracts transaction quantity after the coin databases of platform nodes is written, buy the user of coin
Coin quantity C in the coin database of node buys the coin database of the user node of coin plus write-in after the quantity of the coin of transaction.
4. a kind of truck data processing method based on block chain according to claim 2, it is characterised in that: institute
Stating platform nodes further includes certificate database, and platform nodes can carry out redemption of bonds as the user node for initiating to exchange, by step
Rapid S04 and step S05 carries out redemption of bonds and is worth certificate using limiting.
5. according to right to go 1 described in a kind of truck data processing method based on block chain, it is characterised in that: institute
It states the air control value A set in step S02 and is given according to the ratio H of the cash pledge amount of money and set.
6. according to right to go 1 described in a kind of truck data processing method based on block chain, it is characterised in that: institute
Stating computing module is data processing centre.
7. according to right to remove any claim in 1 to 6 described in a kind of truck data processing based on block chain
Method, it is characterised in that: itself the bond quantity in the coin quantity and certificate database of the coin database of the user node is small
After the air control value A set in step S02, which can voluntarily add itself issue of bonds amount, and additional
The total amount and the coin quantity after addition of itself bond afterwards are respectively less than after being equal to the air control value A set in step S02;User can
The additional cash pledge amount of money paid at any time, to improve the air control value A set in step S02, to realize circular consumption and promote to disappear
Take.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810735498.4A CN109033252A (en) | 2018-07-06 | 2018-07-06 | A kind of truck data processing method based on block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810735498.4A CN109033252A (en) | 2018-07-06 | 2018-07-06 | A kind of truck data processing method based on block chain |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109033252A true CN109033252A (en) | 2018-12-18 |
Family
ID=64641413
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810735498.4A Pending CN109033252A (en) | 2018-07-06 | 2018-07-06 | A kind of truck data processing method based on block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109033252A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160092988A1 (en) * | 2014-09-30 | 2016-03-31 | Raistone, Inc. | Systems and methods for transferring digital assests using a de-centralized exchange |
CN105844505A (en) * | 2016-03-17 | 2016-08-10 | 深圳市新世纪启航科技开发有限公司 | Method of carrying out digital currency trading through block chain technology |
WO2017189031A1 (en) * | 2016-04-25 | 2017-11-02 | Digital Asset Holdings | Asset and obligation management using flexible settlement times |
CN108241972A (en) * | 2018-01-11 | 2018-07-03 | 杭州复杂美科技有限公司 | A kind of informal voucher method of commerce based on block chain |
-
2018
- 2018-07-06 CN CN201810735498.4A patent/CN109033252A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160092988A1 (en) * | 2014-09-30 | 2016-03-31 | Raistone, Inc. | Systems and methods for transferring digital assests using a de-centralized exchange |
CN105844505A (en) * | 2016-03-17 | 2016-08-10 | 深圳市新世纪启航科技开发有限公司 | Method of carrying out digital currency trading through block chain technology |
WO2017189031A1 (en) * | 2016-04-25 | 2017-11-02 | Digital Asset Holdings | Asset and obligation management using flexible settlement times |
CN108241972A (en) * | 2018-01-11 | 2018-07-03 | 杭州复杂美科技有限公司 | A kind of informal voucher method of commerce based on block chain |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108805705A (en) | A kind of Digital Radio money-system | |
Legenchuk et al. | Securitization as an innovative refinancing mechanism and an effective asset management tool in a sustainable development environment | |
CN108711102A (en) | Loan method and system, equipment and storage medium | |
Ingham | New monetary spaces? | |
Alao et al. | Towards a blockchain special purpose vehicle for financing independent renewable electricity projects in sub-saharan africa | |
WO2020039771A1 (en) | System and method pertaining to new electronic currency (share money) and distributed-type central bank, and storage medium | |
Bryndin | Transition of Countries to Currency and Trade Sustainable International Cooperation on the BRICS Platform | |
Phylaktis et al. | Foreign exchange markets in transition economies: China | |
Heinonen | On Creation of a Stablecoin Based on the Morini's Scheme of Inv&Sav Wallets and Antimoney | |
CN109033252A (en) | A kind of truck data processing method based on block chain | |
Alshehadeh et al. | The impact of financial technology on customer behavior in the Jordanian commercial banks | |
CN103593888B (en) | A kind of intellective IC card, terminal and smart card ash lock application process | |
Fantacci et al. | Technology versus trust: Non-bank credit systems from notarized loans in Early Modern Europe to cryptolending | |
Morriss et al. | Private dispute resolution in the card context: structure, reputation, and incentives | |
Ibrahim et al. | Effect of Cashless Economy on Micro, Small and Medium Enterprises (MSMEs): A Study from Indian Perspective | |
Tobin | Renminbi internationalisation: precedents and implications | |
Mellor | The politics of money and credit as a route to ecological sustainability and economic democracy | |
Ushakov et al. | INTERNATIONAL CRYPTOCURRENCY MARKET AND DISTINGUISHING FEATURES OF ITS DEVELOPMENT | |
Cockshott et al. | Conservation laws, financial entropy and the eurozone crisis | |
CN111311325B (en) | Liability acceptance sharing management operation mode based on blockchain technology | |
Wang et al. | Development of consumer finance in East Asia | |
WO2022082547A1 (en) | Blockchain-based smart contract system | |
She | How does WeChat Pay Affect Chinese Customers & the Future of the Digital Currency | |
Mauboussin et al. | Alpha and the Paradox of Skill | |
Novikova et al. | Stages of Development of Sberbank as a Reflection of Changes of the State |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20181218 |