Data tracing method and system based on big data and multi-dimensional features
Through blockchain technology and multi-party secure computing, a multi-organizational trust framework is established, smart contracts and homomorphic encryption are used to ensure the safe sharing of data traceability, which solves the problems of trust and competition factors in information sharing between multiple organizations, and improves the reliability of the traceability system. Comprehensiveness and efficiency.
Patent Information
- Application Number
- CN202411257339.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-09
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-09-09
AI Technical Summary
In data traceability, information sharing among multiple organizations is restricted by trust, competition, policy and other factors, which affects the effectiveness and integrity of the traceability system.
Adopt a multi-organization trust framework based on blockchain technology and multi-party secure computing, ensure the safe sharing and processing of data through smart contracts and homomorphic encryption, establish a trust environment between multi-organizations, and ensure data transparency and privacy protection.
It builds a trust environment for safe data sharing among multiple organizations, solves the problem of trust and competition factors affecting information sharing, improves the comprehensiveness and efficiency of the traceability system, and enhances data transparency and privacy protection.
Smart Images

Figure CN118764172A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data tracing technology, and specifically to a data tracing method and system based on big data and multidimensional features. Background Art
[0002] Data provenance refers to the technologies and methods used to track and verify the origin, flow, and processing of data. It helps businesses or organizations understand the generation, transmission, and changes of data, ensuring its authenticity and reliability. Data provenance has important applications in many fields.
[0003] However, in practical applications, data traceability methods and systems based on big data and multidimensional features face a challenge: information sharing between different stakeholders is often hindered by trust crises, market competition, or constraints such as relevant policies and laws. This can affect the effectiveness and integrity of the entire traceability system. For example, within a specific industrial chain, economic competition between upstream and downstream companies may hinder information sharing, which will undoubtedly weaken the effectiveness of the traceability system and may also increase the operating costs of the entire system. Summary of the Invention
[0004] The main purpose of the present invention is to provide a data tracing method based on big data and multidimensional features, aiming to solve the technical problems in the prior art.
[0005] The present invention provides a data traceability system based on big data and multi-dimensional features, including: a shared database, which is a multi-organization trust framework for securely sharing traceability information between multiple organizations; A data processing subsystem, which is used to process various data, and the data processing subsystem includes an information acquisition module, an information processing module and an information transmission module; The information collection module is used to collect data information generated by each organization; The information processing module is used to extract features from the processed data; The information transmission module is used to upload information to the shared database.
[0006] The present invention also provides a data tracing method based on big data and multidimensional features, comprising the following steps: S1. Establish a multi-organization trust framework based on blockchain technology and multi-party secure computing to ensure the secure sharing of traceability information among multiple organizations; S2. Collect data related to the items to be traced from participants and clean and format the data according to the preset data model; S3. Extract features from the processed data to form a multi-dimensional information set that at least contains the item identifier, timestamp, geographical location, quality attribute, and supply chain link, etc. S4. In the multi-organization trust framework, automatically record and verify the authenticity and integrity of the information set according to the smart contract mechanism, and support cross-organization query and collaboration.
[0007] Preferably, establishing a multi-organization trust framework based on blockchain technology and multi-party secure computing includes: Determine the trust level T of all parties in the blockchain network; If the trust level T of any party is less than the predetermined trust threshold τ, then do not grant this party the blockchain editing permission; Use the homomorphic encryption method to encrypt the shared information provided by each organization and distribute it to each participating party; Start the multi-party computing protocol to achieve common data access and processing in a unified secure computing environment, calculate the weight W based on the data contribution degree C of each participating party. The formula is: If C_i ≥ average contribution degree C, then W_i = C_i * β; otherwise W_i = C_i * α; where α ≤ β and i represents each participating party. Distribute the encrypted data fragments according to the weight W of each participating party, and all participating parties simultaneously execute the specified algorithm to process the allocated encrypted data fragments, and merge the intermediate results generated after processing into a final output.
[0008] Preferably, the determining the trust level of all parties in the blockchain network includes: Collect the number of transaction records T of the participating party in the past X time periods; If the monthly average transaction number M of the participating party < Y, then its initial trust value T0 is reduced by α times, otherwise it is increased by β times; Adjust the trust coefficient according to the historical violation records. If there is no violation of the rules, then keep the coefficient λ = 1, otherwise λ = (1 - δ); Accumulate all the above-adjusted trust values to calculate the total trust level: The final trust level T = T0 * M * λ.
[0009] Preferably, the using the homomorphic encryption method to encrypt the shared information provided by each organization includes: Use the public key PK to perform homomorphic encryption on the data submitted by each organization to form the ciphertext E(PK, data); Confirm that the length L of each ciphertext E(PK, data) meets the security condition: If L ≥ the minimum ciphertext size L_min, then it is considered valid, otherwise it is regarded as an incorrect input and the data is returned for retry encryption; Send the valid ciphertext to the secure computing environment; In the secure computing environment, only allow the use of specific homomorphic operation functions for decryption.
[0010] Preferably, only allowing decryption using specific homomorphic operation functions in a secure computing environment includes: After receiving the encrypted ciphertext E, the homomorphic property is applied to decrypt the plaintext to obtain the key: Decryption process D(SK, f(E)) > data plaintext; Further verify the integrity of the data plaintext C; If the result of C's check shows that the probability of its integrity Pr (integrity) ≥ Z, then the decryption is considered legal; Completing all the above steps ensures that the valid data contained in the ciphertext can be accurately decrypted.
[0011] Preferably, establishing a multi-organization trust framework based on blockchain technology and multi-party secure computing also includes: For each pair of parties communicating within the trust framework, encryption technology is applied to ensure the security of data transmission; Deploy smart contracts to automatically manage data sharing rules, including: Set the legality condition P before the execution of smart contract C; If the legality condition P is not met, the smart contract C will not be activated; The ownership and verifiable timestamp O(T) of data are automatically updated by smart contracts; Check the node status S on each blockchain participating in data verification and ensure that the status S is consistent with the latest smart contract version.
[0012] Preferably, the setting of the legality condition P includes: The legitimacy condition P is defined as P = V(F)*H(T), where V is the verification variable, F is the integrity of the participant, and H represents the credibility of the organization; When the participant integrity F is lower than the predefined standard f0 or the organization credibility H is less than the predefined hmin, the legitimacy condition is judged to be not met P≠true; Mark the result that meets the legitimacy condition as R and send it to all participants of the trust framework; If any R is equal to true, the corresponding operation within the trust framework is triggered.
[0013] Preferably, the status check before the smart contract C executes the verification logic includes: Verify each record to be written. If the difference between its integrity I and the standard integrity IS exceeds a predetermined range r, the record will not be written and marked as non-compliant N. If the difference in integrity I, ΔI = |IIS| < r, the record is added to the blockchain as trusted information C(TI); otherwise, the record is marked as non-compliant and untrusted record UN(TR). Ensure that all records added to the smart contract comply with the consistency conditions, which are defined as Q(R) ≥ k * Q(L) and Q(S) > Q(E), where k > 1; Perform the above condition check on each record. Once the condition Q(R) < k * Q(L) or Q(S) ≤ Q(E) is met, the record is regarded as abnormal data AD and is not adopted.
[0014] Preferably, the status management operation after verifying the record includes: When receiving data marked with N, re-submit the record for secondary verification and record the frequency FR of the data being re-marked as N. When FR reaches the predefined re-verification upper limit fL, it is considered as incorrect data; Check if FR < fL, then record the data marked with N and allow it to enter the subsequent processing flow; Calculate the smart contract execution efficiency metric E as the correct passing rate C / (correct passing items + abnormal items A) for all data items, and ensure that E is greater than the predefined threshold e0; Once the smart contract completes execution and the efficiency meets the standard, the smart contract will automatically generate a feedback record to the blockchain for each node to confirm the effectiveness and correctness of the execution.
[0015] The present invention provides a pediatric drug complication monitoring system. It has the following beneficial effects: The present invention builds a multi-organization trust framework based on blockchain technology and multi-party secure computing. This method can construct a trusted environment for secure data sharing among multiple organizations, thus solving the problem that information sharing between different organizations may be restricted by factors such as trust, competition, and policies, affecting the comprehensiveness of traceability. Brief Description of the Drawings
[0016] Figure 1 It is a schematic flowchart of the method of the present invention; Figure 2 It is a schematic structural diagram of the system of the present invention. Detailed Embodiments
[0017] The following describes the embodiments of the present disclosure in detail with reference to the drawings.
[0018] As Figure 2 shown, the present invention discloses a data traceability system based on big data and multi-dimensional features, including: A shared database, which is a multi-organization trust framework and is used for secure sharing of traceability information among multiple organizations; The data processing subsystem is used to process various data. The data processing subsystem includes an information acquisition module, an information processing module and an information transmission module. The information acquisition module is used to collect data information generated by various organizations, the information processing module is used to extract features from the processed data, and the information transmission module is used to upload information to a shared database.
[0019] like Figure 1 As shown, the present invention also discloses a data tracing method based on big data and multidimensional features, including S101: By establishing a multi-organization trust framework based on blockchain technology and multi-party secure computation (MPC), this approach can foster a trust environment for secure data sharing among multiple organizations. Traditionally, inter-organizational collaboration faces trust challenges due to the interaction and information transfer between different entities. Organizations are often reluctant to disclose their data or share important transaction details due to a lack of trust. This approach leverages the unique characteristics of blockchain technology: a distributed database characterized by immutability and transparency. For example, in a food safety traceability scenario, various nodes may represent multiple parties, such as raw material suppliers, processing plants, distributors, and retailers. These parties participate in the trust framework and contribute information according to a standardized protocol. This information is then packaged into blockchain blocks, and its authenticity is verified through a consensus mechanism. Consensus mechanisms typically require that a majority or all participants agree on the authenticity and validity of the information before new data is included in the chain. This process not only increases data transparency but also reduces the potential risk of data manipulation. In addition to blockchain as a foundational platform to ensure data immutability and security, MPC is also required to address privacy concerns. Multi-party secure computation allows multiple participants to jointly calculate a value or obtain the result of a function without exposing the input values to anyone. This method enables different organizations participating in data exchange to complete computing tasks together without knowing each other's original data, effectively protecting sensitive data from illegal leakage or snooping while enabling valuable data sharing.
[0020] S102: Through the preliminary cleaning of the traceability data, key information is further extracted according to the predefined feature extraction algorithm to establish a richer and more specific description of the traceable items. This process aims to screen out the most meaningful and influential factors through data analysis. For example, in the case of food traceability, multi-dimensional key indicators such as the timestamp of when the plant was planted, harvested or manufactured, the geographical location of the plantation or processing location coordinates, the quality characteristics of the nutritional content ratio, whether there are residual substances, and specific supply chain steps in the circulation process can be extracted as the main content of subsequent analysis. By collating and summarizing these metadata, a unique file for each product can be established, which can help end consumers and regulators quickly obtain complete and reliable quality and safety status, and provide scientific and strong support for subsequent quality control.
[0021] S103: Leveraging the previously established multi-organizational trust network, smart contracts are designed and implemented within this architecture to automate the management and monitoring of the extracted, heterogeneous, multi-source data sets. This step is crucial to ensuring the proper functioning of the entire traceability system. A smart contract is a piece of program code written on the blockchain that automatically triggers execution when pre-defined rules and conditions are met, without the need for human intervention. For example, when a batch of food enters the market, the supplier simply uploads the relevant certification documents to the system, triggering the corresponding contract terms, such as checking for expiration risks or compliance reviews. The program then automatically verifies its compliance—for example, whether any abnormal indicators deviate from the specified standards and whether all required checkpoints have been passed. The smart contract automatically assesses each standard and generates verification feedback. This not only saves manual review time and labor costs, but also significantly improves work efficiency and enhances transparency at all stages.
[0022] By implementing the above comprehensive solution, we can effectively solve the inherent problem of "information sharing between different organizations is restricted by various external factors." Specifically: The transparency provided by blockchain allows all parties involved to understand the specific details of each transaction, reducing the chances of fraud and misreporting.
[0023] The multi-organizational trust environment encourages more partners to join the data alliance with confidence, jointly promote the development of the industrial chain and promote the overall improvement of the industry level.
[0024] Secure computing is used to ensure the security of personal or organizational commercial secrets and to explore in-depth communication and cooperation models.
[0025] In short, this framework not only ensures that all participants can collaborate efficiently on a trusted platform to exchange information, but also promotes the optimization and upgrading of traceability and risk management efficiency in the overall value chain, laying a good foundation for the promotion of similar applications in the future.
[0026] The specific steps mentioned above for establishing a multi-organization trust framework based on blockchain technology and multi-party secure computing are: S201: This embodiment involves determining the trust level T of each participating organization in the blockchain network. At this stage, each organization's trust score is determined through a quantitative analysis of historical transaction records, participant reputation ratings, and other trust assessment metrics. Once these trust scores are calculated, pre-defined rules are used to determine which members should have the ability to edit blockchain data, such as modifying transaction status or adding new blocks to the chain. Participants that do not meet the threshold τ are denied such privileges.
[0027] S202: Next, encryption algorithms such as the Paillier encryption scheme are used to process the shared data from different participants while ensuring privacy and preventing unauthorized access to sensitive information. Specifically, the results representing the encrypted state of all data are distributed among each organization that contributed input information—this ensures that no single party can determine the original data based solely on the information received. This information, processed using appropriate homomorphic encryption and decryption techniques, can then be used and analyzed in a unified multi-party secure computing environment without leaking confidential data.
[0028] S203: A secure multi-party computation process is then initiated—for example, using secret sharing or differentially private algorithms to enable cross-domain querying, statistical analysis, and machine learning operations on sensitive resources shared under protected conditions. This step ensures that no individual can derive more information beyond their own input from the information they possess. Within this secure multi-party environment, each party can perform joint data access and processing operations without directly accessing the original data of others; thus, even if one or more nodes are compromised, the confidentiality and integrity of the global computation results cannot be affected.
[0029] Through this three-step process, we can ensure the authenticity and trustworthiness of key asset tracking chains in multi-stakeholder collaborative scenarios while effectively protecting the privacy of individual business activities. This framework effectively promotes the expansion and deepening of blockchain technology in distributed applications, while also enhancing the ability to dynamically monitor the trust of participants.
[0030] The specific steps for starting the multi-party computing protocol feature are as follows: S301: Determine the weight W of each party by calculating their data contribution. This process is specified according to the formula. Specifically, if a particular party's data contribution \C_i\ is greater than or equal to the group's average contribution \C\, then its weight is assigned \W_i=C_i*\beta\. Conversely, if \C_i\ is less than the average contribution \C\, its weight is assigned according to \W_i=C_i*\alpha\, where \alpha\ and \beta\ satisfy \alpha\leq\beta\, and i is used to identify each party.
[0031] S302: Based on the calculated weights \W\ for each participant, the system distributes the encrypted data segments according to the weight of each participant. This means that participants with higher weights may receive larger amounts of data to process or more critical portions to ensure process security and optimize efficiency.
[0032] S303: All participants assigned encrypted data segments begin to independently compute their assigned data segments using a pre-agreed algorithm. This step ensures that each participant can collaborate on their own data segments without direct communication, protecting information security and preventing information leakage or inappropriate use.
[0033] To illustrate the implementation of the above steps, consider a data traceability initiative involving five different organizations collaborating to analyze a set of encrypted financial data. Each organization must first determine its data contribution and, depending on whether its contribution exceeds the average, receive a higher or lower share of the computational task. Participants are then allocated portions of the data based on their respective shares, and all participants then process the encrypted financial data fragments according to pre-set rules. Finally, each party sends the computational results generated using their data to a centralized repository. Without disclosing the original financial details, a unified conclusion is formed to track or verify the data's authenticity and history. This approach leverages the principles of distributed multi-party collaboration to ensure that data processing maintains privacy while also maintaining integrity.
[0034] The specific steps for encrypting the shared information provided by each organization using the homomorphic encryption method are as follows: S401: The security of the information transmission process is ensured through the use of secure homomorphic encryption of the information provided by each participating organization. Specifically, the data submitted by each organization is homomorphically encrypted using a previously distributed and stored public key PK, generating a ciphertext EPK,data corresponding to each batch of shared data, where PK represents the public key and data represents the shared data content that each organization is required to provide. This encryption process not only ensures the privacy and integrity of the information but also lays the foundation for subsequent secure operations. S402: The system further ensures the validity of each ciphertext after homomorphic encryption. The system first needs to verify whether the length L of the ciphertext EPK and data meets the threshold requirement L_min of the minimum ciphertext size under the preset security conditions. In other words, if the length of the ciphertext is greater than or equal to L_min, it is considered valid; if it does not meet this requirement, it is considered that incorrect data submission has occurred and the original data submitter is notified to correct and retry the ciphertext; this can effectively avoid security vulnerabilities and potential risks caused by maliciously constructed information or accidents; S403: The valid ciphertext is then transferred from the data uploader's client to a secure computing environment that has been prepared and ensures privacy for processing. This is typically a physically or access-isolated space to ensure that the data can only be used to perform specific computing tasks under specified conditions and that the plaintext form of the data cannot be directly observed. S404: Within the secure computing environment, only predefined, verified operations or functions capable of correctly decrypting ciphertext without leaking the plaintext are permitted. This means that even authentic information contained within the ciphertext can only be partially decrypted through specific operations under strict restrictions, enabling collaborative computing without exposing any data to any party. This final step is a crucial means of ensuring that all data processing steps remain under control, thus completing the entire homomorphic encryption and processing mechanism at a technical level, ultimately achieving the goal of maintaining information security and privatization.
[0035] The specific steps mentioned above to determine the trust level of each party in the blockchain network are: S501: The total number of transaction records T generated by the participants within a specific time period X is collected as a measurement indicator. The period X here can be set based on the actual needs of the application scenario, such as 90 days or longer to accumulate sufficient data points. For example, for merchants on an e-commerce platform, the platform can automatically track every successful blockchain transaction within a 90-day period and calculate the total number of transactions T to initially assess the merchant's activity and transaction volume.
[0036] S502: Further judgment is made by referring to whether the monthly average transaction number M of a participant within a certain period reaches a pre - defined threshold Y. If the average number of transactions completed by a merchant per month in the past four months is less than the预定标准Y, for example: M < Y = 100, it is considered that its activity level is relatively low; at this time, the initial trust value T0 of the merchant needs to be reduced by a certain proportion α; assuming α = 0.1 times, the initial trust value will be reduced by 10%. If M ≥ Y, it means that its activity level meets or exceeds the expectation, then the initial trust value will be increased by a proportion β, for example β = 1.2 times; this can ensure the recognition of active participants and give them a relatively high basic trust score.
[0037] S503: Considering whether there are records of default or other improper behaviors in history to decide whether to adjust the temporary trust coefficient λ obtained on the existing basis. If there is no case of improper operations such as violations in the blockchain node, λ = 1 remains unchanged during this evaluation process; but if there is evidence that a participant has been dishonest, punitive measures should be taken to lower λ to 1 - δ, where 0 < δ < 1. For example, when the violation event is relatively serious, δ is set to a larger value of 0.5, that is, in this case λ = 1 - 0.5 = 0.5 to reflect significant doubts about the credibility of this participant. This measure ensures that only those with good performance and reputation can obtain a fully undiminished trust score.
[0038] By gradually implementing the above steps and summarizing the results obtained in each stage, the overall reliable level index - "Final Trust Level" T of each participating entity is finally calculated. This is directly reflected in the formula T = T0 * M * λ; that is, by comprehensively multiplying the adjusted initial score T0, the coefficient M reflecting the behavior frequency, and λ adjusted based on historical records, a comprehensive evaluation score that can comprehensively reflect the reliability and trustworthiness index of any party in the blockchain ecosystem can be obtained.
[0039] The specific steps for only allowing the use of specific homomorphic operation functions for decryption in the secure computing environment are as follows: S601: Receive the encrypted big data, that is, the ciphertext E, and use an operation function that supports homomorphic properties to process the ciphertext within a computing environment with appropriate security guarantees. On this basis, the key SK is used to execute a specific decryption function fE, so that while keeping the data encrypted, the operation on the ciphertext E is completed, and the data plaintext in readable form is homomorphically decrypted. The specially designed operation function in this process is carefully selected to ensure that data can be correctly processed even in the encrypted state without directly exposing sensitive content.
[0040] S602: A comprehensive integrity check C is then performed on the received decrypted plaintext data. This step typically uses a pre-defined security algorithm to verify that the decrypted content matches the original encrypted data. For example, the consistency and authenticity of the original data can be verified by comparing it with a hash value such as SHA-256 or a message authentication code.
[0041] S603: Once the verification result shows that the decrypted data plaintext retains the data structure and values of its original state without modification and meets or exceeds the expected probability threshold Z, the system deems the integrity check result valid. Specifically, if the probability assessment during the integrity verification process finds that the probability Pr integrity is greater than or equal to the preset probability threshold Z, where Z represents a value less than 1 that reasonably determines the integrity threshold of the decrypted data, the system determines that the ciphertext has been successfully and legally decrypted, thereby ensuring the effective credibility of the entire data transmission link. Otherwise, it indicates that the data may have been modified or forged, and appropriate measures must be taken to troubleshoot the problem.
[0042] S604: The successful completion of all the above operations ensures that the original data retains its original authenticity after being processed through encryption-transmission-homomorphic decryption, thereby making safe and reliable big data tracking and tracing possible.
[0043] The above-mentioned establishment of a multi-organization trust framework based on blockchain technology and multi-party secure computing also includes the following steps: S701: To further enhance security, all participants approved for inclusion in the trust framework must implement encryption mechanisms before data is transmitted between them to ensure information security. This can be achieved by selecting appropriate advanced encryption technologies such as Public Key Infrastructure (PKI). This ensures that only authorized senders and receivers can process sensitive information, preventing outsiders from intruding. This encryption method protects data transmission between nodes from leakage or malicious interference.
[0044] S702: The final step leverages the distributed ledger's capabilities with smart contracts to automatically enforce management logic. This involves assigning policies and rules for data access and sharing to smart contracts. This approach not only clarifies agreements but also streamlines processes, improves operational efficiency, and reduces the risk of misunderstandings and human error. Whenever data is shared or transferred outside the trusted sphere, pre-defined and coded contracts verify that these activities adhere to pre-established guidelines, such as permissioned access, payment models, or other customized agreement items.
[0045] The above are specific steps for establishing a multi-organization trust framework and operating it using smart contracts in an environment based on blockchain technology and multi-party secure computing: S801: Setting the legality conditions of the smart contract: Within a multi-organizational trust framework, before a smart contract C is formally executed, its legality conditions P must be set. These conditions can include, but are not limited to, constraints such as participant identity verification and time window validity. For example, in a product source verification process requiring multi-party authorization, legality condition P is only considered satisfied when all relevant parties, such as manufacturers, distributors, or logistics providers, have completed authentication and uploaded the necessary supporting documents within a specified timeframe. If legality condition P is not met, the smart contract C will not be activated.
[0046] S802: The smart contract executes to update ownership and timestamp records: Once the set legality condition P is met, the smart contract C automatically starts execution and automatically completes the ownership transfer record of the corresponding data according to the pre-set business rules, such as changing the ownership information of a specific batch of goods to the new holder; at the same time, an unalterable transaction record is automatically generated on the blockchain, and an immutable time stamp OT is assigned to the ownership change of the data and each operation. In this way, the information of each ownership change point can be traced, and the authenticity of the stored data and the authenticity and reliability of the ownership history can be ensured.
[0047] S803: Check and synchronize node status to maintain consensus: In order to maintain the consistency and credibility of the entire network, during the process of activating and processing smart contracts, it is necessary to continuously monitor and verify whether the status S of each participating node N is synchronized and correctly reflects the latest version of the smart contract status and its related transaction records; this is mainly reflected in the regular or on-demand execution of on-chain data synchronization operations, verification of the validity and consistency of each block, and timely detection and resolution of any abnormalities or potential security risks. Ultimately, it ensures that all data verification nodes on the network can share a consistent data view and be consistent with the consensus mechanism, thereby effectively protecting data authenticity and improving the security and efficiency of the entire system.
[0048] The above description and steps demonstrate the basic logic and technical means of using blockchain technology and smart contracts to establish a reliable data traceability system among multiple organizations based on big data and multi-dimensional features.
[0049] The specific steps in the above steps under the premise of setting the legality condition P are: S901: A legitimacy condition, P, is defined using the formula P=VF*HT. In this formula, V represents a verification function used to evaluate the integrity of the attributes or status of participant F, and H is a metric used to quantify the overall credibility of the participant's organization. If the integrity of participant F is not higher than a preset value f0, or the credibility of organization H is not higher than a preset threshold hmin, then the condition P≠true is determined, indicating that the participant's behavior is neither legitimate nor credible.
[0050] S902: For each object being tested, after determining the verification conditions, the algorithm interprets the validity status and generates a logical result flag R. If R is True, verification has passed, and the validity condition P, derived from the calculation rules above, is met. The system then automatically broadcasts this validity result R to all relevant members of the trust framework, allowing them to receive real-time verification results and make immediate assessments of the information's reliability.
[0051] S903 further stipulates that as long as there is a situation where R equals true, the automated management measures in the entire framework will be activated. This means that if a participant or its associated activities are verified to be legal, the system will automatically trigger the specified operation sequence within the trust framework according to the pre-configured mechanism to support data tracking and verification and protect its authenticity and integrity.
[0052] To better understand this, let's take a blockchain as an example: Imagine a trust framework comprised of multiple supply chain entities, such as manufacturers, wholesalers, retailers, and logistics providers, that needs to trace the origin of a batch of goods. Each node must meet certain legitimacy and credibility requirements to gain the trust of other entities. The system utilizes F-integrity to assess the completeness of the information provided by each participant, such as the manufacturing time, location, and materials used. It also uses H-reputation to measure the overall trustworthiness of the organization, including its history of fraud. These standards ensure the authenticity and consistency of information. Ultimately, when verification variables indicate that a link meets established requirements, all entities in the network are notified. Thus, any correct information path can trigger subsequent processes to ensure the authenticity and trustworthiness of product information.
[0053] The specific steps of the above-mentioned status check feature before the smart contract C executes the verification logic are as follows: S1001: Perform a preset standard integrity check on the newly received data records through the smart contract C. In this process, the smart contract analyzes each content in the data packet according to the pre-set data model and verifies the received data by comparing it with the defined standard integrity IS. If it is found that there is a difference between the data packet integrity I and the pre-set standard integrity IS, and the difference value ΔI = |I - IS| exceeds the given threshold r, then this record is regarded as untrustworthy and is marked with non-compliance N; otherwise, the record will be considered to meet the basic consistency requirements.
[0054] S1002: Further determine whether it is written into the blockchain as part of the trustworthy information by calculating the data integrity of the record. If the above verification shows that the difference value ΔI < r, then the smart contract C will add the corresponding record CTI to the blockchain in the form of blocks. These blocks that have passed the effective verification and are not marked as non-compliant contain trustworthy information TI and become an important part of the traceable records.
[0055] S1003: To ensure the data consistency and integrity of the records on the blockchain, there is an additional quality control process for checking the overall quality level Q of the written records, which includes detailed comparison and evaluation of indicators such as the reliability R and the survival cycle length L of the data, as well as the quality QS of the source data and the data quality QE at the end of the data. Specifically, before adding the record to the chain, it is first judged whether the ratio condition between the overall reliability of the data and the average quality level is at least a multiple of a pre-set minimum amplification factor, that is, the condition QR ≥ k * QL is satisfied, where the coefficient k is a proportional parameter greater than 1. In addition, it is also necessary to evaluate that the quality of the original data is higher than the quality at the end point of the data life cycle QS > QE, which is considered because the data usually becomes stale during the process from creation to processing, so the data at the source should be more effective.
[0056] S1004: Mark any newly submitted records to be written that do not meet the conditional requirements and prevent them from being written into the blockchain. Once it is found that a newly arrived record violates the consistency check criteria, that is, it fails to meet any of the aforementioned quality assurance conditions QR < k * QL or QS ≤ QE, this will immediately determine that this record belongs to the category that cannot be trusted - regarded as abnormal data AD, and it is no longer allowed to be added to the record set of the smart contract, effectively maintaining the overall quality standard and traceability performance of the blockchain.
[0057] Next, refer to Figure 1 Describe the specific steps of the state management operation after verifying the records in the data traceability method based on big data and multi-dimensional features: S1101: When a data item marked as N, where N represents a state requiring verification, is received, the system's response mechanism resubmits the record for secondary verification and counts the frequency FR of the data item being re-marked as state N. If the number of times the data item is re-marked as state N, i.e., the frequency FR, equals or exceeds a pre-set upper limit fL for re-verification, the data record is determined to have a potential problem or error.
[0058] S1102: After re-verification, if the frequency FR of data repeated verification marked as N is less than the upper limit fL of re-verification, the record is considered to be data in normal state N, and the system will perform further processing steps on it. This includes adding the record in state N to the system's internal data flow and allowing it to continue to circulate.
[0059] S1103: For each piece of data involved in the entire data verification process, the system further calculates a technical parameter called efficiency index E, which is used to represent the execution efficiency of the smart contract. This value is calculated as the number of correct records in the data verification, C, divided by the total number of correct records, C, plus the number of abnormal records, A, to obtain the overall efficiency level. If the calculated efficiency E exceeds the predefined efficiency threshold, e0, the system verification and state flow processing are considered to be at a good level.
[0060] S1104: After completing the data processing and state conversion work, if the execution of the smart contract achieves the expected results and it is confirmed that the efficiency of the smart contract meets the aforementioned efficiency threshold e0 requirements, the smart contract system will automatically generate a record containing all valid data flow feedback and record it in the distributed ledger of the blockchain network, so that all system nodes can confirm the effectiveness of the smart contract execution and the authenticity and validity of the data flow.
[0061] To more clearly understand the workings of this process, let's assume the present invention is used in a supply chain tracking application scenario. For a product source record in the "Pending Secondary Verification" state (assuming the "N" state is "Requires Further Investigation"), when this N-marked information is first received ( S1101 ), if, after re-examination, further investigation is confirmed three times, reaching the previously set re-examination frequency threshold of five (fL is set to 5 for example), the system will flag the source of the information as highly suspicious and temporarily halt processing step A. For other data in status N that do not meet the three-time re-examination frequency requirement, the system will default to continuing to process them according to the normal process ( S1102 ). Throughout the data processing process, the smart contract's verification efficiency level for the status data will be regularly calculated and checked ( E1103 ). When the efficiency index E exceeds a specified value, such as 75%, the system determines that the contract execution efficiency meets the standard and automatically generates transaction data entry feedback containing these records, such as valid data entry feedback containing details of the flow of a specific batch of goods through each link, and uploads it to the distributed general ledger for evidence storage and verification ( S1104 ).
[0062] In practice, when data traceability methods and systems based on big data and multidimensional features are implemented, they first establish a multi-organizational trust framework to ensure effective information sharing and mutual trust among multiple stakeholders based on jointly defined security rules and privacy protection measures. This framework leverages the advantages of blockchain technology and multi-party secure computation to build trust among all participants and ensure confidential data transmission. Next, relevant information on traceable items, such as goods and raw materials, is collected from various organizations and cleaned, standardized, and structured according to unified standards and models to improve the efficiency of subsequent information integration and processing. After completing initial data preparation, the technical solution conducts further feature extraction and multi-dimensional analysis on the processed data, aiming to extract and combine a series of key indicators to form comprehensive, accurate, and easy-to-understand time series information. This includes, but is not limited to, product ID time stamps, geographic coordinate records of production or transportation processes, and product quality characteristics. Furthermore, considering the complete supply chain process, this dimensional information also includes specific activity records at each stage, such as raw material collection time, processing, packaging logistics, and other processes. All captured feature values are considered essential components of a single, multidimensional information set, enabling traceability and tracking of every detail along the entire supply chain. This feature information is recorded in a pre-built distributed ledger, known as the blockchain system, ensuring the reliability and validity of each data point. Pre-configured smart contract logic can verify the data's consistency and traceability, further strengthening the data's credibility and accuracy. Finally, in practical applications, users can quickly access all historical transactions and processes related to a specific product through an access interface or a dedicated query screen. When necessary, they can leverage the system's collaborative features to engage in collaborative negotiations and problem-solving with other affiliated organizations or suppliers. The coordinated efforts of various components throughout the entire process are evident: a multi-party trust framework establishes a reliable foundation for data sharing; standardized data collection methods enable the effective integration and utilization of information from diverse sources; and the application of smart contracts makes data ownership transparent and controllable, reducing trust costs and management challenges. This collaborative mechanism ultimately enhances the efficiency and practicality of the entire system.
[0063] The above is only a specific implementation method of the present application, but the scope of protection of the present application is not limited to this. Any technician familiar with this technical field can easily think of various changes or replacements within the technical scope disclosed in this application, which should all be included in the scope of protection of this application.
Claims
1. A data traceability system based on big data and multi-dimensional features, characterized by: Including: A shared database, which is a multi-organization trust framework for securely sharing traceability information among multiple organizations; A data processing subsystem for processing various data, which includes an information collection module, an information processing module, and an information transmission module; The information collection module is used to collect data information generated by each organization; The information processing module is used to extract features from the processed data; The information transmission module is used to upload information to the shared database.
2. A data tracing method based on big data and multi-dimensional features, characterized in that: The data traceability method is applied to the data traceability system as described in claim 1, and includes the following steps: S1. Establish a multi-organization trust framework based on blockchain technology and multi-party secure computing to ensure the secure sharing of traceability information among multiple organizations; S2. Collect data associated with the item to be traced from the participants, and clean and format the data according to a preset data model; S3. Extract features from the processed data to form an information set containing the item identifier, timestamp, geographical location, quality attributes, and supply chain links; S4. In the multi-organization trust framework, automatically record and verify the authenticity and integrity of the information set according to the smart contract mechanism, and support cross-organization query and collaboration.
3. The data tracing method based on big data and multi-dimensional features according to claim 2 is characterized in that: The establishment of a multi-organization trust framework based on blockchain technology and multi-party secure computing includes: Determine the trust level T of each party in the blockchain network; If the trust level T of any party is less than the predetermined trust threshold τ, then this party is not granted blockchain editing permission; Use the homomorphic encryption method to encrypt the shared information provided by each organization and distribute it to each participant; Start the multi-party computing protocol to achieve common data access and processing in a unified secure computing environment. Calculate the weight W based on the data contribution degree C of each participant. The formula is: If C_i ≥ average contribution degree C, then W_i = C_i * β; otherwise W_i = C_i * α; where α ≤ β and i represents each participant. Allocate the encrypted data fragments according to the weights W of each participant. All participants simultaneously execute the specified algorithm to process the allocated encrypted data fragments, and merge the intermediate results generated after processing into a final output.
4. The data tracing method based on big data and multi-dimensional features according to claim 3 is characterized in that: The determination of the trust level of each party in the blockchain network includes: Collect the number of transaction records T of the participants in the past X time periods; If the monthly average number of transactions M of a participant < Y, then its initial trust value T0 is reduced by α times, otherwise it is increased by β times; Adjust the trust coefficient according to the historical violation records. If there is no rule violation, then keep the coefficient λ = 1, otherwise λ = (1 - δ); Accumulate all the above-adjusted trust values to calculate the total trust level: The final trust level T = T0 * M * λ.
5. The data tracing method based on big data and multi-dimensional features according to claim 3 is characterized in that: The use of the homomorphic encryption method to encrypt the shared information provided by each organization includes: Use the public key PK to perform homomorphic encryption on the data submitted by each organization to form the ciphertext E(PK, data); Confirm that the length L of each ciphertext E(PK, data) meets the security condition: If L ≥ the minimum ciphertext size L_min, then it is considered valid, otherwise it is regarded as an incorrect input and the data is returned for retry encryption; Send the valid ciphertext to the secure computing environment; In a secure computing environment, only specific homomorphic operation functions are allowed to be used for decryption.
6. The data tracing method based on big data and multi-dimensional features according to claim 5 is characterized in that: The use of only specific homomorphic operation functions for decryption in a secure computing environment includes: After receiving the encrypted ciphertext E, applying the homomorphic property to decrypt and obtain the plaintext after key decoding: the decryption process D(SK, f(E)) > the data plaintext; Further verifying the integrity C of the data plaintext; If the result of the C check shows that the probability of its integrity Pr(integrity) ≥ Z, it is regarded as legal decryption; Completing all the above steps to ensure that the valid data contained in the ciphertext can be accurately decrypted.
7. The data tracing method based on big data and multi-dimensional features according to claim 2 is characterized in that: Establishing a multi-organization trust framework based on blockchain technology and multi-party secure computing further includes: For each pair of parties communicating within the trust framework, applying encryption technology to ensure the security of data transmission; Deploying smart contracts to automatically manage the rules for data sharing, including: Setting the legality condition P before the smart contract C is executed; If the legality condition P is not met, the smart contract C will not be activated; Automatically updating the data ownership and verifiable timestamp O(T) by the smart contract; Checking the status S of each node on each blockchain participating in data verification and ensuring that the status S is consistent with the latest version of the smart contract.
8. The data tracing method based on big data and multi-dimensional features according to claim 7 is characterized in that: The setting of the legality condition P includes: Defining that the legality condition P is composed of the formula P = V(F) * H(T), where V is the verification variable, F is the integrity of the participant, and H represents the organizational credibility; When the integrity F of the participant is lower than the predefined standard f0 or the organizational credibility H is less than the predefined hmin, it is determined that the legality condition is not established P ≠ true; Marking the result of meeting the legality condition as R and sending it to all participants of the trust framework; If any R is equal to true, the corresponding operation within the trust framework is triggered.
9. The data tracing method based on big data and multi-dimensional features according to claim 7 is characterized in that: The status check before the verification logic is executed by the smart contract C includes: Verifying each record to be written. If its integrity I differs from the standard integrity IS by more than the predefined range r, this record is not written and marked as non-compliant N; If the difference ΔI of the integrity I = |I - IS| < r, the record is added to the blockchain as trustworthy information C(TI), otherwise, this record is marked as a non-compliant untrustworthy record UN(TR); Ensuring that all records added to the smart contract comply with the consistency condition, where the condition is defined as Q(R) ≥ k * Q(L) and Q(S) > Q(E), where k > 1; Performing the above condition check on each record. Once the condition Q(R) < k * Q(L) or Q(S) ≤ Q(E), this record is regarded as abnormal data AD and not adopted.
10. The data tracing method based on big data and multi-dimensional features according to claim 8, characterized in that: The status management operation after verifying the records includes: When receiving the data marked with N, re-submitting this record for secondary verification and recording the frequency FR of this data being re-marked as N. When FR reaches the predefined re-verification upper limit fL, it is considered as incorrect data; Checking whether FR < fL, then recording this N-marked data and allowing it to enter the subsequent processing flow; Calculating the smart contract execution efficiency index E as the correct passing rate C of all data items / (correct passing items + abnormal items A), ensuring that E is greater than the predefined threshold e0; Once the smart contract is executed and the efficiency is met, it will automatically generate feedback records to the blockchain for each node to confirm the validity and correctness of the execution.
Citation Information
Patent Citations
Safe and trusted block chain of data in traceability system and management method
CN108804928A
Music copyright management method, platform and system based on block chain
CN110276172A
Data differential privacy protection sharing platform based on block chain
CN110941856A
Alliance chain privacy protection method based on secure multi-party computing
CN113645020A
Multi-party electric power department collaborative user privacy protection and traceability method and system
CN114547677A
Cited By
Personal data sharing management method based on big data
CN119272338A
A method for managing personal data sharing based on big data
CN119272338B
Product traceability management system and method based on Internet of Things
CN120598584A
Product traceability management system and method based on internet of things
CN120598584B
Three-industry data traceability interaction method and system based on block chain
CN121478887A
