Commodity transaction data security management method and system based on block chain

By building a blockchain transaction network and adopting smart contracts and sharding technologies, we have solved the problems of transaction throughput, security, fund custody and traceability in the blockchain commodity trading system, and improved transaction efficiency and privacy protection capabilities.

CN120672344APending Publication Date: 2025-09-19厦门工学院
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202510876434.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-27
Publication Date
2025-09-19

AI Technical Summary

Technical Problem

The existing blockchain commodity trading system has problems such as limited transaction throughput, insufficient transaction security, rigid fund custody mechanism, insufficient integrity of commodity traceability information, and excessively high computational overhead for transaction privacy protection, which affect transaction efficiency and user experience.

Method used

Build a blockchain transaction network, use sharding technology and side chain technology to optimize transaction data processing, drive transaction execution through smart contracts, combine the point calculation model and multi-signature technology to achieve flexibility in fund custody and transaction verification, use dynamic accumulative hash calculation for product traceability, and combine the time integration model to protect transaction privacy.

Benefits of technology

It has improved transaction throughput, enhanced transaction security and fund custody flexibility, improved the reliability of product traceability and transaction privacy protection capabilities, and optimized system performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120672344A_ABST
    Figure CN120672344A_ABST
Patent Text Reader

Abstract

The invention discloses a commodity transaction data security management method and system based on a block chain, and relates to the technical field of commodity transaction data management, and the method comprises the steps: constructing a commodity transaction network based on the block chain, including sellers, buyers and consensus verification and supervision nodes, and guaranteeing the security of transaction data through employing distributed storage. A unique identifier is generated when the commodity information is linked, and the unique identifier is stored through a hash function and a digital signature. Transaction is driven by an intelligent contract, and consensus calculation is carried out by adopting right and interest proof, workload proof or entrusting right and interest proof. Orders are classified and stored, multiple signatures verify transactions, and funds are managed by an intelligent contract and released according to a transaction state. Commodity traceability adopts a time integral model to calculate a circulation process, and meanwhile, a privacy protection mechanism is utilized to ensure information security of two transaction parties. The method has better effects in the aspects of security, privacy and tamper-proofing capability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of commodity transaction data management, and specifically to a commodity transaction data security management method and system based on blockchain. Background Art

[0002] With the continuous development of blockchain technology, the application of decentralized trading systems in the commodity circulation sector has gradually become a research hotspot. Traditional commodity trading models rely on centralized trust mechanisms, such as banks, payment institutions, and third-party guarantee platforms, to ensure transaction security and credibility. However, centralized systems often pose risks of single points of failure, the possibility of data tampering, and high transaction costs. Furthermore, the maturity of smart contract technology has given blockchain significant advantages in automated transaction execution, enabling order matching, payment escrow, and fund release without human intervention. In recent years, optimizations to consensus mechanisms such as Proof-of-Stake (PoS), Proof-of-Work (PoW), and Delegated Proof-of-Stake (DPoS) have increased transaction confirmation speeds. Meanwhile, storage optimization solutions such as sharding and sidechains have alleviated the computational and storage pressures on blockchain networks. Furthermore, advances in privacy-preserving computing technologies, such as zero-knowledge proofs (ZKPs), ring signatures, and CoinJoin, have provided new solutions for protecting the privacy of transaction data. The combination of these technologies is driving innovation in blockchain commodity trading systems and enhancing their application value.

[0003] Despite the numerous advantages offered by blockchain technology in the commodity trading sector, existing technologies still face numerous shortcomings. First, existing blockchain commodity trading systems face bottlenecks in transaction throughput and storage efficiency. Traditional single-chain architectures struggle to meet the demands of large-scale commodity trading, leading to transaction confirmation delays and excessive data storage pressure. While sharding and sidechain technologies have alleviated these challenges, challenges remain in cross-chain transactions, data synchronization, and consensus coordination, making it difficult to ensure efficient and stable transactions. Second, transaction security and credibility remain significant issues. Most current blockchain trading systems only use hash encryption to store order information. While this provides some tamper-proofing, it fails to effectively prevent fraudulent transactions such as false orders and malicious chargebacks. Furthermore, existing fund custody mechanisms are relatively simplistic, with most based on fixed rules for fund release and lacking dynamic adjustment mechanisms, making them difficult to adapt to the needs of diverse trading scenarios. Third, product traceability and data integrity are limited. Existing traceability solutions primarily rely on static storage, fail to fully utilize temporal data, and are unable to effectively prevent historical transaction information from influencing current transaction status. Furthermore, existing product traceability query methods often rely on blockchain browsers, which lack flexible traceability verification and credibility scoring, impacting user experience and regulatory efficiency. Finally, privacy protection mechanisms still need to be optimized. While current blockchain transaction systems protect the privacy of both parties, they often increase transaction costs or reduce transaction efficiency. Some privacy protection technologies (such as ring signatures and zero-knowledge proofs) still have high computational complexity and storage requirements, which affects the overall performance of the system. Therefore, optimizing the performance of blockchain commodity trading systems while ensuring transaction security, storage efficiency, fund custody flexibility, product traceability reliability, and transaction privacy remains a major challenge facing the current technology. Summary of the Invention

[0004] In view of the above-mentioned problems, the present invention is proposed.

[0005] Therefore, the technical problems solved by the present invention are: the existing blockchain commodity trading methods have problems such as limited transaction throughput, insufficient transaction security, rigid fund custody mechanism, insufficient integrity of commodity traceability information, and excessively high computational overhead for transaction privacy protection, as well as how to improve transaction efficiency, security, fund custody flexibility, traceability reliability and privacy protection capabilities.

[0006] To solve the above technical problems, the present invention provides the following technical solutions: a blockchain-based commodity transaction data security management method, comprising constructing a blockchain transaction network, initializing seller nodes, buyer nodes, consensus verification nodes, and optional supervisory nodes, and configuring distributed storage for transaction data storage. Commodity information is uploaded to the chain, a unique blockchain identifier is generated for each commodity, commodity data is stored using hash functions and digital signatures, transaction execution is driven by smart contracts, transaction matching and verification are completed by smart contracts, and consensus calculations are performed based on proof of stake, proof of work, or delegated proof of stake. Orders are categorized and stored, transactions are verified through multiple signatures, funds are deposited into a smart contract escrow account, fund release is controlled based on transaction status and the behavior of the participants, commodity traceability is performed, a time integral model is used to calculate the commodity flow process, and transaction privacy is protected for both parties in the commodity transaction.

[0007] As a preferred solution of the blockchain-based commodity transaction data security management method described in the present invention, the construction of the blockchain transaction network includes using sharding technology to process transaction data and managing small-amount high-frequency transactions through side chain technology.

[0008] As a preferred solution of the blockchain-based commodity transaction data security management method described in the present invention, the transaction execution driven by smart contracts is evaluated based on the point calculation model, and the transaction verification rules are adjusted according to the fund release rate.

[0009] As a preferred solution of the blockchain-based commodity transaction data security management method described in the present invention, the transaction verification through multiple signatures includes the smart contract escrow account adjusting the fund release strategy based on the logistic function model and dynamically setting the fund unlocking conditions in combination with the transaction time factor.

[0010] As a preferred solution of the blockchain-based commodity transaction data security management method described in the present invention, the commodity traceability includes using a dynamic accumulative hash calculation method to calculate the commodity traceability data, and managing blockchain storage based on a storage optimization model.

[0011] As a preferred solution of the blockchain-based commodity transaction data security management method described in the present invention, the transaction privacy protection for both parties of the commodity transaction includes adjusting the anonymous transaction protection level based on a time integral model, and managing transaction anonymity in combination with an exponential decay mixing strategy.

[0012] Another object of the present invention is to provide a blockchain-based commodity transaction data security management system, which can improve blockchain transaction throughput, optimize storage resource allocation, and reduce transaction delays through sharding technology and side chain technology, thereby solving the problem of limited transaction throughput in current blockchain commodity transactions.

[0013] As a preferred embodiment of the blockchain-based commodity transaction data security management system described in the present invention, it includes a transaction network construction module, a smart contract transaction execution module, and an order notarization module. The transaction network construction module is used to build a blockchain transaction network, initialize seller nodes, buyer nodes, consensus verification nodes, and optional supervisory nodes, and configure distributed storage for transaction data storage. The smart contract transaction execution module is used to upload commodity information to the blockchain, generate a unique blockchain identifier for each commodity, and notarize commodity data using hash functions and digital signatures. Transaction execution is driven by smart contracts, which match and verify transactions, and perform consensus calculations based on proof of stake, proof of work, or delegated proof of stake. The order notarization module is used to categorize and store orders, verify transactions through multi-signatures, deposit funds into a smart contract escrow account, control fund release based on transaction status and participant behavior, trace commodity origins, calculate commodity flow processes using a time-integral model, and protect transaction privacy for both parties involved in the commodity transaction.

[0014] A computer device includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement a method for securely managing commodity transaction data based on blockchain.

[0015] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of a method for securely managing commodity transaction data based on blockchain.

[0016] Beneficial effects of the present invention: The blockchain-based commodity transaction data security management method provided by the present invention utilizes smart contracts, a point calculation model, a gamma normalization model, and multi-signature technology to enhance transaction credibility, optimize the fund custody mechanism, and improve payment security. Ring signatures and coin mixing technologies are combined to hide the identities of both parties to the transaction, and zero-knowledge proof is used to verify the legitimacy of the transaction, thereby enhancing the privacy of the transaction. Through the three consensus methods of proof of stake, proof of work, and delegated proof of stake, and the ability to dynamically switch according to different transaction scenarios, it has strong anti-tampering capabilities. The present invention achieves better results in terms of security, privacy, and anti-tampering capabilities. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0018] Figure 1 An overall flow chart of a blockchain-based commodity transaction data security management method provided for the first embodiment of the present invention. DETAILED DESCRIPTION

[0019] To make the above-mentioned objects, features, and advantages of the present invention more clearly understood, the following detailed description of the specific embodiments of the present invention is given in conjunction with the accompanying drawings. It is obvious that the described embodiments are only part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in this field without creative work should fall within the scope of protection of the present invention.

[0020] Example 1, with reference to Figure 1 , as one embodiment of the present invention, provides a blockchain-based commodity transaction data security management method, comprising: S1: Build a blockchain transaction network, initialize seller nodes, buyer nodes, consensus verification nodes, and optional supervisory nodes, and configure distributed storage for transaction data storage.

[0021] Furthermore, building a blockchain transaction network includes using sharding technology to process transaction data and managing small-amount, high-frequency transactions through sidechain technology.

[0022] Specifically, the transaction network is initialized, and seller nodes, buyer nodes, and consensus verification nodes are established. Distributed storage is configured to ensure decentralized storage of transaction data and improve tamper resistance.

[0023] The seller node is responsible for publishing product information on the blockchain, generating a unique blockchain identifier, accepting orders, processing transactions, and executing operations such as shipping and confirming payment according to the conditions agreed upon in the smart contract. It interacts with the buyer node through the smart contract and stores order information on the blockchain.

[0024] The buyer node is responsible for browsing product information, placing orders, and triggering smart contracts to complete the payment process. It is also responsible for confirming receipt, submitting feedback, and requesting the smart contract arbitration mechanism in case of disputes.

[0025] Consensus validation nodes use consensus algorithms such as Proof of Stake (PoS), Proof of Work (PoW), or Delegated Proof of Stake (DPoS) to verify transaction data and prevent double spending and forged transactions. They maintain blockchain data consistency, ensure all transaction records are authentic and valid, and broadcast the latest blocks.

[0026] It should be noted that to ensure system scalability and high throughput, sharding technology is employed. The transaction network is divided into multiple sub-blockchains, each of which independently processes a portion of transactions, improving overall system throughput. A cross-shard communication mechanism ensures interoperability of transaction data between shards and ultimately synchronizes it to the main chain. Sidechain technology, by establishing sidechains to handle small, high-frequency transactions, reduces mainchain congestion and optimizes transaction execution efficiency. Transaction records from sidechains are regularly submitted to the main chain to ensure data security and consistency.

[0027] It should also be noted that the main chain stores transaction hashes, smart contract code, and consensus data, ensuring the security of the entire transaction system. A Merkle tree structure is used to organize transaction data, ensuring data integrity and enabling rapid verification. Sidechains store and process high-frequency, small-value transactions, reducing the burden on the main chain and increasing transaction throughput.

[0028] S2: Product information is uploaded to the chain, a unique blockchain identifier is generated for each product, and product data is stored using hash functions and digital signatures. Transaction execution is driven by smart contracts, which complete transaction matching and verification. Consensus calculations are performed based on proof of stake, proof of work, or delegated proof of stake.

[0029] Furthermore, traditional blockchain transaction security relies primarily on consensus algorithms, such as proof-of-stake methods for distributing node voting rights or hashing to verify data consistency. However, these methods have the following drawbacks when measuring overall transaction security: It is impossible to reflect the impact of time on transaction security, such as whether transactions that have not been confirmed for a long time will affect the credibility of the blockchain.

[0030] Lacking a dynamic adjustment mechanism, the existing PoS model is simply a simple equity weighting. However, the reality is that the security of different transactions is affected by multiple factors such as data volume and network load.

[0031] The complexity of transaction data has not been quantified, that is, some transactions may affect security due to the large amount of accompanying information, but the existing model cannot characterize this.

[0032] It should be noted that transaction security requires the integration of multiple factors and the use of an integral model to express the cumulative impact over time. When there is a delay, the model is expressed as: ; in, For transaction security, The transaction signature hash value, For transaction time, For nodes PoS weight, For the node’s equity, is the transaction fee rate, is the transaction data size, It is the transaction delay parameter, which is the absolute value of the delay time.

[0033] It should be noted that smart contract-driven transaction execution uses a points calculation model to evaluate transaction data and adjusts transaction verification rules based on the fund release rate. Multi-signature transaction verification involves the smart contract escrow account adjusting the fund release strategy based on a logistic function model and dynamically setting fund unlocking conditions based on transaction time factors.

[0034] In traditional blockchain transactions, fund payments usually adopt a binary decision-making model. Buyers can maliciously delay receipt confirmation, causing the seller's funds to be frozen for a long time, affecting the fairness of the transaction.

[0035] Automatic timeout release lacks intelligent judgment. If the buyer has not confirmed receipt but the goods have not been delivered, the funds will be automatically released, which may result in losses.

[0036] The funds release process lacks flexibility and cannot adjust payment release strategies based on subtle changes in transaction status.

[0037] Therefore, using smart contracts for escrow can avoid these issues. Smart contracts manage funds through a dynamic payment release mechanism. The funds escrow process begins when a buyer places an order, funds enter the smart escrow account, and then the buyer pays the transaction amount. The funds are then held in escrow in the smart contract, preventing fraud. The smart contract controls the conditions for fund release, ensuring the rights and interests of both parties. When the seller ships the goods, the smart contract monitors logistics information. After the seller confirms shipment, the smart contract records data such as the shipping time and logistics information.

[0038] If the logistics status is abnormal, the smart contract can temporarily suspend the release of funds.

[0039] The buyer confirms receipt, triggering the release of funds. Once the buyer confirms receipt, the smart contract immediately releases the funds to the seller, completing the transaction. If the buyer does not confirm receipt for a long time, the system automatically determines the conditions for fund release. If the buyer does not confirm receipt for a long time, the smart contract calculates the probability of fund release and decides whether to release the funds based on the transaction status.

[0040] The probability of fund release based on the Logistic function is expressed as: ; in, is the probability of funds release, is the delivery status value (0-1), Confirm the receipt status for the buyer (0-1), is the transaction trigger interval value, is the current time, The time when the order was created. The time constant for releasing escrow funds.

[0041] when If it is 1, the funds will be released immediately and the transaction will be successful. The value is between 0 and 1. The smart contract dynamically adjusts the release conditions according to the transaction status, such as requesting the buyer to provide additional information or wait for additional time. If the transaction status is 0, the funds will be suspended and the intelligent arbitration mechanism will be activated.

[0042] Fund release is affected by multiple transaction states and is adjusted according to Table 1.

[0043] Table 1 Transaction status and fund release Transaction Status Shipping Status Buyer confirmation status Time impact Probability of funds release Order created, not shipped 0 0 0 0 The seller has shipped the goods, but the buyer has not confirmed it. 1 0 short time Low The seller has shipped the goods, but the buyer has not confirmed it. 1 0 Long time high Buyer confirms receipt 1 1 Any 1 Transaction disputes 1 0 Very long time Arbitration required If a transaction enters a dispute state, the smart contract uses the following arbitration mechanism to handle it: In the automatic mediation mode, the smart contract determines whether there is abnormal behavior based on historical transaction data and requests both parties to provide additional information.

[0044] If the buyer cannot provide reasonable evidence, the smart contract automatically releases the funds to the seller.

[0045] In the third-party arbitration model, if the evidence submitted by both parties fails to meet the judgment conditions of the smart contract, the system can introduce a decentralized arbitration node for manual review.

[0046] The fund escrow account requires multiple signatures from the buyer + seller + consensus node to ensure that the funds cannot be transferred unilaterally, and the arbitration process can be managed by the consensus node.

[0047] S3: Orders are categorized and stored, transactions are verified through multiple signatures, funds are deposited into a smart contract escrow account, fund release is controlled based on transaction status and participant behavior, commodity traceability is performed, a time integral model is used to calculate the commodity flow process, and transaction privacy is protected for both parties involved in the commodity transaction.

[0048] Furthermore, the product traceability includes using a dynamic accumulative hash calculation method to calculate the product traceability data and manage blockchain storage based on a storage optimization model.

[0049] When building the blockchain, the goods are initially put on the chain. Each product generates a unique blockchain identifier when it is manufactured, which includes the manufacturer, batch number, production time, raw material information, etc.

[0050] Hash function SHA-256 and digital signature are used to ensure data integrity.

[0051] The commodity circulation process is recorded. Every time a transaction occurs, the system records data such as the seller, buyer, transaction time, and logistics information, and generates a new hash value, which is linked to the previous transaction hash value to form a hash chain. A distributed consensus mechanism is used to verify transaction data and broadcast it to the network.

[0052] Product information can be queried by buyers or regulators through blockchain browsers or smart contract APIs to query the historical circulation records of products. The overall credibility of the product is calculated using the traceability credibility score. If the credibility is lower than the preset value, it is judged as untrustworthy. The overall credibility is expressed as: ; in, For the final product traceability hash, is the number of commodity circulation links, For the The hash value of the circulation node, is the time parameter of the node, is the circulation time, For the The delay factor of a transaction, For the The processing time of a transaction.

[0053] When the product is a specific commodity, different information queries are provided. When the product is food, food safety traceability is carried out, recording the entire process of food production, processing, transportation, and sales to ensure the authenticity and reliability of the food source. Smart contracts are used to automatically check whether food shelf life and cold chain logistics records meet safety standards.

[0054] When the product is a luxury product, anti-counterfeiting measures are implemented to record brand authorization, production batches, and sales channels to prevent counterfeit and inferior products. Consumers can use blockchain to verify whether the purchased goods are from legitimate channels.

[0055] When the product is a medicine, drug traceability is carried out, and drug production, transportation, and warehousing information are recorded. The expiration date and temperature-controlled storage conditions of the drugs are automatically detected through smart contracts to prevent counterfeit drugs from entering the market.

[0056] It should be noted that transaction privacy protection for both parties in a commodity transaction includes adjusting the anonymous transaction protection level based on a time integral model and managing transaction anonymity in combination with an exponential decay mixing strategy.

[0057] The security of anonymous transactions increases over time. The anonymity of transactions is expressed as: ; in, is the signature value in the transaction group, is the group size, Is the transaction information hash, is the confusion factor in the ring signature, is the time decay factor of the anonymous transaction, is the transaction execution time, It is the privacy protection parameter for currency mixing.

[0058] To balance privacy protection and regulatory compliance, a regulated anonymous transaction mechanism is implemented using zero-knowledge proofs and a trusted execution environment (TEE). zk-SNARKs are used to prove transaction validity without revealing details such as transaction amounts and addresses. Cryptographic regulatory keys are stored within the TEE, allowing compliant organizations to decrypt transaction data only when specific conditions are met. Users can choose between different levels of anonymity, including full anonymity (full ring signatures and coin mixing) or compliant anonymity (where some information is regulated).

[0059] Example 2 is the second embodiment of the present invention, which is different from the previous embodiment in that: If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the portion that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the various embodiments of the method of the present invention. The aforementioned storage medium includes various media that can store program code, such as USB flash drives, mobile hard drives, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical disks.

[0060] The logic and / or steps represented in the flowcharts or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing the logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (e.g., a computer-based system, a system including a processor, or other system that can fetch and execute instructions from an instruction execution system, apparatus, or device). For purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transport a program for use by, or in conjunction with, an instruction execution system, apparatus, or device.

[0061] More specific examples (a non-exhaustive list) of computer-readable media include the following: an electrical connection with one or more wires (electronic devices), a portable computer disk cartridge (magnetic devices), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disc read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting, or processing it in another suitable manner as necessary, and then storing it in a computer memory.

[0062] It should be understood that various components of the present invention may be implemented using hardware, software, firmware, or a combination thereof. In the above-described embodiments, multiple steps or methods may be implemented using software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented using hardware, as in another embodiment, any one of the following technologies known in the art or a combination thereof may be used: a discrete logic circuit having logic gate circuits for implementing logic functions on data signals, an application-specific integrated circuit having suitable combinational logic gate circuits, a programmable gate array (PGA), a field-programmable gate array (FPGA), etc.

[0063] Example 3 is the third embodiment of the present invention. This embodiment provides a system for secure management of commodity transaction data based on blockchain, including a transaction network construction module, a smart contract transaction execution module, and an order notarization module.

[0064] The transaction network construction module is used to build a blockchain transaction network, initialize seller nodes, buyer nodes, consensus verification nodes, and optional supervisory nodes, and configure distributed storage for transaction data storage. The smart contract transaction execution module is used to upload product information to the chain, generate a unique blockchain identifier for each product, and use hash functions and digital signatures to store product data. Transaction execution is driven by smart contracts, which complete transaction matching and verification, and perform consensus calculations based on proof of stake, proof of work, or delegated proof of stake. The order notarization module is used to categorize and store orders, verify transactions through multiple signatures, deposit funds into a smart contract escrow account, control fund release based on transaction status and participant behavior, conduct product traceability, use a time integral model to calculate the product flow process, and protect transaction privacy for both parties in the product transaction.

[0065] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. A method for secure management of commodity transaction data based on blockchain, characterized in that: include: Build a blockchain transaction network, initialize seller nodes, buyer nodes, consensus verification nodes, and optional supervisory nodes, and configure distributed storage for transaction data storage; Product information is uploaded to the blockchain, generating a unique blockchain identifier for each product. Hash functions and digital signatures are used to store product data. Transaction execution is driven by smart contracts, which match and verify transactions. Consensus calculations are performed based on proof of stake, proof of work, or delegated proof of stake. Orders are classified and stored, transactions are verified through multiple signatures, funds are deposited into smart contract escrow accounts, fund release is controlled based on transaction status and the behavior of participants, goods are traced, the time integral model is used to calculate the goods flow process, and transaction privacy is protected for both parties in the commodity transaction.

2. The blockchain-based commodity transaction data security management method according to claim 1, characterized in that: The construction of the blockchain transaction network includes using sharding technology to process transaction data and managing small-amount high-frequency transactions through side chain technology.

3. The blockchain-based commodity transaction data security management method according to claim 2, characterized in that: The smart contract-driven transaction execution evaluates transaction data based on the points calculation model, and adjusts transaction verification rules according to the fund release rate.

4. The blockchain-based commodity transaction data security management method according to claim 3, characterized in that: The transaction verification through multi-signature includes the smart contract escrow account adjusting the fund release strategy based on the Logistic function model and dynamically setting the fund unlocking conditions in combination with the transaction time factor.

5. The blockchain-based commodity transaction data security management method according to claim 4, characterized in that: The product traceability includes using a dynamic accumulative hash calculation method to calculate the product traceability data and managing blockchain storage based on a storage optimization model.

6. The blockchain-based commodity transaction data security management method according to claim 5, characterized in that: The transaction privacy protection for both parties of the commodity transaction includes adjusting the anonymous transaction protection level based on a time integral model and managing the transaction anonymity in combination with an exponential decay mixing strategy.

7. A system using the blockchain-based commodity transaction data security management method according to any one of claims 1 to 6, characterized in that: Including transaction network construction module, smart contract transaction execution module, and order evidence module; The transaction network construction module is used to build a blockchain transaction network, initialize seller nodes, buyer nodes, consensus verification nodes and optional supervision nodes, and configure distributed storage for transaction data storage; The smart contract transaction execution module is used to upload product information to the blockchain, generate a unique blockchain identifier for each product, use hash functions and digital signatures to store product data, drive transaction execution through smart contracts, complete transaction matching and verification by smart contracts, and perform consensus calculations based on proof of stake, proof of work, or delegated proof of stake; The order notarization module is used to classify and store orders, verify transactions through multiple signatures, deposit funds into a smart contract escrow account, control the release of funds based on the transaction status and the behavior of the participants, trace the source of goods, calculate the commodity flow process using a time integral model, and protect the transaction privacy of both parties to the commodity transaction.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the blockchain-based commodity transaction data security management method described in any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the blockchain-based commodity transaction data security management method according to any one of claims 1 to 6 are implemented.

Citation Information

Cited By

  • Software development method and system based on data security

    CN122046390A