CN110942316A - Transfer verification method and system based on multi-party verification - Google Patents

Transfer verification method and system based on multi-party verification Download PDF

Info

Publication number
CN110942316A
CN110942316A CN201911224564.2A CN201911224564A CN110942316A CN 110942316 A CN110942316 A CN 110942316A CN 201911224564 A CN201911224564 A CN 201911224564A CN 110942316 A CN110942316 A CN 110942316A
Authority
CN
China
Prior art keywords
transaction request
verification code
verification
blockchain network
user
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
Application number
CN201911224564.2A
Other languages
Chinese (zh)
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.)
Qupai Hainan Information Technology Co Ltd
Original Assignee
Qupai Hainan Information Technology Co Ltd
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 Qupai Hainan Information Technology Co Ltd filed Critical Qupai Hainan Information Technology Co Ltd
Priority to CN201911224564.2A priority Critical patent/CN110942316A/en
Publication of CN110942316A publication Critical patent/CN110942316A/en
Pending legal-status Critical Current

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/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/401Transaction verification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or 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/08Payment architectures
    • G06Q20/10Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
    • G06Q20/102Bill distribution or payments
    • 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/401Transaction verification
    • G06Q20/4014Identity check for transactions
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2133Verifying human interaction, e.g., Captcha

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Theoretical Computer Science (AREA)
  • Finance (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Technology Law (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method for transferring and paying under the condition of not using a private key aiming at a block chain, which belongs to the field of the block chain and specifically comprises the following steps: a public and transparent transfer mode is provided, after a user sends a transfer request, the user can transfer assets in the account according to prestored information, and meanwhile, the whole transfer process is guaranteed to be supervised. The invention can solve the technical problems that the private key of the user is easy to attack and the safety of the digital assets of the user is difficult to ensure because the private key of the user needs to be backed up on a third-party platform in the existing block chain transaction system, and the technical problem that the user is inconvenient to use because the user needs to remember the long and complicated private key.

Description

Transfer verification method and system based on multi-party verification
Technical Field
The invention belongs to the field of block chains, and particularly relates to a transfer verification method and system based on multi-party verification.
Background
In the existing block chain transaction system, a user needs to input a private key for verification every time when initiating a transfer, and the private key is usually complex and long, so that the memory cost of the user is high, and the use is inconvenient.
In view of this, some users choose to back up their own private keys on the third-party platform, so as to avoid inputting lengthy and complicated private keys in each transaction, however, the third-party platform often has a centralized feature, so that the backed-up private keys of the users are easily attacked, and thus, the security of the digital assets of the users is difficult to ensure.
Disclosure of Invention
Aiming at the defects or the improvement requirements of the prior art, the invention provides a transfer verification method and a transfer verification system based on multi-party verification, and aims to solve the technical problems that a private key of a user is easy to attack and the safety of the digital assets of the user is difficult to ensure because the private key needs to be backed up on a third party platform in the prior block chain transaction system, and the use is inconvenient because the user needs to memorize the lengthy and complicated private key.
To achieve the above object, according to one aspect of the present invention, there is provided a blockchain transfer authentication method based on multi-party authentication, including the steps of:
(1) the method comprises the steps that a client sends a first transaction request when registering to a blockchain network, wherein the first transaction request comprises a third-party channel of a user operating the client, information of friends of the user in the blockchain network, the minimum verification code matching number N and the designated verification code number N;
(2) the client sends a second transaction request to the blockchain network, wherein the second transaction request comprises a target transaction party, a transaction amount and an address of a first transaction request submitted by the client when the client registers in the blockchain network;
(3) a node in the block chain network generates a verification code according to a second transaction request from a client, sets a verification code number for the verification code, constructs a third transaction request according to the verification code and the verification code number, and sends the third transaction request to the block chain network;
(4) the nodes in the block chain network construct a plurality of third transaction requests according to the received third transaction requests until the total number of the third transaction requests is equal to the number of the specified verification codes, and all the third transaction requests are sent to the block chain network;
(5) the client side continuously obtains the verification codes from the third-party channel and the friends of the user, judges whether the number of the obtained verification codes is larger than or equal to the minimum verification code matching number, if so, the step (6) is carried out, and otherwise, the step (5) is continuously repeated;
(6) the client packs all verification codes acquired from a third-party channel and friends of the user and addresses of all third transaction requests into a fourth transaction request, and sends the fourth transaction request to the blockchain network;
(7) and analyzing the fourth transaction request by a node in the block chain network to obtain all the addresses and all the verification codes of the third transaction request, obtaining the hash value of each verification code according to all the addresses of the third transaction request, verifying the corresponding verification code according to the hash value of each verification code, judging whether the total number of the verification codes passing the verification is greater than or equal to the minimum verification code matching number, if so, allowing the user to execute the transfer operation of the corresponding transaction amount to the target transaction party, and ending the process, otherwise, refusing the user to execute the transfer operation, and ending the process.
Preferably, the lowest verification code matching number N and the specified verification code number N need to satisfy the following relationship: n is more than or equal to N.
Preferably, step (3) comprises the sub-steps of:
(3-1) randomly generating a verification code by a node in the blockchain network, analyzing the address of the first transaction request from the second transaction request, judging whether to select the information of the friends of the user in the blockchain network or select a third-party channel of the user according to the address, if the former is selected, entering the step (3-2), and if the latter is selected, entering the step (3-3);
(3-2) the node in the blockchain network encrypts the verification code by using the public key of the friend in the information in the blockchain network, sends the encryption result to the friend, packages the address of the second transaction request, the encryption result and the verification code number (the value of which is 1) into a third transaction request, and then turns to the step (3-4);
(3-3) the node in the blockchain network sends the verification code generated in the step (3-1) to a third-party channel of the user, packs the address of the second transaction request, the hash value of the verification code and the verification code number into a third transaction request, and then goes to the step (3-4);
(3-4) the node in the blockchain network sends the third transaction request to the blockchain network.
Preferably, step (4) comprises the sub-steps of:
(4-1) a node setting counter i ═ 1 in the blockchain network;
(4-2) the nodes in the block chain network judge whether the counter i is larger than the number of the specified verification codes, if so, the process is ended, otherwise, the step (4-3) is carried out;
(4-3) randomly generating a verification code by a node in the blockchain network, analyzing the address of the second transaction request from the received third transaction request, acquiring the address of the first transaction request according to the address of the second transaction request, judging whether to select information of friends of the user in the blockchain network or select a third-party channel of the user according to the address of the first transaction request, and if the former is selected, entering the step (4-4), and if the latter is selected, entering the step (4-5);
(4-4) the node in the blockchain network encrypts the verification code by using the public key of the friend in the information in the blockchain network, sends the encryption result to the friend, packs the address of the third transaction request, the encryption result and the current verification code number i +1 into the third transaction request, and then goes to the step (4-6);
(4-5) the node in the blockchain network sends the verification code generated in the step (3-1) to a third-party channel of the user, packs the address of the third transaction request, the hash value of the verification code and the verification code number i +1 into the third transaction request, and then goes to the step (4-6);
(4-6) the node in the blockchain network sends the third transaction request obtained in the step (4-5) to the blockchain network, sets i to i +1, and returns to the step (4-2).
According to another aspect of the present invention, there is provided a blockchain transfer verification system based on multi-party verification, including:
the system comprises a first module, a second module and a third module, wherein the first module is arranged in a client and used for sending a first transaction request when registering to a blockchain network, and the first transaction request comprises a third-party channel of a user operating the client, information of friends of the user in the blockchain network, the minimum verification code matching number N and the designated verification code number N;
the second module is arranged in the client and used for sending a second transaction request to the blockchain network, wherein the second transaction request comprises a target transaction party, a transaction amount and an address of a first transaction request submitted by the client when the client registers in the blockchain network;
a third module, which is arranged in a node in the block chain network, and is used for generating a verification code according to a second transaction request from the client, setting a verification code number for the verification code, constructing a third transaction request according to the verification code and the verification code number, and sending the third transaction request to the block chain network;
a fourth module, configured to be disposed in a node in the blockchain network, configured to construct a plurality of third transaction requests according to the received third transaction requests until a total number of the third transaction requests is equal to the number of the specified verification codes, and send all the third transaction requests to the blockchain network;
the fifth module is arranged in the client and used for continuously acquiring the verification codes from the third-party channel and the friends of the user and judging whether the number of the acquired verification codes is greater than or equal to the minimum verification code matching number, if so, the sixth module is switched to, and otherwise, the fifth module is continuously repeated;
a sixth module, disposed in the client, configured to package all the verification codes obtained from the third-party channel of the user and the addresses of all the third transaction requests into a fourth transaction request, and send the fourth transaction request to the blockchain network;
and the seventh module is arranged in a node in the block chain network and used for analyzing the fourth transaction request to obtain all the addresses and all the verification codes of the third transaction request, obtaining the hash value of each verification code according to the addresses of all the third transaction requests, verifying the corresponding verification code according to the hash value of each verification code, judging whether the total number of the verification codes passing the verification is greater than or equal to the minimum verification code matching number, if so, allowing the user to execute the transfer operation of the corresponding transaction amount to the target transaction party, ending the process, otherwise, refusing the user to execute the transfer operation, and ending the process.
Preferably, the lowest verification code matching number N and the specified verification code number N need to satisfy the following relationship: n is more than or equal to N.
Preferably, the third module comprises:
the first sub-module is arranged in a node in the blockchain network and used for randomly generating a verification code, analyzing the address of the first transaction request from the second transaction request, judging whether to select the information of friends of the user in the blockchain network or select a third-party channel of the user according to the address, and entering the second sub-module if the former is selected and entering the third sub-module if the latter is selected;
the second sub-module is arranged in a node in the blockchain network and used for encrypting the verification code by using a public key of the friend in the information in the blockchain network, sending an encryption result to the friend, packaging an address of the second transaction request, the encryption result and a verification code number (the value of which is 1) into a third transaction request and then switching to a fourth sub-module;
the third sub-module is arranged in a node in the block chain network and used for sending the verification code generated by the first sub-module to a third-party channel of the user, packaging the address of the second transaction request, the hash value of the verification code and the verification code number into a third transaction request and then switching to the fourth sub-module;
and the fourth submodule is arranged in a node in the blockchain network and used for sending the third transaction request to the blockchain network.
Preferably, the fourth module comprises:
a fifth sub-module, disposed in a node in the blockchain network, for setting a counter i equal to 1;
the sixth submodule is arranged in a node in the block chain network and used for judging whether the number of the counters i is larger than the number of the specified verification codes or not, if so, the process is finished, and if not, the seventh submodule is started;
a seventh sub-module, which is arranged in a node in the blockchain network and used for randomly generating a verification code, analyzing the address of the second transaction request from the received third transaction request, acquiring the address of the first transaction request according to the address of the second transaction request, and judging whether to select the information of friends of the user in the blockchain network or to select a third-party channel of the user according to the address of the first transaction request, wherein if the former is selected, the eighth sub-module is entered, and if the latter is selected, the ninth sub-module is entered;
the eighth submodule is arranged in a node in the blockchain network and used for encrypting the verification code by using a public key of the friend in the information in the blockchain network, sending an encryption result to the friend, packaging an address of the third transaction request, the encryption result and the current verification code number i +1 into a third transaction request, and then switching to the tenth submodule;
the ninth sub-module is arranged in a node in the block chain network and used for sending the verification code generated in the first sub-module to a third-party channel of the user, packaging the address of the third transaction request, the hash value of the verification code and the verification code number i +1 into the third transaction request and then switching to the tenth sub-module;
and the tenth submodule is arranged in a node in the block chain network and used for sending the third transaction request obtained by the ninth submodule to the block chain network, setting i to be i +1 and returning to the sixth submodule.
In general, compared with the prior art, the above technical solution contemplated by the present invention can achieve the following beneficial effects:
1. the invention can solve the technical problem of inconvenient use caused by the need of a user to memorize and input a complex private key in the prior block chain transaction process: because the invention adopts the step (1) and the step (7), the third-party channel is used for verification, the user only needs to acquire verification information through the friend relationship and the third-party channel (mobile phone, mailbox and the like) of the user, and does not need to memorize a private key or a complex password, thereby reducing the memory cost of the user on one hand, and avoiding the asset loss of the user caused by forgetting the private key on the other hand, thereby increasing the convenience of the user operation.
2. The invention can solve the technical problems that the private key is easy to attack and the security of the digital assets is difficult to ensure caused by the fact that the existing user backs up the private key on a third-party platform: because the invention adopts the step (1), the step (3) and the step (4), the friend relationship of the user and the third-party channel (mobile phone, mailbox and the like) of the user are used for verification, the private key of the user does not need to be obtained, meanwhile, verifiers all come from multiple parties, and the possibility that an illegal user colludes to steal the private key of the user is reduced, therefore, the invention has higher safety.
3. The operation of the user on the system of the invention is similar to that on the traditional centralized platform, so the system accords with the habit of the user and has better user experience.
4. The identity authentication method randomly selects the miners' verifiers based on the consensus mechanism, simply and efficiently realizes identity authentication without using a private key, converts the traditional third-party centralized authentication method into a decentralization identity authentication scheme dominated by miners, and solves the problem that the central verifier counterfeits real identity.
Drawings
FIG. 1 is a flow chart of the blockchain transfer verification method based on multi-party verification 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 technical terms of the present invention are explained and explained first.
Special transaction: the transaction with other special functions is realized in a transaction form, and the transaction with the functions of initiating a transfer request, sending a verification code, checking the transfer and the like is realized.
Channel: the method is used for verifying the user identity and comprises a friend channel of a user operating a client and a third-party channel of the user, wherein the friend channel of the user refers to the friend relationship of the user, and the third-party channel of the user refers to a mailbox or a mobile phone number of the user.
As shown in fig. 1, the present invention provides a block chain transfer verification method based on multi-party verification, which includes the following steps:
(1) the method comprises the steps that a client sends a transaction request X when registering to a blockchain network, wherein the transaction request X comprises a third-party channel of a user operating the client, information of friends of the user in the blockchain network (the information comprises addresses of the friends in the blockchain network and public keys of the friends in the blockchain network), the matching number N of the lowest verification codes and the number N of designated verification codes; the minimum verification code matching number N and the designated verification code number N need to satisfy the following relations: n is more than or equal to N;
(2) the client sends a transaction request A to the blockchain network, wherein the transaction request A comprises a target transaction party, a transaction amount and an address of a transaction request X submitted by the client when the client registers in the blockchain network;
(3) a node in the block chain network generates a verification code according to a transaction request A from a client, sets a verification code number for the verification code, constructs a transaction request B according to the verification code and the verification code number, and sends the transaction request B to the block chain network;
specifically, this step includes the following substeps:
(3-1) randomly generating a verification code by a node in the blockchain network, analyzing the address of the transaction request X from the transaction request A, judging whether to select the information of friends of the user in the blockchain network or select a third-party channel of the user according to the address, if the former is selected, entering the step (3-2), and if the latter is selected, entering the step (3-3);
(3-2) the node in the blockchain network encrypts the verification code by using the public key of the friend in the information in the blockchain network, sends the encryption result to the friend, packages the address of the transaction request A, the encryption result and the verification code number (the value of which is 1) into a transaction request B, and then proceeds to the step (3-4);
(3-3) the node in the block chain network sends the verification code generated in the step (3-1) to a third-party channel of the user, packs the address of the transaction request A, the hash value of the verification code and the verification code number (the value of the verification code number is 1) into a transaction request B, and then turns to the step (3-4);
(3-4) the node in the blockchain network sends the transaction request B to the blockchain network.
(4) The nodes in the block chain network construct a plurality of transaction requests B according to the received transaction requests B until the total number of the transaction requests B is equal to the number of the specified verification codes, and send all the transaction requests B to the block chain network;
specifically, this step includes the following substeps:
(4-1) a node setting counter i ═ 1 in the blockchain network;
(4-2) the nodes in the block chain network judge whether the counter i is larger than the number of the specified verification codes, if so, the process is ended, otherwise, the step (4-3) is carried out;
(4-3) randomly generating a verification code by a node in the blockchain network, analyzing the address of the transaction request A from the received transaction request B, acquiring the address of the transaction request X according to the address of the transaction request A, judging whether to select the information of friends of the user in the blockchain network or select a third-party channel of the user according to the address of the transaction request X, and if the former is selected, entering the step (4-4), and if the latter is selected, entering the step (4-5);
(4-4) the node in the blockchain network encrypts the verification code by using the public key of the friend in the information in the blockchain network, sends the encryption result to the friend, packages the address of the transaction request B, the encryption result and the current verification code number (the value of which is i +1) into the transaction request B, and then proceeds to the step (4-6);
(4-5) the node in the blockchain network sends the verification code generated in the step (3-1) to a third-party channel of the user, and packages the address of the transaction request B, the hash value of the verification code and the verification code number (which is equal to i +1) into the transaction request B, and then the step (4-6) is carried out;
(4-6) the node in the blockchain network sends the transaction request B obtained in the step (4-5) to the blockchain network, sets i to i +1, and returns to the step (4-2);
(5) the client side continuously obtains the verification codes from the third-party channel and the friends of the user, judges whether the number of the obtained verification codes is larger than or equal to the minimum verification code matching number, if so, the step (6) is carried out, and otherwise, the step (5) is continuously repeated;
(6) the client packs all verification codes acquired from a third-party channel and friends of a user and addresses of all transaction requests B into a transaction request C, and sends the transaction request C to the block chain network;
(7) analyzing the transaction request C by a node in the block chain network to obtain the addresses and all verification codes of all transaction requests B, obtaining the hash value of each verification code according to the addresses of all transaction requests B, verifying the corresponding verification code according to the hash value of each verification code, judging whether the total number of the verification codes passing the verification is greater than or equal to the minimum verification code matching number, if so, allowing the user to execute the transfer operation of the corresponding transaction amount to the target transaction party, and ending the process, otherwise, refusing the user to execute the transfer operation, and ending the process.
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 (8)

1. A block chain transfer verification method based on multi-party verification is characterized by comprising the following steps:
(1) the method comprises the steps that a client sends a first transaction request when registering to a blockchain network, wherein the first transaction request comprises a third-party channel of a user operating the client, information of friends of the user in the blockchain network, the minimum verification code matching number N and the designated verification code number N;
(2) the client sends a second transaction request to the blockchain network, wherein the second transaction request comprises a target transaction party, a transaction amount and an address of a first transaction request submitted by the client when the client registers in the blockchain network;
(3) a node in the block chain network generates a verification code according to a second transaction request from a client, sets a verification code number for the verification code, constructs a third transaction request according to the verification code and the verification code number, and sends the third transaction request to the block chain network;
(4) the nodes in the block chain network construct a plurality of third transaction requests according to the received third transaction requests until the total number of the third transaction requests is equal to the number of the specified verification codes, and all the third transaction requests are sent to the block chain network;
(5) the client side continuously obtains the verification codes from the third-party channel and the friends of the user, judges whether the number of the obtained verification codes is larger than or equal to the minimum verification code matching number, if so, the step (6) is carried out, and otherwise, the step (5) is continuously repeated;
(6) the client packs all verification codes acquired from a third-party channel and friends of the user and addresses of all third transaction requests into a fourth transaction request, and sends the fourth transaction request to the blockchain network;
(7) and analyzing the fourth transaction request by a node in the block chain network to obtain all the addresses and all the verification codes of the third transaction request, obtaining the hash value of each verification code according to all the addresses of the third transaction request, verifying the corresponding verification code according to the hash value of each verification code, judging whether the total number of the verification codes passing the verification is greater than or equal to the minimum verification code matching number, if so, allowing the user to execute the transfer operation of the corresponding transaction amount to the target transaction party, and ending the process, otherwise, refusing the user to execute the transfer operation, and ending the process.
2. A blockchain transfer verification method as claimed in claim 1 wherein the minimum verification code matching number N and the specified verification code number N are required to satisfy the following relationship: n is more than or equal to N.
3. A blockchain transfer verification method as claimed in claim 1 wherein step (3) includes the substeps of:
(3-1) randomly generating a verification code by a node in the blockchain network, analyzing the address of the first transaction request from the second transaction request, judging whether to select the information of the friends of the user in the blockchain network or select a third-party channel of the user according to the address, if the former is selected, entering the step (3-2), and if the latter is selected, entering the step (3-3);
(3-2) the node in the blockchain network encrypts the verification code by using the public key of the friend in the information in the blockchain network, sends the encryption result to the friend, packages the address of the second transaction request, the encryption result and the verification code number (the value of which is 1) into a third transaction request, and then turns to the step (3-4);
(3-3) the node in the blockchain network sends the verification code generated in the step (3-1) to a third-party channel of the user, packs the address of the second transaction request, the hash value of the verification code and the verification code number into a third transaction request, and then goes to the step (3-4);
(3-4) the node in the blockchain network sends the third transaction request to the blockchain network.
4. A blockchain transfer verification method as claimed in claim 3 wherein step (4) includes the substeps of:
(4-1) a node setting counter i ═ 1 in the blockchain network;
(4-2) the nodes in the block chain network judge whether the counter i is larger than the number of the specified verification codes, if so, the process is ended, otherwise, the step (4-3) is carried out;
(4-3) randomly generating a verification code by a node in the blockchain network, analyzing the address of the second transaction request from the received third transaction request, acquiring the address of the first transaction request according to the address of the second transaction request, judging whether to select information of friends of the user in the blockchain network or select a third-party channel of the user according to the address of the first transaction request, and if the former is selected, entering the step (4-4), and if the latter is selected, entering the step (4-5);
(4-4) the node in the blockchain network encrypts the verification code by using the public key of the friend in the information in the blockchain network, sends the encryption result to the friend, packs the address of the third transaction request, the encryption result and the current verification code number i +1 into the third transaction request, and then goes to the step (4-6);
(4-5) the node in the blockchain network sends the verification code generated in the step (3-1) to a third-party channel of the user, packs the address of the third transaction request, the hash value of the verification code and the verification code number i +1 into the third transaction request, and then goes to the step (4-6);
(4-6) the node in the blockchain network sends the third transaction request obtained in the step (4-5) to the blockchain network, sets i to i +1, and returns to the step (4-2).
5. A blockchain transfer verification system based on multi-party verification, comprising:
the system comprises a first module, a second module and a third module, wherein the first module is arranged in a client and used for sending a first transaction request when registering to a blockchain network, and the first transaction request comprises a third-party channel of a user operating the client, information of friends of the user in the blockchain network, the minimum verification code matching number N and the designated verification code number N;
the second module is arranged in the client and used for sending a second transaction request to the blockchain network, wherein the second transaction request comprises a target transaction party, a transaction amount and an address of a first transaction request submitted by the client when the client registers in the blockchain network;
a third module, which is arranged in a node in the block chain network, and is used for generating a verification code according to a second transaction request from the client, setting a verification code number for the verification code, constructing a third transaction request according to the verification code and the verification code number, and sending the third transaction request to the block chain network;
a fourth module, configured to be disposed in a node in the blockchain network, configured to construct a plurality of third transaction requests according to the received third transaction requests until a total number of the third transaction requests is equal to the number of the specified verification codes, and send all the third transaction requests to the blockchain network;
the fifth module is arranged in the client and used for continuously acquiring the verification codes from the third-party channel and the friends of the user and judging whether the number of the acquired verification codes is greater than or equal to the minimum verification code matching number, if so, the sixth module is switched to, and otherwise, the fifth module is continuously repeated;
a sixth module, disposed in the client, configured to package all the verification codes obtained from the third-party channel of the user and the addresses of all the third transaction requests into a fourth transaction request, and send the fourth transaction request to the blockchain network;
and the seventh module is arranged in a node in the block chain network and used for analyzing the fourth transaction request to obtain all the addresses and all the verification codes of the third transaction request, obtaining the hash value of each verification code according to the addresses of all the third transaction requests, verifying the corresponding verification code according to the hash value of each verification code, judging whether the total number of the verification codes passing the verification is greater than or equal to the minimum verification code matching number, if so, allowing the user to execute the transfer operation of the corresponding transaction amount to the target transaction party, ending the process, otherwise, refusing the user to execute the transfer operation, and ending the process.
6. A blockchain transfer verification system as claimed in claim 5 wherein the minimum verification code matching number N and the specified verification code number N are required to satisfy the following relationship: n is more than or equal to N.
7. A blockchain transfer verification system as claimed in claim 5 wherein the third module includes:
the first sub-module is arranged in a node in the blockchain network and used for randomly generating a verification code, analyzing the address of the first transaction request from the second transaction request, judging whether to select the information of friends of the user in the blockchain network or select a third-party channel of the user according to the address, and entering the second sub-module if the former is selected and entering the third sub-module if the latter is selected;
the second sub-module is arranged in a node in the blockchain network and used for encrypting the verification code by using a public key of the friend in the information in the blockchain network, sending an encryption result to the friend, packaging an address of the second transaction request, the encryption result and a verification code number (the value of which is 1) into a third transaction request and then switching to a fourth sub-module;
the third sub-module is arranged in a node in the block chain network and used for sending the verification code generated by the first sub-module to a third-party channel of the user, packaging the address of the second transaction request, the hash value of the verification code and the verification code number into a third transaction request and then switching to the fourth sub-module;
and the fourth submodule is arranged in a node in the blockchain network and used for sending the third transaction request to the blockchain network.
8. A blockchain transfer verification method as in claim 7 wherein the fourth module includes:
a fifth sub-module, disposed in a node in the blockchain network, for setting a counter i equal to 1;
the sixth submodule is arranged in a node in the block chain network and used for judging whether the number of the counters i is larger than the number of the specified verification codes or not, if so, the process is finished, and if not, the seventh submodule is started;
a seventh sub-module, which is arranged in a node in the blockchain network and used for randomly generating a verification code, analyzing the address of the second transaction request from the received third transaction request, acquiring the address of the first transaction request according to the address of the second transaction request, and judging whether to select the information of friends of the user in the blockchain network or to select a third-party channel of the user according to the address of the first transaction request, wherein if the former is selected, the eighth sub-module is entered, and if the latter is selected, the ninth sub-module is entered;
the eighth submodule is arranged in a node in the blockchain network and used for encrypting the verification code by using a public key of the friend in the information in the blockchain network, sending an encryption result to the friend, packaging an address of the third transaction request, the encryption result and the current verification code number i +1 into a third transaction request, and then switching to the tenth submodule;
the ninth sub-module is arranged in a node in the block chain network and used for sending the verification code generated in the first sub-module to a third-party channel of the user, packaging the address of the third transaction request, the hash value of the verification code and the verification code number i +1 into the third transaction request and then switching to the tenth sub-module;
and the tenth submodule is arranged in a node in the block chain network and used for sending the third transaction request obtained by the ninth submodule to the block chain network, setting i to be i +1 and returning to the sixth submodule.
CN201911224564.2A 2019-12-04 2019-12-04 Transfer verification method and system based on multi-party verification Pending CN110942316A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911224564.2A CN110942316A (en) 2019-12-04 2019-12-04 Transfer verification method and system based on multi-party verification

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911224564.2A CN110942316A (en) 2019-12-04 2019-12-04 Transfer verification method and system based on multi-party verification

Publications (1)

Publication Number Publication Date
CN110942316A true CN110942316A (en) 2020-03-31

Family

ID=69909397

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911224564.2A Pending CN110942316A (en) 2019-12-04 2019-12-04 Transfer verification method and system based on multi-party verification

Country Status (1)

Country Link
CN (1) CN110942316A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111626735A (en) * 2020-05-28 2020-09-04 上海逐鲨智能科技有限公司 Data interaction system, method and module

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107196966A (en) * 2017-07-05 2017-09-22 北京信任度科技有限公司 The identity identifying method and system of multi-party trust based on block chain
CN108764874A (en) * 2018-05-17 2018-11-06 深圳前海微众银行股份有限公司 Anonymous refund method, system and storage medium based on block chain
CN108830598A (en) * 2018-05-31 2018-11-16 成都华希明商务服务有限公司 The method of block chain transaction business service financial agreement supervision
CN109493061A (en) * 2018-12-28 2019-03-19 合肥达朴汇联科技有限公司 A kind of verification method, device, electronic equipment and the storage medium of the data of block chain
CN110163604A (en) * 2019-04-29 2019-08-23 华中科技大学 A kind of block chain assets transfer method based on multi-party verification

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107196966A (en) * 2017-07-05 2017-09-22 北京信任度科技有限公司 The identity identifying method and system of multi-party trust based on block chain
CN108764874A (en) * 2018-05-17 2018-11-06 深圳前海微众银行股份有限公司 Anonymous refund method, system and storage medium based on block chain
CN108830598A (en) * 2018-05-31 2018-11-16 成都华希明商务服务有限公司 The method of block chain transaction business service financial agreement supervision
CN109493061A (en) * 2018-12-28 2019-03-19 合肥达朴汇联科技有限公司 A kind of verification method, device, electronic equipment and the storage medium of the data of block chain
CN110163604A (en) * 2019-04-29 2019-08-23 华中科技大学 A kind of block chain assets transfer method based on multi-party verification

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111626735A (en) * 2020-05-28 2020-09-04 上海逐鲨智能科技有限公司 Data interaction system, method and module

Similar Documents

Publication Publication Date Title
CN110958110B (en) Block chain private data management method and system based on zero knowledge proof
CN108959911A (en) A kind of key chain generates, verification method and its device
CN103595718B (en) A kind of POS terminal Activiation method, system, service platform and POS terminal
CN109740384A (en) Data based on block chain deposit card method and apparatus
CN111010381B (en) Cross-chain-based identity authentication method and system
US11270303B2 (en) Cryptocurrency-based event participation verification
US20190222418A1 (en) Systems and Methods for Key Exchange in Blockchain
CN109981562B (en) Software development kit authorization method and device
US20170230187A1 (en) Method and Apparatus for Managing Application Identifier
CN110930153B (en) Block chain privacy data management method and system based on hidden third party account
CN102782694A (en) Transaction auditing for data security devices
CN110210249B (en) System and method for realizing track hiding query function based on data confusion
CN110213276A (en) Authority checking method, server, terminal and medium under a kind of micro services framework
WO2019033840A1 (en) Password authentication method for shared device, shared device, cloud server, and system
CN106576043A (en) Virally distributable trusted messaging
CN113901425B (en) Method, device, storage medium and equipment for solving intersection safely by multiple parties
CN110490640B (en) Method, device and system for object distribution processing
CN106059760B (en) A kind of cryptographic system from user terminal crypto module calling system private key
CN104660412A (en) Password-less security authentication method and system for mobile equipment
CN111161056A (en) Method, system and equipment for improving transaction security of digital assets
CN104125230A (en) Short message authentication service system and authentication method
CN111523142B (en) Data processing method, device, electronic equipment and medium
CN106487758B (en) data security signature method, service terminal and private key backup server
CN111314066B (en) Block chain-based data transfer method, terminal and computer-readable storage medium
CN109754322A (en) A kind of data service system

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

Application publication date: 20200331

RJ01 Rejection of invention patent application after publication