CN111506930B - E-commerce transaction information management system and method based on blockchain - Google Patents

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

Info

Publication number
CN111506930B
CN111506930B CN202010318257.7A CN202010318257A CN111506930B CN 111506930 B CN111506930 B CN 111506930B CN 202010318257 A CN202010318257 A CN 202010318257A CN 111506930 B CN111506930 B CN 111506930B
Authority
CN
China
Prior art keywords
server
transaction information
commerce transaction
client
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.)
Active
Application number
CN202010318257.7A
Other languages
Chinese (zh)
Other versions
CN111506930A (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

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

Abstract

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

Description

E-commerce transaction information management system and method based on blockchain
Technical Field
The invention relates to the field of blockchains, in particular to a blockchain-based e-commerce transaction information management system and method.
Background
When online transactions are performed through the internet, each transaction generally corresponds to one or more pieces of transaction information, and the transaction information may reflect the transaction behavior of the user. In the prior art, transaction information is typically stored by a server, which has the potential to be subject to malicious tampering.
Through massive searching, a plurality of typical prior art is found, as shown in fig. 3, the patent with application number 201711052140.3 discloses a blockchain transaction information processing method and a blockchain node, which not only can relieve the transmission pressure of a blockchain network, but also can reduce the storage space of a single node for the single node in the blockchain network, avoid faults caused by maliciously modifying the sliced content of a certain blockchain node, and improve the security of the blockchain network. As shown in fig. 4, the patent with application number 201810565810.X discloses a transaction information confirmation method and device based on blockchain, which saves calculation force, reduces energy consumption and improves the capability of a blockchain link point network for processing a large amount of service data. As shown in fig. 5, the patent application No. 201610949992.1 discloses a transaction information verification method, device and system based on the blockchain technology, which improves the reliability and accuracy of transaction information written into blockchain by the mining machine.
In summary, for transaction information processing, there are many practical problems (such as protection of transaction information from malicious tampering) that need to be processed in practical applications, and many specific solutions 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:
a block chain-based e-commerce transaction information management system comprises a first server, a second server and a client.
The first server is a blockchain node in a blockchain network and is used for receiving the E-commerce transaction information and broadcasting the E-commerce transaction information to the blockchain network;
the first server is also used for receiving and responding to the E-commerce transaction information inquiry command, traversing all blocks in the inquiry block chain according to the E-commerce transaction information inquiry command, acquiring E-commerce transaction information and sending the E-commerce transaction information to the second server;
the client is used for sending an electronic commerce information inquiry request to the second server, wherein the electronic commerce information inquiry 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 an e-commerce transaction information inquiry instruction to the first server after the identity information of the client passes the verification;
the second server is further configured to receive electronic commerce transaction information, and feed the electronic commerce transaction information back to the client.
Optionally, the e-commerce transaction information inquiry instruction is mutually bound with the identity information of the client, and 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 the public key of the client in advance.
Correspondingly, the invention also provides a block chain-based e-commerce transaction information management method, which comprises the following steps:
the method comprises the steps that a first server receives electronic commerce transaction information and broadcasts the electronic commerce transaction information to a blockchain network;
the client sends an electronic commerce information inquiry request to the second server;
the second server verifies the identity information of the client and sends an e-commerce transaction information inquiry instruction to the first server after the identity information of the client passes the verification;
the method comprises the steps that a first server receives and responds to an E-commerce transaction information inquiry instruction, traverses all blocks in an inquiry block chain according to the E-commerce transaction information inquiry instruction, acquires E-commerce transaction information and sends the E-commerce transaction information to a 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 electronic commerce transaction information inquiry method is in communication connection with the first server, the first server acquires the second certificate generated by using the private key of the second server at a certain frequency, the first server verifies the identity information of the first server through the public key of the second server, if the verification is passed, the electronic commerce transaction information inquiry instruction is received and responded, and if the verification is failed, the response to the electronic commerce transaction information inquiry instruction is refused.
Optionally, the e-commerce transaction information inquiry instruction is mutually bound with the identity information of the client, and 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 the 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-mentioned e-commerce transaction information management method.
The beneficial effects obtained by the invention include:
1. the electronic commerce transaction information is stored in the blockchain network, so that the electronic commerce transaction information can be prevented from being tampered maliciously, and the reliability of storing the electronic commerce transaction information can be improved;
2. the second server is utilized to verify the identity information of the client, and the first server is utilized to traverse and inquire the e-commerce transaction information bound with the identity information of the client, so that the burden of the first server can be reduced, and the speed of inquiring the e-commerce transaction information by the client can be improved.
Drawings
The invention will be further understood from the following description taken in conjunction with the accompanying drawings, with emphasis instead being placed upon illustrating the principles of the embodiments.
FIG. 1 is a schematic diagram of an overall architecture of a block chain-based e-commerce transaction information management system in an embodiment of the invention;
FIG. 2 is a flowchart of a block chain based e-commerce transaction information management method in an embodiment of the invention;
FIG. 3 is a flow chart of a block chain transaction information processing method in the prior art;
FIG. 4 is a flow chart of a prior art method for identifying transaction information based on blockchain;
fig. 5 is a flow chart of a transaction information verification method based on a blockchain technology 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 will be described in further detail with reference to the following examples thereof; it should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention. Other systems, methods, and/or features of the present embodiments will be or become apparent to one with skill in the art upon examination 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 following detailed description.
The same or similar reference numbers in the drawings of embodiments of the invention correspond to the same or similar components; in the description of the present invention, it should be understood that, if there is an azimuth or positional relationship indicated by terms such as "upper", "lower", "left", "right", etc., based on the azimuth or positional relationship shown in the drawings, it is only for convenience of describing the present invention and simplifying the description, but it is not indicated or implied that the apparatus or component referred to must have a specific azimuth, be constructed and operated in a specific azimuth, and thus terms describing the positional relationship in the drawings are merely illustrative and should not be construed as limitations of the present patent, and specific meanings of the terms described above may be understood by those skilled in the art according to specific circumstances.
The invention relates to a block chain-based e-commerce transaction information management system and a block chain-based e-commerce transaction information management method, which are used for explaining the following embodiments according to the instructions shown in the attached drawings:
embodiment one:
as shown in FIG. 1, the block chain-based e-commerce transaction information management system comprises 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 the client.
The first server is a blockchain node in a blockchain network, and is used for receiving electronic commerce transaction information and broadcasting the electronic commerce transaction information into the blockchain network, receiving and responding to an electronic commerce transaction information inquiry command, traversing all blocks in the inquiry blockchain according to the electronic commerce transaction information inquiry command, acquiring the electronic commerce transaction information and sending the electronic commerce transaction information to the second server. And after the E-commerce transaction information is verified by the blockchain network, writing the E-commerce transaction information into the blockchain network.
Blockchains are novel application modes of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanisms, encryption algorithms, and the like. In a narrow sense, a blockchain is a chain type data structure formed by sequentially connecting data blocks in time sequence, and is a distributed account book which cannot be tampered and counterfeited and is guaranteed in a cryptographic manner. Therefore, the blockchain technology has the advantages of decentralization, transparent transaction process, non-tamperable 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 tampered maliciously, and the reliability of storing the E-commerce transaction information can be improved.
The client is used for sending an electronic commerce information inquiry request to the second server, wherein the electronic commerce information inquiry request comprises a first certificate generated by using a client private key. The first certificate is digitally signed by the private key of the client, which can be verified by the 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 inquiry instruction to the first server after the identity information passes the verification, receiving the E-commerce transaction information and feeding the E-commerce transaction information back to the client.
The electronic commerce transaction information inquiry instruction is mutually bound with the identity information of the client, wherein the identity information is one or more of the MAC address, the account number and the WeChat ID of the client. The second server pre-holds the public key of the client and the first server pre-trusts the second server.
The second server is utilized to verify the identity information of the client, and the first server is utilized to traverse and inquire the e-commerce transaction information bound with the identity information of the client, so that the burden of the first server can be reduced, and the speed of inquiring the e-commerce transaction information by the client can be improved.
Correspondingly, as shown in fig. 2, the embodiment also provides a block chain-based e-commerce transaction information management method, which comprises the following steps:
the method comprises the steps that a first server receives electronic commerce transaction information and broadcasts the electronic commerce transaction information to a blockchain network;
the client sends an electronic commerce information inquiry request to the second server;
the second server verifies the identity information of the client and sends an e-commerce transaction information inquiry instruction to the first server after the identity information of the client passes the verification;
the method comprises the steps that a first server receives and responds to an E-commerce transaction information inquiry instruction, traverses all blocks in an inquiry block chain according to the E-commerce transaction information inquiry instruction, acquires E-commerce transaction information and sends the E-commerce transaction information to a 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, if the verification is passed, the first server receives and responds to the E-commerce transaction information inquiry command, and if the verification is failed, the first server refuses to respond to the E-commerce transaction information inquiry command. 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 transaction information of the electronic commerce by using the second server is further improved, and the security of the transaction data transmission of the electronic commerce is improved.
The electronic commerce transaction information inquiry instruction is mutually bound with the identity information of the client, wherein the identity information is one or more of the MAC address, the account number and the WeChat ID of the client. The second server pre-stores the 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 e-commerce transaction information management method.
Embodiment two:
as shown in FIG. 1, the block chain-based e-commerce transaction information management system comprises 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 the client.
The first server is a blockchain node in a blockchain network, and is used for receiving electronic commerce transaction information and broadcasting the electronic commerce transaction information into the blockchain network, receiving and responding to an electronic commerce transaction information inquiry command, traversing all blocks in the inquiry blockchain according to the electronic commerce transaction information inquiry command, acquiring the electronic commerce transaction information and sending the electronic commerce transaction information to the second server. And after the E-commerce transaction information is verified by the blockchain network, writing the E-commerce transaction information into the blockchain network.
Blockchains are novel application modes of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanisms, encryption algorithms, and the like. In a narrow sense, a blockchain is a chain type data structure formed by sequentially connecting data blocks in time sequence, and is a distributed account book which cannot be tampered and counterfeited and is guaranteed in a cryptographic manner. Therefore, the blockchain technology has the advantages of decentralization, transparent transaction process, non-tamperable 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 tampered maliciously, and the reliability of storing the E-commerce transaction information can be improved.
The client is used for sending an electronic commerce information inquiry request to the second server, wherein the electronic commerce information inquiry request comprises a first certificate generated by using a client private key. The first certificate is digitally signed by the private key of the client, which can be verified by the 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 inquiry instruction to the first server after the identity information passes the verification, receiving the E-commerce transaction information and feeding the E-commerce transaction information back to the client.
The electronic commerce transaction information inquiry instruction is mutually bound with the identity information of the client, wherein the identity information is one or more of the MAC address, the account number and the WeChat ID of the client. The second server pre-holds the public key of the client and the first server pre-trusts the second server.
The second server is utilized to verify the identity information of the client, and the first server is utilized to traverse and inquire the e-commerce transaction information bound with the identity information of the client, so that the burden of the first server can be reduced, and the speed of inquiring the e-commerce transaction information by the client can be improved.
Correspondingly, as shown in fig. 2, the embodiment also provides a block chain-based e-commerce transaction information management method, which comprises the following steps:
the method comprises the steps that a first server receives electronic commerce transaction information and broadcasts the electronic commerce transaction information to a blockchain network;
the client sends an electronic commerce information inquiry request to the second server;
the second server verifies the identity information of the client and sends an e-commerce transaction information inquiry instruction to the first server after the identity information of the client passes the verification;
the method comprises the steps that a first server receives and responds to an E-commerce transaction information inquiry instruction, traverses all blocks in an inquiry block chain according to the E-commerce transaction information inquiry instruction, acquires E-commerce transaction information and sends the E-commerce transaction information to a 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, if the verification is passed, the first server receives and responds to the E-commerce transaction information inquiry command, and if the verification is failed, the first server refuses to respond to the E-commerce transaction information inquiry command. The first server acquires the second certificate generated by using the private key of the second 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 transaction information of the electronic commerce by using the second server is further improved, and the security of the transaction data transmission of the electronic commerce is improved.
In some embodiments, the second server is one of the blockchain nodes in the blockchain network that broadcasts the second certificate into the blockchain network at intervals, and the blockchain network writes the second certificate into the blockchain network after the blockchain network verifies the second certificate in response to the blockchain network. The first server traverses all blocks in the query block chain, acquires a second certificate of the latest timestamp and acquires time information of the second certificate of the latest timestamp, and judges whether the interval between the time information of the second certificate of the latest timestamp and the current time is larger than preset time, if the interval is larger 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; if the interval is smaller 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 electronic commerce transaction information inquiry instruction is received and responded, and if the verification is failed, the response to the electronic commerce transaction information inquiry instruction is refused.
The second server is set to be a blockchain node in the blockchain network, and the second certificate is broadcasted into the blockchain network at a certain time interval, so that the possibility that the second certificate is leaked to cause the second certificate to be maliciously reused can be avoided.
The electronic commerce transaction information inquiry instruction is mutually bound with the identity information of the client, wherein the identity information is one or more of the MAC address, the account number and the WeChat ID of the client. The second server pre-stores the 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 e-commerce transaction information management method.
Embodiment III:
as shown in FIG. 1, the block chain-based e-commerce transaction information management system comprises 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 the client.
The first server is a blockchain node in a blockchain network, and is used for receiving electronic commerce transaction information and broadcasting the electronic commerce transaction information into the blockchain network, receiving and responding to an electronic commerce transaction information inquiry command, traversing all blocks in the inquiry blockchain according to the electronic commerce transaction information inquiry command, acquiring the electronic commerce transaction information and sending the electronic commerce transaction information to the second server. And after the E-commerce transaction information is verified by the blockchain network, writing the E-commerce transaction information into the blockchain network.
Blockchains are novel application modes of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanisms, encryption algorithms, and the like. In a narrow sense, a blockchain is a chain type data structure formed by sequentially connecting data blocks in time sequence, and is a distributed account book which cannot be tampered and counterfeited and is guaranteed in a cryptographic manner. Therefore, the blockchain technology has the advantages of decentralization, transparent transaction process, non-tamperable 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 tampered maliciously, and the reliability of storing the E-commerce transaction information can be improved.
The client is used for sending an electronic commerce information inquiry request to the second server, wherein the electronic commerce information inquiry request comprises a first certificate generated by using a client private key. The first certificate is digitally signed by the private key of the client, which can be verified by the 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 inquiry instruction to the first server after the identity information passes the verification, receiving the E-commerce transaction information and feeding the E-commerce transaction information back to the client.
The electronic commerce transaction information inquiry instruction is mutually bound with the identity information of the client, wherein the identity information is one or more of the MAC address, the account number and the WeChat ID of the client. The second server pre-holds the public key of the client and the first server pre-trusts the second server.
The second server is utilized to verify the identity information of the client, and the first server is utilized to traverse and inquire the e-commerce transaction information bound with the identity information of the client, so that the burden of the first server can be reduced, and the speed of inquiring the e-commerce transaction information by the client can be improved.
Correspondingly, as shown in fig. 2, the embodiment also provides a block chain-based e-commerce transaction information management method, which comprises the following steps:
the method comprises the steps that a first server receives electronic commerce transaction information and broadcasts the electronic commerce transaction information to a blockchain network;
the client sends an electronic commerce information inquiry request to the second server;
the second server verifies the identity information of the client and sends an e-commerce transaction information inquiry instruction to the first server after the identity information of the client passes the verification;
the method comprises the steps that a first server receives and responds to an E-commerce transaction information inquiry instruction, traverses all blocks in an inquiry block chain according to the E-commerce transaction information inquiry instruction, acquires E-commerce transaction information and sends the E-commerce transaction information to a 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, if the verification is passed, the first server receives and responds to the E-commerce transaction information inquiry command, and if the verification is failed, the first server refuses to respond to the E-commerce transaction information inquiry command. The first server acquires the second certificate generated by using the private key of the second 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 transaction information of the electronic commerce by using the second server is further improved, and the security of the transaction data transmission of the electronic commerce is improved.
In some embodiments, the second server is one of the blockchain nodes in the blockchain network that broadcasts the second certificate into the blockchain network at intervals, and the blockchain network writes the second certificate into the blockchain network after the blockchain network verifies the second certificate in response to the blockchain network. The first server traverses all blocks in the query block chain, acquires a second certificate of the latest timestamp and acquires time information of the second certificate of the latest timestamp, and judges whether the interval between the time information of the second certificate of the latest timestamp and the current time is larger than preset time, if the interval is larger 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; if the interval is smaller 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 electronic commerce transaction information inquiry instruction is received and responded, and if the verification is failed, the response to the electronic commerce transaction information inquiry instruction is refused. Wherein the current time refers to the time when the first server begins a second certificate action of traversing all blocks in the query blockchain to obtain the latest timestamp.
The second server is set to be a blockchain node in the blockchain network, and the second certificate is broadcasted into the blockchain network at a certain time interval, so that the possibility that the second certificate is leaked to cause the second certificate to be maliciously reused can be avoided.
The electronic commerce transaction information inquiry instruction is mutually bound with the identity information of the client, wherein the identity information is one or more of the MAC address, the account number and the WeChat ID of the client. The second server pre-stores the public key of the client.
In some embodiments, the first server stores the public key of the client in advance, and divides the e-commerce transaction information into a plurality of fragments and encrypts the e-commerce transaction information divided into the plurality of fragments by using the public key of the client. And the second server stores the encrypted electronic commerce transaction information after acquiring the encrypted electronic 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, and after the second server and the client pass mutual verification (namely the client passes the second certificate verification and the second server passes the first certificate verification), the second server grants the client remote control authority, and the client decrypts the encrypted electronic 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 a client is reduced, the speed and the efficiency of decrypting the e-commerce transaction information are improved, and the problem that the e-commerce transaction information is slow or even cannot be decrypted due to insufficient memory configuration of the client is avoided.
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 e-commerce transaction information management method.
In summary, the invention discloses a system and a method for managing e-commerce transaction information based on blockchain, which have the following beneficial technical effects:
1. the electronic commerce transaction information is stored in the blockchain network, so that the electronic commerce transaction information can be prevented from being tampered maliciously, and the reliability of storing the electronic commerce transaction information can be improved;
2. the second server is utilized to verify the identity information of the client, and the first server is utilized to traverse and inquire the e-commerce transaction information bound with the identity information of the client, so that the burden of the first server can be reduced, and the speed of inquiring the e-commerce transaction information by the client can be improved.
While the invention has been described above with reference to various embodiments, it should be understood that many changes and modifications can 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 procedures or components as appropriate. For example, in alternative configurations, the methods may be performed in a different order than 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, such as different aspects and elements of the configurations may be combined in a similar manner. Furthermore, as the technology evolves, elements therein may be updated, 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 exemplary configurations involving implementations. However, the configuration may be practiced without these specific details, such as well-known circuits, processes, algorithms, structures, and techniques have been shown without unnecessary detail in order to avoid obscuring the configuration. This description provides only an example configuration and does not limit the scope, applicability, or configuration of the claims. Rather, the foregoing description of the configuration 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 should be understood as illustrative only and not limiting the scope of the invention. Various changes and modifications to the present invention may be made by one skilled in the art after reading the teachings herein, and such equivalent changes and modifications are intended to fall within the scope of the invention as defined in the appended claims.

Claims (8)

1. The utility model provides a business transaction information management system based on block chain, includes first server, second server and customer end, its characterized in that:
the first server is a blockchain node in a blockchain network and is used for receiving the E-commerce transaction information and broadcasting the E-commerce transaction information to the blockchain network;
the first server is also used for receiving and responding to the E-commerce transaction information inquiry command, traversing all blocks in the inquiry block chain according to the E-commerce transaction information inquiry command, acquiring E-commerce transaction information and sending the E-commerce transaction information to the second server;
the client is used for sending an electronic commerce information inquiry request to the second server, wherein the electronic commerce information inquiry 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 an e-commerce transaction information inquiry instruction to the first server after the identity information of the client passes the verification;
the second server is further used for receiving the e-commerce transaction information and feeding the e-commerce transaction information back to the client;
the second server is one of the blockchain nodes in the blockchain network, broadcasts a second certificate into the blockchain network at a certain time interval, writes the second certificate into the blockchain network after the blockchain network passes verification of the second certificate, the first server traverses all blocks in the query blockchain, acquires the second certificate of the latest timestamp and acquires the 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 larger than preset time, and if the interval is larger than the preset time, the verification of the identity information of the second server by the first server fails and refuses to respond to the E-commerce transaction information query instruction; if the interval is smaller 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 electronic commerce transaction information inquiry instruction is received and responded, and if the verification is failed, the response to the electronic commerce transaction information inquiry instruction is refused;
wherein the current time refers to the time when the first server begins a second certificate action of traversing all blocks in the query blockchain to obtain the latest timestamp.
2. The system for managing electronic commerce transaction information based on blockchain as in claim 1, wherein the electronic commerce transaction information inquiry command is mutually bound with the 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 blockchain-based e-commerce transaction information management system of claim 2, wherein the second server pre-stores a public key of the client.
4. A block chain based e-commerce transaction information management method applied to the e-commerce transaction information management system as claimed in any one of claims 1 to 3, comprising the steps of:
the method comprises the steps that a first server receives electronic commerce transaction information and broadcasts the electronic commerce transaction information to a blockchain network;
the client sends an electronic commerce information inquiry request to the second server;
the second server verifies the identity information of the client and sends an e-commerce transaction information inquiry instruction to the first server after the identity information of the client passes the verification;
the method comprises the steps that a first server receives and responds to an E-commerce transaction information inquiry instruction, traverses all blocks in an inquiry block chain according to the E-commerce transaction information inquiry instruction, acquires E-commerce transaction information and sends the E-commerce transaction information to a second server;
the second server receives the E-commerce transaction information and feeds the E-commerce transaction information back to the client;
the second server is one of the blockchain nodes in the blockchain network, broadcasts a second certificate into the blockchain network at a certain time interval, writes the second certificate into the blockchain network after the blockchain network passes verification of the second certificate, the first server traverses all blocks in the query blockchain, acquires the second certificate of the latest timestamp and acquires the 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 larger than preset time, and if the interval is larger than the preset time, the verification of the identity information of the second server by the first server fails and refuses to respond to the E-commerce transaction information query instruction; if the interval is smaller 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 electronic commerce transaction information inquiry instruction is received and responded, and if the verification is failed, the response to the electronic commerce transaction information inquiry instruction is refused;
wherein the current time refers to the time when the first server begins a second certificate action of traversing all blocks in the query blockchain to obtain the latest timestamp.
5. The method of claim 4, wherein the first server obtains the second certificate generated by the private key of the second server at a certain frequency when the first server is in communication connection with the first server, the first server verifies the identity information of the first server through the public key of the second server, if the verification is passed, the method receives and responds to the e-commerce transaction information inquiry command, and if the verification is failed, the method refuses to respond to the e-commerce transaction information inquiry command.
6. The method for managing electronic commerce transaction information based on blockchain as in claim 5, wherein the electronic commerce transaction information inquiry command is mutually bound with the 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 method for managing blockchain-based e-commerce transaction information of claim 6, wherein the second server pre-stores a public key of the client.
8. A computer-readable storage medium, wherein the computer-readable storage medium stores 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 CN111506930A (en) 2020-08-07
CN111506930B true 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)

Families Citing this family (1)

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

Citations (4)

* 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
WO2020061923A1 (en) * 2018-09-27 2020-04-02 区链通网络有限公司 Blockchain-based account management system and management method, and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019032089A1 (en) * 2017-08-07 2019-02-14 Visa International Service Association Blockchain architecture with record security
CN110109930B (en) * 2019-05-15 2020-07-03 山东省计算中心(国家超级计算济南中心) Government affair data storage and query method and system based on block chain double-chain structure
CN110264206A (en) * 2019-06-24 2019-09-20 北京艾摩瑞策科技有限公司 A kind of electric quotient data cochain method and its equipment based on block chain

Patent Citations (4)

* 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
WO2020061923A1 (en) * 2018-09-27 2020-04-02 区链通网络有限公司 Blockchain-based account management system and management method, and storage medium

Also Published As

Publication number Publication date
CN111506930A (en) 2020-08-07

Similar Documents

Publication Publication Date Title
CN110519260B (en) Information processing method and information processing device
EP3742696A1 (en) Identity management method, equipment, communication network, and storage medium
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
CN110286849B (en) Data processing method and device of data storage system
CN111786812A (en) Node management method, node management device, computer equipment and storage medium
CN112653556B (en) TOKEN-based micro-service security authentication method, device and storage medium
CN109981680B (en) Access control implementation method and device, computer equipment and storage medium
CN111193755B (en) Data access method, data encryption method and data encryption and access system
CN113610526A (en) Data trust method and device, electronic equipment and storage medium
CN110912892B (en) Certificate management method and device, electronic equipment and storage medium
CN113255014A (en) Data processing method based on block chain and related equipment
CN106789963B (en) Asymmetric white-box password encryption method, device and equipment
CN114793184A (en) Security chip communication method and device based on third-party key management node
CN111506930B (en) E-commerce transaction information management system and method based on blockchain
CN113726743A (en) Method, device, equipment and medium for detecting network replay attack
CN103036854B (en) Service order method and system, service authority authentication method, terminal equipment
CN110737725A (en) Electronic information inspection method, device, equipment, medium and system
CN116155491A (en) Symmetric key synchronization method of security chip and security chip device
CN113872986B (en) Power distribution terminal authentication method and device and computer equipment
CN113434837B (en) Method and device for equipment identity authentication and smart home system
CN111523128B (en) Information protection method, system, electronic equipment and medium
CN113592638A (en) Transaction request processing method and device and alliance chain
CN112182009A (en) Data updating method and device of block chain and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant