CN110610418A - Transaction state query method, system, device and storage medium based on block chain - Google Patents

Transaction state query method, system, device and storage medium based on block chain Download PDF

Info

Publication number
CN110610418A
CN110610418A CN201810621662.9A CN201810621662A CN110610418A CN 110610418 A CN110610418 A CN 110610418A CN 201810621662 A CN201810621662 A CN 201810621662A CN 110610418 A CN110610418 A CN 110610418A
Authority
CN
China
Prior art keywords
transaction
user
request
information
blockchain
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.)
Granted
Application number
CN201810621662.9A
Other languages
Chinese (zh)
Other versions
CN110610418B (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.)
Zhongshu Zhichuang Technology Co ltd
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201810621662.9A priority Critical patent/CN110610418B/en
Publication of CN110610418A publication Critical patent/CN110610418A/en
Application granted granted Critical
Publication of CN110610418B publication Critical patent/CN110610418B/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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Abstract

The invention provides a transaction state query method, a system, computer equipment and a computer readable storage medium based on a block chain, wherein the method receives a transaction request initiated by a user; sending a consensus confirmation request to an operator and a node corresponding to the transaction according to the transaction request; after the consensus confirmation request passes, performing transaction operation corresponding to the transaction request; and initiating polling inquiry according to the transaction time data stored in the block chain, and feeding back an inquiry result obtained by the inquiry to the user. According to the method, the blockchain technology is combined, consensus confirmation is carried out on the nodes participating in the transaction and the operators, the next transaction operation can be carried out only on the premise that the consensus confirmation is passed, the security of the transaction is improved, and when the transaction data is inquired, the corresponding transaction data can be inquired only when the preset conditions are met, so that the confidentiality and the security of the transaction information in an open network are guaranteed.

Description

Transaction state query method, system, device and storage medium based on block chain
Technical Field
The invention belongs to the technical field of internet, and particularly relates to a transaction state query method and system based on a block chain, computer equipment and a computer readable storage medium.
Background
The Block chain technology is a distributed, decentralized and distrust-free network data consensus storage technology, and achieves the synchronization problem of distributed computing based on a unique Block (Block) generation mechanism and a P2P (Point to Point) network communication mechanism. The system is widely applied to platforms of electronic commerce, stock exchange, social communication and the like by the characteristics of transparency, decentralization, openness and the like.
Blockchains are used in a wide variety of applications in e-commerce. At present, internet transaction occupies an increasingly important proportion of total transaction amount, and the existing transaction state query method of an operation platform has the problem of data complexity. And based on the existing blockchain technology, if an external program directly calls a blockchain interface program, a security risk also exists.
In view of the above, it is necessary to provide a transaction status query method based on blockchain.
Disclosure of Invention
The invention provides a transaction state query method based on a block chain, and aims to improve the security of transaction data query.
The invention is realized in such a way, and provides a transaction state query method based on a blockchain, which comprises the following steps:
receiving a transaction request initiated by a user;
sending a consensus confirmation request to an operator and a node corresponding to the transaction according to the transaction request;
after the consensus confirmation request passes, performing transaction operation corresponding to the transaction request;
and initiating polling inquiry according to the transaction time data stored in the block chain according to a preset condition, and feeding back an inquiry result obtained by the inquiry to the user.
Preferably, the step of receiving a transaction request initiated by a user further comprises;
receiving registration information of a user, and storing the registration information to a corresponding block chain address;
and receiving login information of the user and logging in the user account.
Preferably, the step of receiving login information of the user and logging in to the user account comprises:
verifying whether the login information is consistent with the registration information of the user according to the login information of the user;
and logging in the user account when the login information is consistent with the registration information of the user.
Preferably, the step of sending a consensus confirmation request to the operator and the node corresponding to the transaction according to the transaction request further includes:
after the consensus confirmation request passes, generating a unique temporary voucher code according to transaction information;
the step of initiating polling inquiry according to the transaction time data stored in the block chain according to the preset condition comprises the following steps:
and calling a transaction module according to the temporary voucher code, and initiating polling inquiry according to the transaction time data stored in the block.
In addition, to achieve the above object, the present invention provides a transaction status query system based on a blockchain, including:
the request initiating module is used for receiving a transaction request initiated by a user;
the consensus confirmation module is used for sending a consensus confirmation request to an operator and a node corresponding to the transaction according to the transaction request;
the blockchain transaction module is used for performing transaction operation corresponding to the transaction request after the consensus confirmation request passes;
and the query state module is used for initiating polling query according to the transaction time data stored in the block chain according to the preset condition and feeding back a query result obtained by the query to the user.
Preferably, the system further comprises a user management module, configured to receive registration information of a user, and generate a blockchain address unique to the user according to the registration information; and the system is also used for receiving login information of the user and logging in the user account.
Preferably, the user management module comprises an information authentication unit and a login unit;
the information verification unit is used for verifying whether the login information is consistent with the registration information of the user according to the login information of the user;
the login unit is used for logging in to a user account when the login information is consistent with the registration information of the user.
Preferably, the system further comprises:
the certificate code generation module is used for generating a unique temporary certificate code according to the transaction information after the consensus confirmation request passes and sending the temporary certificate code to the inquiry state module;
the state query module is also used for calling a transaction module according to the temporary voucher code and initiating polling query according to the transaction time data stored in the block.
Furthermore, to achieve the above object, the present invention further provides a computer device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method when executing the computer program.
Furthermore, to achieve the above object, the present invention also proposes a computer-readable storage medium having stored thereon a computer program which, when being executed by a processor, implements the steps of the method as described above.
In the technical scheme of the invention, the method receives a transaction request initiated by a user; sending a consensus confirmation request to an operator and a node corresponding to the transaction according to the transaction request; after the consensus confirmation request passes, performing transaction operation corresponding to the transaction request; and initiating polling inquiry according to the transaction time data stored in the block chain, and feeding back an inquiry result obtained by the inquiry to the user. By combining the blockchain technology and performing consensus confirmation on the nodes participating in the transaction and the operator, the method of the embodiment can perform the next transaction operation only on the premise that the consensus confirmation is passed, so that the security of the transaction is improved, and when the transaction data is queried, the corresponding transaction data can be queried only when the preset conditions are met, so that the confidentiality and the security of the transaction information in the open network are ensured.
Drawings
FIG. 1 is a flow chart illustrating an embodiment of a block chain-based transaction status query method according to the present invention;
FIG. 2 is a flow chart illustrating a block chain-based transaction status query method according to another embodiment of the present invention;
FIG. 3 is a flow chart illustrating a transaction status query method according to another embodiment of the present invention;
FIG. 4 is a block diagram of a transaction state system based on blockchains according to the present invention;
FIG. 5 is a block diagram of a user management module of FIG. 4;
FIG. 6 is a block diagram of another embodiment of a blockchain based transaction state system of the present invention;
FIG. 7 is a schematic diagram of the computer apparatus 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.
Referring to fig. 1, in an embodiment of the present invention, the method for querying a transaction status based on a blockchain includes:
step S10, receiving a transaction request initiated by a user;
in this embodiment, the method for querying a transaction state based on a blockchain is applied to the system for querying a transaction state based on a blockchain, where the system for querying a transaction state based on a blockchain includes a request initiating module, and the request initiating module may be used to initiate various transaction requests, or may directly initiate a transaction state query request. The user initiates a transaction request on a client, which may be a mobile client or a computer, and the mobile client may specifically include a mobile phone, a tablet, or an intelligent wearable device, and the like. The transaction request may be a transfer, cash withdrawal, or top-up operation, among other operations. The request initiating module receives a transaction request initiated by a user, and it should be noted here that, when the user initiates the transaction request, the transaction request is transmitted to the request initiating module, and in the process of transmission, the transaction request at least can carry a key identifier for verification by the request initiating module, and can also carry a key identifier ciphertext obtained by encrypting the key identifier by sharing secret information between a data transmission party and a receiving party, i.e. the request initiating module, for verification of identity by the request initiating module. When the request initiating module receives the transaction request, if the verification of the key identifier carried by the transaction request is passed, the request information can be judged to be legal, and the transaction request is received.
In this embodiment, the request initiating module has the address information of the blockchain account. The blockchain account address information may include, but is not limited to, bitcoin address, etherhouse address, and super ledger address. In this embodiment, the transaction request may include blockchain address information or an address matching rule, and the address matching rule may be a matching rule generated according to the blockchain account address information. To avoid this, address matching rules may be generated from the blockchain account address information and bloom filters, as the transaction request requesting the initiation module may inadvertently reveal the wallet bitcoin address information, compromising the privacy of the user.
Step S20, sending a consensus confirmation request to the operator and the node corresponding to the transaction according to the transaction request;
the consensus is a block chain proper noun, a single accounting center does not exist on a block chain, and the account book is recorded jointly through the whole network, so that the problem that how to determine whether a transaction is legal or not, the process of determining whether a certain transaction is legal or not and whether a large packet block recommended by a node is approved by a person is called consensus, and only the block passing the consensus is approved by the whole network is solved.
In this embodiment, after receiving a transaction request initiated by a user, a request initiation module invokes a consensus confirmation module to send a consensus confirmation request to an operator and a related node corresponding to the transaction. It should be noted that information interaction among the modules includes an information confidentiality mechanism, and the modules carry keys that can mutually confirm identity information, so as to ensure confidentiality and security in the information transmission process.
Meanwhile, when the consensus confirmation module is called by the request initiating module to perform consensus confirmation, the transaction request is sent to the blockchain transaction module, and the transaction is performed after the consensus request is confirmed.
Step S30, after the consensus confirmation request passes, performing the transaction operation corresponding to the transaction request;
and the consensus confirmation module checks the consensus confirmation request, and after the transaction request passes the consensus confirmation, the blockchain transaction module carries out transaction operation according to the transaction corresponding to the transaction request.
Step S40, initiating a polling query according to the transaction time data stored in the blockchain according to a preset condition, and feeding back a query result obtained by the query to the user.
After the transaction operation is completed, the system initiates polling inquiry according to the transaction time stored in the block chain, and inquires the transaction at regular time. In the transaction time stored in the blockchain, more than one transaction operation may exist, at this time, the code of the transaction to be queried may be further obtained, each transaction system sets a code corresponding to the transaction system uniquely, and when querying the transaction information, the code may be applied to obtain the unique transaction operation. And finally, feeding back the query result obtained by the query to the user, wherein the feedback mode can be various, for example, the query result can be fed back to the user in a form of sending a short message, or the query result can be sent in a form of sending an email, or other forms can be adopted.
However, it should be noted that the premise of initiating the polling query according to the transaction time stored in the blockchain is that the polling query can be initiated only when the preset condition is met, and query requests that do not meet the preset condition cannot be performed, so that it is ensured that other external programs cannot directly query the transaction information, and the security and confidentiality of the information are further ensured.
The method of the embodiment receives a transaction request initiated by a user; sending a consensus confirmation request to an operator and a node corresponding to the transaction according to the transaction request; after the consensus confirmation request passes, performing transaction operation corresponding to the transaction request; and initiating polling inquiry according to the transaction time data stored in the block chain, and feeding back an inquiry result obtained by the inquiry to the user. By combining the blockchain technology and performing consensus confirmation on the nodes participating in the transaction and the operator, the method of the embodiment can perform the next transaction operation only on the premise that the consensus confirmation is passed, so that the security of the transaction is improved, and when the transaction data is queried, the corresponding transaction data can be queried only when the preset conditions are met, so that the confidentiality and the security of the transaction information in the open network are ensured.
Further, referring to fig. 2, in a first embodiment of the transaction status query method based on the blockchain according to the present invention, in a second embodiment of the transaction status query method based on the blockchain according to the present invention, before the step S10, the method further includes:
step S01, receiving the registration information of the user, and generating a block chain address corresponding to the user according to the registration information;
and step S02, receiving login information of the user and logging in the user account.
And receiving registration information of a user, and storing the registration information into a blockchain, wherein the types of the blockchain generally comprise a public chain, a private chain and a alliance chain. The public link is put on the ether house or bitcoin transaction information, is completely public, and can be accessed and inquired by all people. Private chains, a company builds a block chain server by itself, the cost is high, public trust improving force is not available, and the method is mainly used for distributed storage solutions. A alliance chain and a private block chain built by several companies together can solve the problem of mutual trust among the several companies, and are mainly used for solving the pain point of bank data interaction at present.
From the requirement of improving the public trust, the public link is a truly meaningful scheme, but also because of the fully public and observable characteristic, the public link needs to encrypt the data and store the encrypted data on the block chain, so that the private information of the user can be protected, and therefore, in the embodiment, the type of the block chain is preferably the public link.
And acquiring registration information of the user and storing transaction information into the block chain. Preferably, after the transaction information is stored in the blockchain, the transaction information is further used for sending a personal key to the registered user, so that the registered user can view the information stored in the blockchain through the personal key.
After the user registers the personal basic information, the user can directly log in the personal account, and after the user logs in the personal account, the user can use the personal account to carry out transaction operation and transaction inquiry corresponding to the transaction operation.
Referring to fig. 3, the step S02 includes:
step S02a, verifying whether the login information is consistent with the registration information of the user according to the login information of the user;
and step S02b, logging in the user account when the login information is consistent with the registration information of the user.
When the user logs in, the system further verifies whether the login information of the user is correct, specifically, whether the login information input by the user is consistent with the preset information stored when the user registers, and only when the login information of the user is consistent with the preset information stored by the user, the successful login of the user is displayed.
In the embodiment, the user performs online transaction and query of transaction state in the block chain structure through registration and login, so that one-to-one correspondence and accuracy of information are ensured.
Further, based on the second embodiment of the transaction status query method based on blockchain of the present invention, in the third embodiment of the transaction status query method based on blockchain of the present invention, after step S20, the method further includes:
step S21, after the consensus confirmation request passes, generating a unique temporary voucher code according to the transaction information;
the step of initiating polling inquiry according to the transaction time data stored in the blockchain according to the preset condition comprises the following steps:
and step S41, calling a transaction module according to the temporary voucher code, and initiating polling inquiry according to the transaction time data stored in the block connection.
In this embodiment, after the consensus confirmation request sent to the corresponding operator and each node participating in the transaction according to the transaction request passes, a unique temporary credential code is further generated according to the transaction information, where the temporary credential code is an important condition for ensuring that the transaction data can only be queried by a specific user but cannot be queried by other unauthorized external programs.
When polling inquiry is carried out, polling inquiry needs to be initiated to the transaction time data stored in the block chain according to the temporary voucher code.
In the embodiment, the temporary voucher code is set to improve the security of transaction state information query, so that an external program cannot query the transaction state information of other users.
In addition, the present invention further provides a transaction status query system 100 based on a blockchain, and referring to fig. 4, the system 100 includes:
a request initiating module 101, configured to receive a transaction request initiated by a user;
a consensus confirmation module 102, configured to send a consensus confirmation request to an operator and a node corresponding to the transaction according to the transaction request;
the blockchain transaction module 103 is configured to perform a transaction operation corresponding to the transaction request after the consensus confirmation request passes;
and the query state module 104 is configured to initiate a polling query according to the transaction time data stored in the blockchain according to a preset condition, and feed back a query result obtained by the query to the user.
In this embodiment, the method for querying a transaction state based on a blockchain is applied to the system for querying a transaction state based on a blockchain, where the system for querying a transaction state based on a blockchain includes a request initiating module, and the request initiating module 101 may be configured to initiate various transaction requests, or may directly initiate a transaction state query request. The user initiates a transaction request on a client, which may be a mobile client or a computer, and the mobile client may specifically include a mobile phone, a tablet, or an intelligent wearable device, and the like. The transaction request may be a transfer, cash withdrawal, or top-up operation, among other operations. The request initiating module receives a transaction request initiated by a user, and it should be noted here that, when the user initiates the transaction request, the transaction request is transmitted to the request initiating module, and in the process of transmission, the transaction request at least can carry a key identifier for verification by the request initiating module, and can also carry a key identifier ciphertext obtained by encrypting the key identifier by sharing secret information between a data transmission party and a receiving party, i.e. the request initiating module, for verification of identity by the request initiating module. When the request initiating module receives the transaction request, if the verification of the key identifier carried by the transaction request is passed, the request information can be judged to be legal, and the transaction request is received.
In this embodiment, the request initiating module 101 has the address information of the blockchain account. The blockchain account address information may include, but is not limited to, bitcoin address, etherhouse address, and super ledger address. In this embodiment, the transaction request may include blockchain address information or an address matching rule, and the address matching rule may be a matching rule generated according to the blockchain account address information. To avoid this, address matching rules may be generated from the blockchain account address information and bloom filters, as the transaction request requesting the initiation module may inadvertently reveal the wallet bitcoin address information, compromising the privacy of the user.
The consensus is a block chain proper noun, a single accounting center does not exist on a block chain, and the account book is recorded jointly through the whole network, so that the problem that how to determine whether a transaction is legal or not, the process of determining whether a certain transaction is legal or not and whether a large packet block recommended by a node is approved by a person is called consensus, and only the block passing the consensus is approved by the whole network is solved.
In this embodiment, after receiving a transaction request initiated by a user, a request initiation module invokes the consensus confirmation module 102 to send a consensus confirmation request to an operator and a related node corresponding to the transaction. It should be noted that information interaction among the modules includes an information confidentiality mechanism, and the modules carry keys that can mutually confirm identity information, so as to ensure confidentiality and security in the information transmission process.
Meanwhile, when the consensus confirmation module is called by the request initiating module to perform consensus confirmation, the transaction request is sent to the blockchain transaction module, and the transaction is performed after the consensus request is confirmed.
The consensus confirmation module checks the consensus confirmation request, and when the transaction request passes the consensus confirmation, the blockchain transaction module 103 performs a transaction operation according to the transaction corresponding to the transaction request.
After the transaction operation is completed, the query status module 104 of the system initiates polling query according to the transaction time stored in the blockchain, and queries the transaction at regular time. In the transaction time stored in the blockchain, more than one transaction operation may exist, at this time, the code of the transaction to be queried may be further obtained, each transaction system sets a code corresponding to the transaction system uniquely, and when querying the transaction information, the code may be applied to obtain the unique transaction operation. And finally, feeding back the query result obtained by the query to the user, wherein the feedback mode can be various, for example, the query result can be fed back to the user in a form of sending a short message, or the query result can be sent in a form of sending an email, or other forms can be adopted.
However, it should be noted that the premise of initiating the polling query according to the transaction time stored in the blockchain is that the polling query can be initiated only when the preset condition is met, and query requests that do not meet the preset condition cannot be performed, so that it is ensured that other external programs cannot directly query the transaction information, and the security and confidentiality of the information are further ensured.
The method of the embodiment receives a transaction request initiated by a user; sending a consensus confirmation request to an operator and a node corresponding to the transaction according to the transaction request; after the consensus confirmation request passes, performing transaction operation corresponding to the transaction request; and initiating polling inquiry according to the transaction time data stored in the block chain, and feeding back an inquiry result obtained by the inquiry to the user. By combining the blockchain technology and performing consensus confirmation on the nodes participating in the transaction and the operator, the method of the embodiment can perform the next transaction operation only on the premise that the consensus confirmation is passed, so that the security of the transaction is improved, and when the transaction data is queried, the corresponding transaction data can be queried only when the preset conditions are met, so that the confidentiality and the security of the transaction information in the open network are ensured.
Further, the system further comprises a user management module 105, configured to receive registration information of a user, and generate a blockchain address unique to the user according to the registration information; and the system is also used for receiving login information of the user and logging in the user account.
Further, referring to fig. 5, the user management module 105 includes an information authentication unit 105a and a login unit 105 b;
the information verification unit is used for verifying whether the login information is consistent with the registration information of the user according to the login information of the user;
the login unit is used for logging in to a user account when the login information is consistent with the registration information of the user.
And receiving registration information of a user, and storing the registration information into a blockchain, wherein the types of the blockchain generally comprise a public chain, a private chain and a alliance chain. The public link is put on the ether house or bitcoin transaction information, is completely public, and can be accessed and inquired by all people. Private chains, a company builds a block chain server by itself, the cost is high, public trust improving force is not available, and the method is mainly used for distributed storage solutions. A alliance chain and a private block chain built by several companies together can solve the problem of mutual trust among the several companies, and are mainly used for solving the pain point of bank data interaction at present.
From the requirement of improving the public trust, the public link is a truly meaningful scheme, but also because of the fully public and observable characteristic, the public link needs to encrypt the data and store the encrypted data on the block chain, so that the private information of the user can be protected, and therefore, in the embodiment, the type of the block chain is preferably the public link.
And acquiring registration information of the user and storing transaction information into the block chain. Preferably, after the transaction information is stored in the blockchain, the transaction information is further used for sending a personal key to the registered user, so that the registered user can view the information stored in the blockchain through the personal key.
After the user registers the personal basic information, the user can directly log in the personal account, and after the user logs in the personal account, the user can use the personal account to carry out transaction operation and transaction inquiry corresponding to the transaction operation.
When the user logs in, the system further verifies whether the login information of the user is correct, specifically, whether the login information input by the user is consistent with the preset information stored when the user registers, and only when the login information of the user is consistent with the preset information stored by the user, the successful login of the user is displayed.
In the embodiment, the user performs online transaction and query of transaction state in the block chain structure through registration and login, so that one-to-one correspondence and accuracy of information are ensured.
Further, referring to fig. 6, the system 100 further includes:
the voucher code generating module 106 is used for generating a unique temporary voucher code according to the transaction information after the consensus confirmation request passes, and is also used for sending the temporary voucher code to the inquiry state module;
the state query module is also used for calling a transaction module according to the temporary voucher code and initiating polling query according to the transaction time data stored in the block.
In this embodiment, after the consensus confirmation request sent to the corresponding operator and each node participating in the transaction according to the transaction request passes, a unique temporary credential code is further generated according to the transaction information, where the temporary credential code is an important condition for ensuring that the transaction data can only be queried by a specific user but cannot be queried by other unauthorized external programs.
When polling inquiry is carried out, polling inquiry needs to be initiated to the transaction time data stored in the block chain according to the temporary voucher code.
In the embodiment, the temporary voucher code is set to improve the security of transaction state information query, so that an external program cannot query the transaction state information of other users.
Furthermore, the present invention also proposes a computer device 200, and referring to fig. 7, the computer device 200 includes a memory 201 and a processor 202, the memory 201 stores a computer program, and the processor 202 implements the steps of the method when executing the computer program.
Furthermore, the present invention also proposes a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps as described above.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (10)

1. A transaction state query method based on a blockchain is characterized by comprising the following steps:
receiving a transaction request initiated by a user;
sending a consensus confirmation request to an operator and a node corresponding to the transaction according to the transaction request;
after the consensus confirmation request passes, performing transaction operation corresponding to the transaction request;
and initiating polling inquiry according to the transaction time data stored in the block chain according to a preset condition, and feeding back an inquiry result obtained by the inquiry to the user.
2. The blockchain-based transaction status query method of claim 1, wherein the step of receiving a user-initiated transaction request further comprises;
receiving registration information of a user, and storing the registration information to a corresponding block chain address;
and receiving login information of the user and logging in the user account.
3. The blockchain-based transaction status query method of claim 2, wherein the step of receiving login information of the user and logging in to the user account comprises:
verifying whether the login information is consistent with the registration information of the user according to the login information of the user;
and logging in the user account when the login information is consistent with the registration information of the user.
4. The method for inquiring transaction status based on blockchain according to claim 1, wherein the step of sending a consensus confirmation request to the operator and the node corresponding to the transaction according to the transaction request further comprises:
after the consensus confirmation request passes, generating a unique temporary voucher code according to transaction information;
the step of initiating polling inquiry according to the transaction time data stored in the block chain according to the preset condition comprises the following steps:
and calling a transaction module according to the temporary voucher code, and initiating polling inquiry according to the transaction time data stored in the block.
5. A blockchain-based transaction status query system, the system comprising:
the request initiating module is used for receiving a transaction request initiated by a user;
the consensus confirmation module is used for sending a consensus confirmation request to an operator and a node corresponding to the transaction according to the transaction request;
the blockchain transaction module is used for performing transaction operation corresponding to the transaction request after the consensus confirmation request passes;
and the query state module is used for initiating polling query according to the transaction time data stored in the block chain according to the preset condition and feeding back a query result obtained by the query to the user.
6. The blockchain-based transaction status query system of claim 5, wherein the system further comprises a user management module for receiving registration information of a user and generating a blockchain address unique to the user according to the registration information; and the system is also used for receiving login information of the user and logging in the user account.
7. The blockchain-based transaction status query system of claim 6, wherein the user management module includes an information verification unit and a login unit;
the information verification unit is used for verifying whether the login information is consistent with the registration information of the user according to the login information of the user;
the login unit is used for logging in to a user account when the login information is consistent with the registration information of the user.
8. The blockchain-based transaction status query system of claim 5, further comprising:
the certificate code generation module is used for generating a unique temporary certificate code according to the transaction information after the consensus confirmation request passes and sending the temporary certificate code to the inquiry state module;
the state query module is also used for calling a transaction module according to the temporary voucher code and initiating polling query according to the transaction time data stored in the block.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 4 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 4.
CN201810621662.9A 2018-06-15 2018-06-15 Transaction state query method, system, device and storage medium based on block chain Active CN110610418B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810621662.9A CN110610418B (en) 2018-06-15 2018-06-15 Transaction state query method, system, device and storage medium based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810621662.9A CN110610418B (en) 2018-06-15 2018-06-15 Transaction state query method, system, device and storage medium based on block chain

Publications (2)

Publication Number Publication Date
CN110610418A true CN110610418A (en) 2019-12-24
CN110610418B CN110610418B (en) 2022-05-31

Family

ID=68888387

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810621662.9A Active CN110610418B (en) 2018-06-15 2018-06-15 Transaction state query method, system, device and storage medium based on block chain

Country Status (1)

Country Link
CN (1) CN110610418B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111476552A (en) * 2020-03-06 2020-07-31 武汉和悦数字科技有限公司 Block chain-based card and ticket transaction platform
CN111654484A (en) * 2020-05-26 2020-09-11 扬州大学 Ethernet workshop covert communication method based on whisper protocol
CN113065965A (en) * 2021-04-23 2021-07-02 深圳壹账通智能科技有限公司 Block chain transaction processing method, device, equipment and storage medium for multi-party confirmation

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104392354A (en) * 2014-11-05 2015-03-04 中国科学院合肥物质科学研究院 Association and retrieval method and system used for public key addresses and user accounts of crypto-currency
CN106790431A (en) * 2016-12-05 2017-05-31 同济大学 Cloud manufacturing service Transaction Information record system and method based on block chain
CN106878318A (en) * 2017-03-03 2017-06-20 钱德君 A kind of block chain real time polling cloud system
CN107230056A (en) * 2017-06-28 2017-10-03 无锡井通网络科技有限公司 A kind of fast transaction system based on block chain contract
US20170310653A1 (en) * 2016-04-22 2017-10-26 Sony Corporation Client, server, method and identity verification system
CN107392608A (en) * 2017-07-11 2017-11-24 北京博晨技术有限公司 Digital asset method of commerce and block catenary system based on block catenary system
CN107516180A (en) * 2017-08-25 2017-12-26 迅鳐成都科技有限公司 A kind of system and method that storage transaction security and operating efficiency are improved based on block chain
CN107545031A (en) * 2017-07-17 2018-01-05 招商银行股份有限公司 Account comprehensive inquiry service, system and computer-readable recording medium
CN107820690A (en) * 2017-08-21 2018-03-20 达闼科技成都有限公司 Information choosing method, device, electronic equipment and computer-readable recording medium
CN107909369A (en) * 2017-10-13 2018-04-13 布比(北京)网络技术有限公司 Based on the common recognition method, apparatus merchandised across chain and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104392354A (en) * 2014-11-05 2015-03-04 中国科学院合肥物质科学研究院 Association and retrieval method and system used for public key addresses and user accounts of crypto-currency
US20170310653A1 (en) * 2016-04-22 2017-10-26 Sony Corporation Client, server, method and identity verification system
CN106790431A (en) * 2016-12-05 2017-05-31 同济大学 Cloud manufacturing service Transaction Information record system and method based on block chain
CN106878318A (en) * 2017-03-03 2017-06-20 钱德君 A kind of block chain real time polling cloud system
CN107230056A (en) * 2017-06-28 2017-10-03 无锡井通网络科技有限公司 A kind of fast transaction system based on block chain contract
CN107392608A (en) * 2017-07-11 2017-11-24 北京博晨技术有限公司 Digital asset method of commerce and block catenary system based on block catenary system
CN107545031A (en) * 2017-07-17 2018-01-05 招商银行股份有限公司 Account comprehensive inquiry service, system and computer-readable recording medium
CN107820690A (en) * 2017-08-21 2018-03-20 达闼科技成都有限公司 Information choosing method, device, electronic equipment and computer-readable recording medium
CN107516180A (en) * 2017-08-25 2017-12-26 迅鳐成都科技有限公司 A kind of system and method that storage transaction security and operating efficiency are improved based on block chain
CN107909369A (en) * 2017-10-13 2018-04-13 布比(北京)网络技术有限公司 Based on the common recognition method, apparatus merchandised across chain and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111476552A (en) * 2020-03-06 2020-07-31 武汉和悦数字科技有限公司 Block chain-based card and ticket transaction platform
CN111654484A (en) * 2020-05-26 2020-09-11 扬州大学 Ethernet workshop covert communication method based on whisper protocol
CN111654484B (en) * 2020-05-26 2022-02-15 扬州大学 Ethernet workshop covert communication method based on whisper protocol
CN113065965A (en) * 2021-04-23 2021-07-02 深圳壹账通智能科技有限公司 Block chain transaction processing method, device, equipment and storage medium for multi-party confirmation

Also Published As

Publication number Publication date
CN110610418B (en) 2022-05-31

Similar Documents

Publication Publication Date Title
CN110493261B (en) Verification code obtaining method based on block chain, client, server and storage medium
CN111431713B (en) Private key storage method and device and related equipment
CN108667612B (en) Trust service architecture and method based on block chain
US9537861B2 (en) Method of mutual verification between a client and a server
CN102685749B (en) Wireless safety authentication method orienting to mobile terminal
CN102625294B (en) Method for managing mobile service by taking universal serial bus (USB) as virtual subscriber identity module (SIM) card
WO2015072203A1 (en) Information delivery system
US9608971B2 (en) Method and apparatus for using a bootstrapping protocol to secure communication between a terminal and cooperating servers
CN101815091A (en) Cipher providing equipment, cipher authentication system and cipher authentication method
CN106576043A (en) Virally distributable trusted messaging
TWI632798B (en) Server, mobile terminal, and network real-name authentication system and method
CN105281902B (en) A kind of Web system safe login method based on mobile terminal
JP2009086802A (en) Mediation method and system for authentication
CN110610418B (en) Transaction state query method, system, device and storage medium based on block chain
CN104202163A (en) Password system based on mobile terminal
CN101039181B (en) Method for preventing service function entity of general authentication framework from attack
CN111444551A (en) Account registration and login method and device, electronic equipment and readable storage medium
CN103368918A (en) Method, device and system for dynamic password authentication
KR20200125279A (en) User Identification Method Using Block Chain and System thereof
Chain et al. Enhancement authentication protocol using zero‐knowledge proofs and chaotic maps
Liou et al. T-auth: A novel authentication mechanism for the IoT based on smart contracts and PUFs
KR20210039190A (en) Method for maintaining private information on blockchain network and device thereof
CN113727059B (en) Network access authentication method, device and equipment for multimedia conference terminal and storage medium
JP2012181662A (en) Account information cooperation system
Hu et al. Anonymous password authenticated key exchange protocol in the standard model

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20220428

Address after: 050000 1903, Shennong building, No. 45, Tangu South Street, Yuhua District, Shijiazhuang City, Hebei Province

Applicant after: Zhongshu Zhichuang Technology Co.,Ltd.

Address before: 100000 room 141, gate 1, building 3, courtyard 14, Fuxing Road, Haidian District, Beijing

Applicant before: Zhai Hongying

GR01 Patent grant
GR01 Patent grant