An e-commerce system based on blockchain

By using blockchain technology for identity authentication in the e-commerce system, the problem of insecure identity authentication in the e-commerce system is solved, and higher transaction security and authentication consistency are achieved, avoiding the impact of denial of service attacks.

CN118552200BActive Publication Date: 2024-12-06HUZHOU ZHENGJIA INTELLECTUAL PROPERTY SERVICE CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410820478.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-12-06
Estimated Expiration
2044-06-24

AI Technical Summary

Technical Problem

The e-commerce system has the risks of data leakage, network fraud, denial of service attacks and identity theft, which is mainly due to technical defects and problems of third-party service providers, resulting in insecure identity authentication.

Method used

Using a blockchain-based e-commerce system, identity authentication is performed through blockchain data processing units, public keys and part of private key information are stored and verified on the blockchain, and a virtual private network and consensus mechanism are established to ensure identity authentication. security and consistency.

Benefits of technology

Improves the security of e-commerce transactions, avoids the impact of denial of service attacks, and ensures the security and reliability of the identity authentication process between e-commerce platforms and consumers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118552200B_ABST
    Figure CN118552200B_ABST
Patent Text Reader

Abstract

The present invention discloses an e-commerce system based on blockchain, which belongs to the field of e-commerce and blockchain technology. The system comprises: a blockchain data processing unit; an e-commerce platform unit; a merchant consumer unit; the system has the following advantages: the identity information, part of the private key information, the public key information and the historical access information of the e-commerce technology participants, the e-commerce platform unit and the merchant consumer unit are all stored on the blockchain, thereby ensuring the security of the information of the e-commerce participants; when the e-commerce platform unit and the merchant consumer unit perform identity authentication, the identity authentication of both parties of the present invention is completely performed on the blockchain, and the consistency of the authentication result is guaranteed through the consensus mechanism, thereby ensuring the security of the authentication process, increasing the security of the entire transaction process, and avoiding the influence of denial of service attacks.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of e-commerce and blockchain technology, and in particular to an e-commerce system based on blockchain. Background Art

[0002] As an emerging business model, the development of e-commerce technology has greatly promoted the convenience, efficiency and accessibility of global business activities, enabling companies to break through geographical restrictions and achieve 24-hour global marketing and sales at a lower cost; at the same time, it provides personalized shopping experience and instant customer service, enhancing market competitiveness and consumer satisfaction; the advancement of this technology not only promotes direct interaction between consumers and merchants, but also provides powerful tools for data analysis and market trend forecasting, supporting companies to make more accurate strategic decisions.

[0003] Although the development of e-commerce technology has many advantages, the huge size of the e-commerce system has also exposed many shortcomings, such as data leakage, network fraud, denial of service attacks, third-party service risks and identity theft risks. The factors that lead to the above shortcomings in e-commerce include technical defects, internal threats, third-party service provider problems, etc. For example, if the identity authentication certificate of e-commerce is stored in a third-party organization, it may be impossible to authenticate the identity normally due to the paralysis of the third-party organization or internal problems.

[0004] The essence of blockchain technology is a state machine replica protocol, which belongs to the field of distributed fault tolerance research. Blockchain includes public blockchain, consortium blockchain and private blockchain. The fault tolerance rate of the three gradually decreases. Therefore, for the entire blockchain system, the security of public blockchain is greater than that of consortium blockchain, and the security of consortium blockchain is greater than that of private blockchain. Blockchain realizes its decentralized function through a consensus mechanism.

[0005] Therefore, how to apply the decentralized function of blockchain technology to e-commerce technology to execute or replace the traditional identity authentication process in e-commerce, making the e-commerce identity authentication process more secure, will be very effective in building a secure e-commerce transaction environment. Summary of the invention

[0006] The purpose of the present invention is to overcome the above problems existing in the prior art and to greatly improve the technical effect thereof on the basis of the original technology; for this purpose, the present invention provides an e-commerce system based on blockchain, the system comprising:

[0007] Blockchain data processing unit; e-commerce platform unit; merchant consumer unit;

[0008] The blockchain data processing unit is connected to the e-commerce platform unit and the merchant consumer unit respectively; it is used to store access information, public key information, user personal information and transaction information of the e-commerce platform unit and the merchant consumer unit; and is responsible for identity authentication and establishment of transaction connection between the e-commerce platform unit and the merchant consumer unit;

[0009] The e-commerce platform unit is connected to the blockchain data processing unit and the merchant consumer unit; it is used to establish a connection with the merchant consumer unit and pass the connection request to the blockchain data processing unit;

[0010] The merchant consumer unit refers to a unit composed of merchants and consumers. The merchant consumer unit is connected to the e-commerce platform unit and the blockchain data processing unit, and is used to establish a connection with the e-commerce platform unit and pass the connection request to the blockchain data processing unit;

[0011] The blockchain data processing unit also includes: the e-commerce platform unit and the merchant consumer unit register information on the blockchain data processing unit; each node of the blockchain data processing unit is arranged with a certificateless signature cryptographic algorithm, and part of the private key information of the e-commerce platform unit and the merchant consumer unit is generated through the accounting node in the blockchain data processing unit at the corresponding moment, and then the part of the private key information is sent to the e-commerce platform unit and the merchant consumer unit, and the users of the e-commerce platform unit and the merchant consumer unit complete their own public key generation and private key generation, and pass the generated public key to the blockchain, and the blockchain stores the public key and part of the private key;

[0012] And undertake the identity authentication and establishment of transaction connection between the e-commerce platform unit and the merchant consumer unit, including: when the e-commerce platform unit and the merchant consumer unit need to establish a transaction, the merchant consumer unit first issues an identity authentication request to the e-commerce platform unit; after receiving the request, the e-commerce platform unit will send a receipt to the merchant consumer unit; then, the e-commerce platform unit and the merchant consumer unit randomly select a node in the blockchain data processing unit, and respectively establish a virtual private network with the nodes selected by each of them, the e-commerce platform unit requests the selected node to obtain the public key information of the corresponding merchant consumer unit, and the merchant consumer unit requests the selected node to obtain the public key information of the corresponding e-commerce platform unit; the role of the virtual private network is: assuming that the node of the blockchain data processing unit selected by the e-commerce platform unit is node A, and the node of the blockchain data processing unit selected by the merchant consumer unit is node B, then the e-commerce platform unit can only receive messages from node A and can only transmit messages to node A, and the merchant consumer unit can only receive messages from node B and can only transmit messages to node B; the blockchain data processing unit queries the e-commerce The public key information of the platform unit and the merchant consumer unit; the queried public key information is sent to the e-commerce platform unit and the merchant consumer unit; the e-commerce platform unit uses its own public and private keys and the public key of the merchant consumer unit to construct the certificateless signed message M1 of the e-commerce platform unit, and the merchant consumer unit uses the same method to construct the certificateless signed message M2; the e-commerce platform unit passes M1 to node A, and the merchant consumer unit passes M2 to node B; then, through the consensus mechanism, node A and node B broadcast the received certificateless signed messages M1 and M2 in the blockchain respectively; node A attempts to authenticate the certificateless signed message M2 through the public key information of the merchant consumer unit, and node B attempts to authenticate the certificateless signed message M1 through the public key information of the e-commerce platform unit, and broadcasts the authentication result in the blockchain; if node A and node B successfully obtain the identity authentication of M1 and M2, then the restrictions of the virtual private network are lifted at this time, and the result of the successful identity authentication is fed back to the e-commerce platform unit and the merchant consumer unit at the same time, allowing the e-commerce platform unit and the merchant consumer unit to establish a transaction connection;

[0013] The connection used to build the connection with the merchant consumer unit includes: the e-commerce platform unit and the merchant consumer unit establish a transaction connection; the transaction connection between the corresponding e-commerce platform unit and the merchant consumer unit can only be established after the blockchain data processing unit completes the identity authentication of the e-commerce platform unit and the merchant consumer unit.

[0014] Furthermore, the blockchain data processing unit includes: a public blockchain and a consortium blockchain; the e-commerce platform unit includes: Taobao, Pinduoduo and JD.com; the merchant-consumer unit includes: a merchant terminal and a consumer terminal.

[0015] Furthermore, the blockchain data processing unit includes: in addition to conventional blockchain smart contracts, the blockchain data processing unit is also equipped with a virtual private network establishment smart contract and a certificateless signature identity authentication smart contract; the virtual private network establishment smart contract is activated when the e-commerce platform unit and the merchant consumer unit both need to access each other's public key information, so that the blockchain node establishes a virtual private network connection with the e-commerce platform unit and the merchant consumer unit respectively; the certificateless signature identity authentication smart contract is activated when the e-commerce platform unit and the merchant consumer unit send a certificateless signature message, so that the blockchain node completes the identity authentication of the corresponding e-commerce platform unit and the merchant consumer unit.

[0016] Furthermore, the blockchain data processing unit is connected to the e-commerce platform unit and the merchant consumer unit respectively, including: the blockchain data processing unit also stores part of the private key information of the e-commerce platform unit and the merchant consumer unit.

[0017] Furthermore, the blockchain data processing unit queries the public key information of the e-commerce platform unit and the merchant consumer unit; and sends the queried public key information to the e-commerce platform unit and the merchant consumer unit, including: only when the nodes selected by the e-commerce platform unit and the merchant consumer unit respectively obtain the corresponding e-commerce platform unit and the merchant consumer unit at the same time and both the corresponding e-commerce platform unit and the merchant consumer unit need to obtain each other's message, the blockchain data processing unit will query the public key information of the corresponding e-commerce platform unit and the merchant consumer unit, and send the queried public key information to the corresponding e-commerce platform unit and the merchant consumer unit.

[0018] The beneficial effects of the present invention are:

[0019] The present invention proposes an e-commerce system based on blockchain; the system combines e-commerce technology with blockchain technology and enhances the security of e-commerce technology through blockchain technology; mainly includes: the identity information, part of the private key information, public key information and historical access information of the participants of the e-commerce technology, the e-commerce platform unit and the merchant consumer unit are all stored on the blockchain, thereby ensuring the security of the information of the e-commerce participants; when the e-commerce platform unit and the merchant consumer unit perform identity authentication, the identity authentication of both parties of the present invention is completely performed on the blockchain, and the consistency of the authentication result is guaranteed through the consensus mechanism, thereby ensuring the security of the authentication process, increasing the security of the entire transaction process, and avoiding the impact of denial of service attacks. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 : A schematic diagram of an e-commerce system based on blockchain of the present invention.

[0021] Figure 2: Flowchart of the identity authentication process of the e-commerce platform unit and the merchant consumer unit of the present invention. DETAILED DESCRIPTION

[0022] The specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings; it should be understood that the specific embodiments given here are only used to illustrate and explain the present invention and cannot be used to limit the present invention.

[0023] like Figure 1 As shown, it is a schematic diagram of an e-commerce system based on blockchain according to an embodiment of the present invention, and the schematic diagram includes: a blockchain data processing unit S100; an e-commerce platform unit S200; and a merchant consumer unit S300.

[0024] In the above embodiment, specifically, the blockchain data processing unit S100 refers to a blockchain system formed by connecting multiple blockchain nodes through a P2P network; the e-commerce platform unit S200 refers to a complex service system composed of a front-end interface and a back-end server; and the merchant consumer unit S300 refers to a unit composed of merchant users and consumer users.

[0025] In the above embodiment, specifically, the blockchain data processing unit S100 is connected to the e-commerce platform unit S200 and the merchant consumer unit S300 respectively; it is used to store access information, public key information, user personal information and transaction information of the e-commerce platform unit S200 and the merchant consumer unit S300; and is responsible for identity authentication and establishing transaction connections between the e-commerce platform unit S200 and the merchant consumer unit S300.

[0026] In the above embodiment, specifically, the e-commerce platform unit S200 is connected to the blockchain data processing unit S100 and the merchant consumer unit S300; it is used to establish a connection with the merchant consumer unit S300 and pass the connection request to the blockchain data processing unit S100.

[0027] In the above embodiment, specifically, the merchant-consumer unit S300 refers to a unit composed of merchants and consumers. The merchant-consumer unit S300 is connected to the e-commerce platform unit S200 and the blockchain data processing unit S100, and is used to establish a connection with the e-commerce platform unit S200 and pass the connection request to the blockchain data processing unit S100.

[0028] In the above embodiment, specifically, the blockchain data processing unit S100 also includes: the e-commerce platform unit S200 and the merchant consumer unit S300 register information on the blockchain data processing unit S100; a certificateless signcryption algorithm is arranged on each node of the blockchain data processing unit S100, and partial private key information of the e-commerce platform unit S200 and the merchant consumer unit S300 is generated through the accounting node in the blockchain data processing unit S100 at the corresponding moment, and then the partial private key information is sent to the e-commerce platform unit S200 and the merchant consumer unit S300, and the users of the e-commerce platform unit S200 and the merchant consumer unit S300 complete their own public key generation and private key generation, and pass the generated public key to the blockchain, which stores the public key and partial private key.

[0029] In the above embodiment, specifically, when the e-commerce platform unit S200 and the merchant consumer unit S300 need to establish a transaction, the merchant consumer unit S300 first issues an identity authentication request to the e-commerce platform unit S200; after receiving the request, the e-commerce platform unit S200 sends a receipt to the merchant consumer unit S300; then, the e-commerce platform unit S200 and the merchant consumer unit S300 randomly select a node in the blockchain data processing unit S100, and respectively establish a virtual private network with the nodes selected by each, and the e-commerce platform unit S200 requests the selected node to obtain the public address of the corresponding merchant consumer unit S300. The merchant consumer unit S300 requests the selected node to obtain the public key information of the corresponding e-commerce platform unit S200; the role of the virtual private network is: assuming that the node of the blockchain data processing unit S100 selected by the e-commerce platform unit S200 is node A, and the node of the blockchain data processing unit S100 selected by the merchant consumer unit S300 is node B, then the e-commerce platform unit S200 can only receive messages from node A and can only transmit messages to node A, and the merchant consumer unit S300 can only receive messages from node B and can only transmit messages to node B; the blockchain data processing unit S100 queries the e-commerce platform unit The e-commerce platform unit S200 obtains the public key information of the e-commerce platform unit S200 and the merchant consumer unit S300; the queried public key information is sent to the e-commerce platform unit S200 and the merchant consumer unit S300; the e-commerce platform unit S200 uses its own public and private keys and the public key of the merchant consumer unit S300 to construct the certificateless signed message M1 of the e-commerce platform unit S200, and the merchant consumer unit S300 uses the same method to construct the certificateless signed message M2; the e-commerce platform unit S200 passes M1 to node A, and the merchant consumer unit S300 passes M2 to node B; subsequently, through the consensus mechanism, nodes A and B receive the received certificateless signed message M 1 and M2 are broadcasted in the blockchain respectively; node A attempts to authenticate the certificateless signcrypted message M2 through the public key information of the merchant consumer unit S300, and node B attempts to authenticate the certificateless signcrypted message M1 through the public key information of the e-commerce platform unit S200, and broadcast the authentication results in the blockchain; if both node A and node B successfully obtain the authentication of M1 and M2, the restrictions of the virtual private network are lifted at this time, and the results of the successful authentication are fed back to the e-commerce platform unit S200 and the merchant consumer unit S300 at the same time, allowing the e-commerce platform unit S200 and the merchant consumer unit S300 to establish a transaction connection.

[0030] In the above embodiment, specifically, what is established between the e-commerce platform unit S200 and the merchant consumer unit S300 is a transaction connection; the transaction connection between the corresponding e-commerce platform unit S200 and the merchant consumer unit S300 can only be established after the blockchain data processing unit S100 completes the identity authentication of the e-commerce platform unit S200 and the merchant consumer unit S300.

[0031] In the above embodiment, specifically, the blockchain data processing unit S100 includes: a public blockchain and a consortium blockchain; the e-commerce platform unit S200 includes: Taobao, Pinduoduo and JD.com; the merchant consumer unit S300 includes: a merchant terminal and a consumer terminal.

[0032] In the above embodiment, specifically, in addition to the conventional blockchain smart contract, the blockchain data processing unit S100 is also provided with a virtual private network establishment smart contract and a certificateless signature identity authentication smart contract; the virtual private network establishment smart contract is activated when the e-commerce platform unit and the merchant consumer unit both need to access each other's public key information, so that the blockchain node establishes a virtual private network connection with the e-commerce platform unit S200 and the merchant consumer unit S300 respectively; the certificateless signature identity authentication smart contract is activated when the e-commerce platform unit S200 and the merchant consumer unit S300 send a certificateless signature message, so that the blockchain node completes the identity authentication of the corresponding e-commerce platform unit S200 and the merchant consumer unit S300.

[0033] In the above embodiment, specifically, the blockchain data processing unit S100 is connected to the e-commerce platform unit S200 and the merchant consumer unit S300 respectively, including: the blockchain data processing unit S100 also stores part of the private key information of the e-commerce platform unit S200 and the merchant consumer unit S300.

[0034] In the above embodiment, specifically, it should be pointed out that the blockchain data processing unit S100 queries the public key information of the e-commerce platform unit S200 and the merchant consumer unit S300; in the process of sending the queried public key information to the e-commerce platform unit S200 and the merchant consumer unit S300: only when the nodes selected by the e-commerce platform unit S200 and the merchant consumer unit S300 respectively obtain the corresponding e-commerce platform unit S200 and the merchant consumer unit S300 at the same time and both need to obtain each other's message, the blockchain data processing unit S100 will query the public key information of the corresponding e-commerce platform unit S200 and the merchant consumer unit S300, and send the queried public key information to the corresponding e-commerce platform unit S200 and the merchant consumer unit S300.

[0035] like Figure 2FIG. 4 is a flowchart of the identity authentication process of the e-commerce platform unit S200 and the merchant consumer unit S300 according to an embodiment of the present invention, and the flowchart includes: step S400, the merchant consumer unit S300 issues an identity authentication request to the e-commerce platform unit S200; after receiving the request, the e-commerce platform unit S200 sends a receipt to the merchant consumer unit S300; step S401, the e-commerce platform unit S200 and the merchant consumer unit S300 randomly select a node in the blockchain data processing unit S100, and communicate with the nodes selected by them respectively. At step S402, the blockchain data processing unit S100 queries the public key information of the e-commerce platform unit S200 and the merchant consumer unit S300, and sends the queried public key information to the e-commerce platform unit S200 and the merchant consumer unit S300; step S403, the e-commerce platform unit S200 The e-commerce platform unit S200 uses its own public and private keys and the public key of the merchant consumer unit S300 to construct the certificateless signed message M1. The merchant consumer unit S300 uses the same method to construct the certificateless signed message M2. The e-commerce platform unit S200 passes M1 to node A, and the merchant consumer unit S300 passes M2 to node B. In step S404, through the consensus mechanism, node A and node B broadcast the received certificateless signed messages M1 and M2 in the blockchain respectively. In step S405, node A attempts to send the certificateless signed message M1 and M2 to the merchant consumer unit S300 through the merchant consumer unit S300. Node A authenticates the certificateless signcrypted message M2 using the public key information of the e-commerce platform unit S200, and node B attempts to authenticate the certificateless signcrypted message M1 using the public key information of the e-commerce platform unit S200, and broadcasts the authentication result in the blockchain; step S406, if both node A and node B successfully obtain the authentication of M1 and M2, the restrictions of the virtual private network are lifted at this time, and the result of the successful authentication is fed back to the e-commerce platform unit S200 and the merchant consumer unit S300 at the same time, allowing the e-commerce platform unit S200 and the merchant consumer unit S300 to establish a transaction connection.

[0036] In the above embodiment, specifically, first, the consumer user in the merchant consumer unit S300 selects the merchant user product he likes through the e-commerce platform, and when determining the required goods; the merchant consumer unit S300 issues an identity authentication request to the e-commerce platform unit S200; after receiving the request, the e-commerce platform unit S200 sends a receipt to the merchant consumer unit S300; then, the e-commerce platform unit S200 and the merchant consumer unit S300 randomly select a node in the blockchain data processing unit, and request the corresponding node to obtain the corresponding e-commerce data. The blockchain data processing unit S100 queries the public key information of the e-commerce platform unit S200 and the merchant consumer unit S300; the blockchain data processing unit S100 queries the public key information of the e-commerce platform unit S200 and the merchant consumer unit S300; the queried public key information is sent to the e-commerce platform unit S200 and the merchant consumer unit S300; the e-commerce platform unit S200 uses its own public and private keys and the public key of the merchant consumer unit S300 to construct the certificateless signcryption message M1 of the e-commerce platform unit S200, and the merchant consumer unit S300 uses the same method to construct the certificateless signcryption message M2; the e-commerce platform unit S200 passes M1 to node A, and the merchant consumer unit S300 passes M2 to node B; through the consensus mechanism, nodes A and B broadcast the received certificateless signcryption messages M1 and M2 in the blockchain respectively; node A attempts to authenticate the certificateless signcryption message M2 through the public key information of the merchant consumer unit S300, and node B attempts to authenticate the certificateless signcryption message M1 through the public key information of the e-commerce platform unit S200, and broadcasts the authentication result in the blockchain; if nodes A and B obtain M1 If the identity authentication of M2 and M2 is successful, the restrictions of the virtual private network are lifted at this time, and the result of the successful identity authentication is fed back to the e-commerce platform unit S200 and the merchant consumer unit S300 at the same time, allowing a transaction connection to be established between the e-commerce platform unit S200 and the merchant consumer unit S300. At this time, the consumer user of the merchant consumer unit S300 can establish a transaction connection with the e-commerce platform unit S200 by purchasing the merchant user's products; after the transaction is completed, the e-commerce platform unit S200 transfers the transaction amount to the merchant user of the merchant consumer unit S300.

[0037] It should be understood that the above-mentioned embodiments are one or more embodiments of the present invention, and there are many other embodiments and variations thereof based on the present invention; the variations and modifications made by ordinary technicians in this industry through the present invention without making pioneering innovations all fall within the scope of protection of the present invention.

Claims

1. An e-commerce system based on blockchain, characterized in that: The system comprises: Blockchain data processing unit; e-commerce platform unit; merchant consumer unit; The blockchain data processing unit is connected to the e-commerce platform unit and the merchant consumer unit respectively; it is used to store access information, public key information, user personal information and transaction information of the e-commerce platform unit and the merchant consumer unit; and it is responsible for identity authentication and establishment of transaction connection between the e-commerce platform unit and the merchant consumer unit; The e-commerce platform unit is connected to the blockchain data processing unit and the merchant consumer unit; it is used to establish a connection with the merchant consumer unit and pass the connection request to the blockchain data processing unit; The merchant consumer unit refers to a unit composed of merchants and consumers. The merchant consumer unit is connected to the e-commerce platform unit and the blockchain data processing unit, and is used to establish a connection with the e-commerce platform unit and pass the connection request to the blockchain data processing unit; The blockchain data processing unit includes: the e-commerce platform unit and the merchant consumer unit register information on the blockchain data processing unit; each node of the blockchain data processing unit is arranged with a certificateless signature cryptographic algorithm, and part of the private key information of the e-commerce platform unit and the merchant consumer unit is generated through the accounting node in the blockchain data processing unit at the corresponding moment, and then the part of the private key information is sent to the e-commerce platform unit and the merchant consumer unit, and the users of the e-commerce platform unit and the merchant consumer unit complete their own public key generation and private key generation, and pass the generated public key to the blockchain, and the blockchain saves the public key; The identity authentication and establishment of transaction connection between the e-commerce platform unit and the merchant consumer unit include: when the e-commerce platform unit and the merchant consumer unit need to establish a transaction, the merchant consumer unit first issues an identity authentication request to the e-commerce platform unit; after receiving the request, the e-commerce platform unit sends a receipt to the merchant consumer unit; then, the e-commerce platform unit and the merchant consumer unit randomly select a node in the blockchain data processing unit, and respectively establish a virtual private network with the nodes selected by each, the e-commerce platform unit requests the selected node to obtain the public key information of the corresponding merchant consumer unit, and the merchant consumer unit requests the selected node to obtain the public key information of the corresponding e-commerce platform unit; the role of the virtual private network is: set the node of the blockchain data processing unit selected by the e-commerce platform unit to node A, and set the node of the blockchain data processing unit selected by the merchant consumer unit to node B, then the e-commerce platform unit can only receive messages from node A and can only transmit messages to node A, and the merchant consumer unit can only receive messages from node B and can only transmit messages to node B; the blockchain data processing unit queries The e-commerce platform unit and the merchant consumer unit's public key information are used to query the queried public key information and send it to the e-commerce platform unit and the merchant consumer unit; the e-commerce platform unit uses its own public and private keys and the merchant consumer unit's public key to construct the e-commerce platform unit's certificateless signed message M1, and the merchant consumer unit uses the same method to construct the certificateless signed message M2; the e-commerce platform unit passes M1 to node A, and the merchant consumer unit passes M2 to node B; subsequently, through the consensus mechanism, node A and node B broadcast the received certificateless signed messages M1 and M2 in the blockchain respectively; node A authenticates the certificateless signed message M2 through the merchant consumer unit's public key information, and node B authenticates the certificateless signed message M1 through the e-commerce platform unit's public key information, and broadcasts the authentication results in the blockchain. If both node A and node B obtain successful authentication results for M1 and M2, the restrictions on the virtual private network are lifted at this time, and the successful authentication results are fed back to the e-commerce platform unit and the merchant consumer unit at the same time, allowing the e-commerce platform unit and the merchant consumer unit to establish a transaction connection; The blockchain data processing unit also includes: in addition to the conventional blockchain smart contract, the blockchain data processing unit is also equipped with a virtual private network smart contract and a certificateless signature identity authentication smart contract; the virtual private network smart contract is activated when the e-commerce platform unit and the merchant consumer unit both need to access each other's public key information, so that the blockchain node establishes a virtual private network connection with the e-commerce platform unit and the merchant consumer unit respectively; the certificateless signature identity authentication smart contract is activated when the e-commerce platform unit and the merchant consumer unit send a certificateless signature message, so that the blockchain node completes the identity authentication of the corresponding e-commerce platform unit and the merchant consumer unit; The blockchain data processing unit queries the public key information of the e-commerce platform unit and the merchant consumer unit, and sends the queried public key information to the e-commerce platform unit and the merchant consumer unit, including: only when the nodes selected by the e-commerce platform unit and the merchant consumer unit respectively obtain the public key information of the corresponding e-commerce platform unit and the merchant consumer unit at the same time, and the blockchain data processing unit will query the public key information of the corresponding e-commerce platform unit and the merchant consumer unit, and send the queried public key information to the corresponding e-commerce platform unit and the merchant consumer unit; The method for establishing a connection with the merchant consumer unit includes: the e-commerce platform unit and the merchant consumer unit establish a transaction connection; the transaction connection between the corresponding e-commerce platform unit and the merchant consumer unit can only be established after the blockchain data processing unit completes the identity authentication of the e-commerce platform unit and the merchant consumer unit.

2. The blockchain-based e-commerce system according to claim 1, characterized in that: The blockchain data processing unit includes: a public blockchain and a consortium blockchain; the merchant consumer unit includes: a merchant terminal and a consumer terminal.

3. The blockchain-based e-commerce system according to claim 1, characterized in that: The blockchain data processing unit is connected to the e-commerce platform unit and the merchant consumer unit respectively, including: the blockchain data processing unit also stores part of the private key information of the e-commerce platform unit and the merchant consumer unit.

Citation Information

Cited By

  • Electronic commerce system based on block chain

    CN122367465A