Traditional Chinese medicine decocting data processing method, device, equipment and medium

By combining distributed digital identity and blockchain notarization technologies with zero-knowledge proofs, we have achieved controllable sharing of identity and minimized privacy disclosure in the traditional Chinese medicine decoction service. This solves the security risks of centralized identity authentication and data storage, and improves the digitalization and standardization of the service.

CN122117267APending Publication Date: 2026-05-29SSC HLDG CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SSC HLDG CO LTD
Filing Date
2026-02-26
Publication Date
2026-05-29

AI Technical Summary

Technical Problem

In the traditional Chinese medicine decoction service, the traditional model relies on centralized identity authentication and data storage, which poses risks of data leakage and tampering. Sensitive information is easily exposed in plain text when it is transferred across institutions, and the operation and maintenance costs are high, making it difficult to guarantee users' privacy rights and data integrity.

Method used

By employing distributed digital identity, verifiable credentials, and zero-knowledge proof technologies, combined with blockchain-based evidence storage, it achieves controllable identity sharing and minimized privacy disclosure. Through on-chain and off-chain collaborative storage and privacy computing gateways, it ensures secure data flow and compliance verification.

Benefits of technology

It reduces storage costs, ensures the credibility of qualifications and privacy protection, establishes two-way trust, forms a traceable chain that is tamper-proof throughout the entire process, reduces the burden of managing sensitive information, and improves the digitalization and standardization of traditional Chinese medicine decoction services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122117267A_ABST
    Figure CN122117267A_ABST
Patent Text Reader

Abstract

The application discloses a traditional Chinese medicine decocting data processing method, device and equipment and medium, and relates to the technical field of data processing. After a decocting factory is registered and anchored on a chain, the original verifiable voucher containing process certification is obtained. The original verifiable voucher is saved off-chain and stored on-chain by hashing. After receiving a traditional Chinese medicine decocting commission, the process compliance is verified by using zero-knowledge proof service, and the blinded prescription is obtained from a privacy computing gateway. The blinded prescription is decrypted and converted into machine instructions, the decocting service is executed, the execution record is hashed and chained, the notification information that the decocting service is completed is sent to the commissioning party, the medicine packaging digital fingerprint and the logistics voucher are generated, the logistics distribution is commissioned, and the completion event proof is confirmed and stored on-chain after receiving the distribution completion notification. In this way, identity controllable sharing and privacy minimization disclosure are realized, mutual trust is realized without centralized intermediaries, the burden of sensitive information storage and management is reduced, and the digital level of traditional Chinese medicine decocting service is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data processing technology, and in particular to a method, apparatus, equipment and medium for processing data related to the decoction of traditional Chinese medicine. Background Technology

[0002] In the context of traditional Chinese medicine decoction services, multiple institutions, including hospitals, decoction plants, and logistics companies, need to collaborate. Traditional models often employ centralized identity authentication and data storage architectures. However, identity authentication relies on a single centralized platform, and the centralized storage of patient identity information and decoction plant qualification data not only faces security risks such as data leakage and tampering but also makes it difficult to protect the privacy rights of users and service providers. Sensitive information such as patient prescriptions is prone to being exposed in plaintext during cross-institutional transfers. Furthermore, the need for long-term storage of massive amounts of sensitive data presents challenges such as high maintenance costs and difficulty in ensuring data integrity in traditional storage models. Summary of the Invention

[0003] The purpose of this invention is to provide a method, apparatus, equipment, and medium for processing data related to traditional Chinese medicine decoction, which can achieve controllable sharing of identity and minimize privacy disclosure, achieve mutual trust without a centralized intermediary, reduce the burden of storing and managing sensitive information, and improve the level of digital standardization of traditional Chinese medicine decoction services.

[0004] To solve the above-mentioned technical problems, the present invention provides a method for processing data on traditional Chinese medicine decoction processing, applicable to decoction processing plants, comprising: After digital identity registration and on-chain anchoring, obtain original verifiable credentials containing process proof from an authoritative institution; The original verifiable credential is submitted to the on-chain and off-chain storage services so that the on-chain and off-chain services can perform off-chain storage and on-chain hash storage of the original verifiable credential. The system receives commissions for decocting traditional Chinese medicine and uses zero-knowledge proof services to verify the compliance of verifiable process certificates. Once the verification is successful, it retrieves the blinded prescription data from the privacy computing gateway. The blinded prescription data is decrypted and converted into machine instructions. Based on the machine instructions, the decoction service is executed, and the execution record is hashed and uploaded to the blockchain. A notification message indicating that the decoction service has been completed is sent to the client. To generate digital fingerprints for the medicine packaging and logistics vouchers for the prepared herbal decoction, entrust logistics for delivery, and confirm receipt and sign for the delivery upon receiving the delivery completion notification, the event certificate is stored on the blockchain.

[0005] To address the aforementioned technical problems, the present invention also provides a data processing device for traditional Chinese medicine decoction processing, applicable to decoction processing plants, comprising: The credential acquisition module is used to obtain original verifiable credentials containing process proofs from authoritative institutions after digital identity registration and on-chain anchoring. The credential submission module is used to submit the original verifiable credential to the on-chain and off-chain storage services, so that the on-chain and off-chain services can perform off-chain storage and on-chain hash storage of the original verifiable credential. The blinding verification module is used to receive commissions for decocting traditional Chinese medicine, and to use zero-knowledge proof services to verify the compliance of verifiable vouchers for process proof. After successful verification, the blinded prescription data is obtained from the privacy computing gateway. The instruction execution module is used to decrypt the blinded prescription data and convert it into machine instructions, execute the decoction service based on the machine instructions, hash the execution record and put it on the blockchain, and send a notification message to the client that the decoction service has been completed. The delivery entrustment module is used to generate digital fingerprints and logistics vouchers for the prepared decoction, entrust logistics for delivery, and confirm receipt and sign for the delivery completion event after receiving the delivery completion notification, and store the event evidence on the blockchain.

[0006] To address the aforementioned technical problems, the present invention also provides an electronic device, comprising: Memory, used to store computer programs; A processor is used to execute the computer program to implement the steps of the above-described method for processing data related to the decoction of traditional Chinese medicine.

[0007] To address the aforementioned technical problems, the present invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the above-described method for processing data related to the decoction of traditional Chinese medicine.

[0008] As can be seen from the above technical solution, the traditional Chinese medicine decoction processing method provided by the present invention is applied to a decoction processing plant, including: after digital identity registration and on-chain anchoring, obtaining an original verifiable certificate containing process proof from an authoritative institution; submitting the original verifiable certificate to on-chain and off-chain storage services so that the on-chain and off-chain services can perform off-chain storage and on-chain hash storage of the original verifiable certificate; receiving a traditional Chinese medicine decoction commission, using zero-knowledge proof service to verify the compliance of the process proof verifiable certificate, and after successful verification, obtaining blinded prescription data from a privacy computing gateway; decrypting the blinded prescription data and converting it into machine instructions, executing the decoction service based on the machine instructions, hashing the execution record on the chain, and sending a notification message of the completion of the decoction service to the commissioning party; generating a digital fingerprint of the medicine packaging and a logistics certificate for the decoction, entrusting logistics for delivery, and confirming the receipt of the delivery completion event certificate on the chain after receiving the delivery completion notification.

[0009] The beneficial effect of the present invention is that the above-mentioned method for processing data of traditional Chinese medicine decoction provided by the present invention integrates technologies such as distributed digital identity, verifiable credentials, zero-knowledge proof and blockchain notarization to build a full-process service system that combines privacy and trust. After digital identity registration and on-chain anchoring, the compliance qualification certificates obtained by the decoction processing plants are securely retained and efficiently verified through on-chain and off-chain collaborative storage, which reduces storage costs and ensures the credibility of the qualifications. The application of zero-knowledge proofs allows the decoction processing plants to complete compliance verification without disclosing core process parameters, which establishes mutual trust with patients and firmly protects the intellectual property rights of the process. At the same time, patient prescriptions are processed blinded and transferred in the form of machine instructions, avoiding plaintext exposure throughout the process and fully protecting patient privacy. The hashing of decoction execution records and logistics information on the blockchain forms a tamper-proof traceability chain from commission initiation, decoction operation to drug delivery, providing a solid basis for regulatory audits and dispute resolution. The entire process realizes the controllable sharing of identity information and the minimal disclosure of privacy data, achieving mutual trust among all parties without relying on centralized intermediaries. This significantly reduces the security burden and operating costs of storing and managing sensitive information for decoction processing plants and related participants. It not only improves the digitalization and standardization of TCM decoction services, but also builds a decentralized trust infrastructure, providing strong support for the safe, compliant and efficient development of TCM digital services.

[0010] In addition, the present invention also provides a corresponding data processing device, electronic device and computer-readable storage medium for the data processing method of traditional Chinese medicine decoction, which have the same or corresponding technical features as the aforementioned data processing method of traditional Chinese medicine decoction and have the same effect. Attached Figure Description

[0011] To more clearly illustrate the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0012] Figure 1 A flowchart of the traditional Chinese medicine decoction data processing method provided in the embodiments of the present invention; Figure 2 This is a schematic diagram illustrating the interaction between bidirectional distributed digital identity registration and verifiable credential issuance provided in an embodiment of the present invention. Figure 3 This is a schematic diagram illustrating the interaction between off-chain storage and on-chain evidence storage of verifiable credentials provided in an embodiment of the present invention. Figure 4 This is an interactive diagram illustrating the two-way privacy verification and blinded flow provided in an embodiment of the present invention; Figure 5This is a schematic diagram illustrating the interaction between the execution and evidence storage of the decoction service provided in an embodiment of the present invention. Figure 6 This is an interactive schematic diagram of logistics distribution provided in an embodiment of the present invention; Figure 7 This is a schematic diagram of the structure of the traditional Chinese medicine decoction data processing device provided in an embodiment of the present invention. Detailed Implementation

[0013] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the protection scope of the present invention.

[0014] It should be noted that, in the description of this invention, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. The terms "first," "second," etc., used in this invention are used to distinguish similar objects and are not used to describe a specific order or sequence.

[0015] To enable those skilled in the art to better understand the present invention, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0016] Based on the specific application environment architecture or specific hardware architecture upon which the data processing method for traditional Chinese medicine decoction relies, this section describes the specific application environment architecture or specific hardware architecture.

[0017] The embodiments of the present invention provide a method for processing data on traditional Chinese medicine decoction, and the method is described in detail in conjunction with the execution flow of the method. Figure 1 The flowchart of the traditional Chinese medicine decoction data processing method provided in the embodiments of the present invention is as follows: Figure 1 As shown, this method is applied in a decoction processing plant and includes: S101. After digital identity registration and on-chain anchoring, obtain original verifiable credentials containing process proof from an authoritative institution.

[0018] Step S101 is the basic access step for decoction processing plants to participate in the privacy protection system for traditional Chinese medicine decoction processing. Through digital identity registration and on-chain anchoring, the decoction processing plants obtain decentralized and trusted identity identifiers, ensuring that their participation qualifications are traceable and tamper-proof. Obtaining original verifiable certificates containing process proofs from authoritative institutions not only provides authoritative endorsement for the compliant service capabilities of the decoction processing plants, but also lays the data foundation for subsequent compliance verification without disclosing the process through zero-knowledge proofs.

[0019] It should be noted that this invention integrates the immutable trust anchor of blockchain, the self-sovereign identity (SSI) paradigm, and the selective disclosure mechanism of verifiable credentials (VC) to construct a distributed digital identity (DID) framework centered on users and service providers. The distributed digital identity can be a decentralized identity control module generated and managed by the user. This invention can generate a user-specific distributed digital identity identifier; anchor the distributed digital identity document (including public key and server endpoint) to the blockchain; support cross-institutional identity recognition, eliminating the centralized dependence on traditional Certificate Authority (CA); and support verifiable credential functionality.

[0020] S102. Submit the original verifiable credentials to the on-chain and off-chain storage services so that the on-chain and off-chain services can perform off-chain storage and on-chain hash storage of the original verifiable credentials.

[0021] In step S102, the processing plant can entrust the original verifiable certificates (including sensitive information such as process certificates) to on-chain and off-chain storage services. Off-chain storage avoids the massive storage pressure of blockchain and reduces operation and maintenance costs. At the same time, on-chain hash storage uses the immutability of blockchain to solidify the integrity and authenticity of the certificates, which not only ensures that the privacy of the certificates is not leaked, but also provides a reliable traceability basis for subsequent cross-institutional verification of the validity of the certificates.

[0022] S103. Receive a commission for decocting traditional Chinese medicine, use zero-knowledge proof service to verify the compliance of the verifiable certificate of process proof, and obtain the blinded prescription data from the privacy computing gateway after the verification is passed.

[0023] Step S103 is the step to achieve two-way privacy protection and trust establishment. After receiving the decoction commission, the compliance of the process is verified through zero-knowledge proof service, which not only proves the service qualification of the decoction plant to the commissioning party, but also avoids the leakage of core process parameters; after the verification is passed, the blinded prescription is obtained from the privacy computing gateway to ensure that the prescription data is not exposed in plaintext throughout the process, and at the same time achieves dual protection of qualification credibility and data privacy, laying the foundation for subsequent safe decoction.

[0024] S104. Decrypt the blinded prescription data and convert it into machine instructions. Execute the decoction service based on the machine instructions, hash the execution record and upload it to the blockchain, and send a notification message to the client that the decoction service has been completed.

[0025] In step S104, the decoction factory can decrypt the blind prescription and convert it into machine instructions, which avoids human contact with the plain text of the prescription, protects privacy, and drives automated equipment to accurately execute the decoction. At the same time, the execution record is hashed and uploaded to the blockchain. The immutability of the blockchain solidifies the authenticity of the operation, and a completion notification is sent to the client in a synchronous manner. This ensures service traceability and improves user experience. It is a key link connecting privacy data processing and trusted service delivery.

[0026] S105. Generate a digital fingerprint and logistics voucher for the medicine packaging after the decoction is prepared, entrust logistics for delivery, and confirm the receipt of the delivery completion notice and store the event certificate on the blockchain.

[0027] Step S105 connects the delivery of the decoction service with the trusted verification of logistics. The decoction factory can generate digital fingerprints (such as packaging identification hashes) and logistics vouchers for the decocted medicine, giving the physical medicine a unique digital identity and ensuring traceability of the delivery process. After the logistics are entrusted to the delivery, the delivery is confirmed by signing for receipt and storing the event on the blockchain. The immutability of the blockchain solidifies the delivery result, which not only ensures the authenticity and security of the medicine circulation, but also provides a key closed loop for full-process traceability.

[0028] The above-mentioned method for processing data related to the decoction of traditional Chinese medicine provided in this embodiment of the invention integrates technologies such as distributed digital identity, verifiable credentials, zero-knowledge proof, and blockchain notarization to construct a full-process service system that combines privacy and trust. After digital identity registration and on-chain anchoring, the compliance qualification certificates obtained by the decoction processing plants are securely retained and efficiently verified through on-chain and off-chain collaborative storage, which reduces storage costs and ensures the credibility of the qualifications. The application of zero-knowledge proofs allows the decoction processing plants to complete compliance verification without disclosing core process parameters, which establishes mutual trust with patients and firmly protects the intellectual property rights of the process. At the same time, patient prescriptions are processed blinded and transferred in the form of machine instructions, avoiding plaintext exposure throughout the process and fully protecting patient privacy. The hashing of decoction execution records and logistics information on the blockchain forms a tamper-proof traceability chain from commission initiation, decoction operation to drug delivery, providing a solid basis for regulatory audits and dispute resolution. The entire process realizes the controllable sharing of identity information and the minimal disclosure of privacy data, achieving mutual trust among all parties without relying on centralized intermediaries. This significantly reduces the security burden and operating costs of storing and managing sensitive information for decoction processing plants and related participants. It not only improves the digitalization and standardization of TCM decoction services, but also builds a decentralized trust infrastructure, providing strong support for the safe, compliant and efficient development of TCM digital services.

[0029] Furthermore, in specific implementation, in the above-mentioned traditional Chinese medicine decoction data processing method provided in the embodiments of the present invention, step S101, after digital identity registration and on-chain anchoring, obtains an original verifiable certificate containing process proof from an authoritative institution. Specifically, this may include: interacting with the digital identity component to generate a distributed digital identity identifier and public / private keys, and storing the identifier and private keys locally; submitting an identity anchoring application to the digital identity component so that the digital identity component can complete the registration and storage of identity information on the distributed ledger; submitting qualification certification materials related to process compliance to the authoritative institution and applying for qualification verification; and obtaining an original verifiable certificate containing process proof after the authoritative institution's review and approval. The original verifiable certificate uses privacy methods to prove compliance without disclosing process parameters.

[0030] Figure 2 This is a schematic diagram illustrating the interaction between two-way distributed digital identity registration and verifiable credential issuance provided in an embodiment of the present invention. In implementation, as... Figure 2As shown, in the traditional Chinese medicine decoction service system, patients and decoction factories, as equal participants, each establish their own controllable digital identities and obtain "digital certificates" (verifiable credentials) from authoritative institutions to prove their qualifications. Both patients and decoction factories generate corresponding distributed digital identity identifiers and public / private keys through a distributed digital identity component, store them securely locally, and then submit an identity anchoring application to the component. This process notifies the distributed digital identity identifier, identity document, and other information on the consortium blockchain, achieving tamper-proof identity registration. The process can begin with the patient generating their own distributed digital identity (decentralized identifier) ​​and public / private keys through the distributed digital identity component. Upon receiving the patient's request, the component generates the corresponding distributed digital identity identifier and private key, then returns them to the patient for secure local storage, reflecting the principle of user autonomy. The patient then submits their generated distributed digital identity to the component for an identity anchoring application, aiming to create an immutable notarized record of their identity information on the consortium blockchain. This notarized information includes the distributed digital identity identifier and distributed digital identity document. Patients initiate KYC (Know Your Customer) verification with hospitals, typically requiring biometrics (such as facial recognition) and ID information. Once verified, the hospital issues a verifiable credential, which can be considered the patient's "digital identity certificate." Next, the decoction processing plant, as the service provider, also needs to generate its own distributed digital identity and public / private keys, obtaining them from the distributed digital identity component and storing them locally. This demonstrates that all participants in this system are equal. The plant also submits an identity anchoring application to the distributed digital identity component, completing its on-chain identity registration. The plant then requests certification from authoritative institutions (such as drug regulatory agencies or industry associations) to prove its process compliance. After verification, the authoritative institution issues a verifiable credential. This verifiable credential uses technologies such as zero-knowledge proofs to demonstrate "compliance" without revealing specific process parameters. After the plant requests certification, the authoritative institution conducts offline or online audits. Upon confirming process compliance, it issues a verifiable credential to the plant, which can then be used to prove process compliance to other entities.

[0031] The above process combines autonomous and controllable distributed digital identities with authoritative and verifiable credentials. It adheres to the principle of user autonomy and sovereignty in identity, ensuring the privacy and security of both parties' identity information. It also achieves trustworthy and traceable identity through consortium blockchain anchoring, while providing protection for the core process data of the decoction plant, reducing the cost of cross-institutional mutual trust, and laying a secure and trustworthy identity foundation for subsequent service collaboration.

[0032] Furthermore, in specific implementation, in the above-mentioned traditional Chinese medicine decoction data processing method provided in the embodiments of the present invention, step S102 submits the original verifiable certificate to the on-chain and off-chain storage services so that the on-chain and off-chain services can perform off-chain storage and on-chain hash notarization of the original verifiable certificate. Specifically, it may include: sending the original verifiable certificate to the on-chain and off-chain storage services for off-chain storage; cooperating with the on-chain and off-chain storage services to perform hash calculation and on-chain uploading of the original verifiable certificate, generating a hash value for the original verifiable certificate by the on-chain and off-chain storage services, and uploading the hash value to the blockchain network; receiving the transaction receipt returned by the blockchain network to confirm that the hash value has been successfully recorded on the chain; and receiving the storage certificate issued by the on-chain and off-chain storage services to confirm that the original verifiable certificate and the corresponding hash value have completed the storage and notarization process.

[0033] Figure 3 This diagram illustrates the interaction between off-chain storage and on-chain notation of verifiable credentials provided in an embodiment of the present invention. In implementation, to address the storage problem of large amounts of verifiable credentials and to leverage the immutability of blockchain to ensure their authenticity, such as... Figure 3 As shown, both patients and decoction processing plants can send their original verifiable credentials (patient's identity credentials and processing plant's process certification credentials) to on-chain and off-chain storage services. The original credentials are encrypted using a symmetric encryption algorithm and stored off-chain (off-chain storage can be centralized or decentralized; only off-chain storage is required). On-chain refers to the decentralized blockchain. The storage service calculates the cryptographic hash value of the original credentials and uploads it to the blockchain network. After the blockchain records the transaction, it returns a transaction receipt containing the transaction hash. The storage service then returns storage proof to both parties, completing the notarization process. During third-party verification, the consistency between the digital signature of the credentials and the hash value stored on-chain can be verified to confirm that the credentials have not been tampered with (and are completely consistent with the credentials issued and anchored by the issuer).

[0034] The above process can specifically include: the patient sending a large amount of original verifiable credentials to both on-chain and off-chain storage services for secure storage. This step encrypts the sensitive original data using a symmetric encryption algorithm (such as SM4) and stores it off-chain, ensuring privacy and reducing storage costs. Here, "on-chain" refers to the blockchain, which is decentralized storage. Off-chain storage, on the other hand, is not concerned with whether it is centralized or decentralized; either can be chosen. In this step, only the data of the original verifiable credentials needs to be stored off-chain. The on-chain and off-chain storage services calculate the cryptographic hash (digital fingerprint) of the original verifiable credentials and upload this hash value to the blockchain network. After successfully recording the hash value, the blockchain network returns a transaction receipt (usually containing transaction hash information) as proof of successful on-chain upload. It should be noted that when presenting verifiable credentials to a third party (verifier), the verifier can not only check the digital signature of the credentials themselves but also request the on-chain hash value corresponding to the verifiable credentials. The verifier will use the same hash algorithm to calculate the hash value on the provided original verifiable credentials and compare the result with the hash value stored on-chain. If they match, it proves that the verifiable certificate presented is completely identical to the certificate originally issued and anchored on the blockchain by the issuer, and has not been tampered with. The on-chain and off-chain storage services ultimately return a storage certificate to the patient, confirming that the original data and its hash have been properly processed. Additionally, the decoction processing plant also sends its original verifiable certificate (such as a process certificate verification certificate) to the on-chain and off-chain storage services for secure off-chain storage. The on-chain and off-chain storage services calculate the hash value of the verifiable certificate and upload it to the blockchain network. After recording the hash value, the blockchain network returns a transaction receipt. The patient returns the storage certificate to the decoction processing plant through the local "on-chain and off-chain storage" service, completing the certificate storage process. This approach reduces blockchain storage costs and protects the privacy of sensitive data through off-chain encrypted storage, while also achieving reliable traceability of certificate authenticity through the immutability of the blockchain. Furthermore, it provides clear third-party verification logic to ensure the validity and security of certificates when used across institutions, significantly improving the efficiency and reliability of certificate management.

[0035] Furthermore, in specific implementation, in the above-mentioned traditional Chinese medicine decoction data processing method provided in the embodiments of the present invention, step S103 receives a traditional Chinese medicine decoction commission, uses a zero-knowledge proof service to verify the compliance of the process proof verifiable certificate, and obtains the blinded prescription data from the privacy computing gateway after the verification is passed. Specifically, it may include: receiving a traditional Chinese medicine decoction commission initiated by a patient as the commissioning party, and simultaneously obtaining the patient's prescription verifiable certificate; submitting its own process proof verifiable certificate to the zero-knowledge proof service to apply for process compliance verification; receiving the compliance verification result returned by the zero-knowledge proof service, and simultaneously obtaining a notification information from the patient that the compliance verification result has been obtained simultaneously, thus completing the establishment of trust between the two parties; when the compliance verification result is that the verification is passed, submitting a prescription data acquisition request to the privacy computing gateway to apply for the extraction of the patient's relevant prescription information; receiving the blinded prescription data returned by the privacy computing gateway; the blinded prescription data is processed through a trusted execution environment and a proxy re-encryption method, and only the decoction factory can decrypt and interpret it.

[0036] Figure 4 This is a schematic diagram illustrating the interaction between two-way privacy verification and blinded flow provided in an embodiment of the present invention. In implementation, as... Figure 4 As shown, the patient presents their verifiable prescription certificate to the decoction processing plant, which contains the prescription information issued by the hospital to the patient and the patient's personal information, initiating a decoction processing request. This aims to prove to the decoction processing plant that their prescription is legal and valid. The decoction processing plant then submits a verifiable process proof certificate to a zero-knowledge proof service, requesting verification of its process compliance. The verifiable process proof certificate may contain the distributed digital identity identifier information of the issuer (such as an authoritative institution), the holder's (decoction processing plant's) own distributed digital identity identifier information, certificate type information, issuance time, and validity period, etc. After performing verification calculations, the zero-knowledge proof service returns a "compliant / non-compliant" result to both the decoction processing plant and the patient. Throughout the entire process, neither the verifying party (zero-knowledge proof service) nor the requesting party (patient) can obtain the specific process parameters of the decoction processing plant, truly achieving two-way privacy protection of "verification without knowledge." It should be noted that the zero-knowledge proof service can verify the verifiable certificate to verify whether the verifiable certificate meets the patient's requirements, such as the patient requiring a certain device of the decoction processing plant to meet a certain standard. Zero-knowledge proof services can output an answer as to whether a verifiable credential meets the standard. The essence of zero-knowledge proof service verification is that the private data of the proving party (the decoction plant) (a verifiable credential containing specific process parameters) satisfies the publicly known and accepted rules of the verifying party (the hospital or patient).

[0037] After trust is established, the blinding process ensures that core data (prescriptions) remains encrypted or "blinded" throughout transmission. After successful verification, the decoction plant requests prescription data from the privacy computing gateway using its verifiable credentials. The privacy computing gateway returns the "blinded" prescription. "Blinding" here refers to converting prescription data into a format (such as machine code) that only the decoction plant can decrypt, but outsiders (including the privacy computing gateway operator) cannot interpret, through a trusted execution environment and proxy re-encryption. This achieves blind transmission of prescription information, ensuring no plaintext exposure from the hospital to the decoction plant. It's important to note that during the "blinding" process, the patient's encrypted prescription data (which can be symmetrically encrypted) is sent to the trusted execution environment enclave. The data is decrypted only within the trusted execution environment. This is the only moment in the entire process when the data exists in plaintext, and this state is strictly limited within the security boundaries of the trusted execution environment. Authorization verification and re-encryption execution: The program within the trusted execution environment verifies the validity of the verifiable credentials provided by the decoction plant. After successful verification, the program uses a proxy re-encryption algorithm to encrypt the plaintext prescription data directly against the decoction processing plant's public key. This encryption process also takes place within the trusted execution environment. Data blinding output: The new ciphertext obtained after proxy re-encryption is output from the trusted execution environment. Only the decoction processing plant holding the corresponding private key can decrypt this new ciphertext. To the operator of the privacy computing gateway or any external observer, it is simply an unreadable string of gibberish, achieving "blinding." Final decryption and use: The decoction processing plant receives the blinded prescription data, decrypts it using its own private key, and finally obtains the plaintext prescription to perform the decoction processing operation.

[0038] The above process establishes mutual trust between patients and decoction plants through two-way verification, protects the core process data of decoction plants through zero-knowledge proof, and achieves full privacy protection of prescription data through blinded transfer, presenting it in plaintext only briefly in a trusted execution environment, completely avoiding the risk of data leakage in intermediate links, solving the core contradiction between verification needs and privacy protection, and providing a safe and controllable data interaction mechanism for traditional Chinese medicine decoction services.

[0039] Furthermore, in a specific implementation, in the above-mentioned traditional Chinese medicine decoction data processing method provided in the embodiments of the present invention, step S104 decrypts the blinded prescription data and converts it into machine instructions, and executes the decoction service based on the machine instructions. Specifically, it may include: using its own private key to decrypt the blinded prescription data, converting the decrypted blinded prescription data into machine instructions that can be recognized and executed by the internal system; and driving the decoction equipment to perform operations including feeding medicinal materials and controlling decoction parameters based on the machine instructions.

[0040] Figure 5This is a schematic diagram illustrating the interaction between the decoction service execution and evidence storage provided in an embodiment of the present invention. In implementation, as... Figure 5 As shown, the decoction processing plant receives a blinded prescription (data processed by a trusted execution environment and proxy re-encryption technology) returned by a privacy computing gateway. After decrypting it with its own private key, the plant parses it into machine instructions executable by its internal system (such as device operation codes). This process ensures that the processing plant cannot obtain the plaintext prescription (e.g., "Astragalus 15g"), but only obtains executable structured instructions. Based on the parsed instructions, the processing plant drives the decoction equipment to complete specific operations (such as adding medicinal materials and controlling the decoction process), transforming digital instructions into physical services. The entire process relies on an automated system, avoiding human contact with sensitive prescription information.

[0041] Furthermore, in a specific implementation, in the above-mentioned traditional Chinese medicine decoction processing method provided in the embodiments of the present invention, step S104, which hashes the execution record and sends a notification message to the client indicating that the decoction service has been completed, may specifically include: after the decoction service is completed, generating a service execution certificate containing a service timestamp and equipment process parameter logs, and calculating the cryptographic hash value of the service execution certificate; uploading the cryptographic hash value of the service execution certificate to the blockchain network; receiving a transaction receipt returned by the blockchain network; the transaction receipt serving as an electronic certificate that the service execution record has been successfully uploaded to the blockchain; and sending a notification message to the client indicating that the decoction service has been completed after receiving the transaction receipt.

[0042] In implementation, such as Figure 5 As shown, after the decoction service is completed, the decoction factory generates a service execution certificate (such as a timestamp and process parameter log), calculates its hash value, and uploads it to the blockchain network. This process stores key operational data on the blockchain via hashing, ensuring the immutability of the operation records. It should be noted that after the decoction service is completed, the decoction factory's system generates a complete, structured "service execution certificate" file. This file is then hashed using a standard cryptographic hash function, and finally, the hash value is uploaded to the blockchain network. This hash value is equivalent to the digital fingerprint of the "service execution certificate" file. When the "service execution certificate" file is presented, if the calculated hash value matches the hash value stored on the blockchain, it proves that the "service execution certificate" has not been tampered with.

[0043] Third parties (such as regulatory agencies) verify the authenticity of offline proofs through on-chain hashes. The specific verification process is as follows: After an audit is triggered due to routine inspections or complaints, the regulatory agency can notify the frying plant to provide the original and complete service execution proof document for a particular frying service (at this stage, only the initial proof version of the document is considered, not the content compliance). At the same time, the regulatory agency independently accesses the blockchain network through a blockchain explorer or consortium blockchain node, and queries and records the unalterable objective anchor point of the service execution proof hash value stored on the chain, based on the frying plant's distributed digital identity identifier or the transaction hash of the batch (if known). After receiving the document, the regulatory agency uses a standardized hash algorithm (such as SHA-256) consistent with the frying plant's proof of notarization to calculate the local hash value of the document, and then compares it precisely with the original hash value obtained on the chain. If the hash values ​​are completely consistent, it proves that the document is authentic and has not been tampered with, and the regulatory agency can conduct subsequent compliance reviews based on the detailed data of the document. If the hash values ​​are inconsistent, it is determined that the document has been tampered with and is not the original proof version.

[0044] Next, regulatory agencies can immediately determine that the decoction processing plant is suspected of providing false records and can take further investigative or punitive measures accordingly. After the blockchain network stores the hash value in a new block, it returns a receipt containing the transaction hash to the decoction processing plant. This receipt serves as an electronic certificate proving that the service has been successfully stored and can be used for subsequent auditing and traceability. The decoction processing plant notifies the patient that the service has been completed via system message or application (e.g., "Your decoction service has been prepared and will be delivered soon").

[0045] Furthermore, in specific implementation, in the above-mentioned traditional Chinese medicine decoction data processing method provided in the embodiments of the present invention, step S105 generates a digital fingerprint of the medicine packaging and a logistics certificate for the decocted medicine, entrusts logistics for delivery, and confirms the signing completion event certificate after receiving the delivery completion notification and storing it on the blockchain. Specifically, it may include: packaging the decocted medicine, generating a unique packaging identifier for each package, and calculating the cryptographic hash value of the packaging identifier as the digital fingerprint of the medicine packaging; submitting a logistics certificate application to the privacy computing gateway, the application materials including the cryptographic hash value of the packaging identifier and the patient's decentralized identifier; after receiving the logistics verifiable certificate issued by the privacy computing gateway and associated with its own identity information, presenting the logistics verifiable certificate to the logistics and initiating a delivery entrustment, and transferring the packaged medicine after confirming that the logistics has accepted the delivery task; coordinating with the logistics to complete the verification process during delivery to guide the patient to complete the recipient verification and logistics certificate validity verification; receiving the delivery completion notification sent by the logistics and obtaining the notification signal that the patient has successfully signed for the medicine, and confirming that the logistics has uploaded the signing completion event certificate to the blockchain network.

[0046] Figure 6 This is an interactive diagram illustrating logistics and distribution provided in an embodiment of the present invention. In implementation, as... Figure 6As shown, the process can be divided into three stages: preparation of logistics documents, physical delivery and verification, and completion of document storage and notification.

[0047] The logistics credential preparation stage involves creating a digital "identity card" for the physical medicine to facilitate trusted verification in subsequent stages. The steps may include: First, the decoction manufacturer packages the prepared medicine and generates a unique packaging identifier (such as a QR code), calculating its cryptographic hash value. This hash serves as the "digital fingerprint" of the medicine. Then, the manufacturer requests a logistics verifiable credential from a privacy-preserving computing gateway. This request includes the generated hash and the patient's distributed digital identity (as the recipient's identifier). The privacy-preserving computing gateway then generates and returns a logistics verifiable credential signed by the manufacturer. This logistics verifiable credential is the physical medicine's "digital waybill," containing all the information needed for verification but without revealing prescription details.

[0048] The physical delivery and verification phase is an interactive process of physical logistics and digital verification, ensuring that the medicine is delivered to the correct recipient. The steps may include: First, the decoction plant contacts the logistics company and presents a verifiable logistics certificate to initiate the delivery task. Then, the logistics company confirms acceptance of the delivery request. The delivery person picks up the package and begins physical delivery. After delivery, the delivery person requests the patient to sign for verification. The patient needs to prove they are the correct recipient by scanning a QR code or presenting their digital wallet. The patient (through their device) queries the blockchain to verify whether the verifiable logistics certificate provided by the delivery person is authentic, valid, or has been revoked. The patient typically does not query the complete content of the verifiable certificate itself, but rather its "status" or "revocation status" on the blockchain; the core is to verify the "authenticity" and "validity" of the verifiable certificate. After receiving the verifiable certificate presented by the delivery person, the patient's digital wallet automatically performs the following operations: Local calculation: Calculates the entire received verifiable certificate file to generate a hash value. On-chain query: Based on the "proof address" indicated in the verifiable credential (such as the address of a smart contract or a transaction ID), query the official hash value stored on the blockchain at that time. Comparison: Accurately compare the locally calculated hash value with the official hash value retrieved on-chain. If they match: This proves that the verifiable credential in the patient's possession is the original credential issued by the privacy computing gateway, and its content has not been tampered with by anyone. If they don't match: This means that the verifiable credential may have been modified during transmission, verification fails, and the patient should refuse to sign for it. Additionally, a simple "revocation registry" is deployed on the blockchain. This is usually a smart contract that maintains a list (such as a mapping or a tree) recording the unique identifiers of all revoked verifiable credentials. A valid, unrevoked verifiable credential's ID will not appear in this list. The patient will query this "revocation registry" smart contract. If the ID corresponding to the verifiable credential is found in the list, it means the credential has been invalidated, and in this case, the patient has the right to refuse the delivery. The blockchain network returns the verification status (valid / invalid) of the verifiable credential for the delivery. After verification, the patient confirms receipt, completing the handover of the physical medication.

[0049] The completion of the evidence storage and notification phase involves solidifying the fact of delivery completion on the blockchain, forming an immutable record, and notifying relevant parties. The steps may include: the logistics company uploading proof of the "delivery completion" event (including time and location hashes) to the blockchain network for evidence storage. The "location hash" included in the "delivery completion" event proof is generated based on geolocation information, but it does not directly use the original latitude and longitude coordinates; instead, it undergoes a series of privacy enhancement processes (to protect patient privacy). After the blockchain network successfully records the event, it returns a transaction receipt as proof. The logistics company then notifies the decoction processing plant that the entire delivery task has been completed.

[0050] From the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by software plus necessary general-purpose hardware platforms, and of course, they can also be implemented by hardware, but in many cases the former is a better implementation method.

[0051] Embodiments of the present invention also provide a data processing device for traditional Chinese medicine decoction. Figure 7 This is a schematic diagram of the data processing device for traditional Chinese medicine decoction processing provided in an embodiment of the present invention. This embodiment is based on functional modules, such as… Figure 7 As shown, this device is used in a decoction processing plant and includes: The credential acquisition module 10 is used to obtain original verifiable credentials containing process proof from an authoritative institution after digital identity registration and on-chain anchoring. The credential submission module 11 is used to submit the original verifiable credentials to the on-chain and off-chain storage services, so that the on-chain and off-chain services can perform off-chain storage and on-chain hash storage of the original verifiable credentials. The blinding verification module 12 is used to receive the commission for decocting Chinese medicine, use zero-knowledge proof service to verify the compliance of the verifiable certificate of process proof, and obtain the blinded prescription data from the privacy computing gateway after the verification is passed. The instruction execution module 13 is used to decrypt the blinded prescription data and convert it into machine instructions, execute the decoction service based on the machine instructions, hash the execution record and put it on the blockchain, and send a notification message to the client that the decoction service has been completed. The delivery entrustment module 14 is used to generate digital fingerprints and logistics vouchers for the medicine packaging after the decoction is prepared, entrust logistics for delivery, and confirm the receipt of the delivery completion certificate after receiving the delivery completion notification and store it on the blockchain.

[0052] In the above-mentioned traditional Chinese medicine decoction data processing device provided in the embodiments of the present invention, a full-process service system that combines privacy and trust can be constructed through the interaction of the above four modules. After digital identity registration and on-chain anchoring, the compliance qualification certificates obtained by the decoction processing plants are securely retained and efficiently verified through on-chain and off-chain collaborative storage, which reduces storage costs and ensures the credibility of the qualifications. The application of zero-knowledge proofs allows the decoction processing plants to complete compliance verification without disclosing core process parameters, which establishes mutual trust with patients and firmly protects the intellectual property rights of the process. At the same time, patient prescriptions are processed blinded and transferred in the form of machine instructions, avoiding plaintext exposure throughout the process and fully protecting patient privacy. The hashing of decoction execution records and logistics information on the blockchain forms a tamper-proof traceability chain from commission initiation, decoction operation to drug delivery, providing a solid basis for regulatory audits and dispute resolution. The entire process realizes the controllable sharing of identity information and the minimal disclosure of privacy data, achieving mutual trust among all parties without relying on centralized intermediaries. This significantly reduces the security burden and operating costs of storing and managing sensitive information for decoction processing plants and related participants. It not only improves the digitalization and standardization of TCM decoction services, but also builds a decentralized trust infrastructure, providing strong support for the safe, compliant and efficient development of TCM digital services.

[0053] Furthermore, in a specific implementation, in the above-mentioned traditional Chinese medicine decoction data processing device provided in this embodiment of the invention, the credential acquisition module 10 is used to interact with the digital identity component, generate the identifier and public / private key of the distributed digital identity, and store the identifier and private key locally; submit an identity anchoring application to the digital identity component so that the digital identity component can complete the registration and storage of identity information on the distributed ledger; submit qualification certification materials related to process compliance to an authoritative institution and apply for qualification verification; after being reviewed and approved by the authoritative institution, obtain the original verifiable credential containing process proof; the original verifiable credential proves compliance only without disclosing process parameters through privacy methods.

[0054] Furthermore, in specific implementation, in the above-mentioned traditional Chinese medicine decoction data processing device provided in the embodiments of the present invention, the voucher submission module 11 is used to send the original verifiable voucher to the on-chain and off-chain storage services, which then store it off-chain; cooperate with the on-chain and off-chain storage services to perform hash calculation and on-chaining of the original verifiable voucher, which generates a hash value for the original verifiable voucher and uploads the hash value to the blockchain network; receive the transaction receipt returned by the blockchain network to confirm that the hash value has been successfully recorded on the chain; and receive the storage certificate issued by the on-chain and off-chain storage services to confirm that the original verifiable voucher and the corresponding hash value have completed the storage and notarization process.

[0055] Furthermore, in specific implementation, in the above-mentioned traditional Chinese medicine decoction data processing device provided in this embodiment of the invention, the blinding verification module 12 is used to receive the traditional Chinese medicine decoction entrustment initiated by the patient as the entrusting party, and simultaneously obtain the verifiable certificate of the prescription presented by the patient; submit its own process verification certificate to the zero-knowledge proof service to apply for process compliance verification; receive the compliance verification result returned by the zero-knowledge proof service, and simultaneously obtain the notification information that the patient has simultaneously obtained the compliance verification result, thus completing the establishment of trust between the two parties; when the compliance verification result is that the verification is passed, submit a prescription data acquisition request to the privacy computing gateway to apply for the extraction of the patient's relevant prescription information; receive the blinded prescription data returned by the privacy computing gateway; the blinded prescription data is processed through a trusted execution environment and proxy re-encryption method, and only the decoction factory can decrypt and interpret it.

[0056] Furthermore, in a specific implementation, in the above-mentioned traditional Chinese medicine decoction data processing device provided in this embodiment of the invention, the instruction execution module 13 is used to decrypt the blinded prescription data using its own private key, and convert the decrypted blinded prescription data into machine instructions that can be recognized and executed by the internal system; based on the machine instructions, it drives the decoction equipment to perform operations including feeding medicinal materials and controlling decoction parameters; after the decoction service is completed, it generates a service execution certificate including a service timestamp and equipment process parameter log, and calculates the cryptographic hash value of the service execution certificate; it uploads the cryptographic hash value of the service execution certificate to the blockchain network; it receives a transaction receipt returned by the blockchain network; the transaction receipt serves as an electronic certificate that the service execution record has been successfully uploaded to the blockchain; after receiving the transaction receipt, it sends a notification message to the client that the decoction service has been completed.

[0057] Furthermore, in specific implementation, in the above-mentioned traditional Chinese medicine decoction processing device provided in the embodiments of the present invention, the delivery entrustment module 14 is used to package the decocted medicine, generate a unique packaging identifier for each package, and calculate the cryptographic hash value of the packaging identifier as the digital fingerprint of the medicine packaging; submit a logistics certificate application to the privacy computing gateway, the application materials including the cryptographic hash value of the packaging identifier and the decentralized identifier of the patient; after receiving the logistics verifiable certificate issued by the privacy computing gateway and associated with its own identity information, present the logistics verifiable certificate to the logistics and initiate a delivery entrustment, and after confirming that the logistics has accepted the delivery task, transfer the packaged medicine; cooperate with the logistics to complete the verification collaboration in the delivery process, so as to guide the patient to complete the recipient verification and logistics certificate validity verification; receive the delivery completion notification sent by the logistics, and obtain the notification signal that the patient has successfully signed for the medicine, and confirm that the logistics will upload the signing completion event certificate to the blockchain network.

[0058] Since the embodiments of the traditional Chinese medicine decoction processing device and the traditional Chinese medicine decoction processing method correspond to each other, the descriptions of the features in the embodiments corresponding to the traditional Chinese medicine decoction processing device can be found in the relevant descriptions of the embodiments corresponding to the traditional Chinese medicine decoction processing method, and will not be repeated here. Furthermore, it has the same beneficial effects as the traditional Chinese medicine decoction processing method mentioned above.

[0059] Embodiments of the present invention also provide an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to perform the steps in any of the above embodiments of the traditional Chinese medicine decoction data processing method.

[0060] Embodiments of the present invention also provide a computer-readable storage medium storing a computer program, wherein the computer program is configured to execute the steps in any of the above embodiments of the traditional Chinese medicine decoction data processing method.

[0061] In one exemplary embodiment, the aforementioned computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.

[0062] The embodiments of the present invention also provide a computer program product, which includes a computer program that, when executed by a processor, implements the steps in any of the embodiments of the traditional Chinese medicine decoction data processing method.

[0063] Embodiments of the present invention also provide another computer program product, including a non-volatile computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps in any of the above embodiments of the traditional Chinese medicine decoction data processing method.

[0064] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.

[0065] The above provides a detailed description of the data processing method, apparatus, equipment, and medium for traditional Chinese medicine decoction processing provided by this invention. Specific examples have been used to illustrate the principles and implementation methods of this invention. The descriptions of the above embodiments are only intended to help understand the method and core ideas of this invention. It should be noted that those skilled in the art can make various improvements and modifications to this invention without departing from its principles, and these improvements and modifications also fall within the protection scope of this invention.

Claims

1. A method for processing data on traditional Chinese medicine decoction, characterized in that, Applications in decoction processing plants include: After digital identity registration and on-chain anchoring, obtain original verifiable credentials containing process proof from an authoritative institution; The original verifiable credential is submitted to the on-chain and off-chain storage services so that the on-chain and off-chain services can perform off-chain storage and on-chain hash storage of the original verifiable credential. The system receives commissions for decocting traditional Chinese medicine and uses zero-knowledge proof services to verify the compliance of verifiable process certificates. Once the verification is successful, it retrieves the blinded prescription data from the privacy computing gateway. The blinded prescription data is decrypted and converted into machine instructions. Based on the machine instructions, the decoction service is executed, and the execution record is hashed and uploaded to the blockchain. A notification message indicating that the decoction service has been completed is sent to the client. To generate digital fingerprints for the medicine packaging and logistics vouchers for the prepared herbal decoction, entrust logistics for delivery, and confirm receipt and sign for the delivery upon receiving the delivery completion notification, the event certificate is stored on the blockchain.

2. The method for processing data related to the decoction of traditional Chinese medicine according to claim 1, characterized in that, After digital identity registration and on-chain anchoring, obtain original verifiable credentials containing proof of the process from an authoritative institution, including: Interact with the digital identity component to generate a distributed digital identity identifier and public / private key, and store the identifier and private key locally; Submit an identity anchoring application to the digital identity component so that the digital identity component can complete the registration and storage of identity information on the distributed ledger; Submit qualification certification materials related to process compliance to an authoritative organization and apply for qualification verification; After being reviewed and approved by an authoritative institution, an original verifiable certificate containing process proof is obtained; the original verifiable certificate uses privacy methods to prove compliance without disclosing process parameters.

3. The method for processing data related to the decoction of traditional Chinese medicine according to claim 1, characterized in that, Submitting the original verifiable credential to on-chain and off-chain storage services enables the on-chain and off-chain services to perform off-chain storage and on-chain hash storage of the original verifiable credential, including: The original verifiable credential is sent to an on-chain and off-chain storage service, which then stores it off-chain. The original verifiable credential is hashed and uploaded to the blockchain in conjunction with the on-chain and off-chain storage services. The on-chain and off-chain storage services generate a hash value for the original verifiable credential and upload the hash value to the blockchain network. Receive the transaction receipt returned by the blockchain network to confirm that the hash value has been successfully recorded on the chain; Receive the storage certificate issued by the on-chain and off-chain storage services to confirm that the original verifiable credential and corresponding hash value have completed the storage and notarization process.

4. The method for processing data related to the decoction of traditional Chinese medicine according to claim 1, characterized in that, Upon receiving a commission for traditional Chinese medicine decoction, the system utilizes zero-knowledge proof services to verify the compliance of verifiable process documentation. After successful verification, it retrieves blinded prescription data from a privacy-preserving computing gateway, including: Receive requests from patients who are commissioning the decoction of traditional Chinese medicine, and simultaneously obtain verifiable prescription vouchers presented by the patients; Submit your own process verification credentials to the zero-knowledge proof service to apply for process compliance verification; Receive the compliance verification result returned by the zero-knowledge proof service, and at the same time obtain a notification message from the patient that the compliance verification result has been synchronously obtained, thus completing the establishment of trust between the two parties; Once the compliance verification result is passed, a prescription data acquisition request is submitted to the privacy computing gateway to request the extraction of relevant patient prescription information; Receive blinded prescription data returned by the privacy computing gateway; the blinded prescription data is processed through a trusted execution environment and agent re-encryption method, and can only be decrypted and interpreted by the decoction factory.

5. The method for processing data related to the decoction of traditional Chinese medicine according to claim 1, characterized in that, Decrypting the blinded prescription data and converting it into machine instructions, and then performing the decoction service based on the machine instructions, including: The blinded prescription data is decrypted using its own private key, and the decrypted blinded prescription data is converted into machine instructions that can be recognized and executed by the internal system. Based on the machine instructions, the decoction equipment is driven to perform operations including feeding medicinal materials and controlling decoction parameters.

6. The method for processing data related to the decoction of traditional Chinese medicine according to claim 1, characterized in that, The execution record hash will be uploaded to the blockchain, and a notification message indicating the completion of the decoction service will be sent to the client, including: After the decoction service is completed, a service execution certificate containing a service timestamp and equipment process parameter logs is generated, and the cryptographic hash value of the service execution certificate is calculated. Upload the cryptographic hash value of the service execution proof to the blockchain network; Receive a transaction receipt returned by the blockchain network; the transaction receipt serves as an electronic credential that the service execution record has been successfully uploaded to the blockchain. After receiving the transaction receipt, a notification message is sent to the client indicating that the decoction service has been completed.

7. The method for processing data related to the decoction of traditional Chinese medicine according to claim 1, characterized in that, To generate digital fingerprints for the prepared herbal decoction packaging and logistics vouchers, the logistics company handles the delivery. Upon receiving the delivery completion notification, the company confirms receipt and stores the event evidence on the blockchain, including: The prepared herbal decoction is packaged, a unique packaging identifier is generated for each package, and the cryptographic hash value of the packaging identifier is calculated as a digital fingerprint of the medicine packaging. Submit a logistics credential application to the privacy computing gateway. The application materials include the cryptographic hash value of the packaging identifier and the decentralized identifier of the patient. After receiving a logistics verification credential issued by a privacy computing gateway and associated with its own identity information, the system presents the logistics verification credential to the logistics company and initiates a delivery request. After confirming that the logistics company has accepted the delivery task, the system transfers the packaged medicines. In coordination with logistics to complete the verification process during delivery, so as to guide patients to complete the recipient verification and logistics document validity verification; The system receives delivery completion notifications from logistics companies and obtains notification signals that the patient has successfully signed for the medication. It then confirms that the logistics company will upload the proof of delivery completion to the blockchain network.

8. A data processing device for decocting traditional Chinese medicine, characterized in that, Applications in decoction processing plants include: The credential acquisition module is used to obtain original verifiable credentials containing process proofs from authoritative institutions after digital identity registration and on-chain anchoring. The credential submission module is used to submit the original verifiable credential to the on-chain and off-chain storage services, so that the on-chain and off-chain services can perform off-chain storage and on-chain hash storage of the original verifiable credential. The blinding verification module is used to receive commissions for decocting traditional Chinese medicine, and to use zero-knowledge proof services to verify the compliance of verifiable vouchers for process proof. After successful verification, the blinded prescription data is obtained from the privacy computing gateway. The instruction execution module is used to decrypt the blinded prescription data and convert it into machine instructions, execute the decoction service based on the machine instructions, hash the execution record and put it on the blockchain, and send a notification message to the client that the decoction service has been completed. The delivery entrustment module is used to generate digital fingerprints and logistics vouchers for the prepared decoction, entrust logistics for delivery, and confirm receipt and sign for the delivery completion event after receiving the delivery completion notification, and store the event evidence on the blockchain.

9. An electronic device, characterized in that, include: Memory, used to store computer programs; A processor is configured to execute the computer program to implement the steps of the traditional Chinese medicine decoction data processing method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the traditional Chinese medicine decoction data processing method as described in any one of claims 1 to 7.