Second-life battery traceability system and method based on trusted execution environment
The second-life battery traceability system addresses data tampering and privacy concerns by using a trusted execution environment and smart contracts, ensuring secure and reliable traceability of second-life batteries.
Patent Information
- Application Number
- CN202111257388.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-27
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2041-10-27
AI Technical Summary
The recycling of retired power batteries faces challenges such as data tampering, lack of trust, incomplete information storage, and privacy concerns, leading to safety risks and market disruptions in the battery recycling market.
A second-life battery traceability system based on a trusted execution environment, utilizing a blockchain node, off-chain management system, and blockchain connection module, with privacy protection through a trusted execution environment and smart contracts, ensuring secure data handling and privacy.
Ensures secure and reliable traceability of second-life batteries while protecting privacy, enhancing trust and security in the battery recycling market.
Smart Images

Figure CN114022162B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of blockchain, and in particular to a second-life battery traceability system and method based on a trusted execution environment. Background Art
[0002] In recent years, my country's new energy vehicle industry has developed rapidly, but as time goes by, more and more power batteries need to be replaced. For retired power batteries, if conventional treatment methods such as landfill and incineration are adopted, the harmful metals or other compounds in the waste batteries will cause great pollution to the environment. Refined cascade utilization of retired batteries can fully explore the residual value of batteries and reduce resource waste, thereby improving the economic value, environmental value and social value of battery utilization.
[0003] However, at this stage, there are still several major difficulties to be solved in the recycling of power batteries. For example, there is a risk of battery data being tampered with. The battery recycling market has the problem of illegally tampering with and falsifying battery data for improper profit. On the one hand, the collected batteries may be scrapped batteries that have been continuously refurbished; on the other hand, some companies may illegally dismantle and reorganize retired batteries and sell them as finished recycled batteries. The performance and safety of retired batteries cannot be guaranteed, and illegal activities disrupt the market order and cause a crisis of trust.
[0004] There is still a problem of incomplete and incomplete battery information data storage in the cascade utilization of power batteries. The circulation and data interaction of cascade utilization batteries, the upstream and downstream companies in the industrial chain have not yet standardized in 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 lead to battery safety risks.
[0005] In order to solve the above problems, it is necessary to trace the second-hand batteries to ensure the safety of the batteries and the reliability of the battery information. However, while solving the problem of second-hand battery traceability, it is necessary to fully consider the issue of privacy protection. Among the information that merchants need to upload to the chain, there is a lot of sensitive information, such as the use of materials, sales channels, and supply relationships between enterprises. If this information is directly uploaded to the chain in plain text, it will cause huge losses to the merchants. Summary of the invention
[0006] The purpose of this application is to provide a technical solution to achieve the traceability of second-life batteries while ensuring the security of privacy information. Based on the above purpose, this application provides a second-life battery traceability system based on a trusted execution environment, including:
[0007] A blockchain node, used to manage the full life cycle information of the second-life battery;
[0008] An off-chain management system, used to store the full life cycle information of the second-life battery and upload the full life cycle information to the blockchain node;
[0009] A blockchain connection module, used to connect the blockchain node and the off-chain management system, and the blockchain connection module is configured and assembled in a trusted execution environment;
[0010] Among them, the blockchain node executes part of the smart contract on the chain, and the blockchain connection module executes a series of off-chain calculations on behalf of the smart contract on the chain, including helping the smart contract on the chain to obtain at least part of the full life cycle information of the cascade battery.
[0011] Further, the trusted execution environment is established based on hardware, including using a security chip as an internal support system to distinguish between trusted applications and untrusted applications;
[0012] Based on the trusted execution environment, privacy protection is performed on at least part of the full life cycle information of the second-life battery, and the privacy protection includes creating the partial smart contract on the chain based on the trusted execution environment, and / or executing the partial smart contract on the chain based on the trusted execution environment.
[0013] Furthermore, creating the on-chain partial smart contract based on the trusted execution environment includes the following steps:
[0014] Creating a smart contract through the off-chain management system, sending the code of the smart contract to the blockchain connection module, and the blockchain connection module loading the smart contract into the trusted execution environment and instantiating the smart contract code;
[0015] The trusted execution environment allocates an ID for the smart contract, generates a public-private key pair, and a temporary key, wherein the temporary key is used to encrypt necessary data output and return values during the execution process and obtain encrypted initial state data;
[0016] The blockchain connection module sends the smart contract code, the public key and the encrypted initial state data to the blockchain node, and after verification, records the encrypted initial state data and the public key to the blockchain network.
[0017] Furthermore, executing the on-chain smart contract based on the trusted execution environment includes the following steps:
[0018] Calling the smart contract through the off-chain management system and constructing the input items required to execute the smart contract;
[0019] Obtaining the public key of the smart contract through the blockchain node, encrypting the input item using the public key, and packaging the smart contract ID and the encrypted input item and sending them to the blockchain connection module;
[0020] The blockchain connection module obtains the code of the smart contract and the encrypted current state of the smart contract from the blockchain node according to the ID of the smart contract, and loads the encrypted input item and the encrypted current state of the smart contract into the trusted execution environment for calculation;
[0021] In the trusted execution environment, the input items and the current state of the smart contract are decrypted based on the private key and the temporary key. After decryption, the smart contract is executed and a certificate for verifying the execution of the smart contract is generated. The certificate is sent to the blockchain node, and the certificate is verified through a consensus mechanism. After the verification is passed, the result of executing the smart contract is returned to the off-chain management system.
[0022] Furthermore, the full life cycle information of the second-hand battery includes one or more of the following information: second-hand battery production link information, second-hand battery assembly link information, second-hand battery sales link information, second-hand battery maintenance link information, second-hand battery scrapping link information, and second-hand battery logistics link information.
[0023] Further, collecting the second-hand battery production process information and saving it to the off-chain management system, and uploading at least part of the collected second-hand battery production process information to the blockchain node through the blockchain connection module, including the following steps:
[0024] Retired power batteries are used as raw materials for the second-life batteries. The retired power batteries are marked. The marking includes adding a unique identifier to the retired power batteries, entering the unique identifier into the off-chain management system and uploading it to the blockchain node.
[0025] Cleaning, testing, classifying, and processing the retired power batteries to obtain second-hand batteries, wherein the testing includes measuring one or more of the following data: the remaining power, battery capacity, and battery life of the retired power batteries; and classifying the second-hand utilization scenarios that the retired power batteries can enter according to the test results and processing them according to the second-hand utilization scenarios;
[0026] Add a unique product identifier to the second-life battery, enter the unique product identifier into the off-chain management system and upload it to the blockchain node;
[0027] The second-life battery is tested, and the test includes measuring one or more of the following data: the remaining power of the second-life battery, the battery capacity, the battery life, and the continuous recording of the charge and discharge data during the battery production process, and the data obtained from the test is entered into the off-chain management system and uploaded to the blockchain node.
[0028] Furthermore, the blockchain connection module includes a distributed connection system DON, and the distributed connection system DON provides at least two parts of operating functions, including connecting the blockchain node to the resources under the chain and monitoring the transactions executed by the blockchain node;
[0029] Among them, the resources include one or more of the following types: Internet service resources, other blockchain network resources, and distributed storage resources.
[0030] Furthermore, the off-chain management system uses biometric features to accurately identify users and control the user's permissions. The biometric features include one or more of the following features: face recognition, fingerprint recognition, and iris recognition.
[0031] Furthermore, the full life cycle information of the second-life battery is stored in the blockchain network using blockchain sharding technology, and the blockchain sharding technology includes dividing the blockchain network into at least two blockchain sub-networks, and the blockchain sub-network includes some of the blockchain nodes in the blockchain network.
[0032] The present application also provides a second-life battery traceability method based on a trusted execution environment, the method comprising the following steps:
[0033] Initiate a second-hand battery traceability application, the second-hand battery traceability application including the second-hand battery product unique identifier and the identity information of the initiator of the second-hand battery traceability application;
[0034] The identity information of the initiator is verified based on a trusted execution environment, and if the verification is passed, a smart contract is called, and the smart contract downloads at least part of the full life cycle information of the second-life battery in the blockchain network according to the product unique identifier of the second-life battery;
[0035] Among them, according to the different identity information of the initiator, the full life cycle information of the cascade battery is divided into different viewable ranges.
[0036] The secondary battery traceability system provided by this application solves the secondary battery traceability problem and ensures the safety of secondary batteries. In addition, this application divides the system into an on-chain part and an off-chain part, solving the problem that the on-chain smart contract cannot access the off-chain data when blockchain technology is applied to secondary battery traceability. This application proposes the concept of a trusted computing environment in the application field of secondary battery traceability, completes the management and control of information, and ensures the security of privacy information. Under the role of a trusted execution environment, while achieving relevant requirements for traceability, it can ensure that the output of merchants is kept confidential and ensure the security of merchants' privacy information. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 This is a schematic diagram of a second-life battery traceability system of the present application;
[0038] Figure 2 Create a partial smart contract flow chart on the chain based on the trusted execution environment for this application;
[0039] Figure 3 This application is based on the trusted execution environment to execute some smart contract flow charts on the chain;
[0040] Figure 4 This is the flow chart for uploading information of the second-hand battery production process to the chain for this application;
[0041] Figure 5 This is a flow chart of the second-life battery traceability method based on a trusted execution environment for this application. DETAILED DESCRIPTION
[0042] The present invention will be described in detail below in conjunction with the specific embodiments shown in the accompanying drawings, but these embodiments do not limit the present invention. Structural, methodological, or functional changes made by ordinary technicians in the field based on these embodiments are all included in the protection scope of the present invention.
[0043] like Figure 1 As shown, the present application provides a second-life battery traceability system based on a trusted execution environment, including:
[0044] Blockchain nodes are used to manage the full life cycle information of second-life batteries.
[0045] The off-chain management system is used to store the full life cycle information of the second-life battery and upload the full life cycle information to the blockchain node.
[0046] The blockchain connection module is used to connect blockchain nodes and off-chain management systems. The blockchain connection module is configured and assembled in a trusted execution environment.
[0047] Among them, the blockchain node executes some smart contracts on the chain, and the blockchain connection module executes a series of off-chain calculations on behalf of some smart contracts on the chain, including helping some smart contracts on the chain to obtain at least part of the information of the entire life cycle of the cascade battery.
[0048] As an optional implementation method, a trusted execution environment is established based on hardware, including using a security chip as an internal support system to distinguish between trusted applications and untrusted applications, and protecting the privacy of at least part of the full life cycle information of the second-life battery based on the trusted execution environment. The privacy protection includes creating some smart contracts on the chain based on the trusted execution environment, and / or executing some smart contracts on the chain based on the trusted execution environment.
[0049] A Trusted Execution Environment (TEE) is a trusted environment within the hardware, where the hardware may refer to one or more processors and memories, and the Trusted Execution Environment is isolated from the hardware's operating environment (e.g., operating system OS, basic input / output system BIOS). Specifically, the Trusted Execution Environment is a separate secure area of the processor that ensures the confidentiality and integrity of the execution code and data loaded in the main processor. In the processor, the Trusted Execution Environment runs in an independent environment and runs in parallel with the operating system. Trusted applications running in the Trusted Execution Environment can access all functions of the device's main processor and memory, while hardware isolation protects these components from being affected by applications running in the operating system, that is, the code and data running in the Trusted Execution Environment are confidential and cannot be tampered with.
[0050] The trusted execution environment is inherently immune to network attacks, malicious computing and destruction. The application of the trusted execution environment greatly improves the security and reliability of privacy protection in blockchain technology. As an optional implementation method, the trusted execution environment can be created based on hardware and using Open-Platform. This application separates trusted applications from actual applications through the trusted execution environment and builds a rich execution environment (REE). Use security chips as the intrinsic support system, for example, ARM's TrustZone and RISC-V's Multi Zone.
[0051] In a trusted execution environment, SM (Secure Monitor Call) is called to distinguish between trusted and untrusted applications, operating systems, and peripheral devices to protect facilities and data assets.
[0052] like Figure 2As shown in the figure, as an optional implementation method, creating a partial smart contract on the chain based on a trusted execution environment includes the following steps:
[0053] Create a smart contract through the off-chain management system, send the smart contract code to the blockchain connection module, and the blockchain connection module loads the smart contract into the trusted execution environment and instantiates the smart contract code;
[0054] The trusted execution environment assigns an ID to the smart contract, generates a public-private key pair, and a temporary key. The temporary key is used to encrypt the necessary data output and return value during the execution process and obtain the encrypted initial state data.
[0055] The blockchain connection module sends the smart contract code, public key and encrypted initial state data to the blockchain node, and after verification, records the encrypted initial state data and public key to the blockchain network.
[0056] like Figure 3 As shown in the figure, as an optional implementation method, executing some smart contracts on the chain based on the trusted execution environment includes the following steps:
[0057] Call smart contracts through the off-chain management system and construct the input items required to execute the smart contracts;
[0058] Obtain the public key of the smart contract through the blockchain node, encrypt the input items using the public key, and package the smart contract ID and the encrypted input items and send them to the blockchain connection module;
[0059] The blockchain connection module obtains the code of the smart contract and the encrypted current state of the smart contract from the blockchain node according to the ID of the smart contract, and loads the encrypted input items and the encrypted current state of the smart contract into the trusted execution environment for calculation;
[0060] In a trusted execution environment, the input items and the current state of the smart contract are decrypted based on the private key and the temporary key. After decryption, the smart contract is executed and a proof is generated to verify the execution of the smart contract. The proof is sent to the blockchain node and verified through the consensus mechanism. After verification, the result of the smart contract execution is returned to the off-chain management system.
[0061] Process management, development content management and joint promotion of project partners during the construction of the secondary center is a process of building a system and application system for secondary battery traceability. The secondary battery traceability system provided in this application provides various production process controls such as incoming materials, process settings, personnel arrangements, and work arrangements in the application of Industrial Internet 4.0 in the secondary center. In the production of secondary batteries, Internet charging and discharging equipment is used to perform key value-added processing on the battery. In a series of process control processes such as measuring capacity management and reassembling battery packs and factory operations, these processes and the large amount of battery data and process data records generated by the processes can be uploaded to a specific blockchain node as part of the full life cycle information of the secondary battery.
[0062] As an optional implementation method, the information of the whole life cycle of the second-life battery may include one or more of the following information: second-life battery production information, second-life battery assembly information, second-life battery sales information, second-life battery maintenance information, second-life battery scrapping information, and second-life battery logistics information. The following will describe each type of information in detail.
[0063] like Figure 4 As shown, as an optional implementation method, the information of the second-hand battery production process is collected and saved in the off-chain management system, and at least part of the collected second-hand battery production process information is uploaded to the blockchain node through the blockchain connection module, including the following steps:
[0064] Retired power batteries, as the raw materials of second-life batteries, are marked. The marking includes attaching a unique identifier to the retired power batteries, entering the unique identifier into the off-chain management system and uploading it to the blockchain node.
[0065] Retired power batteries are cleaned, tested, classified, and processed to obtain second-hand batteries. The test includes measuring one or more of the following data: remaining power, battery capacity, and battery life of the retired power batteries. Based on the test results, the retired power batteries are classified into the second-hand utilization scenarios that they can enter and processed according to the second-hand utilization scenarios.
[0066] Add a unique product identifier to the second-life battery, enter the unique product identifier into the off-chain management system and upload it to the blockchain node.
[0067] The second-life batteries are tested, including measuring one or more of the following data: the remaining power of the second-life batteries, the battery capacity, the battery life, and the continuous recording of the charge and discharge data during the battery manufacturing process. The data obtained from the test is entered into the off-chain management system and uploaded to the blockchain node.
[0068] The information of the second-life battery production process can also include material input information, transaction records, etc. This information may involve commercial privacy. If this information is simply uploaded to the blockchain in plain text, it may cause huge losses to the merchants. However, if the access rights are limited to the merchants themselves, it will not be able to protect the rights and interests of consumers. At the same time, it will bring unnecessary communication costs to the cooperation between enterprises and cause waste of resources. Therefore, the content involving sensitive information in the whole life cycle information of the second-life battery will not appear in any plain text form in the TEE external environment, including non-secure memory, external storage, network transmission and other links.
[0069] The information of the second-stage battery assembly process may refer to the collection and management of battery information to be assembled by the manufacturer, and uploading the production enterprise information, transaction information, battery source and status, and assembly vehicle number to the blockchain node.
[0070] The information of the second-hand battery sales process can refer to the dealer recording the entity of the enterprise, the source and quantity of the batteries, the transaction status and storage status, product quality and special commodity information during the battery circulation process, and uploading this information to the blockchain node.
[0071] The information of the second-stage battery maintenance process may refer to the battery repair company registering the main body of the battery repair company through information management and collection, registering the battery's source entering the factory, maintenance items, and battery status after maintenance, registering the source and flow of the battery, saving transaction data and uploading the above data to the blockchain node.
[0072] The information on the scrapping of batteries in a cascade may refer to the fact that after a battery scrapping processing company obtains the scrapped batteries, it registers the corporate entity, the source of the scrapped batteries, the scrapping process, the flow of scrapped battery recycling materials, and saves transaction records, and uploads the above data to the blockchain node.
[0073] The information of the second-stage battery logistics process can refer to the registration of the logistics enterprise entity, the collection and recording of warehousing information, outbound information, transportation information, delivery information and uploading it to the blockchain node.
[0074] The second-life battery traceability system provided in this application is a distributed network application. The second-life battery traceability system is built into the On-Chain part on the blockchain and the Off-Chain part off the chain. The Blockchain Oracle network is the connecting part between the two, thus forming a distributed network of the second-life battery traceability system. As an optional implementation method, a distributed connection system DON (Distributed Oracle Network) can be used to connect the on-chain part and the off-chain part of the second-life battery traceability system provided in this application.
[0075] As an optional implementation, the blockchain connection module includes a distributed connection system DON, which provides at least two parts of operating functions, including connecting blockchain nodes to resources under the chain and monitoring transactions executed by blockchain nodes. Among them, resources include one or more of the following types: Internet service resources, other blockchain network resources, and distributed storage resources.
[0076] The blockchain connection module provided by this application is a comprehensive technology platform that provides trusted device control, encryption system applications, data processing and information distribution. This application integrates off-chain information through the blockchain connection module and then uploads it to the blockchain network, so that the cascade battery traceability system as a whole consists of two parts, the on-chain and off-chain parts of the blockchain network. Blockchain Oracle can be used off-chain to solve problems such as privacy, confidentiality, scalability, abstraction of complexity, and trust minimization.
[0077] As an optional implementation method, the off-chain management system uses biometrics to accurately identify users and control their permissions. Biometrics include one or more of the following features: face recognition, fingerprint recognition, and iris recognition.
[0078] In some smart contracts on the trusted chain and the off-chain management system, hybrid smart contracts are used to complete the tamper-proof recording of blockchain tokens and the storage, safe use, and encrypted use of off-chain data. In the traceability of second-life batteries, a series of hybrid smart contracts are developed to create and run to complete the traceability of the entire life cycle information of second-life batteries.
[0079] Among them, hybrid smart contracts refer to contracts based on digital blockchains, which solve the problem that on-chain smart contracts cannot access off-chain data. Usually, hybrid smart contracts use oracle networks to provide links between cross-blockchains or on-chain and off-chain data. Hybrid smart contracts involve the establishment of consensus algorithms on blockchains, data encryption, and data usage rights regulations, and solve the problems of collection, storage, and high-quality control of big data of cascade batteries in the off-chain part. Hybrid smart contracts can also solve privacy and trust issues, and realize user-queryable data and multiple flexible query modes for distributed applications.
[0080] As an optional implementation method, the full life cycle information of the second-life battery is stored in the blockchain network using blockchain sharding technology. The blockchain sharding technology includes dividing the blockchain network into at least two blockchain sub-networks, and the blockchain sub-network includes some blockchain nodes in the blockchain network.
[0081] The specific manifestation of sharding technology applied to blockchain networks is to divide a blockchain network with many nodes into several sub-networks, each of which contains a part of nodes, namely shards. Transactions in the blockchain network will be divided into different shards for processing, so that each node only needs to process a small part of the incoming transactions, and different nodes can process transactions in parallel, so that the cascade battery traceability system provided by this application can further increase the concurrency of transaction processing and verification, and improve the throughput of the overall blockchain network.
[0082] Furthermore, sharding technology can be divided into network sharding, transaction sharding, and state sharding according to different sharding mechanisms. Network sharding refers to dividing the blockchain network into multiple sub-networks. Transaction sharding refers to allocating transactions to different shards based on the specific attributes of the transaction on the basis of network sharding. State sharding refers to separating the entire storage area so that different shards store different parts. Each node is only responsible for hosting its own shard data instead of storing the complete blockchain state. State sharding can reduce redundant state storage, making the entire blockchain network have storage scalability.
[0083] like Figure 5 As shown, the present application also provides a second-life battery traceability method based on a trusted execution environment, comprising the following steps:
[0084] Initiate a second-life battery traceability application, which includes the unique product identifier of the second-life battery and the identity information of the initiator of the second-life battery traceability application;
[0085] The initiator's identity information is verified based on the trusted execution environment. If the verification is passed, the smart contract is called. The smart contract downloads at least part of the full life cycle information of the second-life battery in the blockchain network according to the unique product identifier of the second-life battery;
[0086] Among them, the information of the whole life cycle of the echelon battery is divided into different viewable ranges according to the identity information of the initiator. This is because for different initiators of the echelon battery traceability application, the target information concerned when conducting echelon battery traceability may be different. In addition, the method of dividing the information of the whole life cycle of the echelon battery into different viewable ranges can meet the user's demand for battery traceability while ensuring the security of sensitive information involving privacy.
[0087] As an optional implementation method, when initiating an application for traceability of used batteries, you can also query through one or more of the following methods, including: querying the user's service contract ID, querying a specific user ID, querying the unique product identifier of the used battery, and querying through a combination of the above query methods.
[0088] The second-life battery traceability system provided by this application solves the problem of second-life battery traceability and has good resistance to network fraud and hacker attacks. The system provided by this application is based on a trusted execution environment, and the files and records output by the system are authentic, safe, reliable, and authoritative.
[0089] The above disclosure is only the preferred embodiment of the present invention, but it is not used to limit the scope of rights of the present invention. Ordinary technicians in this field can understand that without departing from the spirit and scope of the present invention and the attached claims, changes, modifications, substitutions, combinations, and simplifications should all be equivalent replacement methods and still fall within the scope of the invention.
Claims
1. A second-life battery traceability system based on a trusted execution environment, characterized in that: include: A blockchain node, used to manage the full life cycle information of the second-life battery; An off-chain management system, used to store the full life cycle information of the second-life battery and upload the full life cycle information to the blockchain node; A blockchain connection module, used to connect the blockchain node and the off-chain management system, and the blockchain connection module is configured and assembled in a trusted execution environment; The blockchain node executes part of the smart contract on the chain, and the blockchain connection module performs a series of off-chain calculations on behalf of the part of the smart contract on the chain, including helping the part of the smart contract on the chain to obtain at least part of the full life cycle information of the cascade battery; Based on the trusted execution environment, privacy protection is performed on at least part of the full life cycle information of the second-life battery, wherein the privacy protection includes creating a partial smart contract on the chain based on the trusted execution environment, and / or executing the partial smart contract on the chain based on the trusted execution environment; Creating the on-chain partial smart contract based on the trusted execution environment includes the following steps: Creating a smart contract through the off-chain management system, sending the code of the smart contract to the blockchain connection module, and the blockchain connection module loading the smart contract into the trusted execution environment and instantiating the smart contract code; The trusted execution environment allocates an ID for the smart contract, generates a public-private key pair, and a temporary key, wherein the temporary key is used to encrypt necessary data output and return values during the execution process and obtain encrypted initial state data; The blockchain connection module sends the smart contract code, the public key and the encrypted initial state data to the blockchain node, and after verification, records the encrypted initial state data and the public key to the blockchain network; Executing the on-chain smart contract based on the trusted execution environment includes the following steps: Calling the smart contract through the off-chain management system and constructing the input items required to execute the smart contract; Obtaining the public key of the smart contract through the blockchain node, encrypting the input item using the public key, and packaging the ID of the smart contract and the encrypted input item and sending them to the blockchain connection module; The blockchain connection module obtains the code of the smart contract and the encrypted current state of the smart contract from the blockchain node according to the ID of the smart contract, and loads the encrypted input item and the encrypted current state of the smart contract into the trusted execution environment for calculation; In the trusted execution environment, the input items and the current state of the smart contract are decrypted based on the private key and the temporary key. After decryption, the smart contract is executed and a certificate for verifying the execution of the smart contract is generated. The certificate is sent to the blockchain node, and the certificate is verified through a consensus mechanism. After the verification is passed, the result of executing the smart contract is returned to the off-chain management system.
2. The second-life battery traceability system based on a trusted execution environment according to claim 1 is characterized in that: The information on the entire life cycle of the second-hand battery includes one or more of the following information: information on the production link of the second-hand battery, information on the assembly link of the second-hand battery, information on the sales link of the second-hand battery, information on the maintenance link of the second-hand battery, information on the scrapping link of the second-hand battery, and information on the logistics link of the second-hand battery.
3. The second-life battery traceability system based on a trusted execution environment according to claim 2 is characterized in that: Collecting the second-hand battery production process information and saving it to the off-chain management system, and uploading at least part of the collected second-hand battery production process information to the blockchain node through the blockchain connection module, including the following steps: Retired power batteries are used as raw materials for the second-life batteries, and the retired power batteries are marked. The marking includes adding a unique identifier to the retired power batteries, entering the unique identifier into the off-chain management system and uploading it to the blockchain node; Cleaning, testing, classifying, and processing the retired power batteries to obtain second-hand batteries, wherein the testing includes measuring one or more of the following data: the remaining power, battery capacity, and battery life of the retired power batteries; and classifying the second-hand utilization scenarios that the retired power batteries can enter according to the test results and processing them according to the second-hand utilization scenarios; Add a unique product identifier to the second-life battery, enter the unique product identifier into the off-chain management system and upload it to the blockchain node; The second-life battery is tested, and the test includes measuring one or more of the following data: the remaining power of the second-life battery, the battery capacity, the battery life, and the continuous recording of the charge and discharge data during the battery production process, and the data obtained from the test is entered into the off-chain management system and uploaded to the blockchain node.
4. The second-life battery traceability system based on a trusted execution environment according to claim 1 is characterized in that: The blockchain connection module includes a distributed connection system DON, which provides at least two parts of operating functions, including connecting the blockchain node to resources under the chain and monitoring the transactions executed by the blockchain node; Among them, the resources include one or more of the following types: Internet service resources, other blockchain network resources, and distributed storage resources.
5. The second-life battery traceability system based on a trusted execution environment according to claim 4 is characterized in that: The off-chain management system uses biometric features to accurately identify users and control the user's permissions. The biometric features include one or more of the following features: face recognition, fingerprint recognition, and iris recognition.
6. The second-life battery traceability system based on a trusted execution environment according to claim 5 is characterized in that: The full life cycle information of the second-life battery is stored in the blockchain network using blockchain sharding technology. The blockchain sharding technology includes dividing the blockchain network into at least two blockchain sub-networks, and the blockchain sub-network includes some of the blockchain nodes in the blockchain network.
7. A second-life battery traceability method based on a trusted execution environment, characterized in that: The method is applied to the second-life battery traceability system based on a trusted execution environment as described in any one of claims 1 to 6, and the method comprises the following steps: Initiate a second-hand battery traceability application, the second-hand battery traceability application including the second-hand battery product unique identifier and the identity information of the initiator of the second-hand battery traceability application; The identity information of the initiator is verified based on a trusted execution environment, and if the verification is passed, a smart contract is called, and the smart contract downloads at least part of the full life cycle information of the second-life battery in the blockchain network according to the product unique identifier of the second-life battery; Among them, according to the different identity information of the initiator, the full life cycle information of the cascade battery is divided into different viewable ranges.
Citation Information
Patent Citations
Blockchain technology-base agricultural product traceability method
CN107909372A
A traceability method of power battery cascade utilization based on block chain technology and a system thereof
CN109165530A
Method, system and node for realizing privacy protection in block chain
CN110032883A
Digital asset management and control method for retired power batteries
CN112801318A
Cited By
Blockchain-based electric vehicle life cycle traceability management method and system
CN122694416A
