CN109670801B - Digital encryption money transfer method for block chain - Google Patents

Digital encryption money transfer method for block chain Download PDF

Info

Publication number
CN109670801B
CN109670801B CN201811502165.3A CN201811502165A CN109670801B CN 109670801 B CN109670801 B CN 109670801B CN 201811502165 A CN201811502165 A CN 201811502165A CN 109670801 B CN109670801 B CN 109670801B
Authority
CN
China
Prior art keywords
money transfer
digital
digital encryption
local
request
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.)
Active
Application number
CN201811502165.3A
Other languages
Chinese (zh)
Other versions
CN109670801A (en
Inventor
代炜琦
包庆华
金海�
邹德清
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huazhong University of Science and Technology
Original Assignee
Huazhong University of Science and Technology
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Huazhong University of Science and Technology filed Critical Huazhong University of Science and Technology
Priority to CN201811502165.3A priority Critical patent/CN109670801B/en
Publication of CN109670801A publication Critical patent/CN109670801A/en
Application granted granted Critical
Publication of CN109670801B publication Critical patent/CN109670801B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Payment architectures, schemes or protocols
    • G06Q20/04Payment circuits
    • G06Q20/06Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
    • G06Q20/065Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3825Use of electronic signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/405Establishing or using transaction specific rules

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Engineering & Computer Science (AREA)
  • General Business, Economics & Management (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention discloses a digital encryption money transfer method aiming at a block chain, which comprises the following steps: the user terminal sending a digital encrypted money transfer request to the blockchain network, the request including a first timestamp, one or more first private key signatures, and a source transaction address and a destination transaction address; the first private key signature is a private key signature of other user terminals; the blockchain network reads the digital encryption money transfer strategy according to the source transaction address and verifies the digital encryption money transfer request; the digital encryption money transfer strategy comprises one or more first public keys and transfer conditions; the first public key is a public key of other user terminals; if the verification is legal, transferring the digital encryption currency from the source transaction address to the destination transaction address, recording the transaction behavior, and ending the transaction; otherwise, the transaction is ended. The invention can enable the user to still use the digital encryption currency under the condition that the private key is lost, and prevent the user from trusting the digital assets on a third-party platform, thereby improving the safety.

Description

Digital encryption money transfer method for block chain
Technical Field
The invention belongs to the field of block chains, and particularly relates to a digital encryption money transfer method for a block chain.
Background
The digital encryption currency refers to digital currency which is not based on any real object and uses a cryptographic algorithm. The decentralized nature of the blockchain and the algorithm itself can ensure that the digital cryptocurrency cannot be handled manually by high volume manufacturing. The cryptology-based design may allow digital cryptocurrency to be transferred or paid only by the true owner, again ensuring anonymity of digital cryptocurrency ownership and circulation transactions.
The digital encryption currency is mainly divided into open mining type cryptocurrency and issued type cryptocurrency, and the core characteristic of the digital encryption currency is that the digital encryption currency is not issued by a legal currency institution, a distributed database consisting of a plurality of nodes in the whole block chain network is used for confirming and recording all transaction behaviors, the issuing is generated through a large number of calculations according to a specific algorithm, and each user in the block chain network participates in issuing the currency.
However, there are some non-negligible problems with current digital cryptocurrency: firstly, no effective and controllable scheme is available to solve the problem of loss of the private key of the user, and once the private key of the user is lost, the loss means that the owned digital encryption currency can not be used any more; secondly, the user trusts the digital cryptocurrency to the third-party platform, which means that the user completely trusts the own digital asset use right to the third-party platform, and the security is very low.
Disclosure of Invention
In view of the defects and the improved requirements of the prior art, the invention provides a digital encryption money transfer method for a blockchain, which aims to enable a user to still use digital encryption money when a private key is lost, and effectively solve the problem of low security caused by the fact that the user trusts a digital asset on a third-party platform.
To achieve the above object, the present invention provides a digital encryption money transfer method for a blockchain, comprising:
(1) the user terminal sends a digital encryption money transfer request to the blockchain network;
the digital currency encryption request comprises a first timestamp, one or more first private key signatures, and a source transaction address and a destination transaction address; the first private key signature is a private key signature of other user terminals;
(2) the blockchain network reads a digital encryption money transfer strategy from the blockchain network according to the source transaction address and verifies the digital encryption money transfer request;
the digital encrypted money transfer policy includes one or more first public keys and a transfer condition verifying whether the digital encrypted money transfer request is legitimate; the first public key is a public key of other user terminals;
(3) if the digital encryption currency transfer request is verified to be legal, the blockchain network transfers the digital encryption currency from the source transaction address to the destination transaction address, records the transaction behavior and then goes to the step (4); otherwise, turning to the step (4);
(4) the transaction is ended.
According to the digital encryption money transfer method for the blockchain, the public keys of other user terminals are stored in the blockchain network through the digital encryption money transfer strategy, the private key signatures of the other user terminals are specified in the digital encryption transfer request sent to the blockchain network, and the request verification is completed by using the public keys and the private key signatures of the other user terminals, so that the transaction security is ensured, the digital encryption money can still be used under the condition that the local private key is lost, the digital encryption money does not need to be managed on a third-party platform, and the security is further improved.
Further, in step (2), the verifying the digital encryption money transfer request includes:
obtaining a first time interval between the current time and the first timestamp, and if the first time interval is smaller than a validity threshold, judging that the request is not expired;
verifying the first private key signature by using the first public key, and judging whether the verification result meets the transfer condition;
if the request is not expired and the private key signature verification result meets the transfer condition, the digital encryption money transfer request is verified to be legal.
Further, the digital encryption money transfer method for the block chain provided by the invention further comprises the following steps:
(S1) the user terminal generating a digital encryption money transfer policy initialization request and transmitting it to the blockchain network;
the digital encryption money transfer strategy initialization request comprises a second timestamp, a local public key, a local private key signature, a local transaction address and a digital encryption money transfer strategy to be stored;
(S2) the blockchain network verifies the digital encryption money transfer strategy initialization request, if the verification is legal, the digital encryption money transfer strategy to be stored is stored in the blockchain network according to the local transaction address, and the step (S3) is carried out; otherwise, go to step (S3);
(S3) the transaction is ended.
Further, the step (S1) includes:
obtaining the current time as a second timestamp;
generating a local public key and a local private key according to a digital currency protocol, generating a local transaction address according to the local public key, and obtaining a local private key signature according to the local private key;
making a digital encryption money transfer strategy to be stored according to the transfer requirement;
and generating a digital encryption money transfer strategy initialization request according to the second timestamp, the local public key, the local private key signature, the local transaction address and the digital encryption money transfer strategy to be stored, and sending the digital encryption money transfer strategy initialization request to the blockchain network.
Further, in step (S2), the verifying the digital encryption money transfer policy initialization request by the blockchain network includes:
obtaining a second time interval between the current time and a second timestamp, and if the second time interval is smaller than the validity threshold, judging that the request is not expired;
generating a first transaction address according to the digital currency protocol and the local public key, and if the first transaction address is the same as the local transaction address, judging that the address is legal;
verifying whether the local private key signature is legal or not according to the digital currency protocol and the local public key;
if the request is not expired, the address is legal and the private key signature verification is legal, the digital encryption money transfer strategy initialization request is judged to be legal.
Further, the digital encryption money transfer method for the block chain provided by the invention further comprises the following steps:
(T1) the user terminal generating a digital encrypted money transfer policy modification request and sending it to the blockchain network;
the digital encryption money transfer strategy modification request comprises a third timestamp, a local public key, a local private key signature, a local transaction address and a digital encryption money transfer strategy to be modified;
(T2) the blockchain network verifying the digital encryption money transfer policy modification request, if the verification is legal, modifying the digital encryption money transfer policy in the blockchain network according to the local transaction address and the digital encryption money transfer policy to be modified, and proceeding to step (T3); otherwise, go to step (T3);
(T3) the transaction is ended.
Further, the step (T1) includes:
obtaining the current time as a third timestamp;
generating a local public key and a local private key according to a digital currency protocol, generating a local transaction address according to the local public key, and obtaining a local private key signature according to the local private key;
making a digital encryption money transfer strategy to be modified according to the transfer requirement;
and generating a digital encryption money transfer strategy modification request according to the third timestamp, the local public key, the local private key signature, the local transaction address and the digital encryption money transfer strategy to be modified, and sending the digital encryption money transfer strategy modification request to the blockchain network.
Further, in step (T2), the verification of the digital encryption money transfer policy initialization request by the blockchain network includes:
obtaining a third time interval between the current time and a third timestamp, and if the third time interval is smaller than the validity threshold, judging that the request is not expired;
generating a second transaction address according to the digital currency protocol and the local public key, and if the second transaction address is the same as the local transaction address, judging that the address is legal;
verifying whether the local private key signature is legal or not according to the digital currency protocol and the local public key;
if the request is not expired, the address is legal and the private key signature verification is legal, the digital encryption money transfer strategy modification request is judged to be legal.
Through the digital encryption money transfer strategy initialization request and the digital encryption money transfer strategy modification request mechanism, the user can customize or modify the digital encryption money transfer strategy according to the actual requirement. And the security of digital encryption money transfer is effectively ensured through a strict request verification method.
Furthermore, the validity period threshold is less than 1 hour to prevent replay attack and ensure the security of the user account; as a further preference, the validity period threshold is less than 1 minute.
Further, the digital encryption money transfer method for the block chain provided by the invention also comprises the steps of deploying and starting a digital encryption money transfer contract when the block chain network is started;
the digital cryptographic money transfer contract is used to provide logic functions to enable storage, reading and validation of digital cryptographic money transfer policies by the blockchain network.
Generally, by the above technical solution conceived by the present invention, the following beneficial effects can be obtained:
(1) the digital encryption money transfer method aiming at the block chain stores the public keys of other user terminals in the block chain network through the digital encryption money transfer strategy, specifies the private key signatures of other user terminals in the digital encryption transfer request sent to the block chain network, and completes the verification of the request by using the public keys and the private key signatures of other user terminals, thereby not only ensuring the security of the transaction, but also ensuring that the digital encryption money can still be used under the condition that the local private key is lost, and the digital encryption money does not need to be managed in a third party platform, thereby further improving the security.
(2) The digital encryption money transfer method aiming at the block chain provided by the invention ensures that a user can customize or modify the digital encryption money transfer strategy according to the actual requirement through the digital encryption money transfer strategy initialization request and the digital encryption money transfer strategy modification request mechanism.
(3) The digital encryption money transfer method aiming at the block chain provided by the invention sets up strict verification methods aiming at the digital encryption money transfer request, the digital encryption money transfer strategy initialization request and the digital encryption money transfer strategy modification request sent by a user, and the verification methods comprise the verification of private key signature information, the verification of validity period and the verification of address information, thereby ensuring the security of the digital encryption money transfer.
Drawings
FIG. 1 is a flow chart of a digital encryption money transfer method provided by an embodiment of the invention;
FIG. 2 is a flow diagram of a process for a digital encryption money transfer policy initialization request provided by an embodiment of the present invention;
FIG. 3 is a flow chart of a process for a request to modify a digital encryption money transfer policy according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. In addition, the technical features involved in the embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
The invention provides a digital encryption money transfer method aiming at a block chain, which has the overall thought that: utilizing the non-repudiation and traceability characteristics of the blockchain, allowing a user to define a digital cryptographic money transfer policy via an intelligent contract (i.e., a digital cryptographic money transfer contract); after the private key of the user is lost, according to a transfer strategy defined in the contract, for example, the private key signatures of some two other users are simultaneously generated, the two private key signatures are respectively verified by using the public key in the transfer strategy, so that the digital encryption money of the user is transferred, and the transaction is recorded on the blockchain network.
The digital encryption money transfer method for the block chain provided by the invention, as shown in fig. 1, comprises the following steps:
(1) the user terminal sends a digital encryption money transfer request to the blockchain network;
the digital currency encryption request comprises a first timestamp, one or more first private key signatures, and a source transaction address and a destination transaction address; the first private key signature is a private key signature of other user terminals;
(2) the blockchain network reads a digital encryption money transfer strategy from the blockchain network according to the source transaction address and verifies the digital encryption money transfer request;
the digital encrypted money transfer policy includes one or more first public keys and a transfer condition verifying whether the digital encrypted money transfer request is legitimate; the first public key is a public key of other user terminals;
in an alternative embodiment, the step (2) of authenticating the digitally encrypted money-transfer request includes:
obtaining a first time interval between the current time and the first timestamp, and if the first time interval is smaller than a validity threshold, judging that the request is not expired;
verifying the first private key by using the first public key, and judging whether the verification result meets the transfer condition; in one transfer strategy, three first public keys are stored, and accordingly, if the first public keys are verified successfully at the same time, the transfer of digital encryption currency is allowed; aiming at the transfer strategy, two public keys are used for sequentially verifying the private key signature so as to verify the validity of the private key signature;
if the request is not overdue and the private key verification result meets the transfer condition, the digital encryption money transfer request is verified to be legal;
(3) if the digital encryption currency transfer request is verified to be legal, the blockchain network transfers the digital encryption currency from the source transaction address to the destination transaction address, records the transaction behavior and then goes to the step (4); otherwise, turning to the step (4);
(4) the transaction is ended.
According to the digital encryption money transfer method for the blockchain, the public keys of other user terminals are stored in the blockchain network through the digital encryption money transfer strategy, the private key signatures of the other user terminals are specified in the digital encryption transfer request sent to the blockchain network, and the request verification is completed by using the public keys and the private key signatures of the other user terminals, so that the transaction security is ensured, the digital encryption money can still be used under the condition that the local private key is lost, the digital encryption money does not need to be managed on a third-party platform, and the security is further improved.
In order to make the user customize the digital encryption money transfer strategy according to the actual requirement, as shown in fig. 2, the digital encryption money transfer method for the blockchain provided by the present invention further comprises:
(S1) the user terminal generating a digital encryption money transfer policy initialization request and transmitting it to the blockchain network;
the digital encryption money transfer strategy initialization request comprises a second timestamp, a local public key, a local private key signature, a local transaction address and a digital encryption money transfer strategy to be stored;
in an optional embodiment, the step (S1) specifically includes:
obtaining the current time as a second timestamp;
generating a local public key and a local private key according to a digital currency protocol, generating a local transaction address according to the local public key, and obtaining a local private key signature according to the local private key;
making a digital encryption money transfer strategy to be stored according to the transfer requirement;
generating a digital encryption money transfer strategy initialization request according to the second timestamp, the local public key, the local private key signature, the local transaction address and the digital encryption money transfer strategy to be stored, and sending the digital encryption money transfer strategy initialization request to the blockchain network;
(S2) the blockchain network verifies the digital encryption money transfer strategy initialization request, if the verification is legal, the digital encryption money transfer strategy to be stored is stored in the blockchain network according to the local transaction address, and the step (S3) is carried out; otherwise, go to step (S3);
in an alternative embodiment, in step (S2), the verifying the digital encryption money transfer policy initialization request by the blockchain network specifically includes:
obtaining a second time interval between the current time and a second timestamp, and if the second time interval is smaller than the validity threshold, judging that the request is not expired;
generating a first transaction address according to the digital currency protocol and the local public key, and if the first transaction address is the same as the local transaction address, judging that the address is legal;
verifying whether the local private key signature is legal or not according to the digital currency protocol and the local public key;
if the request is not overdue, the address is legal and the private key signature verification is legal, judging that the digital encryption money transfer strategy initialization request is legal;
in order to enable the user to modify the digital encryption money transfer strategy according to the actual requirement, as shown in fig. 3, the digital encryption money transfer method for the blockchain provided by the invention further comprises:
(T1) the user terminal generating a digital encrypted money transfer policy modification request and sending it to the blockchain network;
the digital encryption money transfer strategy modification request comprises a third timestamp, a local public key, a local private key signature, a local transaction address and a digital encryption money transfer strategy to be modified;
in an alternative embodiment, the step (T1) specifically includes:
obtaining the current time as a third timestamp;
generating a local public key and a local private key according to a digital currency protocol, generating a local transaction address according to the local public key, and obtaining a local private key signature according to the local private key;
making a digital encryption money transfer strategy to be modified according to the transfer requirement;
generating a digital encryption money transfer strategy modification request according to the third timestamp, the local public key, the local private key signature, the local transaction address and the digital encryption money transfer strategy to be modified, and sending the digital encryption money transfer strategy modification request to the blockchain network;
(T2) the blockchain network verifying the digital encryption money transfer policy modification request, if the verification is legal, modifying the digital encryption money transfer policy in the blockchain network according to the local transaction address and the digital encryption money transfer policy to be modified, and proceeding to step (T3); otherwise, go to step (T3);
in an alternative embodiment, in step (T2), the verifying the digital encryption money transfer policy initialization request by the blockchain network specifically includes:
obtaining a third time interval between the current time and a third timestamp, and if the third time interval is smaller than the validity threshold, judging that the request is not expired;
generating a second transaction address according to the digital currency protocol and the local public key, and if the second transaction address is the same as the local transaction address, judging that the address is legal;
verifying whether the local private key signature is legal or not according to the digital currency protocol and the local public key;
if the request is not overdue, the address is legal and the private key signature is legal, judging that the digital encryption money transfer strategy modification request is legal;
(T3) the transaction is ended.
In the embodiment of the method, the validity period threshold is less than 1 hour to prevent replay attack and ensure the safety of the user account; to further place replay attacks, the validity period threshold may also be set to less than 1 minute; it should be understood that the validity period threshold may be set to other values.
Through the digital encryption money transfer strategy initialization request and the digital encryption money transfer strategy modification request mechanism, the user can customize or modify the digital encryption money transfer strategy according to the actual requirement. And the security of digital encryption money transfer is effectively ensured through a strict request verification method.
In the above embodiment, the digital encryption money transfer method for a blockchain provided by the present invention further includes deploying and starting a digital encryption money transfer contract when the blockchain network is started;
the digital cryptographic money transfer contract is used to provide logic functions to enable storage, reading and validation of digital cryptographic money transfer policies by the blockchain network.
In the above embodiment, the algorithm for generating the public key and the private key, the algorithm for generating the transaction address using the public key, and the algorithm for verifying the signature of the private key using the public key are all specified by the digital currency protocol, so that the public key can verify the private key, the private key can derive the public key, the public key can derive the address, and otherwise, the operation is not performed; the digital currency protocol can be a bitcoin protocol, or other digital currency protocols; the algorithm for generating the public key and the private key can be an elliptic curve encryption algorithm or other encryption algorithms; the method for generating the transaction address according to the public key may be to generate one address by performing a certain hash operation and base64 encoding on the public key, or may be other methods.
In an alternative embodiment, the digital encryption money transfer policy initialization request and the digital encryption money transfer policy modification request may be combined into a new request, but a flag may be added to the new request to distinguish whether the request is for the purpose of initializing a digital encryption money transfer policy or modifying a digital encryption money transfer policy.
In general, the invention provides an effective and controllable digital encryption money transfer method to solve the problem of the loss of a private key of a user, and ensures that the user can replace a new private key by using a customized scheme after the private key is lost and transfer the original digital assets; a transfer strategy without depending on a third-party platform is provided, the digital assets are transferred by a user in a decentralized mode, and the safety is guaranteed to a certain extent. The method is suitable for protecting the private key of the user of the block chain system, and can transfer the digital assets of the user under the condition that the private key is lost and no third-party platform is involved.
It will be understood by those skilled in the art that the foregoing is only a preferred embodiment of the present invention, and is not intended to limit the invention, and that any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (9)

1. A digital encryption money transfer method for a blockchain, comprising:
(1) the user terminal sends a digital encryption money transfer request to the blockchain network;
the digital currency encryption request comprises a first timestamp, one or more first private key signatures, and a source transaction address and a destination transaction address; the first private key signature is a private key signature of other user terminals;
(2) the blockchain network reads a digital encryption money transfer strategy from the blockchain network according to the source transaction address and verifies the digital encryption money transfer request;
the digital encrypted money transfer policy includes one or more first public keys and a transfer condition verifying whether the digital encrypted money transfer request is legitimate; the first public key is a public key of other user terminals;
(3) if the digital encryption currency transfer request is verified to be legal, the blockchain network transfers the digital encryption currency from the source transaction address to the destination transaction address, records transaction behaviors and then goes to the step (4); otherwise, turning to the step (4);
(4) ending the transaction;
in the step (2), the verifying the digitally encrypted money transfer request includes:
obtaining a first time interval between the current time and the first timestamp, and if the first time interval is smaller than a validity threshold, determining that the request is not expired;
verifying the first private key signature by using the first public key, and judging whether a verification result meets the transfer condition;
and if the request is not expired and the private key signature verification result meets the transfer condition, verifying that the digital encryption money transfer request is legal.
2. The digital encryption money transfer method for blockchains according to claim 1, further comprising:
(S1) the user terminal generating a digital encrypted money transfer policy initialization request and sending it to the blockchain network;
the digital encryption money transfer strategy initialization request comprises a second timestamp, a local public key, a local private key signature, a local transaction address and a digital encryption money transfer strategy to be stored;
(S2) the blockchain network verifies the digital encryption money transfer strategy initialization request, if the verification is legal, the digital encryption money transfer strategy to be stored is stored in the blockchain network according to the local transaction address, and the step (S3) is carried out; otherwise, go to step (S3);
(S3) the transaction is ended.
3. The digital encryption money transfer method for blockchain according to claim 2, wherein the step (S1) includes:
obtaining a current time as the second timestamp;
generating the local public key and a local private key according to a digital currency protocol, generating the local transaction address according to the local public key, and obtaining a local private key signature according to the local private key;
making the digital encryption money transfer strategy to be stored according to the transfer requirement;
and generating the digital encryption money transfer strategy initialization request according to the second timestamp, the local public key, the local private key signature, the local transaction address and the digital encryption money transfer strategy to be stored, and sending the digital encryption money transfer strategy initialization request to the blockchain network.
4. The digital encryption money transfer method for blockchain according to claim 2, wherein in the step (S2), the verifying the digital encryption money transfer policy initialization request by the blockchain network includes:
obtaining a second time interval between the current time and the second timestamp, and if the second time interval is smaller than a validity threshold, determining that the request is not expired;
generating a first transaction address according to the digital currency protocol and the local public key, and if the first transaction address is the same as the local transaction address, judging that the address is legal;
verifying whether the local private key signature is legal or not according to the digital currency protocol and the local public key;
and if the request is not expired, the address is legal and the private key signature verification is legal, judging that the digital encryption money transfer strategy initialization request is legal.
5. The digital encryption money transfer method for blockchains according to claim 1, further comprising:
(T1) the user terminal generating a digitally encrypted money transfer policy modification request and sending it to the blockchain network;
the digital encryption money transfer strategy modification request comprises a third timestamp, a local public key, a local private key signature, a local transaction address and a digital encryption money transfer strategy to be modified;
(T2) the blockchain network verifying the digital encryption money transfer policy modification request, if the verification is legal, modifying the digital encryption money transfer policy in the blockchain network according to the local transaction address and the digital encryption money transfer policy to be modified, and proceeding to step (T3); otherwise, go to step (T3);
(T3) the transaction is ended.
6. The digital encryption money transfer method for blockchain according to claim 5, wherein the step (T1) includes:
obtaining a current time as the third timestamp;
generating the local public key and a local private key according to a digital currency protocol, generating the local transaction address according to the local public key, and obtaining a local private key signature according to the local private key;
making the digital encryption money transfer strategy to be modified according to the transfer requirement;
and generating the digital encryption money transfer strategy modification request according to the third timestamp, the local public key, the local private key signature, the local transaction address and the digital encryption money transfer strategy to be modified, and sending the digital encryption money transfer strategy modification request to the blockchain network.
7. The digital encryption money transfer method for blockchain according to claim 5, wherein in the step (T2), the verifying the digital encryption money transfer policy initialization request by the blockchain network comprises:
obtaining a third time interval between the current time and the third timestamp, and if the third time interval is smaller than a validity threshold, determining that the request is not expired;
generating a second transaction address according to the digital currency protocol and the local public key, and if the second transaction address is the same as the local transaction address, judging that the address is legal;
verifying whether the local private key signature is legal or not according to the digital currency protocol and the local public key;
and if the request is not expired, the address is legal and the private key signature verification is legal, judging that the digital encryption money transfer strategy modification request is legal.
8. The digital encryption money transfer method for blockchains according to any one of claims 1, 4 or 7, characterized in that the validity period threshold is less than 1 hour.
9. The digital cryptographic money transfer method for blockchains according to claim 1, further comprising, upon startup of the blockchain network, deploying and initiating a digital cryptographic money transfer contract;
the digital cryptographic money transfer contract is used to provide logic functions to enable storage, reading and verification of the digital cryptographic money transfer policy by the blockchain network.
CN201811502165.3A 2018-12-10 2018-12-10 Digital encryption money transfer method for block chain Active CN109670801B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811502165.3A CN109670801B (en) 2018-12-10 2018-12-10 Digital encryption money transfer method for block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811502165.3A CN109670801B (en) 2018-12-10 2018-12-10 Digital encryption money transfer method for block chain

Publications (2)

Publication Number Publication Date
CN109670801A CN109670801A (en) 2019-04-23
CN109670801B true CN109670801B (en) 2021-02-12

Family

ID=66144336

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811502165.3A Active CN109670801B (en) 2018-12-10 2018-12-10 Digital encryption money transfer method for block chain

Country Status (1)

Country Link
CN (1) CN109670801B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11210736B2 (en) 2018-04-27 2021-12-28 Forge Global, Inc. Global liquidity and settlement system
CN110163604B (en) * 2019-04-29 2021-02-09 华中科技大学 Block chain asset transfer method based on multi-party verification
CN110414981B (en) * 2019-07-04 2023-05-09 华中科技大学 Homomorphic encryption method supporting ZKPs and blockchain transaction amount encryption method
CN110351081A (en) * 2019-07-12 2019-10-18 上海翎阳网络科技有限公司 Monetary assets management method and system
CN110912702B (en) * 2019-10-25 2022-05-10 趣派(海南)信息科技有限公司 Block chain asset management method based on hidden social relationship
CN110954780A (en) * 2019-12-03 2020-04-03 湖南国奥电力设备有限公司 Underground cable fault detection method and device based on block chain
CN111314066B (en) * 2020-01-23 2022-02-11 腾讯科技(深圳)有限公司 Block chain-based data transfer method, terminal and computer-readable storage medium
CN111523869B (en) * 2020-04-09 2024-05-24 天地融科技股份有限公司 Off-line transaction method and system for digital currency
CN111915313B (en) * 2020-08-07 2024-03-22 北京金山云网络技术有限公司 Digital asset transfer control method, device and communication system for blockchain
CN112711742B (en) * 2020-11-23 2023-06-06 中国联合网络通信集团有限公司 Digital currency anti-counterfeiting method and device
CN112766940B (en) * 2020-12-22 2023-08-25 北京银合信科技有限公司 Electronic check transaction method and system based on blockchain
CN113506104B (en) * 2021-05-07 2024-03-01 杭州宇链科技有限公司 Signature generation and verification modes and system combining software and hardware

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107609876A (en) * 2017-08-18 2018-01-19 北京云知科技有限公司 A kind of method and system for recovering block chain assets

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106357694B (en) * 2016-11-10 2020-02-07 天脉聚源(北京)传媒科技有限公司 Access request processing method and device
CN107066893B (en) * 2017-02-28 2018-11-09 腾讯科技(深圳)有限公司 The treating method and apparatus of account information in block chain

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107609876A (en) * 2017-08-18 2018-01-19 北京云知科技有限公司 A kind of method and system for recovering block chain assets

Also Published As

Publication number Publication date
CN109670801A (en) 2019-04-23

Similar Documents

Publication Publication Date Title
CN109670801B (en) Digital encryption money transfer method for block chain
CN113239382B (en) Trusted identity model based on blockchain intelligent contract
US10790976B1 (en) System and method of blockchain wallet recovery
JP7189144B2 (en) Secure Reuse of Private Keys for Dynamic Node Groups
CN107911373B (en) A kind of block chain right management method and system
JP7194127B2 (en) Systems and methods for addressing security-related vulnerabilities arising on off-blockchain channels during network failures
CN110870254B (en) Method and system for providing distributed private subspaced data structures
JP7289298B2 (en) Computer-implemented system and method for authorizing blockchain transactions using low-entropy passwords
CN110958110B (en) Block chain private data management method and system based on zero knowledge proof
Alexopoulos et al. Beyond the hype: On using blockchains in trust management for authentication
JP2022180596A (en) Methods and systems for blockchain-implemented event-lock encryption
CN107079036A (en) Registration and authorization method, apparatus and system
CN110163604B (en) Block chain asset transfer method based on multi-party verification
JP7319961B2 (en) Computer-implemented systems and methods related to binary blockchains forming a pair of coupled blockchains
CN110223064B (en) Non-repudiation safety data transmission method based on block chain
CN112311735A (en) Credible authentication method, network equipment, system and storage medium
CN114731279A (en) Method and apparatus for automatic digital certificate verification
CN111815321A (en) Transaction proposal processing method, device, system, storage medium and electronic device
CN110930153B (en) Block chain privacy data management method and system based on hidden third party account
CN113940032A (en) Method and apparatus for recording work history and certifying reputation in blockchain networks
CN111339116A (en) Block chain-based method for sharing open bank data
CN111737715A (en) Decentralized electronic contract online signing method and system
CN113950801A (en) Method and apparatus for public key management using blockchains
CN114503146A (en) Method and apparatus for registration and authentication of miner identity in a blockchain network
JP6911231B1 (en) Reliability verification system for digital asset data packets

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
GR01 Patent grant
GR01 Patent grant