Tiered battery trading system and method

By using blockchain technology and smart contract verification, combined with SDK and IPFS storage, the problems of data tampering and information asymmetry in tiered battery transactions have been solved, achieving an efficient and transparent battery transaction process and reducing costs and resource waste.

CN114445175BActive Publication Date: 2026-04-14杭州安影科技有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-30
Publication Date
2026-04-14

AI Technical Summary

Technical Problem

At present, the secondary battery trading market faces risks such as battery data tampering, incomplete and outdated information storage, inefficient acceptance processes, and high communication costs, leading to a crisis of market trust and waste of resources.

Method used

A tiered battery trading system is built using blockchain technology. Transaction requests are verified through smart contracts, transaction information is recorded using a distributed ledger, and data immutability and efficient storage are achieved by combining SDK and IPFS, thus establishing a trust mechanism.

Benefits of technology

This achieves traceability and immutability in the trading of tiered batteries, reduces transaction and time costs, and improves the transparency and efficiency of the trading process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114445175B_ABST
    Figure CN114445175B_ABST
Patent Text Reader

Abstract

The application discloses a kind of echelon battery transaction system and method, applied to merchant, including: account identity management module, digital identity registration is carried out in block chain network;Wallet management module, the balance in purse address is inquired, transaction transfer, transaction record is browsed;Merchant order management module, order details inquiry, order evaluation, and uncompleted order processing are realized;Merchant commodity management module, realize that merchant echelon battery is on the shelf, has been on the shelf echelon battery is browsed, has been on the shelf echelon battery detailed information inquiry;Wherein, merchant order management module receives transaction request from block chain network, according to transaction request, order is handled, when consumer confirms to sign echelon battery, smart contract will complete the amount of money required to pay transaction request and deliver to the account of merchant, the ownership of echelon battery is transferred to consumer, this transaction is packaged to form transaction block and is broadcasted in block chain network, generates distributed account book information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of blockchain technology, and specifically relates to a tiered battery trading system and method. Background Technology

[0002] With increasingly severe global resource consumption and environmental pollution, the electric vehicle market is growing rapidly, but this has also brought safety hazards and resource recycling pressures associated with retired batteries. Refined and tiered utilization of retired batteries can fully tap their remaining value, reduce resource waste, and improve their economic, environmental, and social value.

[0003] However, there are still several major challenges to be addressed regarding the secondary use of power batteries:

[0004] (1) Battery data is at risk of being tampered with. The battery reuse market suffers from the problem of illegally tampering with and falsifying battery data for illicit profit. On the one hand, the collected batteries may be refurbished scrap batteries; on the other hand, some companies may illegally dismantle and reassemble retired batteries and sell them as finished reused batteries. The performance and safety of retired batteries cannot be guaranteed, and these illegal activities disrupt market order, causing a crisis of trust.

[0005] (2) Battery information data storage is not real-time and comprehensive. In the circulation and data exchange of batteries for secondary use, the upstream and downstream enterprises in the industry chain have not standardized key information communication links such as communication protocols and historical data. There are problems such as lack of trust, opaque data storage, and difficulty in resource sharing, which indirectly leads to battery safety risks.

[0006] (3) When the buyer receives the cascaded batteries, they also need to inspect and accept them to determine the product quality. Only after the cascaded batteries have gone through the above acceptance process will the cascaded battery manufacturer receive payment. This process lacks timeliness, and the communication, maintenance, and R&D costs are all high, resulting in a waste of resources. Summary of the Invention

[0007] The purpose of this application is to provide a technical solution that ensures that the information of the secondary battery is not tampered with, while reducing unnecessary costs incurred during transactions, thereby promoting the better utilization of batteries.

[0008] This application provides a tiered battery trading system for merchants, the system comprising:

[0009] The account identity management module is used to register digital identities on the blockchain network, and the digital identities are bound to wallet addresses;

[0010] The wallet management module is used to query the balance in the wallet address, transfer funds, and browse transaction records.

[0011] The merchant order management module is used to query order details, provide order reviews, and process incomplete orders.

[0012] The merchant product management module is used to enable merchants to list tiered batteries, browse listed tiered batteries, and query detailed information of listed tiered batteries. The detailed information of the tiered batteries includes one or more of the following: the unique identifier of the tiered battery, battery capacity, battery type, cycle life, and tiered battery price.

[0013] The merchant order management module receives transaction requests from the blockchain network. Within the blockchain network, the transaction request is verified by calling a smart contract. Upon successful verification, the order is processed according to the transaction request. When the consumer confirms receipt of the secondary batteries, the smart contract delivers the amount required to complete the transaction to the merchant's account, transferring ownership of the secondary batteries to the consumer. The transaction is then packaged into a transaction block and broadcast on the blockchain network, generating distributed ledger information.

[0014] Furthermore, when the merchant fails to receive confirmation of receipt from the consumer after a preset time, a timeout confirmation is initiated. The timeout confirmation includes requesting logistics information and sending the logistics information to a smart contract. Based on the logistics information, if the secondary battery has been received by the consumer, the smart contract will deliver the amount required to complete the transaction request to the merchant's account, transfer ownership of the secondary battery to the consumer, package the transaction into a transaction block, and broadcast it in the blockchain network to generate distributed ledger information.

[0015] Furthermore, the account identity management module is implemented through an SDK, which generates a hash value from the username and password entered by the user on the registration page through hash calculation, and uses the hash value as a digital identity;

[0016] When registering a digital identity, the account identity management module generates a public-private key pair. The public key is stored in the blockchain network, and the private key is stored by the user.

[0017] Furthermore, in the merchant order management module, a transaction request initiated by a consumer is received, and transaction information for the tiered battery corresponding to the transaction request is generated and submitted. The transaction information is encrypted using the consumer's public key, and the encrypted transaction information is sent to the consumer through the blockchain network.

[0018] Furthermore, the tiered battery trading system also includes a blockchain connection module for connecting the blockchain node with an off-chain database;

[0019] The blockchain connection module includes a distributed connection system DON, which provides at least two operational functions, including connecting the blockchain node to off-chain resources and monitoring the transactions executed by the blockchain node.

[0020] The resources mentioned include one or more of the following types: Internet service resources, other blockchain network resources, and distributed storage resources.

[0021] Furthermore, the event mechanism of smart contracts enables the synchronized storage of data in the blockchain network and the off-chain database.

[0022] This application also provides a tiered battery trading system for consumers, the system comprising:

[0023] The account identity management module is used to register digital identities on the blockchain network, and the digital identities are bound to wallet addresses;

[0024] The wallet management module is used to query the balance in the wallet address, transfer funds, and browse transaction records.

[0025] The consumer order management module is used to create transaction orders, query order details, evaluate orders, and process incomplete orders.

[0026] The product browsing module is used to browse the detailed information of the secondary battery, which includes one or more of the following: the unique identifier of the secondary battery, battery capacity, battery type, and cycle life.

[0027] The consumer order management module creates a transaction request based on the wallet address and sends the transaction request to the blockchain network. On the blockchain network, the transaction request is verified by calling a smart contract. After successful verification, the smart contract deducts the amount required to complete the transaction request from the wallet address. When the consumer confirms receipt of the secondary battery, the smart contract delivers the amount to the target account, transfers ownership of the secondary battery to the consumer, packages the transaction into a transaction block, and broadcasts it on the blockchain network to generate distributed ledger information.

[0028] Furthermore, the account identity management module is implemented through an SDK, which generates a hash value from the username and password entered by the user on the registration page through hash calculation, and uses the hash value as a digital identity;

[0029] When registering a digital identity, the account identity management module generates a public-private key pair. The public key is stored in the blockchain network, and the private key is stored by the user.

[0030] Furthermore, the consumer order management module receives transaction information from the blockchain network, which is encrypted by the merchant using the consumer's public key.

[0031] The transaction information is decrypted using a private key to obtain the original data, which represents the ownership of the secondary battery.

[0032] This application also provides a method for trading graded batteries, applicable to merchants, the method comprising:

[0033] The system receives transaction requests from the blockchain network. Within the blockchain network, the transaction request is verified by invoking a smart contract. Upon successful verification, the order is processed according to the transaction request. When the consumer confirms receipt of the secondary batteries, the smart contract delivers the amount required to complete the transaction to the merchant's account, transferring ownership of the secondary batteries to the consumer. The transaction is then packaged into a transaction block and broadcast on the blockchain network, generating distributed ledger information.

[0034] The tiered battery trading system and method provided in this application is a fully digital payment method with an established trust mechanism. Based on a blockchain network, this tiered battery trading method possesses characteristics such as traceability and immutability. Compared to existing tiered battery trading methods, the method provided in this application utilizes a decentralized trading approach to reduce time costs and transaction fees during the trading process. Attached Figure Description

[0035] Figure 1 This is a schematic diagram of a tiered battery trading system for merchants provided in this application;

[0036] Figure 2 A schematic diagram of a tiered battery trading system for consumers provided in this application;

[0037] Figure 3 The tiered battery diagram provided in this application is based on wallet transactions.

[0038] Figure 4 A schematic diagram of the distributed application of the blockchain network and payment wallet provided in this application;

[0039] Figure 5 A flowchart of the tiered battery trading method for merchants, provided for the application. Detailed Implementation

[0040] The present invention will be described in detail below with reference to the specific embodiments shown in the accompanying drawings. However, these embodiments do not limit the present invention. Any structural, methodological, or functional modifications made by those skilled in the art based on these embodiments are included within the scope of protection of the present invention.

[0041] like Figure 1 As shown, this application provides a tiered battery trading system for merchants. The system includes: an account identity management module, a wallet management module, a merchant order management module, and a merchant product management module.

[0042] The account identity management module is used to register digital identities on the blockchain network, and the digital identities are bound to wallet addresses;

[0043] The wallet management module is used to query the balance in the wallet address, transfer funds, and browse transaction records.

[0044] The merchant order management module is used to query order details, provide order reviews, and process incomplete orders.

[0045] The merchant product management module is used to enable merchants to list tiered batteries, browse listed tiered batteries, and query detailed information of listed tiered batteries. The detailed information of the tiered batteries includes one or more of the following: the unique identifier of the tiered battery, battery capacity, battery type, cycle life, and tiered battery price.

[0046] The merchant order management module receives transaction requests from the blockchain network. Within the blockchain network, the transaction request is verified by calling a smart contract. Upon successful verification, the order is processed according to the transaction request. When the consumer confirms receipt of the secondary batteries, the smart contract delivers the amount required to complete the transaction to the merchant's account, transferring ownership of the secondary batteries to the consumer. The transaction is then packaged into a transaction block and broadcast on the blockchain network, generating distributed ledger information.

[0047] As an optional implementation, the tiered battery trading system is built based on a Software Development Kit (SDK). For example, a wallet management module can be built using the SDK. As an optional implementation, functions such as balance inquiry, transfer, and transaction record viewing can be implemented through the Web3js library. By encapsulating these functions and integrating them with corresponding interfaces, third-party developers can quickly and easily integrate the wallet functionality of third-party platforms.

[0048] This SDK enables the management of fund flows during transactions, addressing the issue of fund movement in decentralized exchanges. In each transaction, the funds paid by the consumer do not flow directly into the merchant's account. Instead, they are held in escrow via a smart contract. Once the consumer confirms the order, the smart contract automatically delivers the escrowed funds to the merchant.

[0049] In another scenario, if a consumer requests a return and refund after the merchant has shipped the goods and submits the logistics information, the escrowed funds will be returned to the consumer via a smart contract once the merchant receives and agrees to the return.

[0050] As an optional implementation, when the merchant has not received confirmation of receipt from the consumer after a preset time, a timeout confirmation is initiated. The timeout confirmation includes requesting logistics information and sending the logistics information to a smart contract. Based on the logistics information, if the secondary battery has been received by the consumer, the smart contract delivers the amount required to complete the transaction request to the merchant's account, transfers ownership of the secondary battery to the consumer, packages the transaction into a transaction block, and broadcasts it on the blockchain network to generate distributed ledger information.

[0051] As an optional implementation, order management can be implemented using an SDK. Order management mainly includes one or more of the following operation types: browsing order lists, order querying, viewing order details, creating orders, canceling orders, and merchants modifying order shipment status. The SDK for order management can utilize an off-chain database. Using an off-chain database reduces the complexity of smart contract deployment, improves security, and consumes less gas when deploying smart contracts. Gas is used to measure the cost required to perform a specific operation on the Ethereum blockchain; during a transaction, the transaction fee equals the amount of gas consumed per transaction multiplied by the gas price. Searching on the blockchain network is time-consuming; therefore, by monitoring the triggering of smart contract methods, on-chain data is synchronously added to the off-chain database, maintaining consistency between the off-chain database and on-chain data. Thus, users can perform queries and searches through the off-chain database, significantly reducing search time.

[0052] As an optional implementation, product management can be implemented using an SDK. Product management mainly involves hosting and manipulating product information. Alternatively, the InterPlanetary File System (IPFS) can be used to store images and descriptions of the battery cells. IPFS is a network transmission protocol and a peer-to-peer distributed file system that can distribute data storage and file sharing. Nodes in IPFS form a distributed file system; uploading a local file generates a hash value, which allows anyone to access the data. Any modification to the file will change the hash value, ensuring the file's trustworthiness and immutability. Using IPFS can reduce the size of smart contracts and save deployment gas. Simultaneously, battery cell information can be supplemented with off-chain databases. This facilitates the querying and display of battery cell information, allowing for fast data querying and filtering using database logic without complex smart contract support. Furthermore, if the off-chain database is damaged, on-chain data can be quickly backed up, and users can verify the authenticity of battery cell information at any time through on-chain queries.

[0053] As an optional implementation, the account identity management module is implemented via an SDK. It generates a hash value from the username and password entered by the user on the registration page, and uses this hash value as the digital identity. During digital identity registration, the account identity management module generates a public-private key pair. The public key is stored in the blockchain network, while the private key is stored by the user.

[0054] As an optional implementation, the merchant order management module receives a transaction request initiated by a consumer, generates and submits transaction information for the tiered battery corresponding to the transaction request, encrypts the transaction information using the consumer's public key, and sends the encrypted transaction information to the consumer through a blockchain network.

[0055] As an optional implementation, the tiered battery trading system also includes a blockchain connection module for connecting the blockchain nodes with an off-chain database;

[0056] The blockchain connection module includes a distributed connection system DON, which provides at least two operational functions, including connecting the blockchain node to off-chain resources and monitoring the transactions executed by the blockchain node.

[0057] The resources mentioned include one or more of the following types: Internet service resources, other blockchain network resources, and distributed storage resources.

[0058] As an optional implementation, the data in the blockchain network and the data in the off-chain database can be synchronously stored through the event mechanism of smart contracts.

[0059] Furthermore, such as Figure 2 As shown in the embodiments of this application, another tiered battery trading system is also disclosed, applied to consumers. The system includes:

[0060] The account identity management module is used to register digital identities on the blockchain network, and the digital identities are bound to wallet addresses;

[0061] The wallet management module is used to query the balance in the wallet address, transfer funds, and browse transaction records.

[0062] The consumer order management module is used to create transaction orders, query order details, evaluate orders, and process incomplete orders.

[0063] The product browsing module is used to browse the detailed information of the secondary battery, which includes one or more of the following: the unique identifier of the secondary battery, battery capacity, battery type, and cycle life.

[0064] Combination Figure 3 and Figure 4 As shown, as an optional implementation, the tiered battery trading system provided in this application uses a D-App wallet for payment transactions. When a user makes a transaction, the payment amount is held in escrow by a smart contract, realizing a decentralized peer-to-peer transaction model. The consumer order management module creates a transaction request based on the wallet address and sends the transaction request to the blockchain network. On the blockchain network, the transaction request is verified by calling the smart contract. After successful verification, the smart contract deducts the amount required to complete the transaction request from the wallet address. When the consumer confirms receipt of the tiered battery, the smart contract delivers the amount to the target account, transferring ownership of the tiered battery to the consumer. This transaction is packaged into a transaction block and broadcast on the blockchain network, generating distributed ledger information.

[0065] As an optional implementation, the tiered battery trading system provided in this application supports the issuance of digital currency based on standards such as ERC20 and ERC721. This digital currency can be used for tiered battery trading provided in this application. Exchange rates between different currencies and digital currency are set through smart contracts. Through smart contracts, users can exchange different types of currency with the digital currency provided in this application, increasing the balance in their wallet address.

[0066] The tiered battery trading system provided in this application establishes a feasible connection with a nationally issued digital currency. It provides functions related to financial control over crypto assets and currencies. As an optional implementation, the blockchain network in the tiered battery trading system provided in this application is a consortium blockchain network. In consortium business applications, cryptocurrency payments are provided through a high-efficiency digital currency interface service (REST API).

[0067] As an optional implementation, the consumer order management module receives transaction information from the blockchain network, and this transaction information is encrypted by the merchant using the consumer's public key.

[0068] The transaction information is decrypted using a private key to obtain the original data, which represents the ownership of the secondary battery.

[0069] For a transaction, there are consumers and merchants. The consumer initiates at least one transaction request. As an optional implementation, the transaction request includes the client ID, chaincode ID, timestamp, and transaction signature. The consumer-initiated transaction request is uploaded to the blockchain network through the client node, and at least one endorsing node in the blockchain network endorses the transaction signature. The endorsing node returns the verification result to the client node. If the verification is successful, the client node sends the transaction request to the ordering service node. The ordering service node accepts transaction requests containing signature endorsements, orders the unpackaged transactions to generate blocks, and broadcasts them to other nodes. The ledger node receives the information broadcast by the ordering service node, is responsible for verifying the transactions in the blocks of the ordering service node, and maintaining a copy of the state and the ledger. The ledger node periodically retrieves blocks containing transactions from the ordering service node, verifies these blocks, and adds them to the blockchain. Ledger nodes cannot be configured through configuration files; the relevant ledger node must be manually specified when the current client or command line initiates a transaction request. There can be multiple ledger nodes.

[0070] like Figure 5 As shown in the embodiments of this application, a method for trading tiered batteries is also disclosed, applied to merchants. The method includes:

[0071] The system receives transaction requests from the blockchain network. Within the blockchain network, the transaction request is verified by invoking a smart contract. Upon successful verification, the order is processed according to the transaction request. When the consumer confirms receipt of the secondary batteries, the smart contract delivers the amount required to complete the transaction to the merchant's account, transferring ownership of the secondary batteries to the consumer. The transaction is then packaged into a transaction block and broadcast on the blockchain network, generating distributed ledger information.

[0072] As an alternative implementation, smart contracts can be written in the DAML language and executed by Canton. Canton's DAML ledger interoperability protocol abstracts digital ledgers, allowing them to be integrated into a global, virtual, composable smart contract platform—a private, scalable, and composable smart contract platform.

[0073] In blockchain ecosystems, there are many types of smart contract languages, and most of these languages ​​have high development requirements and system requirements. Applying the Digital Asset Modeling Language (DAML) can reduce these development requirements and system requirements for smart contracts.

[0074] The Digital Asset Modeling Language (DAML) is a private, rather than an open, execution environment that relies on all nodes in the network. While distributed ledgers solve the problem of consistency in the current state of a ledger, for complex financial protocols, the question of how the ledger should proceed next remains unresolved without disclosing its contents. By combining a shared log containing the complete origin of these rights and obligations with an off-chain execution environment for processing the modeled behavior, DAML ensures that all stakeholders can reach the same conclusions about the outcome of a common workflow. Therefore, in blockchain networks, DAML models within Distributed Finance (DeFi) can express dynamic models of business process relationships, transaction authentication, and state definitions; they can also reflect the security requirements of businesses regarding information and transactions.

[0075] Haskell is the smart contract language used in DAML. As an optional implementation, data, contracts, and updates to the global virtual ledger can be written using Haskell's high-level, purely functional programming language. Haskell supports concurrent programming and possesses lightweight and efficient elements and abstractions for parallel computing. This allows the automation of smart contract functions to be effectively handled in a parallel computing environment.

[0076] From data to smart contracts, the actions permitted for stakeholders in smart contracts include viewing and updating the smart contract; updates to ledger data can be identified using Haskell's functional language.

[0077] The tiered battery trading method provided in this application is a fully digital payment method with an established trust mechanism. Based on a blockchain network, this method is traceable and immutable. Compared to existing tiered battery trading methods, the method provided in this application reduces time costs and transaction fees by utilizing a decentralized approach.

[0078] The above-disclosed embodiments are merely preferred embodiments of the present invention, and are not intended to limit the scope of the invention. Those skilled in the art will understand that any changes, modifications, substitutions, combinations, or simplifications made without departing from the spirit and scope of the present invention and the appended claims are equivalent substitutions and still fall within the scope of the invention.

Claims

1. A tiered battery trading system, characterized in that, Applied to merchants, including: The account identity management module is used to register digital identities on the blockchain network, and the digital identities are bound to wallet addresses; The wallet management module is used to query the balance in the wallet address, transfer funds, and browse transaction records. The merchant order management module is used to query order details, provide order reviews, and process incomplete orders. The merchant product management module is used to enable merchants to list tiered batteries, browse listed tiered batteries, and query detailed information of listed tiered batteries. The detailed information of the tiered batteries includes one or more of the following: the unique identifier of the tiered battery, battery capacity, battery type, cycle life, and tiered battery price. The merchant order management module receives transaction requests from the blockchain network. On the blockchain network, the transaction request is verified by calling a smart contract. After successful verification, the order is processed according to the transaction request. When the consumer confirms receipt of the secondary batteries, the smart contract delivers the amount required to complete the transaction to the merchant's account, transfers ownership of the secondary batteries to the consumer, packages the transaction into a transaction block, and broadcasts it on the blockchain network to generate distributed ledger information. The smart contract is written in the DAML language and executed by Canton. The Canton-style DAML ledger interoperability protocol abstracts the digital ledger and integrates it into a global virtual composable smart contract platform. It combines a shared log with an off-chain execution environment for processing workflows that are modeled behaviors. DAML ensures that all stakeholders reach the same conclusions about the results of a common workflow. Product management is implemented using an SDK, which includes hosting and manipulating product information. The InterPlanetary File System (IPFS) is used to store images and descriptions of the battery cascades. Off-chain databases are used for auxiliary storage of battery cascade information. Database logic is used for data querying and filtering. If the off-chain database is damaged, on-chain data is used for rapid backup.

2. The tiered battery trading system according to claim 1, characterized in that, When the merchant fails to receive confirmation of receipt from the consumer after a preset time, it initiates a timeout confirmation. The timeout confirmation includes requesting logistics information and sending the logistics information to a smart contract. Based on the logistics information, if the secondary battery has been received by the consumer, the smart contract delivers the amount required to complete the transaction to the merchant's account, transfers ownership of the secondary battery to the consumer, packages the transaction into a transaction block, and broadcasts it on the blockchain network to generate distributed ledger information.

3. In the tiered battery trading system according to claim 1, the account identity management module is implemented through an SDK, which generates a hash value by hashing the username and password entered by the user from the registration page, and uses the hash value as a digital identity; When registering a digital identity, the account identity management module generates a public-private key pair. The public key is stored in the blockchain network, and the private key is stored by the user.

4. The tiered battery trading system according to claim 3, characterized in that, In the merchant order management module, a transaction request initiated by a consumer is received, and transaction information for the tiered battery corresponding to the transaction request is generated and submitted. The transaction information is encrypted using the consumer's public key, and the encrypted transaction information is sent to the consumer through the blockchain network.

5. The tiered battery trading system according to claim 1, characterized in that, It also includes a blockchain connection module, used to connect blockchain nodes to off-chain databases; The blockchain connection module includes a distributed connection system DON, which provides at least two operational functions, including connecting the blockchain node to off-chain resources and monitoring the transactions executed by the blockchain node. The resources include one or more of the following types: Internet service resources, other blockchain network resources, and distributed storage resources.

6. The tiered battery trading system according to claim 5, characterized in that, The event mechanism of smart contracts enables the synchronized storage of data in the blockchain network and the off-chain database.

7. A tiered battery trading system, characterized in that, For consumers, including: The account identity management module is used to register digital identities on the blockchain network, and the digital identities are bound to wallet addresses; The wallet management module is used to query the balance in the wallet address, transfer funds, and browse transaction records. The consumer order management module is used to create transaction orders, query order details, evaluate orders, and process incomplete orders. The product browsing module is used to browse the detailed information of the secondary battery, which includes one or more of the following: the unique identifier of the secondary battery, battery capacity, battery type, and cycle life. The consumer order management module creates a transaction request based on the wallet address and sends the transaction request to the blockchain network. On the blockchain network, the transaction request is verified by calling a smart contract. After successful verification, the smart contract deducts the amount required to complete the transaction from the wallet address. When the consumer confirms receipt of the secondary battery, the smart contract delivers the amount to the target account, transfers ownership of the secondary battery to the consumer, packages the transaction into a transaction block, and broadcasts it on the blockchain network to generate distributed ledger information. The smart contract is written in the DAML language and executed by Canton. The Canton-style DAML ledger interoperability protocol abstracts the digital ledger and integrates it into a global virtual composable smart contract platform. It combines a shared log with an off-chain execution environment for processing workflows that are modeled behaviors. DAML ensures that all stakeholders reach the same conclusions about the results of a common workflow. Product management is implemented using an SDK, which includes hosting and manipulating product information. The InterPlanetary File System (IPFS) is used to store images and descriptions of the battery cascades. Off-chain databases are used for auxiliary storage of battery cascade information. Database logic is used for data querying and filtering. If the off-chain database is damaged, on-chain data is used for rapid backup.

8. The tiered battery trading system according to claim 7, characterized in that, The account identity management module is implemented through an SDK. It generates a hash value from the username and password entered by the user on the registration page through hash calculation, and uses the hash value as a digital identity. When registering a digital identity, the account identity management module generates a public-private key pair. The public key is stored in the blockchain network, and the private key is stored by the user.

9. The tiered battery trading system according to claim 8, characterized in that, The consumer order management module receives transaction information from the blockchain network, which is encrypted by the merchant using the consumer's public key. The transaction information is decrypted using a private key to obtain the original data, which represents the ownership of the secondary battery.

10. A method for trading tiered batteries, characterized in that, Applied to merchants, the method is executed through the tiered battery trading system as described in any one of claims 1 to 6, the method comprising: The system receives transaction requests from the blockchain network. Within the blockchain network, the transaction request is verified by invoking a smart contract. Upon successful verification, the order is processed according to the transaction request. When the consumer confirms receipt of the secondary batteries, the smart contract delivers the amount required to complete the transaction to the merchant's account, transferring ownership of the secondary batteries to the consumer. The transaction is then packaged into a transaction block and broadcast on the blockchain network, generating distributed ledger information.

Citation Information

Patent Citations

  • E-commerce big data intelligent processing and transmission platform and method based on block chain and 5G

    CN111461839A

  • Digital asset management and control method for retired power batteries

    CN112801318A