CN110135821A - A kind of method and server for realizing that digital cash is pledged using intelligent contract - Google Patents
A kind of method and server for realizing that digital cash is pledged using intelligent contract Download PDFInfo
- Publication number
- CN110135821A CN110135821A CN201910332509.9A CN201910332509A CN110135821A CN 110135821 A CN110135821 A CN 110135821A CN 201910332509 A CN201910332509 A CN 201910332509A CN 110135821 A CN110135821 A CN 110135821A
- Authority
- CN
- China
- Prior art keywords
- terminal
- key
- digital cash
- intelligent contract
- sent
- 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 17
- 238000004422 calculation algorithm Methods 0.000 claims abstract description 22
- 238000012790 confirmation Methods 0.000 claims description 23
- 238000004590 computer program Methods 0.000 claims description 6
- 239000000284 extract Substances 0.000 claims description 5
- 230000000977 initiatory effect Effects 0.000 abstract description 2
- 230000009286 beneficial effect Effects 0.000 description 3
- 229910052709 silver Inorganic materials 0.000 description 2
- 239000004332 silver Substances 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
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
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/30—Payment architectures, schemes or protocols characterised by the use of specific devices or networks
- G06Q20/36—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes
- G06Q20/367—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes involving electronic purses or money safes
-
- 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/382—Payment protocols; Details thereof insuring higher security of transaction
-
- 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/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3829—Payment protocols; Details thereof insuring higher security of transaction involving key management
-
- 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 present invention discloses a kind of method and server for realizing that digital cash is pledged using intelligent contract, loan application and loan participation application are sent based on intelligent contract, and include the corresponding intelligent contract signature of terminal iidentification in corresponding intelligent contract, ensure that the terminal for initiating loan application and loan participation application legitimacy and can not tamper, and the digital cash for being used to pledge is stored in public wallet, the address of public wallet is generated into L keys by random algorithm, the key is split into first key and the second key, it is respectively sent to loaning bill terminal and loan terminal, it ensure that the security reliability of the digital cash storage, to guarantee that digital cash pledges safe and reliable progress.
Description
Technical field
The present invention relates to block chain field more particularly to it is a kind of using intelligent contract realize method that digital cash is pledged and
Server.
Background technique
With being in fashion for the digital cash based on block chain technology, more and more people possess the digital cash of oneself.And
Realize that the mode of debt-credit also starts to occur using digital cash as collateral security.But the value of digital asset is not yet received instantly
Conventional banking facilities are widely recognized as, and digital asset is difficult to directly acquire the circulation value of digital asset.There is no a set of at present
Rounded system guarantees that digital cash pledges safe and reliable progress.
Summary of the invention
The technical problems to be solved by the present invention are: providing a kind of method for realizing that digital cash is pledged using intelligent contract
And server, guarantee that digital cash pledges safe and reliable progress.
In order to solve the above-mentioned technical problem, a kind of technical solution that the present invention uses are as follows:
A method of realizing that digital cash is pledged using intelligent contract, comprising steps of
S1, the intelligent contract loan application that first terminal is sent, intelligence contract packet corresponding with the loan application are received
Include intelligent contract signature corresponding with first terminal identification information and digital cash pledges quantity;
S2, the publication intelligent contract loan application;
S3, the intelligent contract loan participation application that second terminal is sent, intelligence corresponding with the loan participation application are received
Energy contract includes intelligent contract signature corresponding with second terminal identification information;
S4, the intelligent contract loan participation application is sent to the first terminal;
S5, the confirmation message that the first terminal is sent is received, the public wallet of block chain creation is based on, by the public money
The address of packet is sent respectively to the first terminal and second terminal, and the address of the public wallet is raw by random algorithm
At L keys, first key and the second key are split into the L key using default rule, and first key is sent out
First terminal is given, the second key is sent to second terminal;
S6, reception simultaneously send digital cash account information to the second terminal, the digital cash account information prompt
The digital cash for pledging quantity has been stored in the public wallet;
S7, reception simultaneously send fund account information to the first terminal, the fund account information prompt and the matter
The corresponding fund of digital cash for giving as security quantity has been deposited to the first terminal;
S8, the confirmation Receiving information that the first terminal is sent is received.
In order to solve the above-mentioned technical problem, the another technical solution that the present invention uses are as follows:
A kind of server for realizing that digital cash is pledged using intelligent contract, including memory, processor and be stored in
On reservoir and the computer program that can run on the processor, the processor realized when executing the computer program with
Lower step:
S1, the intelligent contract loan application that first terminal is sent, intelligence contract packet corresponding with the loan application are received
Include intelligent contract signature corresponding with first terminal identification information and digital cash pledges quantity;
S2, the publication intelligent contract loan application;
S3, the intelligent contract loan participation application that second terminal is sent, intelligence corresponding with the loan participation application are received
Energy contract includes intelligent contract signature corresponding with second terminal identification information;
S4, the intelligent contract loan participation application is sent to the first terminal;
S5, the confirmation message that the first terminal is sent is received, the public wallet of block chain creation is based on, by the public money
The address of packet is sent respectively to the first terminal and second terminal, and the address of the public wallet is raw by random algorithm
At L keys, first key and the second key are split into the L key using default rule, and first key is sent out
First terminal is given, the second key is sent to second terminal;
S6, reception simultaneously send digital cash account information to the second terminal, the digital cash account information prompt
The digital cash for pledging quantity has been stored in the public wallet;
S7, reception simultaneously send fund account information to the first terminal, the fund account information prompt and the matter
The corresponding fund of digital cash for giving as security quantity has been deposited to the first terminal;
S8, the confirmation Receiving information that the first terminal is sent is received.
The beneficial effects of the present invention are: loan application and loan participation application are sent based on intelligent contract, and in phase
Comprising the corresponding intelligent contract signature of terminal iidentification in the intelligent contract answered, it ensure that and initiate loan application and loan participation Shen
The legitimacy of terminal please, and the digital cash for being used to pledge is stored in public wallet, the address of public wallet is passed through
Random algorithm generates L keys, and the key is split into first key and the second key, is respectively sent to loaning bill terminal and loan
Money terminal ensure that the security reliability of the digital cash storage, to guarantee that digital cash pledges safe and reliable progress.
Detailed description of the invention
Fig. 1 is a kind of flow chart of method pledged using intelligent contract realization digital cash of the embodiment of the present invention;
Fig. 2 is a kind of structural representation of server pledged using intelligent contract realization digital cash of the embodiment of the present invention
Figure;
Label declaration:
1, the server pledged using intelligent contract realization digital cash;2, memory;3, processor.
Specific embodiment
To explain the technical content, the achieved purpose and the effect of the present invention in detail, below in conjunction with embodiment and cooperate attached
Figure is explained.
The most critical design of the present invention is: based on intelligent contract transmission loan application and loan participation application, and
Comprising the corresponding intelligent contract signature of terminal iidentification in corresponding intelligence contract, the digital cash for being used to pledge is stored in public
The address of public wallet is generated L keys by random algorithm by wallet, and the key is split into first key and second close
Key is respectively sent to loaning bill terminal and loan terminal.
Fig. 1 is please referred to, a method of realizing that digital cash is pledged using intelligent contract, comprising steps of
S1, the intelligent contract loan application that first terminal is sent, intelligence contract packet corresponding with the loan application are received
Include intelligent contract signature corresponding with first terminal identification information and digital cash pledges quantity;
S2, the publication intelligent contract loan application;
S3, the intelligent contract loan participation application that second terminal is sent, intelligence corresponding with the loan participation application are received
Energy contract includes intelligent contract signature corresponding with second terminal identification information;
S4, the intelligent contract loan participation application is sent to the first terminal;
S5, the confirmation message that the first terminal is sent is received, the public wallet of block chain creation is based on, by the public money
The address of packet is sent respectively to the first terminal and second terminal, and the address of the public wallet is raw by random algorithm
At L keys, first key and the second key are split into the L key using default rule, and first key is sent out
First terminal is given, the second key is sent to second terminal;
S6, reception simultaneously send digital cash account information to the second terminal, the digital cash account information prompt
The digital cash for pledging quantity has been stored in the public wallet;
S7, reception simultaneously send fund account information to the first terminal, the fund account information prompt and the matter
The corresponding fund of digital cash for giving as security quantity has been deposited to the first terminal;
S8, the confirmation Receiving information that the first terminal is sent is received.
Seen from the above description, the beneficial effects of the present invention are: loan application and participation are sent based on intelligent contract
Loan application, and ensure that comprising the corresponding intelligent contract signature of terminal iidentification in corresponding intelligent contract and initiate loaning bill Shen
Please and loan participation application terminal legitimacy, and the digital cash for being used to pledge is stored in public wallet, will be public
The address of wallet generates L keys by random algorithm altogether, and the key is split into first key and the second key, is sent out respectively
The security reliability that ensure that the digital cash storage to loaning bill terminal and loan terminal is sent, to guarantee digital cash matter
Give as security safe and reliable progress.
Further, terminal identification information is verified using hash algorithm, obtains MD5 value, the MD5 value as with
The corresponding intelligent contract signature of terminal identification information, the terminal is first terminal or second terminal.
Seen from the above description, terminal iidentification is verified using hash algorithm to obtain MD5 value, is closed MD5 value as intelligence
It about signs, can guarantee the legitimacy of terminal.
Further, the default rule are as follows: be used as first key for preceding M of the L key, described L close
The rear position (L-M) of key is as the second key.
Further, the default rule are as follows:
Using the odd bits of the L key as first key, the even bit of the L key is as the second key.
Seen from the above description, the L key is split by default rule, can prevents from being stolen, protected
The safety that card digital cash is pledged.
Further, it is further comprised the steps of: after the step S8
It receives the repayment that the first terminal is sent and finishes information;
It sends to repay and finishes information to the second terminal;
The confirmation message that the second terminal is sent is received, sends the second key of the preset rules and second terminal extremely
The first terminal, so that the first terminal utilizes the preset rules by the first key of itself and described second
Key is merged into complete L key, extracts the digital cash pledged from the public wallet using the L key.
Seen from the above description, after confirmation loaning bill terminal is refunded, the key of preset rules and lender is sent to
The digital cash pledged is extracted in the merging that loaning bill side carries out key according to the key after the merging from public wallet, on the one hand protects
Card loaning bill side refunds on time, the safety for the digital cash that another aspect guaranteed loan side is pledged.
Referring to figure 2., a kind of server for realizing that digital cash is pledged using intelligent contract, including memory, processor
And the computer program that can be run on a memory and on the processor is stored, the processor executes the computer journey
It is performed the steps of when sequence
S1, the intelligent contract loan application that first terminal is sent, intelligence contract packet corresponding with the loan application are received
Include intelligent contract signature corresponding with first terminal identification information and digital cash pledges quantity;
S2, the publication intelligent contract loan application;
S3, the intelligent contract loan participation application that second terminal is sent, intelligence corresponding with the loan participation application are received
Energy contract includes intelligent contract signature corresponding with second terminal identification information;
S4, the intelligent contract loan participation application is sent to the first terminal;
S5, the confirmation message that the first terminal is sent is received, the public wallet of block chain creation is based on, by the public money
The address of packet is sent respectively to the first terminal and second terminal, and the address of the public wallet is raw by random algorithm
At L keys, first key and the second key are split into the L key using default rule, and first key is sent out
First terminal is given, the second key is sent to second terminal;
S6, reception simultaneously send digital cash account information to the second terminal, the digital cash account information prompt
The digital cash for pledging quantity has been stored in the public wallet;
S7, reception simultaneously send fund account information to the first terminal, the fund account information prompt and the matter
The corresponding fund of digital cash for giving as security quantity has been deposited to the first terminal;
S8, the confirmation Receiving information that the first terminal is sent is received.
Seen from the above description, the beneficial effects of the present invention are: loan application and participation are sent based on intelligent contract
Loan application, and ensure that comprising the corresponding intelligent contract signature of terminal iidentification in corresponding intelligent contract and initiate loaning bill Shen
Please and loan participation application terminal legitimacy, and the digital cash for being used to pledge is stored in public wallet, will be public
The address of wallet generates L keys by random algorithm altogether, and the key is split into first key and the second key, is sent out respectively
The security reliability that ensure that the digital cash storage to loaning bill terminal and loan terminal is sent, to guarantee digital cash matter
Give as security safe and reliable progress.
Further, terminal identification information is verified using hash algorithm, obtains MD5 value, the MD5 value as with
The corresponding intelligent contract signature of terminal identification information, the terminal is first terminal or second terminal.
Seen from the above description, terminal iidentification is verified using hash algorithm to obtain MD5 value, is closed MD5 value as intelligence
It about signs, can guarantee the legitimacy of terminal.
Further, the default rule are as follows: be used as first key for preceding M of the L key, described L close
The rear position (L-M) of key is as the second key.
Further, the default rule are as follows:
Using the odd bits of the L key as first key, the even bit of the L key is as the second key.
Seen from the above description, the L key is split by default rule, can prevents from being stolen, protected
The safety that card digital cash is pledged.
Further, it is further comprised the steps of: after the step S8
It receives the repayment that the first terminal is sent and finishes information;
It sends to repay and finishes information to the second terminal;
The confirmation message that the second terminal is sent is received, sends the second key of the preset rules and second terminal extremely
The first terminal, so that the first terminal utilizes the preset rules by the first key of itself and described second
Key is merged into complete L key, extracts the digital cash pledged from the public wallet using the L key.
Seen from the above description, after confirmation loaning bill terminal is refunded, the key of preset rules and lender is sent to
The digital cash pledged is extracted in the merging that loaning bill side carries out key according to the key after the merging from public wallet, on the one hand superintends and directs
Promote loaning bill side to refund on time, the safety for the digital cash that another aspect guaranteed loan side is pledged.
Embodiment one
Fig. 1 is please referred to, a method of realizing that digital cash is pledged using intelligent contract, comprising steps of
S1, the intelligent contract loan application that first terminal is sent, intelligence contract packet corresponding with the loan application are received
Include intelligent contract signature corresponding with first terminal identification information and digital cash pledges quantity;
Wherein, the loan application includes first terminal mark, and the first terminal mark includes pledging for digital cash
Quantity, borrowing rate, the life of loan, shroff account number, borrower digital cash wallet address and wallet key;
Contract system verifies above-mentioned first terminal identification information using hash algorithm, obtains MD5 value, and should
MD5 value writes into intelligent contract as intelligent contract signature corresponding with first terminal identification information together, to ensure that the data are
The actual wishes of borrower are expressed, and will not be tampered;
S2, the publication intelligent contract loan application, the exchange of digital cash of the intelligent contract by inquiry at this time
Listed price X agreement pledges rate, calculates the amount of money of the digital cash loaning bill of respective numbers and the estimated revenue of loan,
When issuing intelligent contract loan application, the estimated revenue of the borrowing balance and loan is enclosed together;
S3, the intelligent contract loan participation application that second terminal is sent, intelligence corresponding with the loan participation application are received
Energy contract includes intelligent contract signature corresponding with second terminal identification information;
If lender approves loaning bill information, intelligent contract loan participation application, the loan participation application packet are submitted
Include second terminal mark, second terminal mark include the digital cash wallet address of lender, wallet key, payment silver
It row account and makes loans the time;
Contract system verifies second terminal identification information using hash algorithm, obtains MD5 value, and the MD5 value is made
It signs for intelligent contract corresponding with second terminal identification information, to ensure that the data are expressed for the actual wishes of borrower, and
It will not be tampered;
S4, the intelligent contract loan participation application is sent to the first terminal;
S5, receive the confirmation message that the first terminal is sent, i.e., it is public based on block chain creation after loaning bill side's confirmation cooperation
The address of the public wallet is sent respectively to the first terminal and second terminal by wallet altogether, and by the public wallet
Address by random algorithm generate L keys, first key and second are split into the L key using default rule
Key, and first key is sent to first terminal, the second key is sent to second terminal;
Wherein, default rule can be first M as first key, and the rear position (L-M) is as the second key;
Either odd bits are as first key, and even bit is as the second key;
Specifically, contract system can be generated by random algorithm by 64 random characters by the address to the public wallet
Go here and there the key of composition, will first 32 be used as first key, rear 32 the second keys of conduct or odd bits as first key,
Even bit is as the second key;
The public wallet guarantees the number pledged by block chain technology for storing the digital cash that loaning bill side pledges
Currency is in the condominium environment of a safety transparent, and debtor and creditor can check public money by the address of public wallet at any time
The case where digital cash pledged in packet;
S6, reception simultaneously send digital cash account information to the second terminal, the digital cash account information prompt
The digital cash for pledging quantity has been stored in the public wallet;
After the digital cash of amount is transferred to the public wallet of system generation by loaning bill side, loaning bill direction contract system hair
After sending digital cash account information, contract system to confirm digital cash to account, lending side's digital cash is notified to arrive account automatically
Digital cash account information, can make loans, lending side can also voluntarily check pledged number by the address of public wallet
Word currency arrives account situation;
S7, reception simultaneously send fund account information to the first terminal, the fund account information prompt and the matter
The corresponding fund of digital cash for giving as security quantity has been deposited to the first terminal;
Borrowing balance is gone to the specified platform account of contract system by lending side, and the payment of contract system is notified to complete;It closes
About system call money side fund has arrived account, which is transferred accounts the account to borrower;
S8, the confirmation Receiving information that the first terminal is sent is received;
After borrower confirms gathering, intelligent contract is formally set up;
After intelligent contract comes into force, contract system can remind loaning bill side to refund according to the life of loan of borrower, send
Refund information is to first terminal, and loaning bill side needs temporally to repay the loan according to the time that intelligent contract is arranged, if it is expected that not
Repayment of bank loans, intelligent contract can be solved suitable with principal and interest in locked position by the sticker price of the exchange of the digital cash of inquiry at this time
Digital cash be transferred to the digital cash wallet address of lender, the remaining digital cash part pledged is returned in public wallet
Also to the digital cash wallet address of borrower;
If the total value that the digital cash that borrower pledges strikes a bargain in real time is flat lower than the safeguard protection of contract system setting
Storehouse line, starting is closed a position protection mechanism, and intelligent contract can solve in locked position and be transferred to lender with the consistent digital cash of loan and interest
Digital cash wallet address, the remaining digital cash part pledged is given back to the digital cash of borrower in public wallet
Wallet address;
If loaning bill side repays the principal and interest of loaning bill on time, i.e., the principal and interest of loaning bill is transferred to the specified silver of contract system on time
Row account, loaning bill side submit repayment to finish information and give contract system;
Contract system receives after the repayment that the first terminal is sent finishes information, sends to repay and finishes information to described the
Two terminals;
After second terminal, i.e. lender confirm the fund amount of money, sends confirmation message and give contract system, and submit contract
Second key of system lender after contract system receives the confirmation message that the second terminal is sent, sends described the
The second key and default rule of two terminals are to the first terminal, so that the first terminal will according to preset rules
The first key of itself and second key are merged into complete key, extract matter from the public wallet using the key
The digital cash of signature;
After extracting successfully, the loan and interest of lender is transferred in the Bank Account Number of lender payment by contract system, so far,
Loaning bill process is completed.
Embodiment two
Referring to figure 2., a kind of server 1 for realizing that digital cash is pledged using intelligent contract, including memory 2, processing
Device 3 and it is stored in the computer program that can be run on memory 2 and on the processor 3, the processor 3 executes the meter
Each step in embodiment one is realized when calculation machine program.
In conclusion a kind of method and server for realizing that digital cash is pledged using intelligent contract provided by the invention,
Loan application and loan participation application are sent based on intelligent contract, and corresponding comprising terminal iidentification in corresponding intelligent contract
Intelligent contract signature, ensure that the legitimacy for the terminal for initiating loan application and loan participation application and can not distort
Property, and the digital cash for being used to pledge is stored in public wallet, the address of public wallet is generated L by random algorithm
The key is split into first key and the second key, is respectively sent to loaning bill terminal and loan terminal, ensure that institute by key
The security reliability for stating digital cash storage, to guarantee that digital cash pledges safe and reliable progress.
The above description is only an embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalents made by bright specification and accompanying drawing content are applied directly or indirectly in relevant technical field, similarly include
In scope of patent protection of the invention.
Claims (10)
1. a kind of method for realizing that digital cash is pledged using intelligent contract, which is characterized in that comprising steps of
S1, receive first terminal send intelligent contract loan application, it is corresponding with the loan application intelligence contract include with
The corresponding intelligent contract signature of first terminal identification information and digital cash pledge quantity;
S2, the publication intelligent contract loan application;
S3, the intelligent contract loan participation application that second terminal is sent is received, intelligence corresponding with the loan participation application is closed
It about include intelligent contract signature corresponding with second terminal identification information;
S4, the intelligent contract loan participation application is sent to the first terminal;
S5, the confirmation message that the first terminal is sent is received, the public wallet of block chain creation is based on, by the public wallet
Address is sent respectively to the first terminal and second terminal, and the address of the public wallet is generated L by random algorithm
Position key, splits into first key and the second key to the L key using default rule, and first key is sent to
Second key is sent to second terminal by first terminal;
S6, reception simultaneously send digital cash account information to the second terminal, described in the digital cash account information prompt
The digital cash for pledging quantity has been stored in the public wallet;
S7, reception simultaneously send fund account information to the first terminal, and the fund account information prompt pledges number with described
The corresponding fund of the digital cash of amount has been deposited to the first terminal;
S8, the confirmation Receiving information that the first terminal is sent is received.
2. the method according to claim 1 for realizing that digital cash is pledged using intelligent contract, which is characterized in that using Kazakhstan
Uncommon algorithm verifies terminal identification information, obtains MD5 value, the MD5 value is as intelligence corresponding with terminal identification information
Contract signature, the terminal are first terminal or second terminal.
3. the method according to claim 1 for realizing that digital cash is pledged using intelligent contract, which is characterized in that described pre-
If rule are as follows: be used as first key for preceding M of the L key, the rear position (L-M) of the L key is close as second
Key.
4. the method according to claim 1 for realizing that digital cash is pledged using intelligent contract, which is characterized in that described pre-
If rule are as follows:
Using the odd bits of the L key as first key, the even bit of the L key is as the second key.
5. the method according to claim 1 for realizing that digital cash is pledged using intelligent contract, which is characterized in that the step
It is further comprised the steps of: after rapid S8
It receives the repayment that the first terminal is sent and finishes information;
It sends to repay and finishes information to the second terminal;
The confirmation message that the second terminal is sent is received, sends the second key of the preset rules and second terminal to described
First terminal, so that the first terminal utilizes the preset rules by the first key of itself and second key
It is merged into complete L key, extracts the digital cash pledged from the public wallet using the L key.
6. a kind of server for realizing that digital cash is pledged using intelligent contract, including memory, processor and it is stored in storage
On device and the computer program that can run on the processor, which is characterized in that the processor executes the computer journey
It is performed the steps of when sequence
S1, receive first terminal send intelligent contract loan application, it is corresponding with the loan application intelligence contract include with
The corresponding intelligent contract signature of first terminal identification information and digital cash pledge quantity;
S2, the publication intelligent contract loan application;
S3, the intelligent contract loan participation application that second terminal is sent is received, intelligence corresponding with the loan participation application is closed
It about include intelligent contract signature corresponding with second terminal identification information;
S4, the intelligent contract loan participation application is sent to the first terminal;
S5, the confirmation message that the first terminal is sent is received, the public wallet of block chain creation is based on, by the public wallet
Address is sent respectively to the first terminal and second terminal, and the address of the public wallet is generated L by random algorithm
Position key, splits into first key and the second key to the L key using default rule, and first key is sent to
Second key is sent to second terminal by first terminal;
S6, reception simultaneously send digital cash account information to the second terminal, described in the digital cash account information prompt
The digital cash for pledging quantity has been stored in the public wallet;
S7, reception simultaneously send fund account information to the first terminal, and the fund account information prompt pledges number with described
The corresponding fund of the digital cash of amount has been deposited to the first terminal;
S8, the confirmation Receiving information that the first terminal is sent is received.
7. the server according to claim 6 for realizing that digital cash is pledged using intelligent contract, which is characterized in that use
Hash algorithm verifies terminal identification information, obtains MD5 value, the MD5 value is as intelligence corresponding with terminal identification information
Energy contract signature, the terminal are first terminal or second terminal.
8. the server according to claim 6 for realizing that digital cash is pledged using intelligent contract, which is characterized in that described
Default rule are as follows: be used as first key for preceding M of the L key, the rear position (L-M) of the L key is as second
Key.
9. the server according to claim 6 for realizing that digital cash is pledged using intelligent contract, which is characterized in that described
Default rule are as follows:
Using the odd bits of the L key as first key, the even bit of the L key is as the second key.
10. the server according to claim 6 for realizing that digital cash is pledged using intelligent contract, which is characterized in that institute
It states and is also performed the steps of when the processor executes the computer program after step S8
It receives the repayment that the first terminal is sent and finishes information;
It sends to repay and finishes information to the second terminal;
The confirmation message that the second terminal is sent is received, sends the second key of the preset rules and second terminal to described
First terminal, so that the first terminal utilizes the preset rules by the first key of itself and second key
It is merged into complete L key, extracts the digital cash pledged from the public wallet using the L key.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910332509.9A CN110135821A (en) | 2019-04-24 | 2019-04-24 | A kind of method and server for realizing that digital cash is pledged using intelligent contract |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910332509.9A CN110135821A (en) | 2019-04-24 | 2019-04-24 | A kind of method and server for realizing that digital cash is pledged using intelligent contract |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110135821A true CN110135821A (en) | 2019-08-16 |
Family
ID=67571037
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910332509.9A Pending CN110135821A (en) | 2019-04-24 | 2019-04-24 | A kind of method and server for realizing that digital cash is pledged using intelligent contract |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110135821A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110782253A (en) * | 2019-10-31 | 2020-02-11 | 支付宝(杭州)信息技术有限公司 | Transaction processing method, device and equipment based on block chain |
CN113486407A (en) * | 2021-07-05 | 2021-10-08 | 建信金融科技有限责任公司 | Deposit receipt management system and method based on block chain |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160140654A1 (en) * | 2014-11-13 | 2016-05-19 | Blue Igloo, Inc. | Automated process workflow for the entire mortgage loan and closing process |
CN108885761A (en) * | 2016-04-11 | 2018-11-23 | 区块链控股有限公司 | Method for secure peer-to-peer communication over blockchains |
CN109118222A (en) * | 2018-08-15 | 2019-01-01 | 杭州复杂美科技有限公司 | A kind of asset management system based on block chain |
CN109410039A (en) * | 2018-10-29 | 2019-03-01 | 杭州复杂美科技有限公司 | Pledge loaning bill method, equipment and storage medium |
-
2019
- 2019-04-24 CN CN201910332509.9A patent/CN110135821A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160140654A1 (en) * | 2014-11-13 | 2016-05-19 | Blue Igloo, Inc. | Automated process workflow for the entire mortgage loan and closing process |
CN108885761A (en) * | 2016-04-11 | 2018-11-23 | 区块链控股有限公司 | Method for secure peer-to-peer communication over blockchains |
CN109118222A (en) * | 2018-08-15 | 2019-01-01 | 杭州复杂美科技有限公司 | A kind of asset management system based on block chain |
CN109410039A (en) * | 2018-10-29 | 2019-03-01 | 杭州复杂美科技有限公司 | Pledge loaning bill method, equipment and storage medium |
Non-Patent Citations (4)
Title |
---|
VENA: ""数字货币抵押借贷协议项目对比分析"", 《HTTPS://ZHUANLAN.ZHIHU.COM/P/39961863》, 16 July 2018 (2018-07-16) * |
星传媒: "0基础认识数字货币抵押借贷", 《HTTPS://ZHUANLAN.ZHIHU.COM/P/56132745》 * |
星传媒: "0基础认识数字货币抵押借贷", 《HTTPS://ZHUANLAN.ZHIHU.COM/P/56132745》, 1 February 2019 (2019-02-01) * |
李伟民: "《金融大辞典 4》", 黑龙江人民出版社, pages: 3170 - 3171 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110782253A (en) * | 2019-10-31 | 2020-02-11 | 支付宝(杭州)信息技术有限公司 | Transaction processing method, device and equipment based on block chain |
CN110782253B (en) * | 2019-10-31 | 2022-02-22 | 支付宝(杭州)信息技术有限公司 | Transaction processing method, device and equipment based on block chain |
CN113486407A (en) * | 2021-07-05 | 2021-10-08 | 建信金融科技有限责任公司 | Deposit receipt management system and method based on block chain |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10521777B2 (en) | Crypto digital currency (virtual payment cards) issued by central bank or other issuer for mobile and wearable devices | |
Harvey | Cryptofinance | |
US20190164223A1 (en) | Asset cards for tracking divisible assets in a distributed ledger | |
JP2021184274A (en) | Method for secure peer-to-peer communication on blockchain | |
Litan | American finance for the 21st century | |
CN110033377B (en) | Asset sorting method and device based on block chain and electronic equipment | |
CN110020936B (en) | Asset management method and device based on block chain and electronic equipment | |
Halaburda | Digital currencies: beyond bitcoin | |
US9471906B2 (en) | Digital transactional procedures and implements | |
WO2020071965A1 (en) | Decentralized digital payment service system | |
CN110852747B (en) | Order reconciliation system, method and device | |
Breckenridge | The global ambitions of the biometric anti-bank: Net1, lockin and the technologies of African financialisation | |
CN110135821A (en) | A kind of method and server for realizing that digital cash is pledged using intelligent contract | |
US20220237574A1 (en) | Systems and methods to process payments and money remittances nearly instantaneously without using financial intermediaries or bank accounts by using a stable cryptocurrency and unconventional cryptocurrency distribution methods | |
CN103530770B (en) | A kind of One-key payment method for mobile phone | |
Kiff | Taking Digital Currencies Offline | |
KR20200107342A (en) | System and method for issuing fixed value type crypto currency | |
EP3489875A1 (en) | Device for payment of vehicle based costs, a respective vehicle and a respective method | |
Kishore Jain | The Economics of Cryptocurrencies-Why Does It Work? | |
Zenk et al. | An Investigation of Increasing the Performance of Electric Rickshaw-Pedicab Batteries | |
Dark et al. | Cryptocurrency: Ten Years On| Bulletin–June 2019 | |
Vigliotti et al. | The Rise and Rise of Cryptocurrencies | |
CN110689420A (en) | Honesty bill operating system | |
Nash | Will Fintech Make the World a Better Place? | |
Satoshi | Cryptocurrency: Beginners Bible-How You Can Make Money Trading and Investing in Cryptocurrency like Bitcoin, Ethereum and altcoins |
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: 20190816 |