WEEE recovery data management method based on HIBE and block chain

By adopting HIBE and blockchain technology in the WEEE recycling system, the problem of poor data tampering and traceability in the traditional data management model is solved, data security management and transparency are achieved, and the system's credibility and efficiency are improved.

CN119150324APending Publication Date: 2024-12-17QINGDAO UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411297651.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-18
Publication Date
2024-12-17

AI Technical Summary

Technical Problem

The traditional centralized data management model is susceptible to data tampering and information loss in WEEE recycling system, and the data traceability and integration are poor, affecting the system's credibility and efficiency.

Method used

Using WEEE data recycling management method based on HIBE and blockchain, a platform for public parameters and encrypted data is built through the blockchain network, and a public-private key pair is generated using the key management center. The data owner encrypts the data, the data accessor decrypts it, and uses it. Hyperledger Fabric's blockchain infrastructure is used for data storage and management.

Benefits of technology

It realizes data security management, ensures data privacy and transparency, improves the credibility and credibility of the system, promotes information sharing and collaboration among all parties, and improves the efficiency and resource utilization of the recycling system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119150324A_ABST
    Figure CN119150324A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of WEEE recovery data management, and particularly relates to a WEEE recovery data management method based on HIBE and a block chain. A block chain network is adopted to build a WEEE recovery data management platform for storing public parameters and encrypted data, a key management center is loaded on the WEEE recovery data management platform, and the key management center is responsible for generating a master key and distributing public and private key pairs by adopting an identity-based hierarchical encryption key management scheme. And the data owning party encrypts the data by using the public key of the opposite party, and the data access party decrypts the data by using the private key of the data access party. Compared with the prior art, the method has the beneficial effects that an innovative scheme based on HIBE and block chain technologies is used in the WEEE recovery system, privacy protection of data and transparency of a process are combined, efficient data sharing is realized on the premise of ensuring security, and the sharing mechanism not only promotes cooperation among all parties, but also improves the security of the system. And the efficiency of the whole recovery system is also improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of WEEE recycling data management, and specifically relates to a WEEE recycling data management method based on HIBE and blockchain. Background Art

[0002] In the WEEE (waste electrical and electronic equipment) recycling system, it is crucial to ensure the transparency and effective supervision of the entire process. With the rapid replacement of electronic products, the amount of waste electrical and electronic equipment generated is increasing. How to recycle them efficiently and environmentally friendly has become an important challenge facing the world. To this end, the Global Recycling Standard (GRS) was introduced as a certification system to regulate and standardize the WEEE recycling process. GRS improves the quality and efficiency of waste treatment through traceability and strict control of recycled materials, ensuring that all links meet the requirements of environmental protection and social responsibility.

[0003] However, the traditional centralized data management model has exposed many problems in this process, which seriously affects the credibility of the system and the traceability of data. First, the centralized data management model is vulnerable to data tampering and information loss. In this model, all data is stored on a central server, which makes it difficult to trace the data to the source once it is tampered with. In addition, the failure of the central server or data leakage may also lead to the loss of a large amount of information, causing immeasurable losses to all parties involved. This not only affects the efficiency of the recycling process, but also reduces the trust of all parties in the system. Secondly, in the traditional model, since the data is scattered in different systems, the integration and traceability of information becomes extremely difficult. The manual docking method between multiple information systems often leads to the generation of information islands. The participants (such as regulatory authorities, certification agencies, recycling companies, dismantling companies, remanufacturing companies, logistics companies and consumers) record and manage data on different platforms, resulting in inconsistent and incomplete information. This situation not only affects the accuracy of the data, but also makes it difficult for all parties to collaborate and communicate effectively when encountering problems, further reducing the efficiency of the recycling system. Summary of the invention

[0004] In order to solve the problems existing in the prior art, the present invention provides a WEEE recycling data management method based on HIBE and blockchain to solve the above technical problems and realize data security management.

[0005] The technical solution adopted by the present invention to solve the technical problem is as follows: a WEEE recycling data management method based on HIBE and blockchain, comprising: using a blockchain network to build a WEEE recycling data management platform for storing public parameters and encrypted data,

[0006] The WEEE recycling data management platform is loaded with a key management center, which uses an identity-based hierarchical encryption key management solution to generate master keys and distribute public and private key pairs.

[0007] The data owner uses the other party's public key to encrypt the data, and the data access party uses its own private key to decrypt the data.

[0008] Preferably, the WEEE recycling data management platform is established based on the blockchain infrastructure of Hyperledger Fabric. On Fabric, a dedicated blockchain network is deployed to manage various types of WEEE recycling data. The network is jointly maintained by multiple organization nodes. Each organization will run a Fabric node and connect to each other through an alliance.

[0009] Preferably, Fabric's ledger mechanism is used to persistently store WEEE product information, recycling records, transaction history and other data.

[0010] Preferably, the method comprises the following steps:

[0011] S1. System initialization. The initialized system has a support environment for generating public parameters, key management, data encryption and data decryption.

[0012] S2: Generate public parameters. The main institution calls the GenerateParams method through the smart contract to generate the master key and the corresponding public parameters. The generated public parameters are published on the blockchain network.

[0013] S3. Obtaining public and private key pairs. Participants obtain their own public and private key pairs through application, and upload the public key to the blockchain network.

[0014] S4, data encryption: the data owner uses the public key of the data recipient to encrypt the data, and the encrypted data is stored in the blockchain network.

[0015] S5. Data decryption: The data recipient uses his or her own private key to download and decrypt the data from the blockchain network.

[0016] Preferably, in step S1, a Hyperledger Fabric development environment is installed, including Fabric tools, Docker and Go language; a Fabric network is created, including at least one organization and one Peer node; in Hyperledger Fabric, smart contracts are used to manage a decentralized identity-based hierarchical encryption key management solution.

[0017] Preferably, the identity-based hierarchical encryption key management scheme is performed according to the identity hierarchy of the tree-like distribution structure, which is the highest layer, the middle layer, the primary layer and the user terminal layer in sequence.

[0018] Preferably, relatively upper-level participants can generate private keys for relatively lower-level participants and grant them corresponding access rights.

[0019] Preferably, a relatively lower-level participant can apply for a public-private key pair from a relatively upper-level participant.

[0020] Preferably, the highest level is a trusted main organization, the middle level is a recycling company, a dismantling company and / or a remanufacturing company, the primary level is a logistics company, and the user terminal level is a consumer.

[0021] Preferably, in step S3, a public-private key pair is generated based on relevant public parameters and corresponding identity information of the applicant.

[0022] Compared with the prior art, the present invention has the following beneficial effects:

[0023] 1. A HIBE-based key management solution is adopted, and HIBE technology is used to perform hierarchical encryption management on sensitive data involved in the WEEE recycling process. This hierarchical encryption management method effectively overcomes the privacy leakage risks brought by the openness and transparency of blockchain, ensuring the data privacy and security of all parties.

[0024] 2. Generate public and private key pairs based on the identity information of participants through HIBE technology, thereby achieving refined control of data, which can effectively overcome the privacy leakage risks brought by the openness and transparency of blockchain.

[0025] 3. The data of all participants can be recorded and stored on the blockchain, and any modification to the data will be permanently recorded. This application uses the decentralized and tamper-proof characteristics of the blockchain to establish transparency and traceability of the entire WEEE recycling process, enhance the credibility and trustworthiness of the entire system, and ensure the security of data of all parties.

[0026] 4. Through the blockchain network, all participants can share data securely to ensure the consistency and integrity of information. This sharing mechanism not only promotes cooperation among all parties, but also improves the efficiency of the entire recycling system.

[0027] 5. Through the blockchain network, all participants can obtain updated information in real time during the data interaction process, thereby optimizing decision-making and operation processes, promoting effective collaboration among all parties involved, and making important contributions to resource recycling.

[0028] 6. Through blockchain technology, regulatory authorities can monitor various data in the recycling process in real time, and promptly detect and handle abnormal situations. This transparent regulatory mechanism helps to enhance public trust in the WEEE recycling system and encourage more consumers to participate in recycling activities.

[0029] In summary, the core of the innovative solution based on HIBE and blockchain technology in this application is to combine data privacy protection with process transparency to ensure efficient data sharing under the premise of security. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 The key management flow chart for identity-based hierarchical encryption is shown in Figure 1.

[0031] Figure 2 This is a tree-like distribution diagram of the identity hierarchy in the identity-based hierarchical encryption key management scheme. DETAILED DESCRIPTION

[0032] In order to facilitate the understanding of the present invention, the present invention is described in more detail below in conjunction with the accompanying drawings and specific embodiments. However, the present invention can be implemented in many different forms and is not limited to the embodiments described in this specification. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present invention more thorough and comprehensive.

[0033] The management method architecture setting includes three components: the first is the blockchain network, which is used to store public parameters and encrypted data. The decentralized nature of the blockchain ensures that the data cannot be tampered with, thereby providing a high degree of security and data integrity, and ensuring that participants can trust the information stored in the network; the second is the key management center, which is headed by a trusted main institution, which can be a regulatory department or a certification agency. The center is responsible for generating master keys and distributing public and private key pairs to ensure that the key management process of the entire system is safe and effective. This mechanism provides the necessary encryption foundation for each participant and ensures the security of data during transmission and storage; the third is the terminal of each participant, which is used to perform data encryption and decryption operations and interact with the blockchain. Through these terminals, each participant can securely transmit and access data to ensure the confidentiality and reliability of information.

[0034] The blockchain infrastructure is based on Hyperledger Fabric, which is an enterprise-level permissioned blockchain platform. On Fabric, a dedicated blockchain network is deployed to manage various types of WEEE recycling data. The network is jointly maintained by multiple organizational nodes. Each organization will run a Fabric node and connect to each other through an alliance. In this decentralized key management mechanism, the key management function is dispersed throughout the Fabric network, and multiple organizational nodes participate in the generation and management of keys, which can improve the reliability of HIBE key management. On the Fabric network, key functions such as data storage, access control and transaction records are realized. Using Fabric's ledger mechanism, data such as WEEE product information, recycling records, and transaction history are persistently stored to form an audit trail that cannot be tampered with. At the same time, identity-based hierarchical encryption technology is introduced, that is, an identity-based hierarchical encryption key management scheme to achieve hierarchical access control for different participants.

[0035] The identity-based hierarchical encryption key management solution uses HIBE technology to perform hierarchical encryption management on sensitive data involved in the WEEE recycling process. HIBE technology allows the generation of public and private key pairs based on the identity information of the participants, thereby achieving refined control of the data. For example, consumers' personal information and corporate trade secrets can be protected by encryption algorithms, and only authorized participants can decrypt and access these data. This hierarchical encryption management method effectively overcomes the privacy leakage risks brought about by the openness and transparency of blockchain, ensuring the data privacy and security of all parties.

[0036] The identity-based hierarchical encryption key management scheme is based on the identity hierarchy of the tree-like distribution structure, which is the top layer, middle layer, primary layer and user terminal layer. Figure 2It is understood that there is at least one participant with a relevant role in each level, usually multiple. For simplicity, the figures 1, 2, 3, etc. in the figure represent the same or similar roles, indicating that there may be multiple similar participants at the same level, such as multiple recycling companies, multiple dismantling companies, and multiple manufacturing companies in the middle level. In the decentralized WEEE recycling platform, the main organization is responsible for generating master keys and public parameters to ensure system security and compliance. The regulatory department or certification body, as the highest level of the system, is responsible for supervising and managing the entire WEEE recycling process, responsible for GRS certification, and applying for public and private key pairs to ensure the transparency and security of the certification process; the middle-level participants include recycling companies, dismantling companies, and remanufacturing companies, which are responsible for managing recycling and processing data, and interacting with certification agencies and logistics companies for data; logistics companies, as the primary level, are responsible for the transportation of goods and ensuring the security of logistics data; consumers, as end users, access and decrypt product-related data. Participants at the highest level can generate private keys for participants at the lower level and grant them corresponding access rights. Participants at the lower level can also generate private keys for users at lower levels to control their access scope. This hierarchical authorization approach ensures that upper-level participants can view lower-level data to oversee the entire WEEE recycling process, while also effectively protecting the data privacy of lower-level participants.

[0037] refer to Figure 1 Understand,key management flow chart for identity-based hierarchical encryption.

[0038] S1, system initialization,

[0039] Install the Hyperledger Fabric development environment, including Fabric tools, Docker, and Go language. Create a Fabric network, including at least one organization and one Peer node. In Hyperledger Fabric, smart contracts are used to manage decentralized identity-based hierarchical encryption key management solutions.

[0040] First, create a new chaincode file, such as key_management_chaincode.go, and define the chaincode structure. The chaincode will contain the following main functions:

[0041] Generate public parameters: called by the regulatory department to generate and store public parameters, such as the master key and other related information.

[0042] Key management: Implement the logic of participants applying for public and private key pairs, generate and store public and private key pairs based on public parameters and identity information, and upload public keys to the blockchain network.

[0043] Data encryption: allows the data owner to encrypt the data using the recipient’s public key and store the encrypted data on the blockchain.

[0044] Data decryption: Allows data access parties to decrypt data stored on the blockchain using their own private keys.

[0045] S2. The main institution generates a master key and public parameters. The main institution generates a public key and a private key based on the identity information of the participants and publishes the public parameters to the blockchain network.

[0046] The main institution generates the master key and corresponding public parameters by calling the GenerateParams method through the smart contract. These public parameters include information such as the master key and its derived public key to ensure that they can be used safely throughout the system. The generated public parameters will be stored on the blockchain to ensure that all participants can access and verify them to enhance transparency, improve the security of the system, and avoid data tampering and improper use. By recording these parameters in the blockchain, participants can query and verify their validity at any time, thereby ensuring that in the subsequent key generation and data encryption process, all operations are based on a trusted infrastructure.

[0047] S3. Obtaining public-private key pairs. Participants obtain their own public-private key pairs by applying. The public keys are uploaded to the blockchain network. In the key distribution phase, each participant applies for their own public-private key pairs through smart contracts to ensure that data encryption and decryption can be performed securely and effectively throughout the system.

[0048] The main institution applies for a public-private key pair: The main institution first calls the RequestKeyPairAuthority method in the smart contract. This method receives "Authority" as identity information and calculates the public and private keys based on this information. Specifically, the smart contract uses a secure hash function to generate the public key pk_Authority and generates the private key sk_Authority through the master key. After the calculation is completed, the smart contract stores this pair of keys on the blockchain to ensure its transparency and traceability.

[0049] Recycling company applies for public-private key pair: The recycling company then applies for the public-private key pair by calling the RequestKeyPairRecycler method. The smart contract receives its identity information "Recycler" and calculates the recycling company's public key pk_Recycle and private key sk_Recycler based on the public key of the main organization. After these keys are calculated, they will be securely stored on the blockchain, making it convenient for other participants to interact securely with the recycling company through the public key.

[0050] Dismantling enterprise applies for public-private key pair: Dismantling enterprise calls RequestKeyPairDismantler method and provides its identity information "Dismantler". Smart contract calculates public key pk_Dismantler and private key sk_Dismantler based on the public key of the main institution and the identity information of the dismantling enterprise. Similarly, this pair of keys will be securely stored on the blockchain to ensure the security of subsequent data interaction.

[0051] Remanufacturing company applies for a public-private key pair: The remanufacturing company applies for a public-private key pair from the smart contract through the RequestKeyPairRemanufacturer method. The identity information "Remanufacturer" is passed in, and the smart contract calculates the public key pk_Remanufacturer and private key sk_Remanufacturer of the remanufacturing company based on the public key of the main organization. This pair of keys will also be stored on the blockchain to ensure the security of data encryption and decryption and system transparency.

[0052] The logistics company applies for a public-private key pair: The logistics company calls the RequestKeyPairLogistics method and passes in the identity information "Logistics". The smart contract will use the public key of the recycling company, dismantling company, or remanufacturing company to calculate the public key pk_Logistics and private key sk_Logistics of the logistics company, and store these keys in the blockchain.

[0053] Consumers apply for public-private key pairs: Finally, consumers apply for public-private key pairs through the RequestKeyPairConsumer method, passing in the identity information "Consumer". The smart contract calculates the public key pk_Consumer and private key sk_Consumer based on the public key pk_Logistics of the logistics company and the identity information of the consumer, and stores this pair of keys on the blockchain.

[0054] Through this hierarchical key distribution mechanism, the public and private keys of all participants are securely stored on the blockchain, ensuring the transparency and security of information. When participants need to access other parties' data, they can directly query the other party's public key without having to apply to the main institution again, thereby improving the flexibility and operability of the system.

[0055] S4. The data owner uses the other party's public key to encrypt the data, and the encrypted data is stored in the blockchain network. During the data encryption process, data owners such as recycling companies, dismantling companies, remanufacturing companies and logistics companies need to use the public key of the data recipient to encrypt the data to ensure the security of the data during transmission and storage. The data recipients are authoritative agencies, certification agencies, recycling companies, dismantling companies, remanufacturing companies, logistics companies and consumers. The data owner calls the EncryptData method through the smart contract and passes in the public key of the data recipient and the data to be encrypted. This method first verifies the identity of the caller and ensures that it has the right to perform encryption operations. The smart contract queries the recipient's public key pkID from the blockchain. Because the data owner needs to ensure that the latest public key is used to prevent security vulnerabilities. Using the public key of the data recipient, the smart contract performs encryption operations. The encrypted data usually contains encrypted content, timestamps and other necessary information for decryption. After encryption is completed, the smart contract stores the encrypted data Enc(pkID, data, T) in the distributed storage system of the blockchain. This process ensures the security and integrity of the data, because the characteristics of the blockchain make the stored data tamper-proof and traceable. After successfully storing the encrypted data, the smart contract will return the operation results to the data owner to confirm that the data has been successfully encrypted and stored.

[0056] Through this process, data owners can securely store encrypted data on the blockchain, ensuring that only recipients with the corresponding private key can decrypt and access the original data, which not only protects data privacy but also improves the security of data in the entire WEEE recycling management system.

[0057] S5. The data access party uses its own private key to download and decrypt the data from the blockchain network. The data access party with the private key corresponding to the public key mentioned in step S4 can decrypt and successfully receive the data, and is the data receiver.

[0058] During the data decryption process, the data access party needs to access the encrypted data stored on the blockchain. The data access party, such as the main organization, recycling company, dismantling company, remanufacturing company, logistics company or consumer, initiates a request and calls the DecryptData method through the smart contract. This method requires the data access party's identity information, such as "Authority" or "Recycler", and the unique identifier of the encrypted data, such as the data ID. The smart contract first verifies the identity of the caller. It checks whether the caller is registered in the system and confirms whether it has access to the corresponding encrypted data. This process usually involves checking whether the caller's public key matches the identity information to ensure the validity of the permission. Once the identity authentication is passed, the smart contract will query the corresponding encrypted data from the blockchain. The system will use the passed in data ID to retrieve the encrypted data record to ensure that the latest encrypted data Enc(pkID, data, T) is obtained. The smart contract will retrieve the corresponding private key skID from the blockchain based on the caller's identity information. This mainly involves obtaining the private key from the key pair stored on the chain and ensuring that the key is valid and has not been tampered with. Using the obtained private key, the smart contract will perform a decryption operation on the queried encrypted data. The decryption process will restore the original data. After the decryption is completed, the smart contract returns the original data to the data access party. At this point, the data access party can successfully access and view the required information. In order to improve transparency and traceability, the smart contract can record the log of this access after the decryption operation is completed. This log information may include the identity of the access party, the access time, and the data ID accessed.

[0059] By adopting a technical solution based on blockchain and HIBE key management, the present invention constructs a WEEE recycling data management system that comprehensively improves the security of WEEE recycling data, system transparency, resource utilization efficiency, and the level of collaboration among all participants. First, blockchain technology can effectively protect various sensitive data in the WEEE recycling process, greatly improving the security and credibility of the data; secondly, various types of WEEE-related transactions and operation information are recorded on the blockchain ledger to form an unalterable full-link audit tracking record, which enhances the transparency of WEEE recycling activities; thirdly, the blockchain-based system can achieve real-time tracking of recycling information and improve recycling efficiency. At the same time, it can also match the optimal recycling and reuse plan according to WEEE attributes, greatly improving resource utilization; finally, through the blockchain distributed ledger and smart contract technology, the automated coordination of the interests and responsibilities of all participants is achieved, effectively eliminating the trust barriers between the parties and enhancing the collaboration of the entire WEEE recycling ecosystem.

[0060] Example 1: A WEEE recycling data management method based on HIBE and blockchain, specifically comprising the following steps:

[0061] Step 1: The participants involved in the WEEE recycling platform mainly include the main institution, recycling enterprises, dismantling enterprises, remanufacturing enterprises, logistics companies and consumers. In order to ensure the security of the system and data privacy protection, the master key management agency generates the master key msk and public parameters params, and publishes them on the blockchain network so that all participants can access and verify them. The WEEE Recycling Management Center is a trusted main institution. The main institution generates the corresponding public key pkID and private key skID for the participant based on the identity information of the participant, such as the organization name, etc. Select the appropriate elliptic curve E and base point P to generate the master key msk = s∈Z_q, and generate the public parameters of the key params_key=sP, define a secure hash function H:{0,1}*→G1, map the identity information to the point on the curve, and define the timestamp function T:datetime→G1, map the timestamp to the point on the curve, and publish the public parameters params=(P, sP, H, T) to the blockchain network for all participants to use.

[0062] Step 2: Key distribution: In the key distribution stage, each participant applies for their own public and private key pairs through smart contracts. The applicant generates public key pkID and private key skID based on the relevant public parameters params and the corresponding applicant's identity information ID, distributes them to the corresponding applicant, and uploads the public key pkID to the blockchain network to ensure that data encryption and decryption can be performed safely and effectively throughout the system. When a participant needs to access the encrypted data of other parties, he can directly query the other party's public key information pkID without having to apply to the main institution.

[0063] (1) The authority directly applies for the public-private key pair as the main institution of the WEEE Management Center

[0064] The identity information of the authority is "Authority". The WEEE Recycling Management Center calculates the public key pk_Authority=H("Authority")*params_key and the private key sk_Authority=s*H("Authority") of the authority and sends pk_Authority and sk_Authority to the authority respectively;

[0065] (2) Recycling enterprise authority applies for public and private key pairs

[0066] The identity information of the recycling enterprise is "Recycler". The recycling enterprise needs to apply for a public-private key pair from the authority for interaction with the authority. The authority calculates the recycling enterprise's public key pk_Recycler_Gov=(H("Authority")+H("Recycler"))*params_key and private key sk_Recycler_Gov=sk_Authority*(H("Authority")+H("Recycler")) and sends pk_Recycler_Gov and sk_Recycler_Gov to the recycling enterprise respectively;

[0067] (3) Dismantling enterprises apply to the authority for public and private key pairs

[0068] The identity information of the dismantling enterprise is "Dismantler". The dismantling enterprise needs to apply for a pair of public and private key pairs from the authority for interaction with the authority. The authority calculates the public key pk_Dismantler_Gov=(H("Authority")+H("Dismantler"))*params_key and the private key sk_Dismantler_Gov=sk_Authority*(H("Authority")+H("Dismantler")) of the dismantling enterprise, and sends pk_Dismantler_Gov and sk_Dismantler_Gov to the dismantling enterprise respectively;

[0069] (4) The remanufacturing enterprise applies to the authority for a public-private key pair.

[0070] The identity information of the remanufacturer is "Remanufacturer". The remanufacturer needs to apply for a public-private key pair from the authority for interaction with the authority. The authority calculates the public key pk_Remanufacturer_Gov = (H("Authority")+H("Remanufacturer")) * params_key and the private key sk_Remanufacturer_Gov=sk_Authority*(H("Authority")+H("Remanufacturer")) of the remanufacturer, and sends pk_Remanufacturer_Gov and sk_Remanufacturer_Gov to the remanufacturer respectively.

[0071] (5) The logistics company applies for a public-private key pair from relevant enterprises, including recycling enterprises, dismantling enterprises and remanufacturing enterprises.

[0072] The identity information of the logistics company is "Logistics". If the recycling company applies for a public-private key pair, the recycling company calculates the public key of the logistics company as pk_Logistics=(H("Authority")+H("Recycler")+ H("Logistics"))*params_key and the private key sk_Logistics = sk_Recycler_Gov * (H("Authority")+H("Recycler")+H("Logistics")), and sends pk_Logistics and sk_Logistics to the logistics company respectively.

[0073] (6) Consumers apply for public-private key pairs from logistics companies

[0074] The consumer's identity information is "Consumer". The logistics company calculates the consumer's public key pk_Consumer = (H("Authority")+H("Recycler")+H("Logistics")+H("Consumer")*params_key. The logistics company calculates the consumer's private key sk_Consumer = sk_Logistics * (H("Authority") + H("Recycler")+H("Logistics")+H("Consumer")) and sends pk_Consumer and sk_Consumer to the consumer respectively.

[0075] Step 3: Data encryption process: Data owners such as recycling companies, dismantling companies, remanufacturing companies or logistics companies need to encrypt the data and store it on the blockchain network. The data is encrypted using the public key pkID of the data recipient, who includes certification agencies, recycling companies, dismantling companies, remanufacturing companies, logistics companies and consumers. The specific encryption process is Enc(pkID, data, T). Only users with the private key skID corresponding to pkID can decrypt the data. The encrypted data Enc(pkID, data, T) is stored in the distributed storage system on the blockchain network. The decentralization and tamper-proof characteristics of the blockchain can ensure the security and integrity of the data.

[0076] Step 4: Data decryption process: When data access parties need to access the data, they use their own private key skID to query and download the encrypted data Enc(pkID, data, T) from the blockchain network, and then use their own private key skID to decrypt the data: Dec(skID, Enc(pkID, data, T), T), so that they can successfully access and view the original content of the data. Data access parties include main institutions, recycling companies, dismantling companies, remanufacturing companies, logistics companies and consumers.

[0077] Embodiment 2: The difference from Embodiment 1 is that in step 2, the certification body acts as the main body of the WEEE management center.

[0078] (1) The certification body, as the main body of the WEEE Management Center, applies for a public-private key pair

[0079] The identity information of the certification body is "Certification". The WEEE Management Center calculates the public key pk_Certification = H("Certification") * params_key and the private key sk_Certification = s * H("Certification") of the certification body, and sends pk_Certification and sk_Certification to the certification body respectively.

[0080] (2) The recycling company applies to the certification body for a public-private key pair.

[0081] The identity information of the recycling enterprise is "Recycler", which is used for interaction with the certification body. The certification body calculates the public key pk_Recycler_Cert = (H("Certification")+H("Recycler")) * params_key and the private key sk_Recycler_Cert = sk_Certification * (H("Certification") + H("Recycler")) of the recycling enterprise, and sends pk_Recycler_Cert and sk_Recycler_Cert to the recycling enterprise respectively.

[0082] (3) The dismantling enterprise applies to the certification body for a public-private key pair

[0083] The identity information of the dismantling enterprise is "Dismantler". The dismantling enterprise applies for a pair of public and private key pairs from the certification authority for interaction with the certification authority. The certification authority calculates the public key pk_Dismantler_Cert = (H("Certification") + H("Dismantler")) * params_key and the private key sk_Dismantler_Cert = sk_Certification * (H("Certification") + H("Dismantler")) of the dismantling enterprise, and sends pk_Dismantler_Cert and sk_Dismantler_Cert to the dismantling enterprise respectively.

[0084] (4) The remanufacturing enterprise applies to the certification body for a public-private key pair.

[0085] The identity information of the remanufacturer is "Remanufacturer". The remanufacturer applies for a public-private key pair from the certification authority for interaction with the certification authority. The certification authority calculates the public key pk_Remanufacturer_Cert=(H("Certification")+H("Remanufacturer"))*params_key and the private key sk_Remanufacturer_Cert = sk_Certification * (H("Certification")+ H("Remanufacturer")) of the remanufacturer, and sends pk_Remanufacturer_Cert and sk_Remanufacturer_Cert to the remanufacturer respectively.

[0086] The logistics company and the consumer proceed as per Example 1.

[0087] In addition, in this embodiment, the authority as the data access party also needs to apply to the certification authority for a public-private key pair.

[0088] The identity information of the authority is "Authority". The certification authority calculates the public key pk_Authority_Cert=(H("Certification")+H("Authority"))*params_key and the private key sk_Authority_Cert=sk_Certification * (H("Certification")+H("Authority")) of the authority, and sends pk_Authority and sk_Authority to the authority respectively, so that it has access rights and is convenient for supervising and managing the entire WEEE recycling process. Through blockchain technology, regulatory authorities can monitor various data in the recycling process in real time, discover and handle abnormal situations in a timely manner. This transparent regulatory mechanism helps to enhance the public's trust in the WEEE recycling system and encourage more consumers to participate in recycling activities.

[0089] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

Claims

1. A WEEE recycling data management method based on HIBE and blockchain, characterized in that: include: The blockchain network is used to build a WEEE recycling data management platform that stores public parameters and encrypted data. The WEEE recycling data management platform is loaded with a key management center, which uses an identity-based hierarchical encryption key management solution to generate master keys and distribute public and private key pairs. The data owner uses the other party's public key to encrypt the data, and the data access party uses its own private key to decrypt the data.

2. The WEEE recycling data management method based on HIBE and blockchain as claimed in claim 1, characterized in that: The WEEE recycling data management platform is built on the blockchain infrastructure of Hyperledger Fabric. On Fabric, a dedicated blockchain network is deployed to manage various types of WEEE recycling data. The network is jointly maintained by multiple organizational nodes. Each organization will run a Fabric node and connect to each other through an alliance.

3. The WEEE recycling data management method based on HIBE and blockchain as claimed in claim 2, characterized in that: Utilize Fabric's ledger mechanism to persistently store WEEE product information, recycling records, transaction history and other data.

4. The WEEE recycling data management method based on HIBE and blockchain as claimed in claim 1, characterized in that: The steps include: S1. System initialization. The initialized system has a support environment for generating public parameters, key management, data encryption and data decryption. S2: Generate public parameters. The main institution calls the GenerateParams method through the smart contract to generate the master key and the corresponding public parameters. The generated public parameters are published on the blockchain network. S3. Obtaining public and private key pairs. Participants obtain their own public and private key pairs through application, and upload the public key to the blockchain network. S4, data encryption: the data owner uses the public key of the data recipient to encrypt the data, and the encrypted data is stored in the blockchain network. S5. Data decryption: The data recipient uses his or her own private key to download and decrypt the data from the blockchain network.

5. The WEEE recycling data management method based on HIBE and blockchain as claimed in claim 4, characterized in that: In step S1, the Hyperledger Fabric development environment is installed, including Fabric tools, Docker, and Go language; a Fabric network is created, including at least one organization and one Peer node; in Hyperledger Fabric, smart contracts are used to manage a decentralized identity-based hierarchical encryption key management solution.

6. The WEEE recycling data management method based on HIBE and blockchain as described in any one of claims 1 to 5, characterized in that: The identity-based hierarchical encryption key management scheme is based on the identity hierarchy of the tree-like distribution structure, which is the top layer, middle layer, primary layer and user terminal layer.

7. The WEEE recycling data management method based on HIBE and blockchain as claimed in claim 6, characterized in that: Relatively upper-level participants can generate private keys for relatively lower-level participants and grant them corresponding access rights.

8. The WEEE recycling data management method based on HIBE and blockchain as claimed in claim 6, characterized in that: Participants at the relatively lower level can apply for a public-private key pair from participants at the relatively higher level.

9. The WEEE recycling data management method based on HIBE and blockchain as claimed in claim 6, characterized in that: The highest level is the trusted main organization, the middle level is the recycling companies, dismantling companies and / or remanufacturing companies, the primary level is the logistics companies, and the user terminal level is the consumers.

10. The WEEE recycling data management method based on HIBE and blockchain as claimed in claim 4, characterized in that: In step S3, a public-private key pair is generated based on relevant public parameters and the corresponding identity information of the applicant.