CN110060058B - Transaction method, device, equipment and readable storage medium - Google Patents

Transaction method, device, equipment and readable storage medium Download PDF

Info

Publication number
CN110060058B
CN110060058B CN201910340798.7A CN201910340798A CN110060058B CN 110060058 B CN110060058 B CN 110060058B CN 201910340798 A CN201910340798 A CN 201910340798A CN 110060058 B CN110060058 B CN 110060058B
Authority
CN
China
Prior art keywords
transaction
information
node
card number
clearing center
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
CN201910340798.7A
Other languages
Chinese (zh)
Other versions
CN110060058A (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.)
Shenzhen Launch Technology Co Ltd
Original Assignee
Shenzhen Launch 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 Shenzhen Launch Technology Co Ltd filed Critical Shenzhen Launch Technology Co Ltd
Priority to CN201910340798.7A priority Critical patent/CN110060058B/en
Publication of CN110060058A publication Critical patent/CN110060058A/en
Application granted granted Critical
Publication of CN110060058B publication Critical patent/CN110060058B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/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/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/3827Use of message hashing

Abstract

The application discloses a transaction method, which is applied to nodes in a blockchain system and comprises the following steps: receiving transaction information sent by a user; the transaction information includes at least: transaction authorization code, transaction amount, collection bank card number, and transaction signature information; checking the transaction signature information, and if the check is passed, adding the transaction signature information into a notarized competition pool of the transaction information; if the node is selected by the blockchain system by adopting a consensus mechanism, after the transaction information is notarized, the transaction information is sent to the Unionpay clearing center, so that the Unionpay clearing center pays the transaction amount to the collection bank card number according to the transaction authorization code. The application completes the transaction in a bank transfer settlement mode in a blockchain system, thereby improving the security and tamper resistance of the transaction. The transaction device, the device and the readable storage medium disclosed by the application also have the technical effects.

Description

Transaction method, device, equipment and readable storage medium
Technical Field
The present application relates to the field of information security technologies, and in particular, to a transaction method, apparatus, device, and readable storage medium.
Background
The transfer refers to a bank money settlement mode in which money is transferred from a payment account to a collection account through a banking transaction system without directly using cash, thereby completing money collection and payment. The method has the advantages of rapidness and convenience, and most commodity transactions and money payments are settled by means of network transfer nowadays.
The network transfer settlement mode brings convenience and meanwhile has higher risk. In particular, since commodity transactions and money payments are performed through the internet, and various threats such as information tampering and domain name tampering exist in the internet, commodity transactions and money payments performed based on the internet are also faced with various threats. Although transaction systems of financial institutions such as banks are more secure, the security and tamper resistance of the existing financial transaction systems are still further improved because the security of the transaction systems is threatened by computer network devices, viruses, hacking and the like.
Therefore, how to improve the security and tamper resistance of transactions is a problem that a person skilled in the art needs to solve.
Disclosure of Invention
The application aims to provide a transaction method, a transaction device, a transaction equipment and a readable storage medium, so as to improve the security and tamper resistance of transactions.
In order to achieve the above purpose, the present application provides the following technical solutions:
in a first aspect, the present application provides a transaction method applied to a node in a blockchain system, comprising:
receiving transaction information sent by a user; the transaction information includes at least: transaction authorization code, transaction amount, collection bank card number, and transaction signature information; the transaction authorization code is generated and fed back to the user after the identity information, the payment bank card number and the payment password submitted by the Unionpay clearing center in the blockchain system pass verification;
checking the transaction signature information, and if the check is passed, adding the transaction signature information into a notarized competition pool of the transaction information;
if the node is selected in the notarization competition pool by the blockchain system by adopting a consensus mechanism, after notarizing the transaction information, the transaction information is sent to the Unionpay clearing center so that the Unionpay clearing center pays the transaction amount to the collection bank card number according to the transaction authorization code.
Preferably, before joining the notarized competitive pool of transaction information, further comprising:
judging whether to notarize the transaction information according to the authorization times of the transaction authorization codes;
if yes, executing the step of joining in the notarized competition pool of the transaction information.
Preferably, determining whether to notarize the transaction information according to the authorization times of the transaction authorization code includes:
judging whether the notarization transaction information can obtain notarization payment according to the authorized times.
Preferably, notarizing the transaction information includes:
and (5) notarizing the transaction information in a Ethics way.
Preferably, the transmitting the transaction information to the banked clearing house to cause the banked clearing house to pay the transaction amount to the collection bank card number according to the transaction authorization code includes:
and transmitting the transaction information and the self node information to a Unionpay clearing center so that the Unionpay clearing center can check the node signature information in the self node information, and if the node signature information passes the check, paying the transaction amount to the collection bank card number according to the transaction authorization code.
Preferably, the banked clearinghouse pays the transaction amount to the collecting bank card number according to the transaction authorization code, comprising:
the Unionpay clearing center verifies whether the transaction authorization code is valid; if so, the transaction amount is paid to the collection bank card number.
Preferably, after the banking center pays the transaction amount to the collecting bank card number according to the transaction authorization code, the method further comprises:
the Unionpay clearing center checks whether the authorized times are valid; if yes, paying the public card payment to the bank card number of the node for receiving the public card payment;
wherein, the notarization reward is the notarization reward obtained by the node notarization transaction information; the bank card number for receiving the notarization payment exists in the own node information.
In a second aspect, the present application provides a transaction device for use in a node in a blockchain system, comprising:
the receiving module is used for receiving transaction information sent by a user; the transaction information includes at least: transaction authorization code, transaction amount, collection bank card number, and transaction signature information; the transaction authorization code is generated and fed back to the user after the identity information, the payment bank card number and the payment password submitted by the Unionpay clearing center in the blockchain system pass verification;
the execution module is used for checking the transaction signature information, and if the verification is passed, the transaction signature information is added into a notarized competition pool of the transaction information;
and the transaction module is used for sending the transaction information to the banked clearing center after the transaction information is subjected to notarization if the node is selected in the notarization competition pool by the blockchain system by adopting a consensus mechanism, so that the banked clearing center pays the transaction amount to the collection bank card number according to the transaction authorization code.
Preferably, the transaction device further includes:
the judging module is used for judging whether the notarized transaction information is notarized according to the authorization times of the transaction authorization codes; if yes, executing the steps in the execution module.
Preferably, the judging module is specifically configured to:
judging whether the notarization transaction information can obtain notarization payment according to the authorized times.
Preferably, the transaction module is specifically configured to:
and (5) notarizing the transaction information in a Ethics way.
Preferably, the transaction module is specifically configured to:
and transmitting the transaction information and the self node information to a Unionpay clearing center so that the Unionpay clearing center can check the node signature information in the self node information, and if the node signature information passes the check, paying the transaction amount to the collection bank card number according to the transaction authorization code.
Preferably, the transaction module is specifically configured to:
the Unionpay clearing center verifies whether the transaction authorization code is valid; if so, the transaction amount is paid to the collection bank card number.
Preferably, the transaction module is specifically configured to:
the Unionpay clearing center checks whether the authorized times are valid; if yes, paying the public card payment to the bank card number of the node for receiving the public card payment; wherein, the notarization reward is the notarization reward obtained by the node notarization transaction information; the bank card number for receiving the notarization payment exists in the own node information.
In a third aspect, the present application provides a transaction device comprising:
a memory for storing a computer program;
a processor for implementing the steps of any of the transaction methods described above when executing the computer program.
In a fourth aspect, the present application provides a readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the transaction method of any of the above.
As can be seen from the above scheme, the present application provides a transaction method applied to a node in a blockchain system, including: receiving transaction information sent by a user; the transaction information includes at least: transaction authorization code, transaction amount, collection bank card number, and transaction signature information; the transaction authorization code is generated and fed back to the user after the identity information, the payment bank card number and the payment password submitted by the Unionpay clearing center in the blockchain system pass verification; checking the transaction signature information, and if the check is passed, adding the transaction signature information into a notarized competition pool of the transaction information; if the node is selected in the notarization competition pool by the blockchain system by adopting a consensus mechanism, after notarizing the transaction information, the transaction information is sent to the Unionpay clearing center so that the Unionpay clearing center pays the transaction amount to the collection bank card number according to the transaction authorization code.
Therefore, the method completes the transaction in a bank transfer settlement mode in the blockchain system, and a consensus mechanism in the blockchain system can prevent the transaction from being tampered, so that the transaction safety is improved; and, add the Unionpay clearing center into the block chain system, is equivalent to having drafted the armor of tamper-proof for the Unionpay clearing center, therefore has improved the payment security too. The present application increases the security and tamper resistance of transactions. Meanwhile, the existing blockchain system generally uses virtual coins such as bitcoin and ethernet coin to complete the transaction, and the virtual coins can make the transaction process simpler and more direct, but because the factors influencing the virtual coin value are quite many, the market value fluctuation is quite large, so if the payee does not timely convert the virtual coin into legal money after the transaction is completed, funds can be damaged due to the virtual coin value fluctuation. The application completes the transaction in a bank transfer settlement mode in a blockchain system, and because the virtual coin is not used, the problem of fund damage caused by the value fluctuation of the virtual coin can be avoided, and the economic benefits of both transaction parties are ensured. Therefore, the application not only improves the transaction safety and tamper resistance, but also avoids the defects of the block chain system, and can ensure the economic benefits of both transaction parties.
Accordingly, the transaction device, the device and the readable storage medium provided by the application have the technical effects as well.
Drawings
In order to more clearly illustrate the embodiments of the application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a first transaction method according to an embodiment of the present application;
FIG. 2 is a flow chart of a second transaction method according to an embodiment of the present application;
FIG. 3 is a flow chart of a third transaction method according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a transaction device according to an embodiment of the present application;
fig. 5 is a schematic diagram of a transaction device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
At present, the network transfer settlement mode brings convenience and also has higher risk. In particular, since commodity transactions and money payments are performed through the internet, and various threats such as information tampering and domain name tampering exist in the internet, commodity transactions and money payments performed based on the internet are also faced with various threats. Although transaction systems of financial institutions such as banks are more secure, the security and tamper resistance of the existing financial transaction systems are still further improved because the security of the transaction systems is threatened by computer network devices, viruses, hacking and the like. To this end, the embodiments of the present application disclose a transaction method, apparatus, device, and readable storage medium to improve the security and tamper resistance of transactions.
Referring to fig. 1, an embodiment of the present application provides a first transaction method applied to a node in a blockchain system, including:
s101, receiving transaction information sent by a user; the transaction information includes at least: transaction authorization code, transaction amount, collection bank card number, and transaction signature information; the transaction authorization code is generated and fed back to the user after the identity information, the payment bank card number and the payment password submitted by the Unionpay clearing center in the blockchain system pass verification.
In this embodiment, the transaction authorization code indicates that the transaction information sent by the current user is authorized by the banked clearinghouse, so that the identity of the user who sends the transaction information can be considered as the true identity.
The transaction amount is the amount that the current transaction needs to pay. The collection bank card number is the bank card account number of the seller. The transaction signature information is the signature information of the current transaction information, and the generation of the transaction signature information can adopt the existing signature algorithm. It should be noted that, the transaction information generally further includes user identification information and remark information of the current transaction; the user identification information may be a virtual address used by the user; the remark information is used for briefly describing the transaction or describing the special features of the transaction. Of course, other available information may be added to the transaction information.
The transaction authorization code is generated and fed back to the user after the verification of the identity information, the payment bank card number and the payment password submitted by the Unionpay clearing center in the blockchain system is passed, so that the user submits the identity information, the payment bank card number and the payment password to the Unionpay clearing center before sending the transaction information, and the identity information can be the identity card number and other information on resident identity cards, so that the user can be a natural person, namely a buyer.
In this embodiment, the information submitted by the user to the Unionpay clearing center further includes: the total amount in the payment bank card, the limit of the single transaction, the validity period of the information currently submitted, etc. If the identity information, the payment bank card number and the payment password submitted by the user pass verification, the Unionpay clearing center returns the corresponding transaction authorization code to the user.
When the Unionpay clearing center receives the identity information, the payment bank card number and the payment password, the identity information, the payment bank card number and the payment password of the user stored in advance can be compared with the received identity information, the payment bank card number and the payment password one by one, and if the identity information, the payment bank card number and the payment password are not different, the verification is passed; if any information does not correspond, the verification is not passed. After verification, the Unionpay clearing center feeds back the transaction authorization code to the user, so that the user can send transaction information to nodes in the blockchain system.
The information fed back to the user by the Unionpay clearing center can comprise: transaction authorization codes, single transaction limits, available amounts in a payment bank card, validity periods of information currently fed back, etc.
S102, checking the transaction signature information, and if the verification is passed, adding the transaction signature information into a notarized competition pool of the transaction information.
Specifically, when a user carries out a transaction based on a certain node in the blockchain system and sends transaction information, any node in the blockchain system can receive the transaction information, the node receiving the transaction information can verify the transaction signature information, if the verification is passed, the transaction information is indicated to be normal transaction information, and then the nodes can be added into a notarized competition pool of the transaction information.
And S103, if the node is selected in the notarization competition pool by the blockchain system by adopting a consensus mechanism, after notarizing the transaction information, transmitting the transaction information to the Unionpay clearing center so that the Unionpay clearing center pays the transaction amount to the collection bank card number according to the transaction authorization code.
In this embodiment, if a node joins in a notarized competition pool of transaction information, it indicates: the node is willing to prove the authenticity of the transaction information. Because the node for proving the authenticity of the transaction information is generally one, if the number of the nodes added into the notarization competition pool is larger than one, the blockchain system can adopt a consensus mechanism to select one node in the notarization competition pool as the node for notarizing the transaction information, and the method for selecting the node is generally as follows: and selecting the node with the highest calculation efficiency in the notarization competition pool as the node for notarizing the transaction information. The specific selection method can refer to the existing ethernet pow consensus mechanism, so this embodiment is not described herein.
It can be seen that the present embodiment provides a transaction method, which completes a transaction in a blockchain system in a bank transfer settlement manner, wherein a consensus mechanism in the blockchain system is adopted to avoid tampering of the transaction, thereby improving transaction security; and, add the Unionpay clearing center into the block chain system, is equivalent to having drafted the armor of tamper-proof for the Unionpay clearing center, therefore has improved the payment security too. The present application increases the security and tamper resistance of transactions. Meanwhile, the problem of fund damage caused by virtual coin value fluctuation can be avoided, and economic benefits of both transaction parties are guaranteed. Therefore, the application not only improves the transaction safety and tamper resistance, but also avoids the defects of the block chain system, and can ensure the economic benefits of both transaction parties.
The embodiment of the application discloses a second transaction method, and compared with the previous embodiment, the technical scheme of the embodiment is further described and optimized.
Referring to fig. 2, a second transaction method is provided in an embodiment of the present application, applied to a node in a blockchain system, including:
s201, receiving transaction information sent by a user; the transaction information includes at least: transaction authorization code, authorization number of transaction authorization code, transaction amount, collection bank card number and transaction signature information; the transaction authorization code is generated and fed back to the user after the identity information, the payment bank card number and the payment password submitted by the Unionpay clearing center in the blockchain system pass verification;
in this embodiment, the information submitted by the user to the Unionpay clearing center further includes: the number of authorizations of the transaction authorization code applied by the user. That is, the user applies for the authorization number of the current transaction authorization code while applying for the transaction authorization code to the Unionpay clearing center. The authorization times are obtained by applying the user to the Unionpay clearing center, and if the identity information submitted by the user, the payment bank card number and the payment password are all verified, the Unionpay clearing center agrees to the authorization times applied by the user.
In this embodiment, the authorization number of the transaction authorization code indicates that the current transaction information can be authenticated by several nodes. For example: if the authorization times of the transaction authorization code is 2, two nodes are required to participate in notarization of the transaction information; if the authorization times of the transaction authorization code is 1, indicating that a node is required to participate in notarizing the transaction information; if the authorization number of the transaction authorization code is 0, the fact that any node is not required to participate in notarizing the transaction information is indicated. It should be noted that, the number of times of authorization of the transaction authorization code is generally set to "1".
S202, checking the transaction signature information, and judging whether the check is passed or not; if yes, executing S203; if not, executing S208;
s203, broadcasting transaction information;
s204, judging whether to notarize the transaction information according to the authorization times of the transaction authorization codes; if yes, executing S205; if not, no operation is performed;
s205, adding into a notarized competition pool of transaction information;
s206, if the node is selected in the notarization competition pool by the block chain system by adopting a consensus mechanism, notarizing the transaction information;
s207, transmitting the transaction information to a Unionpay clearing center so that the Unionpay clearing center pays the transaction amount to the collection bank card number according to the transaction authorization code;
and S208, returning the message which is not checked by the transaction signature information.
In this embodiment, if the transaction signature information is not verified, a message that the transaction signature information is not verified is returned, so that the user modifies the transaction information according to the message. The method for judging whether the transaction information is notarized according to the authorization times of the transaction authorization code can be as follows: and judging whether the notarization of the transaction information can obtain notarization payment. It should be noted that, for the node participating in the notarization of the transaction information, the user needs to pay the corresponding notarization payment thereto. Therefore, the node which receives the transaction information can autonomously select whether to participate in the notarization of the current transaction information; if so, adding the transaction information into the notarized competition pool so that the blockchain system adopts a consensus mechanism to select in the notarized competition pool.
Specifically, if the authorization number of the transaction authorization code is "1", it indicates that a node is required to participate in the notarization of the transaction information, that is, the node participating in the notarization of the transaction information can obtain notarization payment; if the authorization number of the transaction authorization code is 0, it indicates that any node is not required to participate in the notarization of the transaction information, and if the node notarizes the transaction, the node participating in the notarization of the transaction information cannot obtain notarization payment.
It should be noted that other implementation steps in the present embodiment are the same as or similar to those in the above embodiment, so that the description of the present embodiment is omitted here.
It can be seen that the present embodiment provides a transaction method, which completes a transaction in a blockchain system in a bank transfer settlement manner, wherein a consensus mechanism in the blockchain system is adopted to avoid tampering of the transaction, thereby improving transaction security; and, add the Unionpay clearing center into the block chain system, is equivalent to having drafted the armor of tamper-proof for the Unionpay clearing center, therefore has improved the payment security too. The present application increases the security and tamper resistance of transactions. Meanwhile, the problem of fund damage caused by virtual coin value fluctuation can be avoided, and economic benefits of both transaction parties are guaranteed. Therefore, the application not only improves the transaction safety and tamper resistance, but also avoids the defects of the block chain system, and can ensure the economic benefits of both transaction parties.
The embodiment of the application discloses a third transaction method, and compared with the previous embodiment, the technical scheme of the embodiment is further described and optimized.
Referring to fig. 3, an embodiment of the present application provides a third transaction method applied to a node in a blockchain system, including:
s301, receiving transaction information sent by a user; the transaction information includes at least: transaction authorization code, authorization number of transaction authorization code, transaction amount, collection bank card number and transaction signature information; the transaction authorization code is generated and fed back to the user after the identity information, the payment bank card number and the payment password submitted by the Unionpay clearing center in the blockchain system pass verification;
s302, checking the transaction signature information, and judging whether the check is passed; if yes, then execute S303; if not, executing S308;
s303, broadcasting transaction information;
s304, judging whether the notarized transaction information can obtain notarized rewards according to the authorized times; if yes, then execute S305; if not, no operation is performed;
s305, adding a notarization competition pool of transaction information;
s306, if the node is selected in the notarization competition pool by the block chain system by adopting a pow consensus mechanism, notarizing the transaction information by adopting an Ethernet mode;
s307, the transaction information and the self node information are sent to the Unionpay clearing center, so that the Unionpay clearing center checks the node signature information in the self node information, and if the node signature information passes the check, the transaction amount is paid to the collection bank card number according to the transaction authorization code;
and S308, returning the message which is not checked by the transaction signature information.
In this embodiment, the node notarizing the transaction information is in an ethernet mode, and the blockchain system selects a node in a notarizing competition pool to notarize the transaction information by using a pow consensus mechanism. The specific implementation process may refer to the prior art, so this embodiment is not described herein.
In this embodiment, when the node sends the transaction information to the banked clearing center, the node also sends the own node information and the valid period of the current information, where the own node information includes: node identification information, namely node virtual addresses; a bank card number for receiving the notarization payment; node signature information of the current node, and the like. Therefore, after the Unionpay clearing center receives the information, the node signature information is checked first, and if the node signature information passes the check, the transaction amount is paid to the collection bank card number according to the transaction authorization code.
Specifically, the Unionpay clearing center also obtains the node virtual address of the node from other nodes in the blockchain system, and compares the virtual address fed back by the other nodes with the virtual address sent by the current node; and if the two are consistent, indicating that the virtual address sent by the current node is correct.
It should be noted that, the Unionpay clearing center pays the transaction amount to the collection bank card number according to the transaction authorization code, including: the Unionpay clearing center verifies whether the transaction authorization code is valid; if so, the transaction amount is paid to the collection bank card number.
Specifically, the Unionpay clearing center checks whether the transaction authorization code is valid, including: the Unionpay clearing center checks whether the format of the transaction authorization code is correct; comparing whether the transaction authorization code in the transaction information sent by the current node is consistent with the transaction authorization code fed back by the Unionpay clearing center for the user; whether the current information sent by the current node is in a valid period, etc.
It should be noted that, after the Unionpay clearing center pays the transaction amount to the collection bank card number according to the transaction authorization code, the method further comprises: the Unionpay clearing center checks whether the authorized times are valid; if yes, paying the public card payment to the bank card number of the node for receiving the public card payment; wherein, the notarization reward is the notarization reward obtained by the node notarization transaction information; the bank card number for receiving the notarization payment exists in the own node information.
Specifically, the checking of whether the authorized times are valid by the Unionpay clearing center comprises the following steps: comparing whether the authorization times in the transaction information sent by the current node are consistent with the authorization times applied by the user to the Unionpay clearing center.
It can be seen that the present embodiment provides a transaction method, which completes a transaction in a blockchain system in a bank transfer settlement manner, wherein a pow consensus mechanism in the blockchain system is adopted to avoid tampering of the transaction, thereby improving transaction security; and, add the Unionpay clearing center into the block chain system, is equivalent to having drafted the armor of tamper-proof for the Unionpay clearing center, therefore has improved the payment security too. The present application increases the security and tamper resistance of transactions. Meanwhile, the problem of fund damage caused by virtual coin value fluctuation can be avoided, and economic benefits of both transaction parties are guaranteed. Therefore, the application not only improves the transaction safety and tamper resistance, but also avoids the defects of the block chain system, and can ensure the economic benefits of both transaction parties.
Based on any of the above embodiments, it should be noted that, after the banked clearinghouse pays the transaction amount to the receiving bank card number, the seller receiving the transaction amount can prepare the off-line delivery work of the commodity for the buyer or deliver the commodity to the buyer through the network. All nodes mentioned in the present specification are nodes in the blockchain system, and the nodes may be devices with CPUs, such as computers or servers in the blockchain system.
The following describes a transaction device according to an embodiment of the present application, and the following description of the transaction device and the above description of the transaction method may be referred to with each other.
Referring to fig. 4, a transaction device provided in an embodiment of the present application is applied to a node in a blockchain system, and includes:
a receiving module 401, configured to receive transaction information sent by a user; the transaction information includes at least: transaction authorization code, transaction amount, collection bank card number, and transaction signature information; the transaction authorization code is generated and fed back to the user after the identity information, the payment bank card number and the payment password submitted by the Unionpay clearing center in the blockchain system pass verification;
the execution module 402 is configured to verify the transaction signature information, and if the verification passes, add into a notarized competition pool of the transaction information;
and the transaction module 403 is configured to send the transaction information to the banked settlement center after the transaction information is notarized if the node is selected in the notarized competition pool by the blockchain system using the consensus mechanism, so that the banked settlement center pays the transaction amount to the collection bank card number according to the transaction authorization code.
Preferably, the transaction device further includes:
the judging module is used for judging whether the notarized transaction information is notarized according to the authorization times of the transaction authorization codes; if yes, executing the steps in the execution module.
Preferably, the judging module is specifically configured to:
judging whether the notarization transaction information can obtain notarization payment according to the authorized times.
Preferably, the transaction module is specifically configured to:
and (5) notarizing the transaction information in a Ethics way.
Preferably, the transaction module is specifically configured to:
and transmitting the transaction information and the self node information to a Unionpay clearing center so that the Unionpay clearing center can check the node signature information in the self node information, and if the node signature information passes the check, paying the transaction amount to the collection bank card number according to the transaction authorization code.
Preferably, the transaction module is specifically configured to:
the Unionpay clearing center verifies whether the transaction authorization code is valid; if so, the transaction amount is paid to the collection bank card number.
Preferably, the transaction module is specifically configured to:
the Unionpay clearing center checks whether the authorized times are valid; if yes, paying the public card payment to the bank card number of the node for receiving the public card payment; wherein, the notarization reward is the notarization reward obtained by the node notarization transaction information; the bank card number for receiving the notarization payment exists in the own node information.
It can be seen that this embodiment provides a transaction apparatus comprising: the system comprises a receiving module, an executing module and a transaction module. Firstly, a receiving module receives transaction information sent by a user; the transaction information includes at least: transaction authorization code, transaction amount, collection bank card number, and transaction signature information; the transaction authorization code is generated and fed back to the user after the identity information, the payment bank card number and the payment password submitted by the Unionpay clearing center in the blockchain system pass verification; then the execution module checks the transaction signature information, and if the verification is passed, the transaction signature information is added into a notarized competition pool of the transaction information; if the node is selected in the notarization competition pool by the blockchain system by adopting a consensus mechanism, the transaction module carries out notarization on the transaction information and then sends the transaction information to the Unionpay clearing center so that the Unionpay clearing center pays the transaction amount to the collection bank card number according to the transaction authorization code. Thus, each module performs work independently by division of work, thereby improving the transaction safety and tamper resistance and avoiding the defects of the block chain system.
The following describes a transaction device according to an embodiment of the present application, and the transaction device described below and the transaction method and apparatus described above may be referred to with each other.
Referring to fig. 5, a transaction device provided in an embodiment of the present application includes:
a memory 501 for storing a computer program;
a processor 502 for implementing the following steps when executing the computer program:
receiving transaction information sent by a user; the transaction information includes at least: transaction authorization code, transaction amount, collection bank card number, and transaction signature information; the transaction authorization code is generated and fed back to the user after the identity information, the payment bank card number and the payment password submitted by the Unionpay clearing center in the blockchain system pass verification; checking the transaction signature information, and if the check is passed, adding the transaction signature information into a notarized competition pool of the transaction information; if the node is selected in the notarization competition pool by the blockchain system by adopting a consensus mechanism, after notarizing the transaction information, the transaction information is sent to the Unionpay clearing center so that the Unionpay clearing center pays the transaction amount to the collection bank card number according to the transaction authorization code.
In this embodiment, when the processor executes the computer subroutine stored in the memory, the following steps may be specifically implemented: judging whether the notarization transaction information is based on the authorization times; if yes, executing the step of joining the notarized competition pool of the transaction information.
In this embodiment, when the processor executes the computer subroutine stored in the memory, the following steps may be specifically implemented: judging whether the notarization transaction information can obtain notarization payment according to the authorized times.
In this embodiment, when the processor executes the computer subroutine stored in the memory, the following steps may be specifically implemented: the transaction information is broadcast.
In this embodiment, when the processor executes the computer subroutine stored in the memory, the following steps may be specifically implemented: and (5) notarizing the transaction information in a Ethics way.
In this embodiment, when the processor executes the computer subroutine stored in the memory, the following steps may be specifically implemented: transmitting the transaction information and the self node information to a Unionpay clearing center so that the Unionpay clearing center can check node signature information in the self node information, and if the node signature information passes the check, checking whether a transaction authorization code is valid or not; if yes, paying the transaction amount to the collection bank card number; checking whether the authorization times are valid; if yes, paying the public card payment to the bank card number of the node for receiving the public card payment; wherein, the notarization reward is the notarization reward obtained by the node notarization transaction information; the bank card number for receiving the notarization payment exists in the own node information.
The following describes a readable storage medium according to an embodiment of the present application, and the readable storage medium and the transaction method, apparatus and device described above may be referred to with each other.
A readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the transaction method as described in any of the embodiments above. For specific steps of the method, reference may be made to the corresponding contents disclosed in the foregoing embodiments, and no further description is given here.
In the present specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, and identical and similar parts between the embodiments are all enough to refer to each other.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative elements and steps are described above generally in terms of functionality in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. The software modules may be disposed in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (8)

1. A method of trading, for nodes in a blockchain system, comprising:
receiving transaction information sent by a user; the transaction information includes at least: transaction authorization code, transaction amount, collection bank card number, and transaction signature information; the transaction authorization code is generated and fed back to the user after the identity information, the payment bank card number and the payment password submitted by the Unionpay clearing center in the blockchain system pass verification;
checking the transaction signature information, and if the check is passed, adding the transaction signature information into a notarized competition pool of the transaction information;
if the node is selected in the notarization competition pool by the blockchain system by adopting a consensus mechanism, after notarizing the transaction information, sending the transaction information to the Unionpay clearing center so that the Unionpay clearing center pays the transaction amount to the collection bank card number according to the transaction authorization code;
wherein the sending the transaction information to the banked clearing center to enable the banked clearing center to pay the transaction amount to the collection bank card number according to the transaction authorization code comprises:
transmitting the transaction information and the self node information to the Unionpay clearing center so that the Unionpay clearing center checks node signature information in the self node information, and if the node signature information passes the check, paying the transaction amount to the collection bank card number according to the transaction authorization code;
wherein after the banked clearing center pays the transaction amount to the collection bank card number according to the transaction authorization code, the banked clearing center further comprises:
the Unionpay clearing center verifies whether the authorization times of the transaction authorization codes are valid; if yes, paying the public card payment to the bank card number of the node for receiving the public card payment;
wherein, the notarization reward is obtained by the node notarization of the transaction information; the bank card number for receiving the notarization payment exists in the self node information.
2. The method of claim 1, further comprising, prior to said joining the notarized competitive pool of transaction information:
judging whether to notarize the transaction information according to the authorization times of the transaction authorization codes;
if yes, executing the step of joining the notarized competition pool of the transaction information.
3. The transaction method according to claim 2, wherein said determining whether to notarize the transaction information based on the number of times of authorization of the transaction authorization code includes:
judging whether the transaction information can obtain the notarization payment according to the authorization times.
4. The transaction method according to claim 2, wherein the notarizing the transaction information includes:
and notarizing the transaction information in a Ethics way.
5. The transaction method according to claim 4, wherein the banked clearing center pays the transaction amount to the collection bank card number according to the transaction authorization code, comprising:
the Unionpay clearing center verifies whether the transaction authorization code is valid; if yes, the transaction amount is paid to the collection bank card number.
6. A transaction device for use in a node in a blockchain system, comprising:
the receiving module is used for receiving transaction information sent by a user; the transaction information includes at least: transaction authorization code, transaction amount, collection bank card number, and transaction signature information; the transaction authorization code is generated and fed back to the user after the identity information, the payment bank card number and the payment password submitted by the Unionpay clearing center in the blockchain system pass verification;
the execution module is used for checking the transaction signature information, and if the transaction signature information passes the check, the transaction signature information is added into a notarization competition pool of the transaction information;
the transaction module is used for sending the transaction information to the Unionpay clearing center after the transaction information is notarized if the node is selected in the notarized competition pool by the blockchain system by adopting a consensus mechanism, so that the Unionpay clearing center pays the transaction amount to the collection bank card number according to the transaction authorization code;
wherein, the transaction module is specifically used for:
transmitting the transaction information and the self node information to the Unionpay clearing center so that the Unionpay clearing center checks node signature information in the self node information, and if the node signature information passes the check, paying the transaction amount to the collection bank card number according to the transaction authorization code;
wherein after the banked clearing center pays the transaction amount to the collection bank card number according to the transaction authorization code, the banked clearing center further comprises:
the Unionpay clearing center verifies whether the authorization times of the transaction authorization codes are valid; if yes, paying the public card payment to the bank card number of the node for receiving the public card payment;
wherein, the notarization reward is obtained by the node notarization of the transaction information; the bank card number for receiving the notarization payment exists in the self node information.
7. A transaction device, comprising:
a memory for storing a computer program;
processor for implementing the steps of the transaction method according to any of claims 1-5 when executing said computer program.
8. A readable storage medium, characterized in that it has stored thereon a computer program which, when executed by a processor, implements the steps of the transaction method according to any of claims 1-5.
CN201910340798.7A 2019-04-25 2019-04-25 Transaction method, device, equipment and readable storage medium Active CN110060058B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910340798.7A CN110060058B (en) 2019-04-25 2019-04-25 Transaction method, device, equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910340798.7A CN110060058B (en) 2019-04-25 2019-04-25 Transaction method, device, equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN110060058A CN110060058A (en) 2019-07-26
CN110060058B true CN110060058B (en) 2023-10-10

Family

ID=67320886

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910340798.7A Active CN110060058B (en) 2019-04-25 2019-04-25 Transaction method, device, equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN110060058B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110852880A (en) * 2019-09-24 2020-02-28 威富通科技有限公司 Transaction data pushing method, device and system, computer equipment and storage medium
CN113554512A (en) * 2021-07-21 2021-10-26 永旗(北京)科技有限公司 Settlement method based on block chain

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107332826A (en) * 2017-06-09 2017-11-07 中国联合网络通信集团有限公司 The communication means and device of block chain agent node
CN107786642A (en) * 2017-09-30 2018-03-09 上海数据交易中心有限公司 Block chain building method and device, storage medium, server for data circulation
CN108197913A (en) * 2017-12-18 2018-06-22 深圳前海微众银行股份有限公司 Method of payment, system and computer readable storage medium based on block chain
CN108256859A (en) * 2018-01-02 2018-07-06 中国工商银行股份有限公司 Financial product transaction common recognition method, node and system based on block chain
CN108520412A (en) * 2018-04-18 2018-09-11 北京天德科技有限公司 A kind of settle accounts calculation transaction towards block chain divides the design method of account algorithm
CN108629691A (en) * 2018-05-07 2018-10-09 中国联合网络通信集团有限公司 Method of commerce and transaction system
CN108805564A (en) * 2018-04-26 2018-11-13 布比(北京)网络技术有限公司 A kind of method and system carrying out payment and settlement based on block chain
CN108805573A (en) * 2018-04-21 2018-11-13 深圳市元征科技股份有限公司 A kind of Information Authentication method, server and storage medium
CN109583898A (en) * 2018-12-07 2019-04-05 四川长虹电器股份有限公司 The intelligent terminal and method paid based on TEE and block chain

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107332826A (en) * 2017-06-09 2017-11-07 中国联合网络通信集团有限公司 The communication means and device of block chain agent node
CN107786642A (en) * 2017-09-30 2018-03-09 上海数据交易中心有限公司 Block chain building method and device, storage medium, server for data circulation
CN108197913A (en) * 2017-12-18 2018-06-22 深圳前海微众银行股份有限公司 Method of payment, system and computer readable storage medium based on block chain
CN108256859A (en) * 2018-01-02 2018-07-06 中国工商银行股份有限公司 Financial product transaction common recognition method, node and system based on block chain
CN108520412A (en) * 2018-04-18 2018-09-11 北京天德科技有限公司 A kind of settle accounts calculation transaction towards block chain divides the design method of account algorithm
CN108805573A (en) * 2018-04-21 2018-11-13 深圳市元征科技股份有限公司 A kind of Information Authentication method, server and storage medium
CN108805564A (en) * 2018-04-26 2018-11-13 布比(北京)网络技术有限公司 A kind of method and system carrying out payment and settlement based on block chain
CN108629691A (en) * 2018-05-07 2018-10-09 中国联合网络通信集团有限公司 Method of commerce and transaction system
CN109583898A (en) * 2018-12-07 2019-04-05 四川长虹电器股份有限公司 The intelligent terminal and method paid based on TEE and block chain

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
农村信用社招聘考试命题研究中心.信用社会计核算与结算.《经济、金融、会计》.2014,(第6版), *
凌锋.司法公证.《一本书读懂区块链》.2018,(第1版), *

Also Published As

Publication number Publication date
CN110060058A (en) 2019-07-26

Similar Documents

Publication Publication Date Title
US8417637B2 (en) Approving the use of the source of funds
US20170213287A1 (en) System and method for providing a cryptographic platform for exchanging debt securities denominated in virtual currencies
US20050171903A1 (en) System and method for flexible micropayment of low value electronic assets
US20060036537A1 (en) Risk management in an expeditious funds-holder payor authentication and funds transfer system and methodology
CA3077154C (en) Network transaction payment method and system
US20190220881A1 (en) Systems, methods and computer readable media for creating and processing a digital voucher
US20110178884A1 (en) Trusted stored-value payment system that includes untrusted merchant terminals
JP2023509573A (en) Cryptocurrency acceptance system
CN110060058B (en) Transaction method, device, equipment and readable storage medium
KR20200054904A (en) System and method for account receivable certification and securitization service using blockchain technology
US7020638B1 (en) System and method for flexible micropayment of low value electronic assets
KR20190108666A (en) Apparatus and method for automated deposit and withdrawal of funds for cryptocurrency transactions and computer program for the same
Hueber The blockchain and the sidechain innovations for the electronic commerce beyond the Bitcoin's framework
JP2013505487A (en) Asset value storage and transfer system for electronic wallets
Ho et al. The relative benefits and risks of stablecoins as a means of payment: A case study perspective
CA2497990A1 (en) Risk management in an expeditious funds-holder payor authentication and funds transfer system and methodology
KR20210048210A (en) Method, system and program for create virtual account for each cryptocurrency for financial transactions
US20240070676A1 (en) Fraud prevention trading and payment system for business and consumer transactions
EP3361435A1 (en) Blockchain-based distributed credit method
EP4348928A1 (en) A system and method for trading cryptocurrencies, tokenized assets and/or fiat currencies on a single distributed ledger system with multiple issuing institutions
WO2023227981A1 (en) A system and method for performing cash instrument transaction involving digital currency
US11080695B2 (en) Fraud prevention trading and payment system for business and consumer transactions
CN113506106A (en) Transaction method, settlement method and device and storage medium thereof
CN115271726A (en) Service processing method and system
CN115965375A (en) Payment verification method, cash register system, device and storage medium

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