Block chain-based shopping mall transaction data tamper-proofing method and system

By utilizing blockchain distributed storage and smart contract technology, the problem of easily tampered transaction data in e-commerce platforms has been solved, enabling real-time tamper-proofing and low-cost auditing, thereby improving data security and credibility. This technology is suitable for transaction data management and auditing on e-commerce platforms.

CN120979702APending Publication Date: 2025-11-18INSPUR SMART SUPPLY CHAIN TECH (SHANDONG) CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202511048550.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-29
Publication Date
2025-11-18

AI Technical Summary

Technical Problem

Existing e-commerce transaction data is easily tampered with, has poor traceability, and is costly to audit. Current digital signature technology cannot prevent the original data from being tampered with.

Method used

It adopts blockchain distributed storage for transaction data, combines smart contracts to automatically execute data verification and auditing processes, uses asymmetric encryption and consensus mechanisms to ensure data immutability, generates tampering alarms by automatically executing data hash verification through smart contracts, and implements cross-chain auditing interfaces through oracles.

Benefits of technology

It achieves real-time tamper-proof and low-cost, high-efficiency auditing of e-commerce transaction data, improves data security and credibility, and supports dynamic expansion and custom rules.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120979702A_ABST
    Figure CN120979702A_ABST
Patent Text Reader

Abstract

The invention discloses a shopping mall transaction data tamper-proofing method and system based on a block chain, and belongs to the technical field of electronic commerce data security. According to the method, transaction data is stored through a distributed account book, and a data verification and auditing process is automatically executed in combination with an intelligent contract; an asymmetric encryption and consensus mechanism is utilized to ensure that data cannot be tampered; the distributed account book stores transaction data: the transaction data generates a hash value according to a timestamp and writes the hash value into a block chain to form an irreversible data chain; and the smart contract can automatically execute data hash verification and generate a tampering alarm. According to the method, the problems of easy tampering, poor traceability, high auditing cost and the like of e-commerce platform transaction data are solved, whole-course transparent recording, real-time tampering-proof verification and low-cost efficient auditing of the transaction data can be realized, and the security and credibility of mall data are remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of e-commerce data security technology, specifically a blockchain-based method and system for preventing tampering with e-commerce transaction data. Background Technology

[0002] Existing e-commerce transaction data is generally stored in a centralized database: transaction data is centrally stored in the platform database, and data protection is achieved through backup and log auditing, but there is a risk of single point of tampering.

[0003] For the protection of transaction data in e-commerce, digital signature technology is generally used: digital signatures (such as RSA) are attached to key data, but it can only verify integrity and cannot prevent the original data from being tampered with. Summary of the Invention

[0004] The technical objective of this invention is to address the above-mentioned shortcomings by providing a blockchain-based method and system for preventing tampering of transaction data in e-commerce platforms. This method solves the problems of easy tampering, poor traceability, and high auditing costs associated with transaction data on e-commerce platforms. It enables transparent recording of transaction data throughout the entire process, real-time tamper-proof verification, and low-cost, efficient auditing, significantly improving the security and credibility of e-commerce data.

[0005] The technical solution adopted by this invention to solve its technical problem is:

[0006] A blockchain-based method for preventing tampering of transaction data in e-commerce platforms. This method stores transaction data through a distributed ledger, combines smart contracts to automatically execute data verification and auditing processes, and utilizes asymmetric encryption and consensus mechanisms to ensure data immutability.

[0007] The distributed ledger stores transaction data: transaction data is generated into hash values ​​by timestamps and written into the blockchain to form an irreversible data chain;

[0008] The smart contract can automatically perform data hash verification and generate tampering alarms.

[0009] This method, based on blockchain distributed storage, smart contracts, consensus mechanisms, and data encryption technology, achieves a real-time, low-cost, and scalable blockchain anti-tampering solution. It solves the problems of easy tampering, difficult auditing and traceability, and low credibility of e-commerce transaction data, and is suitable for anti-tampering management, auditing and traceability, and trusted evidence storage scenarios of e-commerce platform transaction data.

[0010] Furthermore, the distributed ledger stores transaction data using asymmetric encryption: users and merchants use key pairs (ECDSA) to sign, ensuring the data source is trustworthy.

[0011] Furthermore, the transaction data includes order, payment, and logistics data.

[0012] Furthermore, smart contract verification includes:

[0013] Automated contract auditing: Deploy on-chain smart contracts to verify the consistency between new transaction data and historical block hashes in real time, and trigger tampering alarms when inconsistencies occur;

[0014] Dynamic auditing strategy: Supports custom rules.

[0015] Furthermore, the custom rules include mandatory secondary verification for large transactions.

[0016] Furthermore, the method also includes a cross-chain auditing interface, which connects the e-commerce business system with the blockchain network through an oracle to achieve automated data synchronization and external auditing.

[0017] Furthermore, this method provides a user interface for inputting transaction data and visualizing audit results.

[0018] This invention also claims protection for a blockchain-based e-commerce transaction data anti-tampering system, comprising:

[0019] User interface layer: Provides a visual interface for transaction data input and audit results;

[0020] The core layer of the blockchain includes a distributed ledger, a smart contract engine, and a consensus node network, used to store and verify transaction data in real time.

[0021] Audit module: Automatically performs data hash verification through smart contracts and generates tampering alerts;

[0022] Business adaptation layer: Connects to the e-commerce order system via an oracle to achieve automated data synchronization;

[0023] The system uses the methods described above to prevent tampering with the transaction data of the online store.

[0024] This invention also claims a blockchain-based device for preventing tampering with transaction data in an online marketplace, characterized in that it comprises: at least one memory and at least one processor;

[0025] The at least one memory is used to store a machine-readable program;

[0026] The at least one processor is used to call the machine-readable program to implement the above method.

[0027] The present invention also claims a computer-readable medium storing computer instructions that, when executed by a processor, implement the above-described method.

[0028] Compared with existing technologies, the blockchain-based method and system for preventing tampering of e-commerce transaction data of the present invention has the following advantages:

[0029] 1. Tamper-proof: Data is guaranteed to be immutable through a blockchain hash link structure and consensus mechanism.

[0030] 2. Real-time auditing: Automatic verification is achieved through smart contracts.

[0031] 3. Reduced costs: Decentralized storage can reduce reliance on third-party evidence storage.

[0032] 4. Scalability: Supports dynamic addition of business nodes, and no system reconstruction is required when adding new transaction types. Attached Figure Description

[0033] Figure 1 This is a flowchart illustrating the process architecture of a blockchain-based method for preventing tampering with transaction data in an online marketplace, as provided in one embodiment of the present invention. Detailed Implementation

[0034] The present invention will be further described below with reference to specific embodiments.

[0035] This invention provides a blockchain-based method for preventing tampering of transaction data in e-commerce. The method is implemented by storing transaction data through a distributed ledger, combining smart contracts to automatically execute data verification and auditing processes, and using asymmetric encryption and consensus mechanisms to ensure data immutability.

[0036] The distributed ledger stores transaction data: transaction data is hashed according to timestamps and written to the blockchain, forming an irreversible data chain. The transaction data may include order, payment, and logistics data.

[0037] Distributed ledger stores transaction data using asymmetric encryption: users and merchants use key pairs (ECDSA) to sign, ensuring the data source is trustworthy.

[0038] The smart contract can automatically perform data hash verification and generate tampering alarms. Smart contract verification includes:

[0039] Automated contract auditing: Deploy on-chain smart contracts to verify the consistency between new transaction data and historical block hashes in real time, and trigger tampering alarms when inconsistencies occur;

[0040] Dynamic auditing strategy: Supports custom rules, such as mandatory secondary verification for large transactions.

[0041] The method also includes a cross-chain auditing interface, which connects the e-commerce business system with the blockchain network through an oracle to achieve automated data synchronization and external auditing.

[0042] This method provides a user interface for inputting transaction data and visualizing audit results.

[0043] This method, based on blockchain distributed storage, smart contracts, consensus mechanisms, and data encryption technology, achieves a real-time, low-cost, and scalable blockchain anti-tampering solution. It solves the problems of easy tampering, difficult auditing and traceability, and low credibility of e-commerce transaction data, and is suitable for anti-tampering management, auditing and traceability, and trusted evidence storage scenarios of e-commerce platform transaction data.

[0044] This invention also provides a blockchain-based system for preventing tampering with e-commerce transaction data, comprising:

[0045] User interface layer: Provides a visual interface for transaction data input and audit results;

[0046] The core layer of the blockchain includes a distributed ledger, a smart contract engine, and a consensus node network, used to store and verify transaction data in real time.

[0047] Audit module: Automatically performs data hash verification through smart contracts and generates tampering alerts;

[0048] Business adaptation layer: Connects to the e-commerce order system via an oracle to achieve automated data synchronization;

[0049] The system achieves anti-tampering of e-commerce transaction data through the blockchain-based anti-tampering method for e-commerce transaction data described in the above embodiments.

[0050] The implementation of the blockchain data layer includes:

[0051] Distributed ledger storage: Transaction data (orders, payments, logistics) are hashed according to timestamps and written to the blockchain, forming an irreversible data chain.

[0052] Asymmetric encryption: Users and merchants use key pairs (ECDSA) to sign, ensuring the trustworthiness of the data source.

[0053] The audit module, including smart contract verification, includes:

[0054] Automated contract auditing: Deploy on-chain smart contracts to verify the consistency between new transaction data and historical block hashes in real time, triggering tampering alerts.

[0055] Dynamic auditing strategy: Supports custom rules (such as mandatory secondary verification for large transactions).

[0056] The business adaptation layer implements a cross-chain audit interface: it connects the e-commerce business system with the blockchain network through an oracle to achieve automated data synchronization and external auditing.

[0057] This invention also provides a blockchain-based anti-tampering device for e-commerce transaction data, characterized in that it includes: at least one memory and at least one processor;

[0058] The at least one memory is used to store a machine-readable program;

[0059] The at least one processor is used to call the machine-readable program to implement the blockchain-based e-commerce transaction data anti-tampering method described in the above embodiments.

[0060] This invention also provides a computer-readable medium storing computer instructions. When executed by a processor, the computer instructions cause the processor to perform the blockchain-based e-commerce transaction data anti-tampering method described in the above embodiments. Specifically, a system or apparatus equipped with a storage medium storing software program code that implements the functions of any of the above embodiments can be provided, and the computer (or CPU or MPU) of the system or apparatus can read and execute the program code stored in the storage medium.

[0061] In this case, the program code read from the storage medium can itself implement the function of any of the above embodiments, and therefore the program code and the storage medium storing the program code constitute part of the present invention.

[0062] Examples of storage media used to provide program code include floppy disks, hard disks, magneto-optical disks, optical disks (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW), magnetic tapes, non-volatile memory cards, and ROMs. Alternatively, program code can be downloaded from a server computer via a communication network.

[0063] Furthermore, it should be clear that not only can the program code read by the computer be executed, but also the operating system or other components operating on the computer can be instructed based on the program code to perform some or all of the actual operations, thereby realizing the function of any of the embodiments described above.

[0064] Furthermore, it is understood that the program code read from the storage medium is written to the memory set in the expansion board inserted into the computer or to the memory set in the expansion unit connected to the computer. Then, based on the instructions of the program code, the CPU or other components installed on the expansion board or expansion unit execute some and all of the actual operations, thereby realizing the function of any of the embodiments described above.

[0065] The present invention has been shown and described in detail above with reference to the accompanying drawings and preferred embodiments. However, the present invention is not limited to these disclosed embodiments. Based on the above embodiments, those skilled in the art will know that more embodiments of the present invention can be obtained by combining the code review methods in the different embodiments. These embodiments are also within the protection scope of the present invention.

Claims

1. A tamper-proofing method for transaction data of a blockchain-based mall, characterized in that, This method is implemented by storing transaction data through a distributed ledger, combining smart contracts to automatically execute data verification and auditing processes, and using asymmetric encryption and consensus mechanisms to ensure data immutability. The distributed ledger stores transaction data: transaction data is generated into hash values ​​by timestamps and written into the blockchain to form an irreversible data chain; The smart contract can automatically perform data hash verification and generate tampering alarms.

2. The blockchain-based mall transaction data tamper-proofing method of claim 1, wherein, The distributed ledger stores transaction data using asymmetric encryption: users and merchants use key pairs to sign, ensuring the data source is trustworthy. 3.The blockchain-based mall transaction data tamper-proofing method of claim 1, wherein, The transaction data includes order, payment, and logistics data.

4. The method for preventing tampering of e-commerce transaction data based on blockchain according to claim 1, characterized in that, Smart contract verification includes: Automated contract auditing: Deploy on-chain smart contracts to verify the consistency between new transaction data and historical block hashes in real time, and trigger tampering alarms when inconsistencies occur; Dynamic auditing strategy: Supports custom rules.

5. A method for preventing tampering of e-commerce transaction data based on blockchain according to claim 4, characterized in that, The custom rules include mandatory secondary verification for large transactions.

6. The method for preventing tampering of e-commerce transaction data based on blockchain according to claim 1, characterized in that, It also includes a cross-chain auditing interface, which connects the e-commerce business system and the blockchain network through oracles to achieve automated data synchronization and external auditing.

7. A method for preventing tampering of e-commerce transaction data based on blockchain according to claim 1, characterized in that, The user interface provides a visual interface for inputting transaction data and auditing results.

8. A blockchain-based system for preventing tampering with transaction data in e-commerce, characterized in that: include: User interface layer: Provides a visual interface for transaction data input and audit results; The core layer of the blockchain includes a distributed ledger, a smart contract engine, and a consensus node network, used to store and verify transaction data in real time. Audit module: Automatically performs data hash verification through smart contracts and generates tampering alerts; Business adaptation layer: Connects to the e-commerce order system via an oracle to achieve automated data synchronization; The system achieves anti-tampering of e-commerce transaction data through the method described in any one of claims 1 to 7.

9. A blockchain-based anti-tampering device for e-commerce transaction data, characterized in that, include: At least one memory and at least one processor; The at least one memory is used to store a machine-readable program; The at least one processor is configured to invoke the machine-readable program to implement the method according to any one of claims 1 to 7.

10. A computer-readable medium, characterized in that, The computer-readable medium stores computer instructions that, when executed by a processor, implement the method described in any one of claims 1 to 7.

Citation Information

Cited By

  • Mall transaction data tamper-proofing method, system and device based on Internet of Things, and storage medium

    CN121603217A