CN111506930A - E-commerce transaction information management system and method based on block chain - Google Patents

E-commerce transaction information management system and method based on block chain Download PDF

Info

Publication number
CN111506930A
CN111506930A CN202010318257.7A CN202010318257A CN111506930A CN 111506930 A CN111506930 A CN 111506930A CN 202010318257 A CN202010318257 A CN 202010318257A CN 111506930 A CN111506930 A CN 111506930A
Authority
CN
China
Prior art keywords
transaction information
commerce transaction
server
client
block chain
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
CN202010318257.7A
Other languages
Chinese (zh)
Other versions
CN111506930B (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.)
Guangzhou Shangyun Blockchain Technology Co ltd
Original Assignee
Guangzhou Shangyun Blockchain 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 Guangzhou Shangyun Blockchain Technology Co ltd filed Critical Guangzhou Shangyun Blockchain Technology Co ltd
Priority to CN202010318257.7A priority Critical patent/CN111506930B/en
Publication of CN111506930A publication Critical patent/CN111506930A/en
Application granted granted Critical
Publication of CN111506930B publication Critical patent/CN111506930B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides an E-commerce transaction information management system based on a block chain. The first server is a block chain link point and is used for broadcasting e-commerce transaction information to a block chain network, receiving the e-commerce transaction information and feeding the e-commerce transaction information back to the client, receiving and responding to an e-commerce transaction information query instruction, traversing all blocks in the query block chain, acquiring the e-commerce transaction information and sending the e-commerce transaction information to the second server; the client is used for sending a supplier transaction information query request to the second server; the second server is used for verifying the identity information of the client and sending a supplier transaction information query instruction to the first server after the identity information of the client passes the verification. The method and the device can ensure that the E-commerce transaction information is prevented from being maliciously tampered, and can improve the reliability of storing the E-commerce transaction information. Correspondingly, the invention further provides an E-commerce transaction information management method based on the block chain.

Description

E-commerce transaction information management system and method based on block chain
Technical Field
The invention relates to the field of block chains, in particular to an e-commerce transaction information management system and method based on a block chain.
Background
When online transactions are conducted through the internet, each transaction generally corresponds to one or more pieces of transaction information, and the transaction information can reflect transaction behaviors of users. In the prior art, transaction information is generally stored by a server, and the possibility of malicious tampering exists.
A large number of typical prior arts are found through retrieval, and as shown in fig. 3, a patent with application number 201711052140.3 discloses a method for processing blockchain transaction information and blockchain link points, which can not only reduce the transmission pressure of a blockchain network, but also reduce the storage space of a single node in the blockchain network, thereby avoiding a fault caused by malicious modification of fragment content by a certain blockchain link point, and improving the security of the blockchain network. As shown in fig. 4, a patent with application number 201810565810.X discloses a transaction information confirmation method and device based on a blockchain, which saves calculation power, reduces energy consumption, and improves the capability of a blockchain node network to process a large amount of service data. As further shown in fig. 5, application No. 201610949992.1 discloses a transaction information verification method, apparatus and system based on blockchain technology, which improves the reliability and accuracy of transaction information written into blockchains by mining machines.
In summary, for transaction information processing, many practical problems (such as avoiding malicious tampering of transaction information) that need to be processed in practical applications thereof have not been proposed.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention provides a block chain-based E-commerce transaction information management system and method, and the specific technical scheme of the invention is as follows:
an E-commerce transaction information management system based on a block chain comprises a first server, a second server and a client.
The first server is a block chain node in a block chain network and is used for receiving e-commerce transaction information and broadcasting the e-commerce transaction information to the block chain network;
the first server is further used for receiving and responding to the E-commerce transaction information query instruction, traversing all blocks in the query block chain according to the E-commerce transaction information query instruction, acquiring E-commerce transaction information and sending the E-commerce transaction information to the second server;
the client is used for sending an e-commerce transaction information query request to the second server, wherein the e-commerce transaction information query request comprises a first certificate generated by using a client private key;
the second server is used for verifying the identity information of the client through the public key of the client and sending a supplier transaction information query instruction to the first server after the verification is passed;
the second server is also used for receiving E-commerce transaction information and feeding back the E-commerce transaction information to the client.
Optionally, the e-commerce transaction information query instruction is bound to identity information of the client, where the identity information is one or more of an MAC address, an account number, and a WeChat ID of the client.
Optionally, the second server stores a public key of the client in advance.
Correspondingly, the invention also provides an E-commerce transaction information management method based on the block chain, which comprises the following steps:
the method comprises the steps that a first server receives E-commerce transaction information and broadcasts the E-commerce transaction information to a blockchain network;
the client sends a supplier transaction information query request to the second server;
the second server verifies the identity information of the client and sends a supplier transaction information query instruction to the first server after the verification is passed;
the first server receives and responds to the E-commerce transaction information query instruction, traverses all blocks in the query block chain according to the E-commerce transaction information query instruction, acquires E-commerce transaction information and sends the E-commerce transaction information to the second server;
and the second server receives the E-commerce transaction information and feeds the E-commerce transaction information back to the client.
Optionally, when the first server is in communication connection with the first server, the first server obtains a second certificate generated by using a private key of the second server at a certain frequency, the first server verifies the identity information of the first server through a public key of the second server, if the verification passes, the first server receives and responds to the e-commerce transaction information query instruction, and if the verification fails, the first server refuses to respond to the e-commerce transaction information query instruction.
Optionally, the e-commerce transaction information query instruction is bound to identity information of the client, where the identity information is one or more of an MAC address, an account number, and a WeChat ID of the client.
Optionally, the second server stores a public key of the client in advance.
Accordingly, the present invention also provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the above-described electronic commerce transaction information management method.
The beneficial effects obtained by the invention comprise:
1. the E-commerce transaction information is stored in the blockchain network, so that the E-commerce transaction information can be prevented from being maliciously tampered, and the reliability of storing the E-commerce transaction information can be improved;
2. the second server is used for verifying the identity information of the client, and the first server is used for traversing and inquiring the e-commerce transaction information bound with the identity information of the client, so that the load of the first server can be reduced, and the speed of inquiring the e-commerce transaction information by the client is increased.
Drawings
The present invention will be further understood from the following description taken in conjunction with the accompanying drawings, the emphasis instead being placed upon illustrating the principles of the embodiments.
Fig. 1 is a schematic overall structure diagram of an e-commerce transaction information management system based on a block chain in an embodiment of the present invention;
fig. 2 is a schematic flow chart of an e-commerce transaction information management method based on a block chain according to an embodiment of the present invention;
FIG. 3 is a flow chart illustrating a method for processing blockchain transaction information according to the prior art;
FIG. 4 is a schematic flow chart of a transaction information confirmation method based on a blockchain in the prior art;
fig. 5 is a schematic flowchart illustrating a transaction information verification method based on a blockchain technique in the prior art.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to embodiments thereof; it should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. Other systems, methods, and/or features of the present embodiments will become apparent to those skilled in the art upon review of the following detailed description. It is intended that all such additional systems, methods, features and advantages be included within this description, be within the scope of the invention, and be protected by the accompanying claims. Additional features of the disclosed embodiments are described in, and will be apparent from, the detailed description that follows.
The same or similar reference numerals in the drawings of the embodiments of the present invention correspond to the same or similar components; in the description of the present invention, it is to be understood that the terms "upper", "lower", "left", and "right", if any, may be used,
"right" and the like indicate orientations or positional relationships based on orientations or positional relationships shown in the drawings, which are only for convenience in describing the present invention and simplifying the description, but do not indicate or imply that the indicated device or component must have a specific orientation, be constructed in a specific orientation, and be operated, and therefore, terms describing positional relationships in the drawings are only used for illustrative purposes and are not to be construed as limitations of the present patent, and specific meanings of the above terms may be understood by those of ordinary skill in the art according to specific situations.
The invention relates to an e-commerce transaction information management system and method based on a block chain, which explain the following embodiments according to the attached drawings:
the first embodiment is as follows:
as shown in fig. 1, an e-commerce transaction information management system based on a blockchain includes a first server, a second server, and a client. The first server is in communication connection with a second server, and the second server is in communication connection with a client.
The first server is a block chain node in the block chain network, is used for receiving e-commerce transaction information and broadcasting the e-commerce transaction information to the block chain network, and is used for receiving and responding to an e-commerce transaction information query instruction, traversing all blocks in the query block chain according to the e-commerce transaction information query instruction, acquiring the e-commerce transaction information and sending the e-commerce transaction information to the second server. And writing the E-commerce transaction information into the blockchain network after the E-commerce transaction information passes verification of the blockchain network.
The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism and an encryption algorithm. In a narrow sense, a blockchain is a chain data structure formed by combining data blocks in a sequential connection mode according to a time sequence, and is a distributed ledger which is guaranteed in a cryptographic mode and cannot be tampered and forged. Therefore, the block chain technology has the advantages of decentralization, transparent transaction process, non-falsification of information, traceability and the like.
The E-commerce transaction information is stored in the blockchain network, so that the E-commerce transaction information can be prevented from being maliciously tampered, and the reliability of storing the E-commerce transaction information can be improved.
The client is used for sending an e-commerce transaction information query request to the second server, wherein the e-commerce transaction information query request comprises a first certificate generated by using a client private key. The first certificate is generated by digital signature of a private key of the client, and can be verified through a public key of the client.
The second server is used for verifying the identity information of the client through the public key of the client, sending an e-commerce transaction information query instruction to the first server after the identity information of the client passes the verification, receiving e-commerce transaction information and feeding back the e-commerce transaction information to the client.
The E-commerce transaction information inquiry command is bound with identity information of the client, wherein the identity information is one or more of an MAC address, an account number and a WeChat ID of the client. The second server holds the public key of the client in advance, and the first server trusts the second server in advance.
The second server is used for verifying the identity information of the client, and the first server is used for traversing and inquiring the e-commerce transaction information bound with the identity information of the client, so that the load of the first server can be reduced, and the speed of inquiring the e-commerce transaction information by the client is increased.
Correspondingly, as shown in fig. 2, the present embodiment further provides a block chain-based e-commerce transaction information management method, which includes the following steps:
the method comprises the steps that a first server receives E-commerce transaction information and broadcasts the E-commerce transaction information to a blockchain network;
the client sends a supplier transaction information query request to the second server;
the second server verifies the identity information of the client and sends a supplier transaction information query instruction to the first server after the verification is passed;
the first server receives and responds to the E-commerce transaction information query instruction, traverses all blocks in the query block chain according to the E-commerce transaction information query instruction, acquires E-commerce transaction information and sends the E-commerce transaction information to the second server;
and the second server receives the E-commerce transaction information and feeds the E-commerce transaction information back to the client.
When the second server is in communication connection with the first server, the first server obtains a second certificate generated by using a private key of the second server at a certain frequency, and the second certificate can be verified by using a public key of the second server. The first server verifies the identity information of the second server through the public key of the second server, receives and responds to the E-commerce transaction information query instruction if the verification is passed, and refuses to respond to the E-commerce transaction information query instruction if the verification is failed. The second server sends the second certificate to the first server at a certain frequency, and the first server verifies the identity information of the second server by using the second certificate, so that the second server can be prevented from being invaded and controlled, the possibility of acquiring the e-commerce transaction information by using the second server is further avoided, and the security of e-commerce transaction data transmission is improved.
The E-commerce transaction information inquiry command is bound with identity information of the client, wherein the identity information is one or more of an MAC address, an account number and a WeChat ID of the client. The second server prestores a public key of the client.
Accordingly, the present embodiment also provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the above-described electronic commerce transaction information management method.
Example two:
as shown in fig. 1, an e-commerce transaction information management system based on a blockchain includes a first server, a second server, and a client. The first server is in communication connection with a second server, and the second server is in communication connection with a client.
The first server is a block chain node in the block chain network, is used for receiving e-commerce transaction information and broadcasting the e-commerce transaction information to the block chain network, and is used for receiving and responding to an e-commerce transaction information query instruction, traversing all blocks in the query block chain according to the e-commerce transaction information query instruction, acquiring the e-commerce transaction information and sending the e-commerce transaction information to the second server. And writing the E-commerce transaction information into the blockchain network after the E-commerce transaction information passes verification of the blockchain network.
The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism and an encryption algorithm. In a narrow sense, a blockchain is a chain data structure formed by combining data blocks in a sequential connection mode according to a time sequence, and is a distributed ledger which is guaranteed in a cryptographic mode and cannot be tampered and forged. Therefore, the block chain technology has the advantages of decentralization, transparent transaction process, non-falsification of information, traceability and the like.
The E-commerce transaction information is stored in the blockchain network, so that the E-commerce transaction information can be prevented from being maliciously tampered, and the reliability of storing the E-commerce transaction information can be improved.
The client is used for sending an e-commerce transaction information query request to the second server, wherein the e-commerce transaction information query request comprises a first certificate generated by using a client private key. The first certificate is generated by digital signature of a private key of the client, and can be verified through a public key of the client.
The second server is used for verifying the identity information of the client through the public key of the client, sending an e-commerce transaction information query instruction to the first server after the identity information of the client passes the verification, receiving e-commerce transaction information and feeding back the e-commerce transaction information to the client.
The E-commerce transaction information inquiry command is bound with identity information of the client, wherein the identity information is one or more of an MAC address, an account number and a WeChat ID of the client. The second server holds the public key of the client in advance, and the first server trusts the second server in advance.
The second server is used for verifying the identity information of the client, and the first server is used for traversing and inquiring the e-commerce transaction information bound with the identity information of the client, so that the load of the first server can be reduced, and the speed of inquiring the e-commerce transaction information by the client is increased.
Correspondingly, as shown in fig. 2, the present embodiment further provides a block chain-based e-commerce transaction information management method, which includes the following steps:
the method comprises the steps that a first server receives E-commerce transaction information and broadcasts the E-commerce transaction information to a blockchain network;
the client sends a supplier transaction information query request to the second server;
the second server verifies the identity information of the client and sends a supplier transaction information query instruction to the first server after the verification is passed;
the first server receives and responds to the E-commerce transaction information query instruction, traverses all blocks in the query block chain according to the E-commerce transaction information query instruction, acquires E-commerce transaction information and sends the E-commerce transaction information to the second server;
and the second server receives the E-commerce transaction information and feeds the E-commerce transaction information back to the client.
When the second server is in communication connection with the first server, the first server acquires a second certificate generated by using a private key of the second server at a certain frequency, and the second certificate can be verified by a public key of the second server. The first server verifies the identity information of the second server through the public key of the second server, receives and responds to the E-commerce transaction information query instruction if the verification is passed, and refuses to respond to the E-commerce transaction information query instruction if the verification is failed. The first server acquires the second certificate generated by the second server private key at a certain frequency, and the first server verifies the identity information of the second server by using the second certificate, so that the second server can be prevented from being invaded and controlled, the possibility of acquiring the e-commerce transaction information by using the second server is further avoided, and the security of e-commerce transaction data transmission is improved.
In some embodiments, the second server is one of the blockchain nodes in the blockchain network, which broadcasts the second certificate into the blockchain network at certain time intervals, and the blockchain network writes the second certificate into the blockchain network in response to the second certificate being verified by the blockchain network. The first server traverses all blocks in the query block chain, acquires a second certificate of a latest timestamp and acquires time information of the second certificate of the latest timestamp, judges whether the interval between the time information of the second certificate of the latest timestamp and the current time is greater than preset time, and if the interval is greater than the preset time, the first server fails to verify the identity information of the second server and refuses to respond to the E-commerce transaction information query instruction; and if the interval is less than the preset time, the first server verifies the identity information of the second server through the public key of the second server, if the verification is passed, the E-commerce transaction information query instruction is received and responded, and if the verification is failed, the E-commerce transaction information query instruction is refused to be responded.
The second server is set as a block chain link point in the block chain network, and the second certificate is broadcasted to the block chain network at a certain time interval, so that the possibility that the second certificate is leaked to cause malicious reutilization of the second certificate can be avoided.
The E-commerce transaction information inquiry command is bound with identity information of the client, wherein the identity information is one or more of an MAC address, an account number and a WeChat ID of the client. The second server prestores a public key of the client.
Accordingly, the present embodiment also provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the above-described electronic commerce transaction information management method.
Example three:
as shown in fig. 1, an e-commerce transaction information management system based on a blockchain includes a first server, a second server, and a client. The first server is in communication connection with a second server, and the second server is in communication connection with a client.
The first server is a block chain node in the block chain network, is used for receiving e-commerce transaction information and broadcasting the e-commerce transaction information to the block chain network, and is used for receiving and responding to an e-commerce transaction information query instruction, traversing all blocks in the query block chain according to the e-commerce transaction information query instruction, acquiring the e-commerce transaction information and sending the e-commerce transaction information to the second server. And writing the E-commerce transaction information into the blockchain network after the E-commerce transaction information passes verification of the blockchain network.
The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism and an encryption algorithm. In a narrow sense, a blockchain is a chain data structure formed by combining data blocks in a sequential connection mode according to a time sequence, and is a distributed ledger which is guaranteed in a cryptographic mode and cannot be tampered and forged. Therefore, the block chain technology has the advantages of decentralization, transparent transaction process, non-falsification of information, traceability and the like.
The E-commerce transaction information is stored in the blockchain network, so that the E-commerce transaction information can be prevented from being maliciously tampered, and the reliability of storing the E-commerce transaction information can be improved.
The client is used for sending an e-commerce transaction information query request to the second server, wherein the e-commerce transaction information query request comprises a first certificate generated by using a client private key. The first certificate is generated by digital signature of a private key of the client, and can be verified through a public key of the client.
The second server is used for verifying the identity information of the client through the public key of the client, sending an e-commerce transaction information query instruction to the first server after the identity information of the client passes the verification, receiving e-commerce transaction information and feeding back the e-commerce transaction information to the client.
The E-commerce transaction information inquiry command is bound with identity information of the client, wherein the identity information is one or more of an MAC address, an account number and a WeChat ID of the client. The second server holds the public key of the client in advance, and the first server trusts the second server in advance.
The second server is used for verifying the identity information of the client, and the first server is used for traversing and inquiring the e-commerce transaction information bound with the identity information of the client, so that the load of the first server can be reduced, and the speed of inquiring the e-commerce transaction information by the client is increased.
Correspondingly, as shown in fig. 2, the present embodiment further provides a block chain-based e-commerce transaction information management method, which includes the following steps:
the method comprises the steps that a first server receives E-commerce transaction information and broadcasts the E-commerce transaction information to a blockchain network;
the client sends a supplier transaction information query request to the second server;
the second server verifies the identity information of the client and sends a supplier transaction information query instruction to the first server after the verification is passed;
the first server receives and responds to the E-commerce transaction information query instruction, traverses all blocks in the query block chain according to the E-commerce transaction information query instruction, acquires E-commerce transaction information and sends the E-commerce transaction information to the second server;
and the second server receives the E-commerce transaction information and feeds the E-commerce transaction information back to the client.
When the second server is in communication connection with the first server, the first server acquires a second certificate generated by using a private key of the second server at a certain frequency, and the second certificate can be verified by a public key of the second server. The first server verifies the identity information of the second server through the public key of the second server, receives and responds to the E-commerce transaction information query instruction if the verification is passed, and refuses to respond to the E-commerce transaction information query instruction if the verification is failed. The first server acquires the second certificate generated by the second server private key at a certain frequency, and the first server verifies the identity information of the second server by using the second certificate, so that the second server can be prevented from being invaded and controlled, the possibility of acquiring the e-commerce transaction information by using the second server is further avoided, and the security of e-commerce transaction data transmission is improved.
In some embodiments, the second server is one of the blockchain nodes in the blockchain network, which broadcasts the second certificate into the blockchain network at certain time intervals, and the blockchain network writes the second certificate into the blockchain network in response to the second certificate being verified by the blockchain network. The first server traverses all blocks in the query block chain, acquires a second certificate of a latest timestamp and acquires time information of the second certificate of the latest timestamp, judges whether the interval between the time information of the second certificate of the latest timestamp and the current time is greater than preset time, and if the interval is greater than the preset time, the first server fails to verify the identity information of the second server and refuses to respond to the E-commerce transaction information query instruction; and if the interval is less than the preset time, the first server verifies the identity information of the second server through the public key of the second server, if the verification is passed, the E-commerce transaction information query instruction is received and responded, and if the verification is failed, the E-commerce transaction information query instruction is refused to be responded. Wherein, the current time refers to the time when the first server starts to traverse all the blocks in the query blockchain to obtain the second certificate action of the latest timestamp.
The second server is set as a block chain link point in the block chain network, and the second certificate is broadcasted to the block chain network at a certain time interval, so that the possibility that the second certificate is leaked to cause malicious reutilization of the second certificate can be avoided.
The E-commerce transaction information inquiry command is bound with identity information of the client, wherein the identity information is one or more of an MAC address, an account number and a WeChat ID of the client. The second server prestores a public key of the client.
In some embodiments, the first server stores a public key of the client in advance, and divides the e-commerce transaction information into a plurality of segments and encrypts the e-commerce transaction information divided into the plurality of segments by using the public key of the client. And the second server stores the encrypted e-commerce transaction information after acquiring the encrypted e-commerce transaction information sent by the first server. The second server sends the second certificate to the client, the client verifies the identity information of the second server by using the public key of the second server, after the mutual verification of the second server and the client is passed (namely the client verifies the second certificate and the second server verifies the first certificate), the second server grants the remote control authority to the client, and the client decrypts the encrypted e-commerce transaction information by using the second server. The encrypted e-commerce transaction information is decrypted through the second server, so that the computer performance of the second server can be better utilized, the burden of the client is reduced, the speed and efficiency of decrypting the e-commerce transaction information are improved, and the problem that the e-commerce transaction information is decrypted slowly or even cannot be decrypted due to insufficient memory allocation of the client is solved.
Accordingly, the present embodiment also provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the above-described electronic commerce transaction information management method.
In summary, the block chain-based e-commerce transaction information management system and method disclosed by the present invention have the following beneficial technical effects:
1. the E-commerce transaction information is stored in the blockchain network, so that the E-commerce transaction information can be prevented from being maliciously tampered, and the reliability of storing the E-commerce transaction information can be improved;
2. the second server is used for verifying the identity information of the client, and the first server is used for traversing and inquiring the e-commerce transaction information bound with the identity information of the client, so that the load of the first server can be reduced, and the speed of inquiring the e-commerce transaction information by the client is increased.
Although the invention has been described above with reference to various embodiments, it should be understood that many changes and modifications may be made without departing from the scope of the invention. That is, the methods, systems, and devices discussed above are examples, and various configurations may omit, replace, or add various processes or components as appropriate. For example, in alternative configurations, the methods may be performed in an order different than that described and/or various components may be added, omitted, and/or combined. Moreover, features described with respect to certain configurations may be combined in various other configurations, as different aspects and elements of the configurations may be combined in a similar manner. Further, elements therein may be updated as technology evolves, i.e., many of the elements are examples and do not limit the scope of the disclosure or claims.
Specific details are given in the description to provide a thorough understanding of the exemplary configurations including implementations. However, configurations may be practiced without these specific details, such as well-known circuits, processes, algorithms, structures, and techniques, which have been shown without unnecessary detail in order to avoid obscuring the configurations. This description provides example configurations only, and does not limit the scope, applicability, or configuration of the claims. Rather, the foregoing description of the configurations will provide those skilled in the art with an enabling description for implementing the described techniques. Various changes may be made in the function and arrangement of elements without departing from the spirit or scope of the disclosure.
It is intended that the foregoing detailed description be regarded as illustrative rather than limiting, and that it be understood that it is the following claims, including all equivalents, that are intended to define the spirit and scope of this invention. The above examples are to be construed as merely illustrative and not limitative of the remainder of the disclosure. After reading the description of the invention, the skilled person can make various changes or modifications to the invention, and these equivalent changes and modifications also fall into the scope of the invention defined by the claims.

Claims (8)

1. The utility model provides an E-commerce transaction information management system based on block chain, includes first server, second server and client, its characterized in that:
the first server is a block chain node in a block chain network and is used for receiving e-commerce transaction information and broadcasting the e-commerce transaction information to the block chain network;
the first server is further used for receiving and responding to the E-commerce transaction information query instruction, traversing all blocks in the query block chain according to the E-commerce transaction information query instruction, acquiring E-commerce transaction information and sending the E-commerce transaction information to the second server;
the client is used for sending an e-commerce transaction information query request to the second server, wherein the e-commerce transaction information query request comprises a first certificate generated by using a client private key;
the second server is used for verifying the identity information of the client through the public key of the client and sending a supplier transaction information query instruction to the first server after the verification is passed;
the second server is also used for receiving E-commerce transaction information and feeding back the E-commerce transaction information to the client.
2. The block chain-based e-commerce transaction information management system of claim 1, wherein the e-commerce transaction information query instruction is bound with identity information of the client, and the identity information is one or more of a MAC address, an account number and a WeChat ID of the client.
3. The block chain-based e-commerce transaction information management system of claim 2, wherein the second server holds a public key of the client in advance.
4. An e-commerce transaction information management method based on a block chain, which is applied to the e-commerce transaction information management system according to any one of claims 1 to 3, characterized by comprising the steps of:
the method comprises the steps that a first server receives E-commerce transaction information and broadcasts the E-commerce transaction information to a blockchain network;
the client sends a supplier transaction information query request to the second server;
the second server verifies the identity information of the client and sends a supplier transaction information query instruction to the first server after the verification is passed;
the first server receives and responds to the E-commerce transaction information query instruction, traverses all blocks in the query block chain according to the E-commerce transaction information query instruction, acquires E-commerce transaction information and sends the E-commerce transaction information to the second server;
and the second server receives the E-commerce transaction information and feeds the E-commerce transaction information back to the client.
5. The block chain-based e-commerce transaction information management method of claim 4, wherein when the block chain-based e-commerce transaction information management method is in communication connection with a first server, the first server acquires a second certificate generated by using a private key of a second server at a certain frequency, the first server verifies the identity information of the first server through a public key of the second server, and receives and responds to an e-commerce transaction information inquiry command if the verification is passed, and rejects to respond to the e-commerce transaction information inquiry command if the verification is failed.
6. The block chain-based e-commerce transaction information management method according to claim 5, wherein the e-commerce transaction information inquiry command is bound with identity information of the client, and the identity information is one or more of a MAC address, an account number and a WeChat ID of the client.
7. The block chain-based e-commerce transaction information management method according to claim 6, wherein the second server holds a public key of the client in advance.
8. A computer-readable storage medium storing a computer program which, when executed by a processor, implements the e-commerce transaction information management method of any one of claims 4 to 7.
CN202010318257.7A 2020-04-21 2020-04-21 E-commerce transaction information management system and method based on blockchain Active CN111506930B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010318257.7A CN111506930B (en) 2020-04-21 2020-04-21 E-commerce transaction information management system and method based on blockchain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010318257.7A CN111506930B (en) 2020-04-21 2020-04-21 E-commerce transaction information management system and method based on blockchain

Publications (2)

Publication Number Publication Date
CN111506930A true CN111506930A (en) 2020-08-07
CN111506930B CN111506930B (en) 2023-07-18

Family

ID=71869787

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010318257.7A Active CN111506930B (en) 2020-04-21 2020-04-21 E-commerce transaction information management system and method based on blockchain

Country Status (1)

Country Link
CN (1) CN111506930B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113240494A (en) * 2021-05-23 2021-08-10 图林科技(深圳)有限公司 E-commerce logistics commodity arrangement method and system based on block chain

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018120129A1 (en) * 2016-12-30 2018-07-05 深圳前海达闼云端智能科技有限公司 Data query method, device and node apparatus
WO2019052286A1 (en) * 2017-09-12 2019-03-21 广州广电运通金融电子股份有限公司 User identity verification method, apparatus and system based on blockchain
EP3474172A1 (en) * 2017-10-19 2019-04-24 Bundesdruckerei GmbH Access control using a blockchain
CN110109930A (en) * 2019-05-15 2019-08-09 山东省计算中心(国家超级计算济南中心) Government data storage, querying method and system based on block chain duplex structure
CN110264206A (en) * 2019-06-24 2019-09-20 北京艾摩瑞策科技有限公司 A kind of electric quotient data cochain method and its equipment based on block chain
WO2020061923A1 (en) * 2018-09-27 2020-04-02 区链通网络有限公司 Blockchain-based account management system and management method, and storage medium
CN111034114A (en) * 2017-08-07 2020-04-17 维萨国际服务协会 Block chain structure with recording safety

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018120129A1 (en) * 2016-12-30 2018-07-05 深圳前海达闼云端智能科技有限公司 Data query method, device and node apparatus
CN111034114A (en) * 2017-08-07 2020-04-17 维萨国际服务协会 Block chain structure with recording safety
WO2019052286A1 (en) * 2017-09-12 2019-03-21 广州广电运通金融电子股份有限公司 User identity verification method, apparatus and system based on blockchain
EP3474172A1 (en) * 2017-10-19 2019-04-24 Bundesdruckerei GmbH Access control using a blockchain
WO2020061923A1 (en) * 2018-09-27 2020-04-02 区链通网络有限公司 Blockchain-based account management system and management method, and storage medium
CN110109930A (en) * 2019-05-15 2019-08-09 山东省计算中心(国家超级计算济南中心) Government data storage, querying method and system based on block chain duplex structure
CN110264206A (en) * 2019-06-24 2019-09-20 北京艾摩瑞策科技有限公司 A kind of electric quotient data cochain method and its equipment based on block chain

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113240494A (en) * 2021-05-23 2021-08-10 图林科技(深圳)有限公司 E-commerce logistics commodity arrangement method and system based on block chain
CN113240494B (en) * 2021-05-23 2024-01-05 山东浪潮新世纪科技有限公司 Block chain-based E-commerce logistics commodity placement method and system

Also Published As

Publication number Publication date
CN111506930B (en) 2023-07-18

Similar Documents

Publication Publication Date Title
CN108596588B (en) Block data processing method and device, computing equipment and storage medium
CN108933667B (en) Management method and management system of public key certificate based on block chain
US20220394026A1 (en) Network identity protection method and device, and electronic equipment and storage medium
JP2021526341A (en) Digital certificate management methods, devices, computer devices and computer programs
CN111786812B (en) Node management method, device, computer equipment and storage medium
CN108696356B (en) Block chain-based digital certificate deleting method, device and system
CN112565265B (en) Authentication method, authentication system and communication method between terminal devices of Internet of things
CN110286849B (en) Data processing method and device of data storage system
CN113255014B (en) Data processing method based on block chain and related equipment
CN113610526A (en) Data trust method and device, electronic equipment and storage medium
CN111193755B (en) Data access method, data encryption method and data encryption and access system
CN110912892B (en) Certificate management method and device, electronic equipment and storage medium
CN113709734B (en) Unmanned aerial vehicle distributed identity authentication method based on blockchain
CN110737725A (en) Electronic information inspection method, device, equipment, medium and system
CN111506930B (en) E-commerce transaction information management system and method based on blockchain
CN113612616A (en) Vehicle communication method and device based on block chain
CN112926983A (en) Block chain-based deposit certificate transaction encryption system and method
CN112242979B (en) IP address prefix authentication method and equipment based on block chain system
CN116881936A (en) Trusted computing method and related equipment
CN114553557B (en) Key calling method, device, computer equipment and storage medium
CN114095165B (en) Key updating method, server device, client device and storage medium
CN113872986B (en) Power distribution terminal authentication method and device and computer equipment
CN113592638A (en) Transaction request processing method and device and alliance chain
WO2019200690A1 (en) Data protection method, server and computer readable storage medium
CN111342974A (en) Management method, device, equipment and storage medium of radio frequency identification data

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